  :root {
    /* Truck red on graphite since 2026-10-17 (decisions/log.md), the same as SiteStash. */
    --dark: #0f0f11;
    --dark-2: #19191c;
    --light: #f1f1f3;
    --white: #ffffff;
    --ink: #111113;
    --ink-soft: #52525b;
    --on-dark: #f5f5f6;
    --on-dark-soft: #a3a3ad;
    --red: #c41e30;
    --red-hover: #d62b3a;
    --red-deep: #8e1520;
    --on-red: #ffffff;
    --red-on-dark: #ff5c66;
    --red-on-light: #a8162a;
    --line: #d4d4d8;
    --radius: 10px;
    --wrap: 72rem;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  body { margin: 0; font-family: "Barlow", system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--light); -webkit-font-smoothing: antialiased; }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
  ::selection { background: var(--red); color: var(--on-red); }
  h1, h2, h3 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 800; line-height: 1.02; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
  h2 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.1rem); }
  h3 { font-size: 1.5rem; line-height: 1.1; }
  p { margin: 0; text-wrap: pretty; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
  .section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
  .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40rem; margin-top: 1rem; }
  .kicker { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-on-light); margin-bottom: 0.75rem; }

  .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--radius); font-weight: 700; font-size: 1.05rem; text-decoration: none; white-space: nowrap; transition: background-color 150ms ease-out, transform 120ms ease-out; }
  .btn:active { transform: translateY(1px); }
  .btn--red { background: var(--red); color: var(--on-red); }
  .btn--red:hover { background: var(--red-hover); }
  .btn--red:active { background: var(--red-deep); }
  .btn--ghost { border: 1.5px solid rgb(245 245 246 / 0.45); color: var(--on-dark); }
  .btn--ghost:hover { background: rgb(255 255 255 / 0.08); }

  /* header */
  .top { position: sticky; top: 0; z-index: 10; background: var(--dark); color: var(--on-dark); border-bottom: 1px solid rgb(255 255 255 / 0.06); }
  .top .wrap { display: flex; align-items: center; gap: 2rem; height: 84px; }
  .logo { display: block; color: var(--on-dark); flex: none; }
  .logo img { height: 56px; width: auto; }
  .nav { display: flex; gap: 1.75rem; margin-left: auto; font-weight: 600; font-size: 1rem; }
  .nav a { text-decoration: none; color: var(--on-dark-soft); }
  .nav a:hover { color: var(--on-dark); }
  .nav { align-items: center; }
  .menu { position: relative; }
  .menu__btn { display: inline-flex; align-items: center; gap: 0.4rem; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--on-dark-soft); cursor: pointer; }
  .menu__btn:hover, .menu.open .menu__btn { color: var(--on-dark); }
  .menu__btn svg { transition: transform 150ms ease-out; }
  .menu.open .menu__btn svg { transform: rotate(180deg); }
  .menu__list { display: none; position: absolute; top: 100%; left: -1rem; min-width: 290px; padding: 0.5rem; margin-top: 0.9rem; background: var(--dark); border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--radius); box-shadow: 0 12px 32px rgb(0 0 0 / 0.5); }
  .menu__list::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }
  .menu.open .menu__list, .menu:hover .menu__list { display: block; }
  .menu__list a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0.8rem; border-radius: 6px; }
  .menu__list a:hover { background: rgb(255 255 255 / 0.08); }
  .menu__list span { white-space: nowrap; font-size: 0.78rem; font-weight: 600; color: var(--red-on-dark); }
  .top .btn { min-height: 42px; padding: 0 16px; font-size: 0.98rem; }

  /* hero */
  .hero { position: relative; color: var(--on-dark); background: var(--dark); overflow: hidden; }
  .hero { background: radial-gradient(ellipse 50% 70% at 78% 55%, rgb(196 30 48 / 0.2), transparent 70%), var(--dark); }
  .hero .wrap { position: relative; display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 3rem; align-items: center; padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(4rem, 9vw, 7rem); }
  .hero .phone { width: min(17rem, 100%); justify-self: center; border-color: #2b2b30; box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.7); }
  .hero h1 { font-size: clamp(2.9rem, 1.8rem + 4.6vw, 5.4rem); max-width: 24ch; text-wrap: wrap; }
  .hero h1 span { color: var(--red-on-dark); display: block; }
  .hero p { font-size: 1.25rem; color: var(--on-dark); max-width: 32rem; margin-top: 1.25rem; opacity: 0.92; }
  .hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

  /* problems */
  .problems { background: var(--white); }
  .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.75rem; }
  .problem { border-top: 3px solid var(--red); padding-top: 1.25rem; }
  .problem p { color: var(--ink-soft); margin-top: 0.6rem; }

  /* product */
  .product { background: var(--light); }
  .split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
  .steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.4rem; counter-reset: s; }
  .steps li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; }
  .steps li::before { content: counter(s); grid-row: span 2; width: 2rem; height: 2rem; border-radius: 50%; background: var(--dark); color: var(--on-dark); font-weight: 700; display: grid; place-items: center; font-size: 0.95rem; margin-top: 2px; }
  .steps b { font-size: 1.15rem; }
  .steps span { color: var(--ink-soft); }
  .product .btn { margin-top: 2.25rem; }
  .phones { display: flex; gap: 1.25rem; justify-content: center; align-items: flex-start; }
  .phone { width: min(15rem, 46%); border-radius: 28px; overflow: hidden; border: 6px solid var(--dark); box-shadow: 0 2px 6px rgb(10 10 12 / 0.12), 0 24px 48px -16px rgb(10 10 12 / 0.35); background: var(--dark); }
  
  .phone img { width: 100%; height: auto; }


  /* about */
  .about { background: var(--white); }
  .about .split { grid-template-columns: 1.2fr 0.8fr; }
  .about p + p { margin-top: 1rem; }
  .about .body p { color: var(--ink-soft); font-size: 1.1rem; }
  .facts { list-style: none; margin: 0; padding: 1.75rem; background: var(--light); border-radius: var(--radius); display: grid; gap: 1.25rem; }
  .facts li { display: grid; gap: 2px; padding-left: 1.1rem; border-left: 3px solid var(--red); }
  .facts b { font-size: 1.1rem; }
  .facts span { color: var(--ink-soft); }

  /* what we build */
  .build { background: var(--light); }
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.75rem; }
  .card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; }
  .card p { color: var(--ink-soft); margin-top: 0.6rem; flex: 1; }
  .tag { align-self: flex-start; font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 1rem; background: #e4e4e7; color: var(--ink-soft); }
  .tag--live { background: #fbe1e3; color: var(--red-deep); }
  .card a { margin-top: 1.25rem; font-weight: 700; color: var(--red-on-light); text-underline-offset: 3px; }

  /* close */
  .close { background: var(--dark); color: var(--on-dark); text-align: center; }
  .close h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); }
  .close h2 span { color: var(--red-on-dark); }
  .close p { color: var(--on-dark-soft); margin: 1rem auto 0; max-width: 34rem; font-size: 1.15rem; }
  .close .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }

  footer.foot { background: #0a0a0c; color: var(--on-dark-soft); font-size: 0.92rem; }
  .foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 2rem; padding-bottom: 2rem; }
  .foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
  .foot a { text-decoration: none; }
  .foot a:hover { color: var(--on-dark); text-decoration: underline; }

  @media (max-width: 900px) {
    .grid3, .cards { grid-template-columns: 1fr; gap: 1.5rem; }
    .split, .about .split { grid-template-columns: 1fr; }
    .phones { margin-top: 1rem; }
  }
  @media (max-width: 640px) {
    .nav { display: none; }
    .top .wrap { gap: 1rem; justify-content: space-between; height: 68px; }
    .logo img { height: 42px; }
    .top .btn { min-height: 40px; padding: 0 12px; font-size: 0.92rem; }
    .hero .wrap { grid-template-columns: 1fr; }
    .hero .phone { width: 62%; }
    .hero .actions .btn { flex: 1 1 100%; }
    .close .actions .btn { flex: 1 1 100%; }
  }

  /* sub pages */
  .pagehead { background: radial-gradient(ellipse 50% 90% at 80% 50%, rgb(196 30 48 / 0.2), transparent 70%), var(--dark); color: var(--on-dark); padding: clamp(3.5rem, 8vw, 6rem) 0; }
  .pagehead h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); max-width: 20ch; }
  .pagehead h1 span { color: var(--red-on-dark); }
  .pagehead p { font-size: 1.25rem; max-width: 36rem; margin-top: 1.25rem; opacity: 0.92; }
  .pagehead .tag { background: rgb(196 30 48 / 0.22); color: var(--red-on-dark); }
  .pagehead .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
  .alt { background: var(--white); }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  @media (max-width: 900px) { .cards--2 { grid-template-columns: 1fr; } }

  /* SiteStash training */
  .training { background: var(--light); border-top: 1px solid var(--line); }
  .training .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
  .btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
  .btn--line:hover { background: rgb(0 0 0 / 0.05); }
  @media (max-width: 640px) { .training .actions .btn { flex: 1 1 100%; } }
  section[id] { scroll-margin-top: 84px; }
  @media (max-width: 640px) { section[id] { scroll-margin-top: 68px; } }

  /* Phone menu: a Menu button opens the whole nav as a panel under the header */
  .navtoggle { display: none; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0 10px; border: 1.5px solid rgb(245 245 246 / 0.35); border-radius: var(--radius); background: none; color: var(--on-dark); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; }
  @media (max-width: 640px) {
    .navtoggle { display: inline-flex; }
    .cta-long { display: none; }
    .top .wrap { gap: 0.6rem; }
    .top .btn { margin-left: auto; }
    .top.navopen .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 100%; padding: 0.5rem var(--gutter) 1rem; background: var(--dark); border-bottom: 1px solid rgb(255 255 255 / 0.12); box-shadow: 0 16px 32px rgb(0 0 0 / 0.5); font-size: 1.05rem; }
    .top.navopen .nav > a { padding: 0.9rem 0; border-top: 1px solid rgb(255 255 255 / 0.08); color: var(--on-dark); }
    .top.navopen .menu__btn { width: 100%; justify-content: space-between; padding: 0.9rem 0; color: var(--on-dark); font-size: 1.05rem; }
    .top.navopen .menu__list { position: static; min-width: 0; margin: 0 0 0.4rem; padding: 0; border: 0; box-shadow: none; background: none; }
    .top.navopen .menu__list::before { display: none; }
    .top.navopen .menu__list a { padding: 0.75rem 0.25rem 0.75rem 1rem; color: var(--on-dark-soft); }
    .menu:hover .menu__list { display: none; }
    .menu.open .menu__list { display: block; }
  }
  .navtoggle, .menu__btn, .nav a { -webkit-tap-highlight-color: transparent; }
  .menu__btn svg { flex: none; }
  .grid2 { grid-template-columns: repeat(2, 1fr); max-width: 52rem; }
  @media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }
