/* getdayworth.com: the business site for Dayworth AI.
   A light page with two dark bands (the opening and the managers section).
   Every colour comes from these tokens; the dark bands swap them. No glow,
   no blobs, no gradient text: the product screens carry the page. */

:root {
  color-scheme: light;
  --bg: #fbfbfc;
  --bg-2: #f3f4f7;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --surface-solid: #ffffff;
  --line: #e6e8ed;
  --line-2: #d3d8e0;
  --text: #0a0f1c;
  --muted: #4a5466;
  --faint: #737d8e;
  --accent: #1d4ed8;
  --accent-2: #1d4ed8;
  --accent-3: #b45309;
  --accent-ink: #ffffff;
  --ok: #067a52;
  --warn: #b45309;
  --shadow: 0 1px 2px rgba(10, 15, 28, .05), 0 18px 44px -20px rgba(10, 15, 28, .22);
  --shadow-sm: 0 1px 2px rgba(10, 15, 28, .06);
  --glass: rgba(251, 251, 252, .82);
  --grad: var(--accent);
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

/* The dark bands. Same names, darker values, so every component inside
   them (buttons, tiles, lists) follows without its own dark rules. */
.dark {
  color-scheme: dark;
  --bg: #070a12;
  --bg-2: #0c1120;
  --surface: #0f1524;
  --surface-2: #151c2e;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f1f4fa;
  --muted: #a3adc2;
  --faint: #7f8aa1;
  --accent: #8ea6ff;
  --accent-ink: #070a12;
  --ok: #46c495;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --shadow-sm: none;
  background: var(--bg);
  color: var(--text);
}
.dark .btn-primary { --accent: #3b63f0; color: #fff; }
.dark .btn-primary:hover { background: #4d71f2; border-color: #4d71f2; }

/* Page changes cross-fade where the browser can (no script). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
.nav { view-transition-name: nav; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  /* No overflow-x here: on body it turns body into its own scroll box, and
     every position: sticky on the page (the nav, the story phone) stops
     sticking. html's overflow-x: clip already stops sideways scrolling. */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, #1d4ed8 30%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 62px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 680; letter-spacing: -.02em; font-size: 17.5px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 2px; margin-left: 10px; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 520;
  padding: 7px 11px; border-radius: 8px; transition: color .2s, background-color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.signin { white-space: nowrap; text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 520; padding: 7px 10px; }
.signin:hover { color: var(--text); }

.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); position: relative; transition: transform .3s var(--ease), background-color .2s; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-links .mobile-only { display: none; }
@media (max-width: 1120px) { .signin { display: none; } .nav-links { margin-left: 0; } .nav-links a { padding: 7px 9px; } .nav .wrap { gap: 14px; } }
@media (max-width: 960px) {
  .nav-links, .signin, .nav-right .btn { display: none; }
  .menu-btn { display: grid; }
  .nav.open { background: var(--bg); }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    padding: 12px var(--gutter) 22px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); animation: drop .35s var(--ease);
    max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .nav.open .nav-links a { font-size: 18px; padding: 12px; }
  .nav.open .nav-links .mobile-only { display: block; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 19px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--surface); box-shadow: var(--shadow-sm); color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  cursor: pointer; white-space: nowrap; transition: border-color .15s, background-color .15s, transform .15s;
}
.btn:hover { border-color: var(--faint); background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .3s var(--spring); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.btn-primary:hover { background: #1a43bd; border-color: #1a43bd; }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-lg { min-height: 50px; padding: 0 22px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }

.link {
  text-decoration: none; color: var(--accent); font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease);
}
.link:hover { background-size: 100% 1.5px; }
.link .arrow { display: inline-block; transition: transform .3s var(--spring); }
.link:hover .arrow { transform: translateX(3px); }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 680; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.8vw, 74px); letter-spacing: -.048em; line-height: 1.01; font-weight: 700; }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.04em; line-height: 1.04; }
h3 { font-size: clamp(18px, 1.5vw, 20px); letter-spacing: -.015em; line-height: 1.3; font-weight: 640; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(17px, 1.35vw, 19.5px); color: var(--muted); line-height: 1.55; max-width: 620px; }
.grad-text { color: var(--faint); }
/* Small labels in a monospace: the site's one typographic flourish. */
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.eyebrow .pill { display: none; }

section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 14px 0 18px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.hero .reveal, .page-hero .reveal { opacity: 1; transform: none; animation: rise .7s var(--ease) both; animation-delay: var(--d, 0s); }
/* Above the fold the text only slides; it is never hidden, so a page that
   is not painting frames yet (a background tab, a link preview) still reads. */
@keyframes rise { from { transform: translateY(12px); } }

/* ---------- a phone, holding a real screenshot ---------- */
.device {
  position: relative; border-radius: 34px; padding: 7px;
  background: linear-gradient(160deg, #262e40, #0b0f18 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 80px -36px rgba(7, 10, 18, .55);
}
.device img { width: 100%; height: auto; border-radius: 27px; background: #f2f4f8; }

/* ---------- hero (dark) ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 0; overflow: hidden; }
.hero.dark { background: linear-gradient(180deg, #070a12 0%, #0a0f1c 100%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero .lede { max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 20px; color: var(--faint); font-size: 14.5px; max-width: 540px; }
.hero-note strong { color: var(--text); font-weight: 640; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); font-size: 13.5px; font-weight: 520; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.chip b { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #3b63f0; color: #fff; }
.chip:hover { color: var(--text); border-color: var(--faint); }
.chip .arrow { transition: transform .3s var(--spring); }
.chip:hover .arrow { transform: translateX(3px); }

.hero-visual { position: relative; aspect-ratio: 1 / 1.08; perspective: 1800px; }
.hero-visual .device { position: absolute; width: 52%; transform-style: preserve-3d; }
.hero-visual .front { left: 6%; top: 4%; z-index: 2; transform: rotateY(-10deg) rotateX(4deg) rotateZ(-1deg); }
.hero-visual .back { right: 2%; top: 13%; width: 47%; z-index: 1; opacity: .9; transform: rotateY(-14deg) rotateX(4deg) translateZ(-90px); }
.note {
  position: absolute; z-index: 3; display: grid; gap: 2px; max-width: 250px; padding: 11px 14px; border-radius: 12px;
  font-size: 13.5px; line-height: 1.35; color: var(--text);
  background: rgba(15, 21, 36, .78); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.note span { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.note.n1 { left: -3%; bottom: 20%; }
.note.n2 { right: -1%; top: 3%; }
/* Where the browser can tie motion to scrolling, the phones settle flat as
   the page moves. Nothing happens without it, or under reduced motion. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-visual .front { animation: settle-front linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    .hero-visual .back { animation: settle-back linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
  }
}
@keyframes settle-front { to { transform: rotateY(0) rotateX(0) rotateZ(0) translateY(-18px); } }
@keyframes settle-back { to { transform: rotateY(0) rotateX(0) translateZ(-90px) translateY(18px); } }

/* ---------- facts strip ---------- */
.hero .facts-grid { margin-top: clamp(56px, 7vw, 96px); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 28px 24px 34px; border-right: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact .n { font-size: clamp(24px, 2.6vw, 32px); font-weight: 680; letter-spacing: -.035em; line-height: 1; }
.fact .l { color: var(--muted); font-size: 14px; margin-top: 10px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin: 12px auto 0; }
}
@media (max-width: 760px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 22px 16px 24px; }
  .fact:nth-child(odd) { padding-left: 0; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .note { font-size: 12.5px; max-width: 200px; }
  .note.n1 { left: 0; bottom: 14%; }
}

/* ---------- the day, told by scrolling ---------- */
.story-grid { display: grid; grid-template-columns: 1fr minmax(280px, 380px); gap: clamp(40px, 7vw, 110px); align-items: start; }
.story-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.story-step { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); min-height: min(58vh, 560px); display: flex; flex-direction: column; justify-content: center; transition: opacity .4s var(--ease); }
.story-step:last-child { border-bottom: 1px solid var(--line); }
.story-step .k { font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; color: var(--accent); }
.story-step h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.035em; margin: 12px 0 14px; }
.story-step p { color: var(--muted); font-size: 17px; max-width: 520px; }
@media (min-width: 901px) {
  .story-grid.live .story-step { opacity: .3; }
  .story-grid.live .story-step.on { opacity: 1; }
}
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15.5px; color: var(--text); }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 7px; height: 7px; margin: 9px 0 0 4px; border-radius: 2px; background: var(--accent); }
.story-device { position: sticky; top: 96px; }
.story-device .device { aspect-ratio: 640 / 1243; width: min(100%, calc((100vh - 170px) * .515)); margin: 0 auto; }
.story-device .device img { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); object-fit: contain; object-position: top; opacity: 0; transition: opacity .45s var(--ease); }
.story-device .device img.on { opacity: 1; }
.story-device .caption { margin-top: 16px; text-align: center; color: var(--faint); font-size: 13.5px; }
.device.inline { display: none; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-device { display: none; }
  .story-step { min-height: 0; }
  .device.inline { display: block; width: min(320px, 82%); margin: 28px auto 0; }
}

/* ---------- tiles (features, on the road) ---------- */
.tile {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, transform .25s var(--ease);
}
.tile:hover { border-color: var(--line-2); }
.tile h3 { margin: 18px 0 8px; }
.tile p { color: var(--muted); font-size: 15.5px; }
.icon-tile { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); flex: none; }
.icon-tile svg { width: 21px; height: 21px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bento .c2 { grid-column: span 2; } .bento .c3 { grid-column: span 3; } .bento .c4 { grid-column: span 4; } .bento .c6 { grid-column: span 6; }
.bento .viz { margin-top: auto; padding-top: 22px; }
.bento .c6 p { max-width: 760px; }
.ask { border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); padding: 14px 16px; font-size: 14.5px; }
.ask .q { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.ask .q::before { content: "› "; color: var(--accent); font-weight: 800; }
.ask .a { margin-top: 8px; }
.typing::after { content: "▍"; color: var(--accent); animation: blink 1s steps(1) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.mini-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mini-cal div { border-radius: 10px; padding: 8px 6px; background: var(--bg-2); border: 1px solid var(--line); font-size: 12px; text-align: center; color: var(--muted); }
.mini-cal b { display: block; font-size: 18px; letter-spacing: -.03em; color: var(--text); }
.mini-cal .on { border-color: var(--accent); color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.tag.hot { color: var(--accent-3); border-color: color-mix(in srgb, var(--accent-3) 35%, transparent); }
.tag.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
@media (max-width: 960px) { .bento .c2, .bento .c3, .bento .c4 { grid-column: span 3; } }
@media (max-width: 640px) { .bento .c2, .bento .c3, .bento .c4, .bento .c6 { grid-column: span 6; } }

#features { padding-top: clamp(40px, 6vw, 80px); }
#road { background: var(--bg-2); border-top: 1px solid var(--line); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillar ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 15px; }
.pillar li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.pillar li::before { content: ""; width: 7px; height: 7px; margin: 9px 0 0 4px; border-radius: 2px; background: var(--accent); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- managers (dark) ---------- */
#managers .split { display: grid; grid-template-columns: 1.35fr .75fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
#managers h2 { margin: 14px 0 18px; }
.feature-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.feature-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.feature-list b { display: block; font-size: 16.5px; font-weight: 640; letter-spacing: -.01em; margin-bottom: 3px; }
.feature-list span { color: var(--muted); font-size: 15px; }
.mgr-visual { position: sticky; top: 100px; }
.mgr-visual .device { max-width: 340px; margin: 0 auto; }
@media (max-width: 1080px) { .feature-list { grid-template-columns: 1fr; } }
@media (max-width: 900px) { #managers .split { grid-template-columns: 1fr; } .mgr-visual { position: static; } .mgr-visual .device { width: min(320px, 82%); } }

/* ---------- drop-downs ---------- */
.more { padding-bottom: clamp(48px, 6vw, 80px); }
.more-list { max-width: 960px; margin: 0 auto; border-top: 1px solid var(--line); }
.more-item { border-bottom: 1px solid var(--line); }
.more-item > summary { list-style: none; cursor: pointer; padding: 24px 4px; font-weight: 640; font-size: clamp(19px, 1.8vw, 23px); letter-spacing: -.02em; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s; }
.more-item > summary:hover { color: var(--accent); }
.more-item > summary::-webkit-details-marker { display: none; }
.more-item > summary .pm, .faq summary .pm { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); }
.more-item > summary .pm::before, .more-item > summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--spring); }
.more-item > summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.more-item[open] > summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.more-body { padding: 0 0 28px; }
.more-body section { padding: 8px 0 24px; }
.more-body .section-head { margin-bottom: 28px; }
.more-body .section-head h2 { font-size: clamp(26px, 2.8vw, 34px); }
.more-body .band { border: 0; background: transparent; }
.more-body .band + section, .more-item .band + section { padding-top: 24px !important; }

/* ---------- integrations, rollout, security cards (inside the drop-downs) ---------- */
.spot { position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.integ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.integ { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 4px 12px; padding: 18px; align-content: start; }
.integ b { font-size: 15.5px; grid-column: 1; grid-row: 1; }
.integ span { color: var(--muted); font-size: 14px; grid-column: 1 / -1; grid-row: 2; margin-top: 6px; }
.status { grid-column: 2; grid-row: 1; align-self: start; font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; }
.status.live { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.status.soon { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.status.inline { display: inline-block; vertical-align: 2px; margin-left: 8px; font-size: 11px; padding: 3px 8px; }
@media (max-width: 960px) { .integ-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .integ-grid { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; top: 18px; left: 18px; right: 6%; height: 1px; background: var(--line-2); }
.step { position: relative; }
.step .n { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 14px; background: var(--accent); color: #fff; box-shadow: 0 0 0 6px var(--bg); margin-bottom: 18px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step .t { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--accent); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 30px 18px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sec { padding: 24px; }
.sec h3 { font-size: 17px; margin: 16px 0 8px; }
.sec p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- call to action ---------- */
.cta-wrap { padding-top: 0; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- pricing ---------- */
.billing-toggle { display: inline-flex; position: relative; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.billing-toggle button { position: relative; z-index: 1; border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-weight: 650; font-size: 14.5px; cursor: pointer; color: var(--muted); transition: color .3s; }
.billing-toggle button[aria-pressed="true"] { color: var(--accent-ink); }
.billing-toggle .thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--accent); transition: transform .3s var(--ease), width .3s var(--ease); }
.save { font-size: 11.5px; font-weight: 750; color: var(--ok); margin-left: 6px; }
.billing-toggle button[aria-pressed="true"] .save { color: inherit; opacity: .85; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; margin-top: 40px; }
.plan { padding: 32px 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .badge { align-self: flex-start; font-size: 12px; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; margin-bottom: 14px; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--muted); font-size: 15px; margin-top: 6px; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.price .amt { font-size: 48px; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
/* "Contact for pricing" (Team, Enterprise): words, not a figure, so one line at a smaller size. */
.price .amt.ask { font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }
.price .per { color: var(--muted); font-size: 14.5px; line-height: 1.3; }
.price-note { color: var(--faint); font-size: 13.5px; min-height: 40px; }
.plan .btn { margin: 20px 0 24px; width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan li svg { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.plan li.head { display: block; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.calc-in { padding: 34px; }
.calc-out { padding: 34px; background: var(--bg-2); border-left: 1px solid var(--line); }
.calc label[for] { display: block; font-weight: 650; margin-bottom: 10px; }
.seat-row { display: flex; align-items: center; gap: 16px; }
.seat-num { min-width: 92px; text-align: center; font-size: 34px; font-weight: 780; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--accent) var(--fill, 10%), var(--surface-2) var(--fill, 10%)); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 35%, transparent), 0 4px 12px rgba(0, 0, 0, .3); cursor: grab; transition: transform .2s var(--spring); }
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 35%, transparent); cursor: grab; }
.addons { display: grid; gap: 10px; margin-top: 26px; }
.addon { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; transition: border-color .2s; }
.addon:hover { border-color: var(--line-2); }
.addon input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.addon .what { flex: 1; }
.addon .what b { display: block; font-size: 15px; }
.addon .what span { color: var(--muted); font-size: 13.5px; }
.addon .p { font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.total { font-size: clamp(40px, 4.4vw, 56px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-out .lines { display: grid; gap: 8px; margin: 22px 0; font-size: 15px; }
.calc-out .lines div { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.calc-out .lines div b { color: var(--text); font-variant-numeric: tabular-nums; }
.calc-out .lines .sep { border-top: 1px solid var(--line); padding-top: 10px; }
.calc-out .btn { width: 100%; }
.tier-hint { margin-top: 14px; font-size: 14px; color: var(--muted); min-height: 21px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-out { border-left: 0; border-top: 1px solid var(--line); } }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { position: sticky; top: 0; background: var(--surface-solid); font-size: 15px; z-index: 1; }
.compare tbody th { font-weight: 550; color: var(--muted); min-width: 220px; }
.compare td { text-align: center; min-width: 120px; }
.compare .grp th { font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 800; }
.no { color: var(--faint); }
.compare td small { color: var(--muted); }

/* ---------- licensing ---------- */
.lic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.lic { padding: 28px; }
.lic h3 { font-size: 18px; margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.lic h3 .icon-tile { width: 38px; height: 38px; border-radius: 11px; }
.lic h3 .icon-tile svg { width: 19px; height: 19px; }
.lic p, .lic li { color: var(--muted); font-size: 15.5px; }
.lic ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 860px) { .lic-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background-color .3s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 650; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--spring); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 22px 22px; color: var(--muted); font-size: 16px; }
.faq .ans p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: 28px; padding: clamp(52px, 7vw, 96px) clamp(24px, 6vw, 80px); overflow: hidden; text-align: center;
  background: #070a12; color: #f1f4fa; border: 1px solid #1a2233;
  --text: #f1f4fa; --muted: #a3adc2; --accent: #8ea6ff; --line-2: rgba(255, 255, 255, .2); --surface-2: rgba(255, 255, 255, .06);
}
.cta-band .btn-primary { background: #3b63f0; border-color: #3b63f0; color: #fff; }
.cta-band .btn-primary:hover { background: #4d71f2; border-color: #4d71f2; }
.cta-band .btn-ghost { color: #fff; }
.cta-band h2 { max-width: 820px; margin: 16px auto 18px; }
.cta-band .lede { margin: 0 auto; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 7px; }
.field label .opt { font-weight: 500; color: var(--faint); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s; font-size: 16px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.field input:user-invalid, .field select:user-invalid { border-color: #c81e1e; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 24px; font-size: 15px; font-weight: 600; }
.form-msg.err { color: #c81e1e; }
.form-done { text-align: center; padding: 30px 10px; }
.form-done .check { width: 76px; height: 76px; margin: 0 auto 20px; }
.form-done .check circle { fill: none; stroke: var(--ok); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s var(--ease) forwards; }
.form-done .check path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .5s .6s var(--ease) forwards; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: none; }
.busy .spinner { display: inline-block; }
.busy .label { opacity: .8; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.panel { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); }
.next-steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; counter-reset: n; }
.next-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; counter-increment: n; color: var(--muted); font-size: 15.5px; }
.next-steps li::before { content: counter(n); width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-weight: 750; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-2); }
.next-steps b { color: var(--text); display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(50px, 8vw, 100px); padding-bottom: clamp(30px, 5vw, 60px); text-align: center; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); margin: 16px auto 18px; max-width: 820px; }
.page-hero .lede { margin: 0 auto; }

/* ---------- prose (security, terms) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 56px 0 16px; }
.prose h3 { margin: 30px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 16.5px; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; }
.prose strong { color: var(--text); }
.toc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 14.5px; }
.toc a { text-decoration: none; color: var(--muted); padding: 7px 12px; border-left: 2px solid var(--line); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.on { color: var(--text); border-left-color: var(--accent); }
@media (max-width: 900px) { .toc-layout { grid-template-columns: 1fr; } .toc { display: none; } }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--bg-2); }
.foot { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; }
.foot h4 { font-size: 14px; color: var(--text); margin-bottom: 14px; font-weight: 650; letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.foot a:hover { color: var(--text); }
.foot .about { color: var(--muted); font-size: 15px; max-width: 320px; margin-top: 16px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; }
.status-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: beat 2.4s infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }

/* ---------- notice ---------- */
.notice { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 10px var(--gutter); font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--surface); text-align: center; }
.notice b { color: var(--text); }
.notice { font-size: 13.5px; padding: 9px var(--gutter); }
@media (max-width: 640px) { .notice { font-size: 12.5px; gap: 2px 10px; padding: 8px var(--gutter); } }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.lost .code { font-size: clamp(120px, 22vw, 260px); font-weight: 800; letter-spacing: -.07em; line-height: .9; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .nav, footer, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- section bands ---------- */
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc-out #c-go { margin-top: 10px; }
.buy-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.buy-note.err { color: #c81e1e; font-weight: 600; }
#c-buy[hidden], #c-buy-wrap[hidden] { display: none; }

/* Language links: EN ES FR, in the header and the footer. */
.langs { display: flex; gap: 2px; align-items: center; }
.langs a { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-decoration: none; padding: 6px 7px; border-radius: 6px; }
.langs a:hover { color: var(--text); }
.langs a[aria-current="true"] { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
.legal .langs { margin-left: auto; }

/* Grid and flex children may shrink below their content: Spanish and French
   run longer than English, and a column that would not shrink pushed the page
   sideways on a phone (the English calculator overflowed by 10px too). */
.split > *, .calc > *, .calc-in, .seat-row > * { min-width: 0; }
.seat-row { flex-wrap: wrap; }
h1, h2, h3 { overflow-wrap: break-word; }
.hero-grid > *, .addon > *, .kpi { min-width: 0; }
.kpi .n { overflow-wrap: anywhere; }
@media (max-width: 420px) { .addon .p { white-space: normal; text-align: right; } .hero h1 { font-size: clamp(32px, 9vw, 38px); } }
.addons > * { min-width: 0; } .addon .what { overflow-wrap: anywhere; }


/* ---------- country tabs and language ----------
   Above the header on every page. Country first, as tabs: it changes what
   the app does (units, mileage rules, prices). Language beside it, on its
   own: any country can be read in any of the three. */
.localebar { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.localebar .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.loc { display: flex; align-items: center; gap: 10px; min-width: 0; }
.loc-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.loc-label svg { width: 15px; height: 15px; }
.ctabs { display: flex; gap: 4px; }
.ctab { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14.5px; font-weight: 620; text-decoration: none; white-space: nowrap; transition: border-color .15s, background .15s, color .15s; }
.ctab:hover { color: var(--text); border-color: var(--line-2); }
.ctab .cc { font-size: 11px; font-weight: 750; letter-spacing: .08em; padding: 2px 5px; border-radius: 5px; background: var(--surface-2); color: var(--faint); }
/* The chosen tab follows <html data-country>, which theme.js sets before the
   first paint; with no script the page reads as the United States. */
html:not([data-country]) .ctab[data-country="us"],
html[data-country="us"] .ctab[data-country="us"],
html[data-country="ca"] .ctab[data-country="ca"],
html[data-country="mx"] .ctab[data-country="mx"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
html:not([data-country]) .ctab[data-country="us"] .cc,
html[data-country="us"] .ctab[data-country="us"] .cc,
html[data-country="ca"] .ctab[data-country="ca"] .cc,
html[data-country="mx"] .ctab[data-country="mx"] .cc { background: color-mix(in srgb, var(--accent-ink) 18%, transparent); color: var(--accent-ink); }
.localebar .langs { display: flex; gap: 3px; padding: 3px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.localebar .langs a { font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--muted); padding: 6px 11px; border-radius: 8px; min-height: 30px; display: inline-flex; align-items: center; }
.localebar .langs a:hover { color: var(--text); background: var(--surface-2); }
.localebar .langs a[aria-current="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.abbr { display: none; }
@media (max-width: 820px) {
  .localebar .wrap { gap: 8px; }
  .loc-country { flex: 1 1 100%; }
  .loc-country .loc-label { display: none; }
  .loc-country .ctabs { flex: 1; }
  .ctab { flex: 1; justify-content: center; padding: 7px 8px; font-size: 13.5px; }
  .loc-lang { margin-left: auto; }
  .localebar .langs .full { display: none; }
  .localebar .langs .abbr { display: inline; }
}
@media (max-width: 400px) { .ctab .cc { display: none; } .ctab { font-size: 13px; padding: 7px 4px; } }
.legal .langs a { font-size: 12.5px; color: var(--muted); text-decoration: none; padding: 6px 8px; border-radius: 6px; }
.legal .langs a[aria-current="true"] { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
.legal .langs .abbr { display: inline; } .legal .langs .full { display: none; }

/* ---------- country-specific content ----------
   An element marked data-c="ca mx" shows only for those countries. Without a
   script the page reads as the United States. */
html:not([data-country]) [data-c]:not([data-c~="us"]),
html[data-country="us"] [data-c]:not([data-c~="us"]),
html[data-country="ca"] [data-c]:not([data-c~="ca"]),
html[data-country="mx"] [data-c]:not([data-c~="mx"]) { display: none !important; }
html[data-country="mx"] #c-buy-wrap { display: none !important; }

/* ---------- "How Dayworth AI works in <country>" ----------
   The same tabs again beside the content they switch, then the chosen
   country's panel. */
.ctabs-inline { margin: 0 0 18px; flex-wrap: wrap; }
.cpanel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.crow { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.crow .icon-tile { flex: none; }
.crow b { display: block; color: var(--text); font-weight: 650; margin-bottom: 3px; }
.crow span:not(.icon-tile) { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .cpanel { grid-template-columns: 1fr; } .ctabs-inline .ctab { flex: 1; justify-content: center; } }
.hero-country { margin-top: 14px; font-size: 14.5px; color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
.hero-country b { color: var(--text); font-weight: 650; white-space: nowrap; }

/* ---------- the gaps a field team has ---------- */
.gaps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gap { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.gap .was { color: var(--faint); font-size: 14.5px; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--faint) 55%, transparent); }
.gap h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.gap p { margin: 0; color: var(--muted); font-size: 15.5px; }
.gaps-note { margin-top: 26px; color: var(--muted); font-size: 15px; max-width: 760px; }
.gaps-note b { color: var(--text); }
@media (max-width: 960px) { .gaps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .gaps { grid-template-columns: 1fr; } }
@media (min-width: 961px) { .gap .was { min-height: 2.9em; } }
