:root {
  color-scheme: light;
  --ink: #172536;
  --ink-soft: #526170;
  --night: #152333;
  --night-soft: #243a50;
  --paper: #f7f0df;
  --paper-bright: #fffdf7;
  --route: #b53624;
  --route-hover: #94291b;
  --blue: #0a6edb;
  --line: #d9d1bf;
  --focus: #f2b84b;
  --shadow: 0 24px 70px rgba(21, 35, 51, 0.16);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 78% 0%, rgba(10, 110, 219, 0.09), transparent 34rem),
    linear-gradient(180deg, var(--paper-bright) 0%, var(--paper) 100%);
  color: var(--ink);
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--night);
  color: white;
  transform: translateY(-150%);
}

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

.site-header {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.05rem;
  font-weight: 740;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(21, 35, 51, 0.2);
}

.beta-pill {
  padding: 8px 12px;
  border: 1px solid rgba(21, 35, 51, 0.16);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 650;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  min-height: min(740px, calc(100vh - 112px));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--route);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.7rem, 5.8vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.55;
}

.hero-action {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.button-primary {
  background: var(--route);
  color: white;
  box-shadow: 0 13px 30px rgba(181, 54, 36, 0.25);
}

.button-primary:hover {
  background: var(--route-hover);
  transform: translateY(-1px);
}

.button[aria-disabled="true"] {
  background: #716e68;
  box-shadow: none;
  cursor: not-allowed;
}

.button:focus-visible,
.brand:focus-visible,
.skip-link:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 3px;
}

.requirements {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  margin: 0;
  padding: 10px 22px 22px 10px;
  border: 1px solid rgba(21, 35, 51, 0.12);
  border-radius: 34px;
  background: rgba(255, 253, 247, 0.72);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -18px -18px 12%;
  border-radius: 34px;
  background: var(--night);
  transform: rotate(-2.2deg);
}

.visual-switch {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
}

.visual-stack {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.visual-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.82) brightness(0.82);
  box-shadow: 0 12px 34px rgba(21, 35, 51, 0.22);
  transform: translate(-12px, -7px) rotate(-1.5deg) scale(0.975);
  transition: transform 340ms ease, filter 340ms ease, opacity 220ms ease;
}

.visual-image:first-child {
  object-position: center bottom;
}

.visual-image.is-next {
  z-index: 1;
  opacity: 1;
  filter: saturate(0.88) brightness(0.88);
  transform: translate(13px, 13px) rotate(2deg) scale(0.985);
}

.visual-image.is-current {
  z-index: 2;
  opacity: 1;
  filter: none;
  transform: translate(0, 0) rotate(0);
}

.visual-switch:hover .visual-image.is-current {
  transform: translateY(-2px);
}

.visual-switch:focus-visible {
  border-radius: 25px;
  outline: 4px solid var(--focus);
  outline-offset: 5px;
}

.status-card {
  display: flex;
  gap: 14px;
  max-width: 720px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 247, 0.75);
}

.status-card h2,
.status-card p {
  margin: 0;
}

.status-card h2 {
  font-size: 1.05rem;
}

.status-card p {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.status-dot {
  width: 11px;
  height: 11px;
  margin-top: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--focus);
  box-shadow: 0 0 0 5px rgba(242, 184, 75, 0.18);
}

.section {
  padding: clamp(74px, 10vw, 132px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section h2,
.final-cta h2,
.safety-note h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4.7vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child,
.journey-copy > p,
.carplay p,
.beta-section .section-heading > p:last-child {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  min-height: 310px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(255, 253, 247, 0.76);
}

.step-card-accent {
  border-color: transparent;
  background: var(--night);
  color: white;
  transform: translateY(-14px);
}

.step-number {
  display: block;
  margin-bottom: 72px;
  color: var(--route);
  font-size: 0.88rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.step-card-accent .step-number {
  color: #ff856f;
}

.step-card h3,
.permission-grid h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.step-card p,
.permission-grid p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.step-card-accent p {
  color: rgba(255, 255, 255, 0.72);
}

.journey {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(42px, 9vw, 120px);
}

.feature-list {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 27px;
  font-size: 1rem;
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.route-card {
  position: relative;
  display: grid;
  gap: 0;
  padding: 34px;
  border-radius: 30px;
  background: var(--paper-bright);
  box-shadow: var(--shadow);
}

.route-card::before {
  content: "";
  position: absolute;
  top: 52px;
  bottom: 52px;
  left: 50px;
  width: 4px;
  border-radius: 999px;
  background: var(--route);
}

.route-stop {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 112px;
}

.route-marker {
  width: 20px;
  height: 20px;
  margin-left: 6px;
  border: 5px solid var(--paper-bright);
  border-radius: 50%;
  background: var(--route);
  box-shadow: 0 0 0 3px var(--route);
}

.route-stop strong,
.route-stop span {
  display: block;
}

.route-stop strong {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.route-stop div span {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.45;
}

.safety-note {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 64px);
  border-radius: 32px;
  background: var(--route);
  color: white;
}

.safety-note::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border: 32px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.safety-note h2,
.safety-note p {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.safety-kicker {
  margin: 0 0 12px;
  color: #ffd6cc;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.safety-note > p:last-child {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.6;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.permission-grid article {
  padding: 24px;
  border-top: 3px solid var(--blue);
  border-radius: 0 0 20px 20px;
  background: rgba(255, 253, 247, 0.68);
}

.permission-label {
  display: inline-block;
  margin-bottom: 38px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 0.78rem;
  font-weight: 750;
}

.permission-label.optional {
  background: rgba(10, 110, 219, 0.12);
  color: #0756aa;
}

.privacy-summary {
  max-width: 780px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.privacy-summary a,
.site-footer a,
.back-link,
.policy-article a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.privacy-summary a:hover,
.site-footer a:hover,
.back-link:hover,
.policy-article a:hover {
  color: var(--route);
}

.carplay {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 240px;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  margin: 18px 0;
  padding: clamp(38px, 7vw, 74px);
  border-radius: 34px;
  background: var(--night);
  color: white;
}

.eyebrow.light {
  color: #77baff;
}

.carplay p {
  color: rgba(255, 255, 255, 0.72);
}

.carplay-mark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 12px;
  height: 170px;
  transform: rotate(8deg);
}

.carplay-mark span {
  display: block;
  border-radius: 999px;
  background: var(--route);
}

.carplay-mark span:nth-child(1) { height: 45%; }
.carplay-mark span:nth-child(2) { height: 100%; background: #f5c44f; }
.carplay-mark span:nth-child(3) { height: 68%; background: var(--blue); }

.beta-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 8vw, 100px);
  align-items: end;
}

.beta-section .section-heading {
  margin-bottom: 0;
}

.feedback-prompt {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.72);
}

.feedback-prompt p {
  margin: 0;
  font-weight: 760;
}

.feedback-prompt ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(36px, 9vw, 118px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 730;
  line-height: 1.45;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 4px;
  color: var(--route);
  font-size: 1.45rem;
  font-weight: 450;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: -5px 44px 23px 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.faq summary:focus-visible {
  border-radius: 8px;
  outline: 4px solid var(--focus);
  outline-offset: 2px;
}

.final-cta {
  margin-top: 30px;
  padding: clamp(42px, 8vw, 84px);
  border-radius: 34px;
  background: var(--blue);
  color: white;
  text-align: center;
}

.final-cta h2 {
  max-width: 760px;
  margin: 0 auto;
}

.button-light {
  margin-top: 30px;
  background: white;
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(21, 35, 51, 0.22);
}

.button-light:hover {
  background: var(--paper-bright);
  transform: translateY(-1px);
}

.button-light[aria-disabled="true"] {
  background: rgba(255, 255, 255, 0.72);
  color: rgba(21, 35, 51, 0.68);
}

.final-cta > p:last-child {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand img {
  border-radius: 10px;
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
}

.back-link {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.policy-main {
  max-width: 820px;
  padding-top: 56px;
}

.policy-article {
  padding: clamp(26px, 6vw, 60px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 253, 247, 0.82);
  box-shadow: var(--shadow);
}

.policy-article h1 {
  max-width: 720px;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
}

.policy-date {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.policy-intro {
  margin: 42px 0 0;
  font-size: 1.2rem;
  line-height: 1.65;
}

.policy-article h2 {
  margin: 42px 0 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.025em;
}

.policy-article p,
.policy-article li {
  font-size: 1rem;
  line-height: 1.68;
}

.policy-article h2 + p {
  margin-top: 12px;
}

.policy-article ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.policy-footer {
  align-items: center;
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 34px 0 48px;
  }

  .hero-copy {
    display: contents;
  }

  .eyebrow,
  h1,
  .hero-lead,
  .hero-action {
    grid-column: 1;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 4;
    margin: 8px 4px 0;
  }

  .hero-action {
    grid-row: 5;
    margin-top: 8px;
  }

  .button {
    width: 100%;
  }

  .steps,
  .permission-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
  }

  .step-card-accent {
    transform: none;
  }

  .step-number {
    margin-bottom: 42px;
  }

  .journey,
  .beta-section,
  .faq {
    grid-template-columns: 1fr;
  }

  .carplay {
    grid-template-columns: 1fr 130px;
  }

  .carplay-mark {
    height: 120px;
  }
}

@media (max-width: 520px) {
  .site-header,
  main {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .beta-pill {
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .hero {
    gap: 20px;
    padding-top: 26px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-lead {
    margin-top: 2px;
  }

  .hero-visual {
    padding: 7px 14px 16px 7px;
    border-radius: 25px;
  }

  .hero-visual::before {
    inset: 12% -8px -10px 10%;
    border-radius: 25px;
  }

  .visual-image {
    border-radius: 19px;
  }

  .visual-image.is-next {
    transform: translate(8px, 8px) rotate(1.5deg) scale(0.988);
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .journey {
    gap: 34px;
  }

  .route-card {
    padding: 24px 18px;
  }

  .route-card::before {
    left: 34px;
  }

  .carplay {
    grid-template-columns: 1fr;
  }

  .carplay-mark {
    width: 130px;
    height: 80px;
  }

  .site-footer,
  .policy-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .back-link {
    max-width: 100px;
    text-align: right;
  }

  .policy-main {
    padding-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
