  /* Concept: a vehicle's service book, set as a gauge. The page's one idea is ORDER, so the
     hero is a renewal slip on a ruled rail (nodes sit on ticks like a dipstick), and gold is
     reserved for the one thing that is next. Everything else stays carbon and ivory. */
  :root {
    color-scheme: dark;
    --carbon: #0B0C0C;
    --carbon-2: #121414;
    --carbon-3: #181B1B;
    --line: #2B2D2C;
    --ivory: #F2EEE5;
    --ivory-2: #A5A29A;
    --ivory-3: #777873;
    --gold: #B89A5A;
    --on-gold: #17130A;
    --paper: #F3EFE6;
    --paper-line: #D8D2C7;
    --ink: #151616;
    --ink-2: #50514E;
    --ok: #58B586;
    --ok-paper: #2E8A5C;
    --font: "Manrope", "Noto Sans Thai Looped", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --thai: "Noto Sans Thai Looped", "Manrope", sans-serif;
    --max: 1120px;
    --gutter: clamp(18px, 4vw, 36px);
    --gap-section: clamp(72px, 10vw, 128px);
  }

  /* This page is one dark world in both themes: the shared header, footer and links read these. */
  :root:root:root {
    color-scheme: dark;
    --canvas: #0B0C0C; --canvas-2: #121414; --surface: #181B1B; --elevated: #181B1B; --raised: #121414;
    --text: #F2EEE5; --text-2: #A5A29A; --text-3: #777873; --hairline: #2B2D2C;
    --gold: #B89A5A; --gold-ink: #B89A5A; --ink-on-gold: #17130A;
  }
  * { box-sizing: border-box; }
  section { scroll-margin-top: 72px; }
  img { max-width: 100%; display: block; }
  button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
    .mono { font-family: var(--mono); }
  .label {
    font: 500 12px/1.4 var(--mono);
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--ivory-2); margin: 0;
  }
  .label.gold { color: var(--gold); }


  /* Header: the shared .site-header; only the availability pill is added here. */
  .soon-pill { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); color: var(--ivory-2); padding: 8px 12px; border-radius: 999px; white-space: nowrap; margin-left: 8px; }
  @media (max-width: 760px) { .soon-pill { display: none; } }

  /* Hero */
  .hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
  .hero .container { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
  .dateline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 28px; }
  .dateline span:not(:last-child)::after { content: "·"; margin-left: 18px; color: var(--ivory-3); }
  h1 { font-size: clamp(40px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; margin: 0 0 24px; text-wrap: balance; }
  h1 .second { color: var(--ivory-2); }
  h1 .dot { color: var(--gold); }
  .lead { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; color: var(--ivory-2); max-width: 46ch; margin: 0 0 34px; }
  .stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
  .store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 54px; padding: 0 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--carbon-2); line-height: 1.2; }
  .store small { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; color: var(--ivory-3); text-transform: uppercase; }
  .store b { font-size: 16px; font-weight: 700; }
  .down { font-size: 14px; color: var(--ivory-2); }

  /* The slip */
  .slip-stage { display: flex; justify-content: center; }
  .slip {
    width: min(100%, 420px);
    background: var(--paper); color: var(--ink);
    border-radius: 6px 6px 22px 22px;
    box-shadow: 0 40px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04);
    position: relative;
  }
  .slip::before { /* torn-from-the-book edge */
    content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px;
    background: radial-gradient(circle at 7px 8px, var(--carbon) 4px, transparent 4.5px) 0 0 / 14px 8px repeat-x;
  }
  .slip-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 26px 18px; border-bottom: 1px dashed var(--paper-line); }
  .slip-head .label { color: var(--ink-2); }
  .example { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--paper-line); padding: 5px 8px; border-radius: 999px; }
  .plate { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 14px 6px; border-radius: 6px; background: #FBFBF8; color: #111; box-shadow: 0 0 0 1.5px #111 inset; white-space: nowrap; }
  .plate b { font: 700 22px/1 var(--display); letter-spacing: .07em; }
  .plate small { font: 600 7px/1 var(--display); letter-spacing: .16em; }
  .plate.th b { font-family: var(--thai); font-weight: 600; letter-spacing: .02em; }
  .plate.th small { font-family: var(--thai); font-size: 9px; letter-spacing: .02em; }
  .plate.my { background: #141414; color: #F4F1E8; box-shadow: 0 0 0 1.5px #F4F1E8 inset; }
  .plate.ph small { order: -1; }
  .plate[hidden] { display: none; }
  .steps { list-style: none; margin: 0; padding: 8px 26px 6px 0; position: relative; }
  .steps li { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: start; padding: 20px 0; }
  .steps li + li { border-top: 1px solid var(--paper-line); }
  .rail { position: relative; height: 100%; min-height: 64px; }
  .rail::before { /* the ruler */
    content: ""; position: absolute; left: 34px; top: -20px; bottom: -20px; width: 14px;
    background: repeating-linear-gradient(to bottom, var(--ink-2) 0 1px, transparent 1px 8px) left center / 7px 100% no-repeat,
                repeating-linear-gradient(to bottom, var(--ink) 0 1.5px, transparent 1.5px 40px) left center / 14px 100% no-repeat;
    opacity: .55;
  }
  .steps li:first-child .rail::before { top: 0; }
  .steps li:last-child .rail::before { bottom: 0; }
  .node { position: absolute; left: 24px; top: 4px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--ink); font: 600 12px/1 var(--mono); }
  .node svg { width: 16px; height: 16px; }
  li.done .node { border-color: var(--ok-paper); color: var(--ok-paper); }
  li.next .node { background: var(--gold); border-color: var(--gold); color: var(--on-gold); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 28%, transparent); }
  .step-body h3 { margin: 0 0 2px; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
  .step-body .local { font-family: var(--thai); font-size: 13.5px; color: var(--ink-2); margin: 0 0 8px; min-height: 1.4em; }
  .state { display: flex; align-items: baseline; gap: 8px; margin: 0; font: 500 13px/1.4 var(--mono); color: var(--ink-2); }
  li.done .state b { color: var(--ok-paper); font-weight: 600; }
  li.next .state b { font-size: 26px; letter-spacing: -.02em; color: var(--ink); font-weight: 600; }
  li.next .tag { font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: var(--on-gold); padding: 4px 7px; border-radius: 4px; }
  .seg { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: #E7E2D7; }
  .seg button { appearance: none; border: 0; background: transparent; font: 600 12px/1 var(--mono); letter-spacing: .06em; color: var(--ink-2); min-height: 32px; min-width: 40px; padding: 0 10px; border-radius: 7px; cursor: pointer; }
  .seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
  .slip-foot { padding: 16px 26px 22px; border-top: 1px dashed var(--paper-line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
  .slip-foot p { margin: 0; font-size: 13.5px; color: var(--ink-2); max-width: 30ch; }

  /* Sections */
  section.band { padding-block: var(--gap-section); }
  .band + .band { border-top: 1px solid var(--line); }
  h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; margin: 0 0 18px; text-wrap: balance; max-width: 18ch; }
  .intro { font-size: 18px; color: var(--ivory-2); max-width: 54ch; margin: 0; }
  .countries { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; padding-block: 22px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ivory-2); }
  .countries b { color: var(--ivory); font-weight: 700; }

  /* Both phones */
  .phones { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
  .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 30px); align-items: start; }
  figure.phone { margin: 0; }
  .frame { border-radius: 30px; padding: 7px; background: linear-gradient(160deg, #3a3c3b, #1a1b1b 45%, #2a2c2b); box-shadow: 0 30px 50px -24px rgba(0,0,0,.9); }
  .frame img { border-radius: 24px; width: 100%; height: auto; background: #080909; }
  figcaption { margin-top: 14px; }
  figcaption b { display: block; font: 600 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
  figcaption span { display: block; font-size: 14px; color: var(--ivory-2); margin-top: 3px; }
  .pair figure:nth-child(2) { margin-top: clamp(24px, 6vw, 56px); }
  .points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; }
  .points li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
  .points li:last-child { border-bottom: 1px solid var(--line); }
  .points b { font-size: 17px; }
  .points span { color: var(--ivory-2); font-size: 15px; }

  /* The book: spec rows */
  .book { margin: 52px 0 0; border-top: 1px solid var(--ivory); }
  .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 8px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
  .row h3 { margin: 0; font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -.015em; line-height: 1.2; font-weight: 700; text-wrap: balance; }
  .row p { margin: 0; color: var(--ivory-2); font-size: 16px; }
  .on { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
  .chip { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ivory-2); white-space: nowrap; }
  .chip.off { opacity: .35; text-decoration: line-through; }
  .thai { font-family: var(--thai); }

  /* Privacy */
  .privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 7vw, 96px); align-items: start; }
  .statement { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.03; letter-spacing: -.04em; font-weight: 800; margin: 0 0 22px; text-wrap: balance; }
  .statement span { color: var(--gold); }
  .facts { list-style: none; margin: 0; padding: 0; }
  .facts li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
  .facts li:last-child { border-bottom: 1px solid var(--line); }
  .facts b { font-size: 17px; }
  .facts span { color: var(--ivory-2); font-size: 15px; }
  .note { margin-top: 22px; font-size: 14px; color: var(--ivory-3); max-width: 52ch; }

  /* Plans */
  .plans { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; margin-top: 48px; }
  .plan { border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 36px); background: var(--carbon-2); }
  .plan.pro { border-color: var(--gold); }
  .plan h3 { margin: 0 0 4px; font-size: 24px; letter-spacing: -.02em; }
  .plan .for { margin: 0 0 22px; color: var(--ivory-2); font-size: 15px; }
  .plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15.5px; }
  .plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; }
  .plan li::before { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translate(1px, 5px); }
  .plan li.minus { color: var(--ivory-2); }
  .plan li.minus::before { border: 0; width: 9px; height: 0; border-top: 2px solid var(--ivory-3); transform: translate(0, 9px); }
  .plan .fine { margin: 24px 0 0; font-size: 13.5px; color: var(--ivory-3); }
  .open { margin-top: 20px; font: 500 12px/1.5 var(--mono); color: var(--gold); border: 1px dashed color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 10px; padding: 10px 14px; }

  /* FAQ */
  .faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 7vw, 96px); }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq details:first-child { border-top: 1px solid var(--line); }
  .faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 17px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ivory-3); border-bottom: 2px solid var(--ivory-3); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
  .faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
  .faq details p { margin: 0 0 22px; color: var(--ivory-2); max-width: 60ch; }

  /* Closing */
  .closing { border: 1px solid var(--line); border-radius: 28px; padding: clamp(32px, 6vw, 72px); background: var(--carbon-2); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: center; }
  .closing h2 { max-width: 14ch; margin-bottom: 14px; }
  .closing p { margin: 0; color: var(--ivory-2); max-width: 46ch; }
  .closing .addr { font-family: var(--mono); color: var(--ivory); user-select: all; }
  .closing .icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -24px rgba(184,154,90,.35); }


  @media (max-width: 980px) {
    .hero .container, .phones, .privacy, .plans, .faq-wrap, .closing { grid-template-columns: minmax(0, 1fr); }
    .closing .icon { order: -1; width: 80px; height: 80px; border-radius: 19px; }
  }
  @media (max-width: 760px) {
    .row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .on { justify-content: flex-start; }
    .steps li { grid-template-columns: 64px minmax(0, 1fr); }
    .node { left: 16px; }
    .rail::before { left: 26px; }
    .slip-head, .slip-foot { padding-inline: 20px; }
  }

  /* Thai: taller line height, no negative tracking (it breaks the stacked vowels), Thai glyphs in the mono labels. */
  :root:lang(th) { --mono: "IBM Plex Mono", "Noto Sans Thai Looped", ui-monospace, monospace; }
  :lang(th) body { line-height: 1.75; }
  :lang(th) h1 { letter-spacing: 0; line-height: 1.2; font-weight: 700; }
  :lang(th) h2, :lang(th) .statement { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
  :lang(th) .row h3, :lang(th) .plan h3, :lang(th) .step-body h3 { letter-spacing: 0; }
  :lang(th) .label, :lang(th) figcaption b, :lang(th) .store small, :lang(th) .example, :lang(th) .tag { letter-spacing: .04em; text-transform: none; }
  :lang(th) li.next .state b { letter-spacing: 0; }
  :lang(th) .lead, :lang(th) .intro { max-width: 52ch; }


  /* Screenshot showcase: heading and points above a row of phones. */
  .phones { grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); align-items: start; }
  .phones .head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 80px); align-items: end; }
  .phones .head .points { margin: 0; }
  .shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 28px); align-items: start; }
  .shots figure:nth-child(even) { margin-top: clamp(20px, 4vw, 48px); }
  @media (max-width: 900px) {
    .phones .head { grid-template-columns: minmax(0, 1fr); }
    .shots {
      grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(62vw, 250px);
      overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px;
      margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    }
    .shots figure { scroll-snap-align: center; }
    .shots figure:nth-child(even) { margin-top: 0; }
  }
