/* NEXRIDE — shared site styles (homepage + all landing pages) */
/* Archivo (self-hosted, variable: weight 400–900, width 100–125% — the widths the site uses) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 100% 125%; font-display: swap;
  src: url("fonts/archivo-latin-v2.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 100% 125%; font-display: swap;
  src: url("fonts/archivo-latin-ext-v2.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
  :root {
    --ink: #000000;
    --asphalt: #1C1C1E;
    --gold: #F5B301;
    --gold-deep: #C98A00;
    --gold-text: #8F6200;   /* gold for text on light backgrounds (WCAG AA) */
    --paper: #FFFFFF;
    --card: #F2F2F2;
    --grey: #5E5E62;
    --soft: #BDBAB2;
    --max: 1180px;
    --pad: clamp(20px, 5vw, 48px);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 76px; }
  body {
    font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
    font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper);
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
  .dark { background: var(--ink); color: var(--paper); }
  .dark .muted { color: var(--soft); }
  .muted { color: var(--grey); }
  section { padding: clamp(64px, 9vw, 112px) 0; }

  h1, h2, h3 { font-stretch: 125%; font-weight: 800; line-height: 1.06; letter-spacing: -0.01em; }
  h1 { font-size: clamp(36px, 5.2vw, 64px); }
  h2 { font-size: clamp(30px, 4.2vw, 50px); max-width: 18ch; }
  h3 { font-size: 20px; font-stretch: 112%; line-height: 1.2; }
  .lead { font-size: clamp(18px, 2vw, 21px); max-width: 56ch; margin-top: 20px; }
  .caption { font-size: 13px; font-style: italic; color: var(--grey); margin-top: 14px; }
  .dark .caption { color: #8E8B84; }

  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
    padding: 14px 24px; border-radius: 999px; border: 2px solid var(--gold);
    background: var(--gold); color: var(--ink); transition: background .15s, color .15s;
  }
  .btn:hover { background: #FFC933; border-color: #FFC933; }
  .btn.ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.4); }
  .btn.ghost:hover { border-color: var(--paper); }
  .btn.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .btn.ink:hover { background: var(--asphalt); }
  :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

  /* Pins (brand motif) */
  .pin {
    flex: none; width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center; background: var(--ink); color: var(--gold);
    border: 2px solid var(--gold);
  }
  .pin svg { width: 24px; height: 24px; }
  .pin.money { background: var(--gold); color: var(--ink); border-color: var(--ink); }
  .dark .pin.money { border-color: var(--gold); }

  /* Road (brand motif) */
  .road {
    height: 18px; border-radius: 9px; background: var(--asphalt);
    position: relative;
  }
  .road::after {
    content: ""; position: absolute; left: 12px; right: 12px; top: 8px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 16px, transparent 16px 28px);
  }

  /* ── Nav ─────────────────────────── */
  .nav {
    position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.92);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    padding-top: env(safe-area-inset-top, 0px);
  }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); min-height: 44px; }
  .brand img { width: 34px; height: 34px; object-fit: contain; }
  .brand span { font-stretch: 125%; font-weight: 800; font-size: 21px; letter-spacing: .02em; }
  .brand b { color: var(--gold); font-weight: 800; }
  .nav ul { display: flex; gap: 26px; list-style: none; }
  .nav ul a { color: #D9D6CE; text-decoration: none; font-size: 15px; font-weight: 500; }
  .nav ul a:hover { color: var(--paper); }
  .nav .btn { padding: 10px 18px; font-size: 15px; }
  .menu-btn { display: none; background: none; border: 0; color: var(--paper); cursor: pointer; padding: 8px; }
  @media (max-width: 900px) {
    .nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
      background: var(--ink); padding: 8px var(--pad) 20px; border-top: 1px solid #222; }
    .nav ul.open { display: flex; }
    .nav ul a { display: block; padding: 12px 0; font-size: 17px; }
    .menu-btn { display: block; }
    .nav .btn.desktop { display: none; }
  }

  /* ── Hero ────────────────────────── */
  .hero { padding: clamp(48px, 7vw, 88px) 0 0; overflow: hidden; }
  .hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
  .hero .eyebrow { color: var(--gold); font-weight: 700; font-size: 16px; margin-bottom: 18px; }
  .hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
  .hero .phones { position: relative; height: clamp(420px, 52vw, 640px); }
  .hero .phones img { position: absolute; height: 92%; width: auto; }
  .hero .phones .p1 { left: 4%; top: 2%; z-index: 2; }
  .hero .phones .p2 { right: 2%; top: 9%; }
  .hero .caption { text-align: right; padding-bottom: 28px; }
  @media (max-width: 900px) {
    .hero .wrap { grid-template-columns: 1fr; }
    .hero .phones { height: 480px; max-width: 460px; }
  }

  /* ── Funding band ────────────────── */
  .funding { background: var(--gold); padding: clamp(56px, 7vw, 88px) 0; }
  .funding h2 { max-width: 22ch; font-size: clamp(30px, 4.6vw, 56px); }
  .funding .lead { color: #2A2310; }
  .funding .points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
  .funding .point { background: var(--ink); color: var(--paper); border-radius: 16px; padding: 24px; }
  .funding .point h3 { color: var(--gold); margin-bottom: 8px; font-size: 18px; }
  .funding .point p { color: #D9D6CE; font-size: 15px; }
  .funding .fine { font-size: 13px; color: #4A3D12; margin-top: 22px; }
  @media (max-width: 820px) { .funding .points { grid-template-columns: 1fr; } }

  /* ── Journey ─────────────────────── */
  .journey .road { margin: 56px 0 0; }
  .stops { list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-top: -35px; position: relative; }
  .stop { text-align: center; }
  .stop .num {
    width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
    display: grid; place-items: center; background: var(--ink); color: var(--gold);
    border: 2px solid var(--gold); font-stretch: 125%; font-weight: 800; font-size: 19px;
  }
  .stop.money .num { background: var(--gold); color: var(--ink); border-color: var(--ink); }
  .stop b { display: block; font-size: 16px; }
  .stop span { display: block; font-size: 14px; color: var(--grey); line-height: 1.4; margin-top: 4px; }
  @media (max-width: 900px) {
    .journey .road { display: none; }
    .stops { grid-template-columns: 1fr; margin-top: 36px; gap: 0; border-left: 3px dashed var(--gold); margin-left: 25px; }
    .stop { display: grid; grid-template-columns: 52px 1fr; gap: 16px; text-align: left; margin-left: -28px; padding-bottom: 22px; }
    .stop .num { margin: 0; }
  }

  /* ── Feature split sections ──────── */
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
  .split.rev > .media-wrap { order: 2; }
  .rows { list-style: none; margin-top: 34px; display: grid; gap: 24px; }
  .rows li { display: flex; gap: 18px; align-items: flex-start; }
  .rows h3 { font-size: 18px; margin-bottom: 4px; }
  .rows p { font-size: 16px; }
  .media { display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); justify-content: center; gap: 24px; align-items: start; }
  .media img { width: 100%; height: auto; }
  .media.three { grid-template-columns: repeat(3, minmax(0, 190px)); gap: 16px; }
  .media.three img:nth-child(2) { transform: translateY(-24px); }
  .media.two img:nth-child(2) { transform: translateY(28px); }
  .media.two { padding-bottom: 28px; }
  .media-wrap .caption { text-align: center; }
  @media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split.rev > .media-wrap { order: 0; }
  }

  /* ── Dashboard ───────────────────── */
  .dash-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
  .dash img { margin-top: 48px; width: 100%; }
  .dash .chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
  .chip { display: flex; gap: 14px; align-items: flex-start; }
  .chip h3 { font-size: 17px; margin-bottom: 2px; }
  .chip p { font-size: 15px; }
  @media (max-width: 900px) { .dash-head, .dash .chips { grid-template-columns: 1fr; } }

  /* ── Payments ────────────────────── */
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
  .card { background: var(--card); border-radius: 18px; padding: 28px; }
  .card .pin { margin-bottom: 18px; }
  .card h3 { margin-bottom: 8px; }
  .card p { color: var(--grey); font-size: 16px; }
  .payout {
    margin-top: 22px; background: var(--ink); color: var(--paper); border-radius: 14px; padding: 18px 24px;
    display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline;
  }
  .payout b { color: var(--gold); }
  .fine { font-size: 13px; color: var(--grey); margin-top: 16px; }
  @media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

  /* ── Business types ──────────────── */
  .types { display: grid; grid-template-columns: 340px 1fr; gap: 24px; margin-top: 44px; }
  .core { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
  .core h3 { color: var(--gold); font-size: 22px; margin-bottom: 18px; }
  .core ul { list-style: none; display: grid; gap: 12px; flex: 1; }
  .core li { padding-left: 22px; position: relative; color: #E8E5DE; }
  .core li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
  .core .road { margin-top: 26px; }
  .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tile { background: var(--card); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
  .tile b { font-size: 17px; }
  @media (max-width: 980px) { .types { grid-template-columns: 1fr; } }
  @media (max-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } }

  .industry { margin-top: clamp(64px, 8vw, 100px); }
  .label {
    display: inline-block; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 14px;
    padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
  }

  /* ── Partners ────────────────────── */
  .partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; margin-top: 44px; }
  .partner-grid .rows { margin: 0; }

  /* ── Why ─────────────────────────── */
  .why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
  .why .statement { background: var(--ink); color: var(--paper); border-radius: 22px; padding: clamp(28px, 4vw, 48px); }
  .why .statement h2 { color: var(--paper); max-width: none; font-size: clamp(26px, 2.55vw, 38px); font-stretch: 112%; line-height: 1.1; overflow-wrap: break-word; }
  .why .statement .tag { color: var(--gold); font-stretch: 125%; font-weight: 800; font-size: 22px; margin-bottom: 18px; }
  .why .statement .road { margin-top: 40px; }
  .why .rows { margin-top: 0; }
  @media (max-width: 900px) { .why { grid-template-columns: 1fr; } }

  /* ── Demo form ───────────────────── */
  .demo .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
  .steps { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 22px; }
  .steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
  .steps .num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    border: 2px solid var(--gold); color: var(--gold); font-stretch: 125%; font-weight: 800; font-size: 19px; }
  .steps b { display: block; font-size: 18px; }
  form { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; }
  form h3 { font-size: 24px; margin-bottom: 4px; }
  .field { display: grid; gap: 6px; }
  .field label { font-weight: 600; font-size: 14px; }
  .field input, .field select, .field textarea {
    font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #D6D3CB; border-radius: 10px; background: #FFF; color: var(--ink);
  }
  .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-deep); outline: none; box-shadow: 0 0 0 3px rgba(245,179,1,.35); }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  form .btn { justify-content: center; margin-top: 6px; }
  .form-msg { font-size: 15px; font-weight: 600; min-height: 1.4em; }
  .video-sec { padding: clamp(56px, 7vw, 96px) 0; }
  .faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
  .faq-list { display: grid; gap: 12px; }
  .faq-item { background: var(--paper); border: 1px solid #ECE8DE; border-radius: 16px; }
  .faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; min-height: 44px; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary h3 { font-size: 18px; font-stretch: 100%; line-height: 1.3; }
  .faq-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); position: relative; }
  .faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .2s; }
  .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
  .faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
  .faq-item p { padding: 0 22px 20px; color: var(--grey); font-size: 16px; }
  @media (max-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 560px) { .faq-item summary { padding: 16px 18px; } .faq-item summary h3 { font-size: 16.5px; } .faq-item p { padding: 0 18px 18px; font-size: 15px; } }
  .video-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 36px; }
  .video-head .eyebrow { color: var(--gold-text); font-weight: 700; font-size: 15px; margin-bottom: 12px; }
  .dark .video-head .eyebrow { color: var(--gold); }
  .player { position: relative; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.28); aspect-ratio: 16 / 9; }
  .player video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
  .unmute { position: absolute; right: 16px; top: 16px; display: none; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 999px;
    background: rgba(0,0,0,.72); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
  .unmute.show { display: inline-flex; }
  .unmute:hover { background: #000; }
  .btn.ghost .play { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
  @media (max-width: 900px) { .video-head { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
  .booking { display: grid; gap: 16px; align-content: start; width: 100%; max-width: 1080px; margin: 8px auto 0; }
  .demo .wrap { grid-template-columns: minmax(0, 1fr) !important; gap: 40px !important; }
  .demo .intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: start; }
  .demo .intro .steps { margin-top: 6px; }
  @media (max-width: 900px) { .demo .intro { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
  .cal-card { background: var(--paper); border-radius: 22px; overflow: hidden; }
  .cal-embed { min-width: 320px; height: 720px; }
  .link-btn { background: none; border: 0; padding: 12px 0; font: inherit; font-size: 16px; font-weight: 600; color: var(--gold-text); cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
  .link-btn:hover { color: var(--ink); }
  .dark .link-btn { color: var(--gold); }
  .dark .link-btn:hover { color: #FFC933; }
  form[hidden] { display: none !important; }
  @media (max-width: 700px) { .cal-card { min-height: 0; } .cal-embed { height: 820px; } }
  .hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
  .form-msg.ok { color: #157A3C; }
  .form-msg.err { color: #B42318; }
  @media (max-width: 900px) { .demo .wrap, .two { grid-template-columns: 1fr; } }

  /* ── Footer ──────────────────────── */
  footer { background: var(--ink); color: #9A978F; padding: 44px 0 calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 14px; border-top: 1px solid #1d1d1f; }
  footer .wrap { display: grid; gap: 18px; }
  footer .top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
  footer .brand span { font-size: 18px; }

  body { overflow-x: clip; }
  .split > *, .types > *, .why > *, .hero .wrap > *, .demo .wrap > *, .dash-head > *, .two > *, .tiles > *, .partner-grid > *, .cards > *, .points > * { min-width: 0; }
  .field select, .field input, .field textarea { width: 100%; }
  @media (max-width: 900px) {
    .split, .types, .why, .hero .wrap, .demo .wrap, .dash-head, .partner-grid { grid-template-columns: minmax(0, 1fr); }
    .media { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 460px; margin: 0 auto; }
    .media.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (max-width: 560px) {
    h1 { font-size: 32px; font-stretch: 110%; }
    h2 { font-size: 27px; font-stretch: 110%; }
    .funding h2 { font-size: 29px; }
    .lead { font-size: 17px; }
    .hero .phones { height: 400px; }
  }
  /* ── Mobile refinements ─────────────────────────────── */
  .m-cta { display: none; }
  @media (max-width: 900px) {
    .m-cta {
      display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 10px;
      padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom, 0px));
      background: rgba(0,0,0,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
      border-top: 1px solid #222; transform: translateY(110%); transition: transform .25s ease;
    }
    .m-cta.show { transform: translateY(0); }
    .m-cta .btn { flex: 1; justify-content: center; padding: 14px 18px; }
    .m-cta .btn.ghost { flex: 0 0 auto; }
  }
  @media (max-width: 560px) {
    section { padding: 56px 0; }
    .hero { padding-top: 36px; }
    .video-sec { padding: 48px 0; }
    .rows { gap: 18px; margin-top: 24px; }
    .pin { width: 44px; height: 44px; }
    .pin svg { width: 20px; height: 20px; }
    .rows li { gap: 14px; }
    .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tile { flex-direction: row; align-items: center; padding: 12px; gap: 10px; border-radius: 14px; }
    .tile .pin { width: 38px; height: 38px; }
    .tile .pin svg { width: 18px; height: 18px; }
    .tile b { font-size: 14px; line-height: 1.25; }
    .types { margin-top: 28px; gap: 14px; }
    .core { padding: 22px; }
    .cards { gap: 14px; margin-top: 28px; }
    .card { padding: 22px; }
    .card .pin { margin-bottom: 12px; }
    .funding .points { gap: 12px; margin-top: 28px; }
    .funding .point { padding: 18px; }
    .industry { margin-top: 56px; }
    .dash .chips { gap: 16px; }
    .partner-grid { gap: 18px; margin-top: 28px; }
    .stop { padding-bottom: 16px; }
    .hero .caption, .media-wrap .caption { font-size: 12px; }
    footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ── Landing pages (shared) ─────────────────────────── */
a.tile { text-decoration: none; color: inherit; transition: background .15s; }
a.tile:hover { background: #E9E6DD; }
a.tile b::after { content: " →"; color: var(--gold-text); }
.crumbs { font-size: 14px; color: var(--soft); margin-bottom: 18px; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--paper); text-decoration: underline; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.feature { background: var(--card); border-radius: 18px; padding: 26px; }
.feature .pin { margin-bottom: 16px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--grey); font-size: 16px; }
.prose { max-width: 760px; }
.prose p + p { margin-top: 16px; }
.prose h2 { margin: 44px 0 14px; max-width: none; font-size: clamp(26px, 3.2vw, 36px); }
.prose h3 { margin: 28px 0 8px; }
.prose ul, .prose ol { margin: 12px 0 0 22px; display: grid; gap: 8px; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.related a { display: block; padding: 22px; border-radius: 16px; background: var(--card); text-decoration: none; color: inherit; }
.related a b { display: block; font-size: 18px; margin-bottom: 6px; }
.related a span { color: var(--grey); font-size: 15px; }
.related a:hover { background: #E9E6DD; }
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px 28px; margin: 6px 0 8px; }
.footer-links .fcol { display: grid; gap: 8px; align-content: start; }
.footer-links .fcol b { color: var(--paper); font-size: 14px; letter-spacing: .02em; margin-bottom: 2px; }
.footer-links a { color: #C9C6BE; text-decoration: none; }
.footer-links a:hover { color: var(--paper); text-decoration: underline; }
@media (max-width: 900px) { .feature-grid, .related { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .feature { padding: 22px; } }
@media (min-width: 901px) { .stops.five { grid-template-columns: repeat(5, 1fr); } }
.prose ol + p, .prose ul + p { margin-top: 18px; }

/* ── Guides ─────────────────────────────────────────── */
.article-meta { color: var(--soft); font-size: 15px; margin-top: 14px; }
.article { padding-top: clamp(40px, 6vw, 72px); }
.article .prose { font-size: 18px; line-height: 1.7; }
.article .prose h2 { font-size: clamp(24px, 2.8vw, 32px); }
.takeaways { background: var(--card); border-left: 4px solid var(--gold); border-radius: 12px; padding: 22px 26px; margin: 8px 0 28px; }
.takeaways b { display: block; margin-bottom: 8px; }
.takeaways ul { margin-top: 0; }
.cta-box { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 26px 28px; margin: 36px 0 8px; }
.cta-box p { color: #D9D6CE; }
.cta-box .btn { margin-top: 14px; }
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.guide-list a { display: block; background: var(--card); border-radius: 18px; padding: 26px; text-decoration: none; color: inherit; }
.guide-list a:hover { background: #E9E6DD; }
.guide-list a b { display: block; font-size: 20px; margin-bottom: 8px; }
.guide-list a span { color: var(--grey); }
@media (max-width: 900px) { .guide-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .article .prose { font-size: 17px; } }

/* ── Main navigation with drop-downs ────────────────── */
.nav ul { align-items: center; }
.has-sub { position: relative; }
.sub-btn { background: none; border: 0; font: inherit; font-size: 15px; font-weight: 500; color: #D9D6CE; cursor: pointer;
  padding: 10px 0; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.sub-btn:hover, .has-sub.open > .sub-btn { color: var(--paper); }
.sub-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.has-sub.open > .sub-btn::after { transform: rotate(-135deg) translateY(-1px); }
.sub { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 8px;
  background: #0B0B0C; border: 1px solid #262628; border-radius: 16px; padding: 22px 24px; gap: 28px;
  grid-template-columns: repeat(3, max-content); box-shadow: 0 24px 60px rgba(0,0,0,.5); z-index: 40; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sub.sub-narrow { grid-template-columns: max-content; }
.sub-col { display: grid; gap: 10px; align-content: start; }
.sub-col b { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.nav .sub a { white-space: nowrap; font-size: 15px; }
.has-sub.open > .sub { display: grid; }
@media (hover: hover) and (min-width: 901px) { .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: grid; } }
.nav .m-only { display: none; }
@media (max-width: 900px) {
  .nav ul { max-height: calc(100vh - 68px); overflow-y: auto; align-items: stretch; }
  .sub-btn { width: 100%; justify-content: space-between; font-size: 17px; padding: 12px 0; }
  .sub { position: static; transform: none; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
    padding: 0 0 10px 14px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sub::before { display: none; }
  .nav .sub a { padding: 6px 0; font-size: 16px; white-space: normal; }
  .sub-col { gap: 2px; }
  .nav .m-only { display: list-item; }
}
.guide-links { margin-top: 22px; color: var(--grey); font-size: 16px; }
.guide-links b { color: var(--ink); }
.guide-links a { color: var(--ink); text-underline-offset: 3px; }

/* comparison tables */
.compare-wrap { overflow-x: auto; margin-top: 32px; border-radius: 18px; border: 1px solid #ECE8DE; background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 16px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid #ECE8DE; }
.compare thead th { background: var(--ink); color: var(--paper); font-size: 15px; }
.compare thead th:last-child { color: var(--gold); }
.compare tbody th { font-weight: 700; width: 22%; }
.compare tbody td:nth-child(2) { color: var(--grey); }
.compare tbody td:last-child { font-weight: 600; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) { .compare th, .compare td { padding: 12px 14px; font-size: 15px; } }
.visual { margin: 32px auto 0; max-width: 1000px; }
.visual img { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.08); }
@media (max-width: 700px) {
  .visual { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding: 0 var(--pad) 10px; }
  .visual img { width: 680px; max-width: none; border-radius: 16px; }
  .visual::after { content: "Swipe to see more →"; display: block; font-size: 13px; color: var(--soft); margin-top: 8px; }
}
/* .visual-scroll marker */

/* customer stories */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote p { font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.3; color: var(--paper); }
.quote footer { margin-top: 18px; color: #C9C6BE; font-size: 16px; }
.quote footer a { color: var(--gold); }
.cs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cs-chips .chip { background: #1C1C1E; color: #D9D6CE; border: 1px solid #333; padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.metric { font-size: 38px; font-weight: 900; font-stretch: 112%; color: var(--ink); margin-bottom: 6px; }
.cs-results { margin: 28px 0 0 22px; display: grid; gap: 10px; font-size: 18px; }
