/* Arc Drive public site. Colours and type follow the TuringArc Step 14 reference. */
:root {
  /* The six locked TuringArc tokens (assets/brand-tokens.css) */
  --navy: var(--turingarc-navy, #102A43);
  --teal: var(--turingarc-teal, #0D737B);
  --aqua: var(--turingarc-light-teal, #4AD0CB);
  --paper: var(--turingarc-offwhite, #F4F7FA);
  --midnight: var(--navy);
  --mist: #EBF2F5;
  --line: #D8E1E9;
  --slate: #5A6C7E;
  --white: #FFFFFF;
  --radius: 14px;
  --wrap: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.dark .eyebrow { color: var(--aqua); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: 600 16px var(--font); text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: #0a5f66; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--mist); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-outline:hover { border-color: var(--navy); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--midnight); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { height: 28px; width: auto; }
.brand-name { font: 700 20px var(--display); letter-spacing: -0.02em; }
.brand-by { font-size: 12px; color: #9FB3C8; margin-left: 2px; white-space: nowrap; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: #C9D6E2; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--white); }
.site-header .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Hero */
.dark { background: var(--midnight); color: var(--white); }
.hero { background: var(--navy); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 96px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--aqua); }
.hero .lede { font-size: 20px; color: #C9D6E2; margin-top: 22px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: #9FB3C8; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(74,208,203,.4); color: var(--aqua); font-size: 13px; font-weight: 600; margin-bottom: 22px; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); }

/* Phone illustration */
.phone { justify-self: center; width: 290px; border-radius: 38px; padding: 12px; background: #06141F; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); }
.screen { border-radius: 28px; background: var(--paper); color: var(--navy); padding: 20px 18px 22px; }
.screen-top { display: flex; align-items: center; gap: 8px; font: 700 15px var(--display); }
.screen-top img { height: 14px; }
.safe { margin-top: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px 16px; text-align: center; }
.ring { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
.ring svg { width: 30px; height: 30px; }
.safe strong { display: block; font: 700 17px/1.25 var(--display); }
.safe span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--slate); }
.row { margin-top: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--slate); }
.row b { color: var(--navy); font-weight: 600; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 12px; }
.thumbs i { aspect-ratio: 1; border-radius: 7px; background: linear-gradient(135deg, #BFD3DF, #7FA3B8); }
.thumbs i:nth-child(3n) { background: linear-gradient(135deg, #9EDDD9, #0D737B); }
.thumbs i:nth-child(4n+1) { background: linear-gradient(135deg, #D4E0E8, #5A6C7E); }
.thumbs i:nth-child(5n) { background: linear-gradient(135deg, #F0D9B5, #C98B5B); }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
.section-head p { margin-top: 16px; color: var(--slate); font-size: 18px; }
.dark .section-head p { color: #C9D6E2; }
.white { background: var(--white); }

/* Facts strip */
.facts { padding: 0; background: var(--white); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font: 700 17px var(--display); }
.fact span { font-size: 14.5px; color: var(--slate); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step::before { counter-increment: step; content: "0" counter(step); font: 700 14px var(--display); color: var(--teal); letter-spacing: .08em; }
.step h3 { font-size: 21px; margin: 12px 0 10px; }
.step p { color: var(--slate); font-size: 16px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card svg { width: 30px; height: 30px; stroke: var(--teal); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; margin: 16px 0 8px; }
.card p { color: var(--slate); font-size: 15.5px; }

/* Privacy (dark) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.sees { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; }
.sees h3 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; padding: 16px 22px; background: rgba(255,255,255,.05); font-weight: 600; }
.sees ul { list-style: none; margin: 0; padding: 8px 22px 14px; }
.sees li { padding: 11px 0 11px 30px; border-top: 1px solid rgba(255,255,255,.08); position: relative; color: #DCE6EE; font-size: 15.5px; }
.sees li:first-child { border-top: 0; }
.sees li::before { position: absolute; left: 0; top: 11px; font-weight: 700; }
.sees.yes li::before { content: "•"; color: #9FB3C8; }
.sees.no li::before { content: "✕"; color: var(--aqua); }
.sees + .sees { margin-top: 20px; }
.prose p + p { margin-top: 16px; }
.prose p { color: #C9D6E2; }
.prose code { background: rgba(255,255,255,.1); padding: 1px 6px; border-radius: 5px; font-size: .92em; }

/* Compare */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15.5px; }
th, td { text-align: left; padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; font: 600 14px var(--font); color: var(--slate); background: var(--paper); }
thead th.us { color: var(--teal); }
tbody th { font-weight: 600; width: 34%; }
td.us { background: #F1F9F9; font-weight: 500; }
td { color: var(--slate); }
td.us { color: var(--navy); }

/* Plans */
.toggle { display: inline-flex; background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 28px; }
.toggle button { border: 0; background: transparent; font: 600 15px var(--font); color: var(--slate); padding: 10px 18px; border-radius: 9px; cursor: pointer; min-height: 44px; }
.toggle button[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(16,42,67,.15); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--teal); padding: 25px 23px; }
.plan { position: relative; }
.plan .tag { position: absolute; top: -12px; left: 22px; font-size: 12px; font-weight: 600; color: var(--teal); background: #E3F3F3; border: 1px solid var(--teal); border-radius: 999px; padding: 2px 10px; }
.plan h3 { font-size: 26px; }
.plan .fits { font-size: 14.5px; color: var(--slate); margin-top: 6px; min-height: 3.2em; }
.plan .price { font: 700 38px/1 var(--display); margin-top: 18px; font-variant-numeric: tabular-nums; }
.plan .price small { font: 500 15px var(--font); color: var(--slate); }
.plan .per { font-size: 14px; color: var(--slate); margin-top: 8px; min-height: 2.9em; }
.plan .btn { margin-top: 20px; width: 100%; }
.plans-foot { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plans-foot div { font-size: 15px; color: var(--slate); }
.plans-foot b { color: var(--navy); }
.includes { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; font-size: 15.5px; }
.includes li { padding-left: 26px; position: relative; }
.includes li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* Honest limits */
.limits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.limit { border-left: 3px solid var(--teal); background: var(--white); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; }
.limit h3 { font-size: 17.5px; margin-bottom: 6px; }
.limit p { font-size: 15.5px; color: var(--slate); }

/* FAQ */
.faq { max-width: 820px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 600 18px var(--display); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; font-weight: 400; color: var(--teal); }
details[open] summary::after { content: "–"; }
details p { padding: 0 40px 22px 0; color: var(--slate); }

/* CTA + footer */
.cta { text-align: center; }
.cta h2 { font-size: clamp(30px, 4vw, 44px); }
.cta p { color: #C9D6E2; max-width: 36em; margin: 18px auto 30px; font-size: 18px; }
footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); color: #9FB3C8; padding: 40px 0; font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
footer img { height: 30px; width: auto; }
footer a { color: #C9D6E2; }

@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .steps, .grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact { border-left: 0; padding-left: 0; }
  .includes { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .wrap { padding: 0 18px; }
  .steps, .grid, .plans, .limits, .plans-foot, .includes { grid-template-columns: 1fr; }
  .brand-by { display: none; }
  .plan .fits, .plan .per { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
