:root {
  --black: #0a0a0a;
  --charcoal: #171717;
  --paper: #f3f1eb;
  --white: #ffffff;
  --red: #f04438;
  --gray: #a8a8a8;
  --line-dark: rgba(255, 255, 255, 0.18);
  --line-light: #d8d5cd;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--black);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--black);
  background: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 21px;
  height: 21px;
  border: 6px solid var(--red);
  border-radius: 50%;
}

.brand-mark::after {
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 9px;
  height: 6px;
  background: var(--red);
  transform: rotate(42deg);
  content: "";
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }

/* Product homepage */
.site-home {
  color: var(--white);
  background: var(--black);
}

.home-hero {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to right, black, transparent 72%);
  content: "";
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 48px;
  min-height: 760px;
  align-items: center;
  padding: 72px 0 82px;
}

.hero-copy { position: relative; z-index: 2; }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #c7c7c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker::before {
  width: 34px;
  height: 3px;
  background: var(--red);
  content: "";
}

.home-hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(58px, 7.3vw, 106px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.home-hero h1 em {
  display: block;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.hero-lead {
  max-width: 540px;
  margin: 34px 0 0;
  color: #c2c2c2;
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 38px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
  background: var(--red);
  transition: background 160ms ease, color 160ms ease;
}

.cta:hover,
.cta:focus-visible { color: var(--red); background: transparent; }

.text-link {
  color: #dedede;
  font-size: 14px;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hero-visual {
  position: relative;
  height: 655px;
}

.phone {
  position: absolute;
  overflow: hidden;
  border: 7px solid #282828;
  border-radius: 48px;
  background: #101010;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
}

.phone::before {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 50%;
  width: 30%;
  height: 22px;
  border-radius: 20px;
  background: #050505;
  transform: translateX(-50%);
  content: "";
}

.phone img { width: 100%; height: 100%; object-fit: cover; }

.phone-main {
  z-index: 2;
  right: 4px;
  top: 10px;
  width: 315px;
  height: 684px;
  transform: rotate(2.5deg);
}

.phone-back {
  z-index: 1;
  left: 4px;
  bottom: 12px;
  width: 246px;
  height: 535px;
  opacity: 0.78;
  transform: rotate(-8deg);
}

.route-badge {
  position: absolute;
  z-index: 3;
  right: -12px;
  bottom: 70px;
  width: 138px;
  padding: 15px 16px;
  border-left: 4px solid var(--red);
  color: var(--black);
  background: var(--paper);
}

.route-badge strong { display: block; font-size: 24px; letter-spacing: -0.04em; }
.route-badge span { display: block; margin-top: 2px; color: #555; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

.product-section {
  color: var(--black);
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 30px;
  padding: 116px 0 74px;
  border-bottom: 1px solid var(--line-light);
}

.section-number {
  padding-top: 8px;
  color: #68665f;
  font: 700 12px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.18em;
}

.section-heading h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.feature-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 0.82fr) minmax(320px, 0.9fr);
  gap: 30px;
  align-items: center;
  min-height: 660px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line-light);
}

.feature-label {
  align-self: start;
  padding-top: 10px;
  color: #68665f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-copy h3 {
  margin: 0 0 22px;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.feature-copy p {
  max-width: 440px;
  margin: 0;
  color: #514f49;
  font-size: 18px;
  line-height: 1.6;
}

.screen-window {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
  height: 520px;
  overflow: hidden;
  border: 1px solid #d0ccc2;
  background: #111;
}

.screen-window::after {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.05);
  content: "";
  pointer-events: none;
}

.screen-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.feature-list { padding: 38px 0 100px; }

.feature-list article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: 30px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-light);
}

.feature-list article span { color: var(--red); font-size: 13px; font-weight: 800; }
.feature-list h3 { margin: 0; font-size: 27px; letter-spacing: -0.045em; }
.feature-list p { margin: 0; color: #5d5a54; font-size: 15px; line-height: 1.5; }

.safety-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.45fr);
  gap: 90px;
  align-items: end;
  padding: 95px 0;
}

.safety-section h2 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.safety-section p { margin: 0; color: #aaa; font-size: 16px; line-height: 1.65; }

.site-home footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line-dark);
  color: #969696;
  font-size: 12px;
}

.site-home footer div:last-child { display: flex; gap: 22px; }
.site-home footer a { text-underline-offset: 4px; }

/* Legal and support pages */
.legal-page {
  color-scheme: light;
  color: #151515;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.legal-page .shell { width: min(100% - 48px, 1040px); }
.legal-page .site-header { border-bottom: 1px solid #d7d7d7; }
.legal-page .brand-mark { border-color: #111; }
.legal-page .brand-mark::after { background: #111; }
.legal-page .nav-links a { color: #292929; }

.document {
  max-width: 760px;
  padding: 68px 0 104px;
}

.document .eyebrow {
  margin-bottom: 18px;
  color: #595959;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.document h1 {
  margin: 0 0 14px;
  color: #0e0e0e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 62px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.updated {
  margin: 0 0 52px;
  padding-bottom: 24px;
  border-bottom: 1px solid #d7d7d7;
  color: #5d5d5d;
  font-size: 14px;
}

.document h2 {
  margin: 42px 0 12px;
  color: #111;
  font-size: 23px;
  line-height: 1.3;
}

.document h3 {
  margin: 28px 0 8px;
  color: #1e1e1e;
  font-size: 17px;
  line-height: 1.4;
}

.document p,
.document li {
  color: #292929;
  font-size: 16px;
  line-height: 1.72;
}

.document ul { padding-left: 24px; }
.document li + li { margin-top: 7px; }
.document a { color: #111; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.document .lead {
  max-width: 680px;
  margin: 0 0 38px;
  color: #303030;
  font-size: 18px;
  line-height: 1.65;
}

.document .actions { margin: 0 0 52px; }
.document .cta { border-color: #111; color: #fff; background: #111; }
.document .cta:hover,
.document .cta:focus-visible { color: #111; background: #fff; }

.notice {
  margin: 34px 0;
  padding: 20px 22px;
  border: 1px solid #cfcfcf;
  border-left: 4px solid #111;
  background: #f5f5f5;
}

.legal-page footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 42px;
  border-top: 1px solid #d7d7d7;
  color: #555;
  font-size: 13px;
}

.legal-page footer div:last-child { display: flex; gap: 18px; }
.legal-page footer a { color: #222; }

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-copy { max-width: 690px; }
  .hero-visual { width: min(100%, 590px); margin: 0 auto; }
  .section-heading,
  .feature-row,
  .feature-list article { grid-template-columns: 90px minmax(0, 1fr); }
  .feature-row .screen-window { grid-column: 2; justify-self: start; }
  .feature-list article p { grid-column: 2; }
}

@media (max-width: 620px) {
  .shell,
  .legal-page .shell { width: min(100% - 30px, 1180px); }
  .site-header { min-height: 70px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 10px; }
  .site-home .nav-links a:first-child { display: none; }
  .home-hero::before { background-size: 52px 52px; }
  .hero-layout { gap: 36px; min-height: auto; padding: 50px 0 66px; }
  .home-hero h1 { font-size: clamp(54px, 17vw, 76px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-visual { height: 510px; }
  .phone { border-width: 5px; border-radius: 38px; }
  .phone-main { right: 2px; width: 235px; height: 510px; }
  .phone-back { left: 2px; width: 188px; height: 408px; }
  .route-badge { right: -2px; bottom: 28px; width: 122px; }
  .section-heading { display: block; padding: 76px 0 50px; }
  .section-heading .section-number { margin-bottom: 26px; }
  .feature-row { display: block; min-height: 0; padding: 52px 0; }
  .feature-label { margin-bottom: 30px; }
  .feature-copy { margin-bottom: 38px; }
  .screen-window { justify-self: stretch; width: 100%; height: 460px; }
  .feature-list { padding-bottom: 70px; }
  .feature-list article { display: grid; grid-template-columns: 34px 1fr; gap: 10px 16px; }
  .feature-list article p { grid-column: 2; }
  .feature-list h3 { font-size: 23px; }
  .safety-section { grid-template-columns: 1fr; gap: 32px; padding: 72px 0; }
  .site-home footer,
  .legal-page footer { flex-direction: column; }
  .document { padding: 52px 0 78px; }
  .document h1 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
