/* =========================================================================
   MECHANICDESK — stylesheet
   Plain CSS3. No preprocessor, no build step, no framework. The custom
   properties in :root ARE the design system — change --accent there and it
   changes on every button, icon, link and light on the page.

   Dark theme follows the OS via prefers-color-scheme. Token overrides live
   in the media query immediately under :root; surfaces that used to hardcode
   light greys (nav glass, drawer, forms, shadows) read those tokens too.

   Reading order below, in the order the page uses them:
     tokens (:root + dark) · reset · chrome (progress bar, back-to-top) · nav ·
     buttons · hero · hero video · section headings · disclosures · cards ·
     features (the tile grid) · workshop band · used by · integrations (logo grid) ·
     testimonials · pricing table · ready to switch · FAQ · support · blog · CTA band · contact ·
     footer · reveal animations · responsive

   Two things to know before editing:
   · Breakpoints are 1180 / 1024 / 860 / 620 / 520px, all in the responsive
     section at the bottom, so a component's mobile rules are not next to it.
   ========================================================================= */

:root {
  color-scheme: light dark;
  /* Amber has to carry text and 1px marks on a near-white ground, so the
     brand orange comes down a stop for ink. --accent-2 keeps the bright one
     for hovers and large fills, where there is area enough for it to read. */
  --accent: #F37D21;
  --accent-2: #ffb43a;
  --redline: #d43a1c;
  --accent-ink: #a85c04;
  --accent-glow: rgba(217, 122, 6, 0.20);
  /* the accent at four strengths, so nothing mixes it by hand. Change the four
     alphas here, not the rules that use them. */
  --accent-wash: rgba(217, 122, 6, 0.05);       /* barely there: featured column, focused field */
  --accent-tint: rgba(217, 122, 6, 0.10);       /* icon plates, small fills */
  --accent-tint-2: rgba(217, 122, 6, 0.22);     /* the same, lit: hover plates, the wipe head */
  --accent-edge: rgba(217, 122, 6, 0.30);       /* a hairline in the accent */
  --accent-hot: #ff8a00;                        /* the brand orange, for large fills only */
  --bg: #f5f7f9;                       /* paper */
  --bg-2: #eceff4;
  --surface: #e4e9ef;
  --card: #ffffff;
  --line: rgba(18, 24, 33, 0.10);
  --line-2: rgba(18, 24, 33, 0.18);
  --text: #111721;                     /* ink */
  --text-2: #46515f;
  --muted: #6d7885;
  --on-accent: #ffffff;
  --on-accent-soft: #17130a;
  --nav-bg: rgba(245, 247, 249, 0.86);
  --drawer-bg: rgba(245, 247, 249, 0.98);
  --input-bg: #ffffff;
  --input-placeholder: #5d6873;
  --form-well: rgba(18, 24, 33, 0.03);
  --control-track: rgba(18, 24, 33, 0.04);
  --pop-close-bg: rgba(245, 247, 249, 0.92);
  --overlay: rgba(18, 24, 33, 0.45);
  --scrollbar: rgba(18, 24, 33, 0.25);
  --scrollbar-hover: rgba(18, 24, 33, 0.34);
  --grid-line: rgba(18, 24, 33, 0.06);
  --bolt: rgba(18, 24, 33, 0.18);
  --quote-mark: rgba(168, 92, 4, 0.26);
  --logo-well: transparent;
  --shadow: 0 14px 34px -26px rgba(18, 24, 33, 0.45);
  --shadow-nav: 0 10px 30px rgba(18, 24, 33, 0.10);
  --shadow-mock: 0 30px 70px -32px rgba(18, 24, 33, 0.45);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1240px;
  --pad: clamp(2.6rem, 4.55vw, 4.55rem);   /* half the original, then +30% */
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --head: 'Inter', sans-serif;
  /* automotive textures, CSS only */
  --carbon: repeating-linear-gradient(45deg, rgba(18,24,33,.03) 0 1px, transparent 1px 3px),
            repeating-linear-gradient(-45deg, rgba(18,24,33,.022) 0 1px, transparent 1px 3px);
  /* 30% finer than before: 6px stripe on a 12px period, 3px tall */
  --tape-bg: repeating-linear-gradient(-45deg, var(--accent) 0 6px, #ffffff 6px 12px);
  --brushed: repeating-linear-gradient(90deg, rgba(18,24,33,.05) 0 1px, transparent 1px 4px);
  /* dash rule: 3px dash / 4px gap — 30% finer than a browser dashed border */
  --dash: repeating-linear-gradient(90deg, var(--line-2) 0 3px, transparent 3px 7px);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --accent: #ff9a3d;
    --accent-2: #ffb43a;
    --redline: #ff5a3a;
    --accent-ink: #ffb43a;
    --accent-glow: rgba(255, 154, 61, 0.28);
    --accent-wash: rgba(255, 154, 61, 0.10);
    --accent-tint: rgba(255, 154, 61, 0.16);
    --accent-tint-2: rgba(255, 154, 61, 0.30);
    --accent-edge: rgba(255, 154, 61, 0.42);
    --accent-hot: #ff8a00;
    --bg: #1a1a1a;
    --bg-2: #1a1a1a;
    --surface: #1a2026;
    --card: #1c2229;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.16);
    --text: #eef1f3;
    --text-2: #c9d1d7;
    --muted: #8b959e;
    --on-accent: #ffffff;
    --on-accent-soft: #17130a;
    --nav-bg: rgba(15, 18, 21, 0.88);
    --drawer-bg: rgba(15, 18, 21, 0.98);
    --input-bg: #151a1f;
    --input-placeholder: #7a8490;
    --form-well: rgba(255, 255, 255, 0.04);
    --control-track: rgba(255, 255, 255, 0.06);
    --pop-close-bg: rgba(28, 34, 41, 0.92);
    --overlay: rgba(0, 0, 0, 0.65);
    --scrollbar: rgba(255, 255, 255, 0.22);
    --scrollbar-hover: rgba(255, 255, 255, 0.34);
    --grid-line: rgba(255, 255, 255, 0.07);
    --bolt: rgba(255, 255, 255, 0.18);
    --quote-mark: rgba(255, 180, 58, 0.30);
    --logo-well: #ffffff;
    --shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.70);
    --shadow-nav: 0 10px 30px rgba(0, 0, 0, 0.40);
    --shadow-mock: 0 30px 70px -28px rgba(0, 0, 0, 0.75);
    --carbon: repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
              repeating-linear-gradient(-45deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
    --tape-bg: repeating-linear-gradient(-45deg, var(--accent) 0 6px, #1a2026 6px 12px);
    --brushed: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 4px);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text-2);
  font-family: var(--sans); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--text); margin: 0; font-weight: 700; letter-spacing: -0.04em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.04;}
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(1.6rem, 2.7vw, 2.3rem); line-height: 1.12; }
h3 { font-size: 1.12rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.sec { padding: var(--pad) 0; position: relative; }
.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent);
}
.ico { display: inline-flex; }
.ico svg { width: 22px; height: 22px; }
.ico-sm svg { width: 16px; height: 16px; }

/* hazard tape — workshop signage, used three times on the page */
.tape { height: 3px; background: var(--tape-bg); opacity: 1; }

/* ---------------------------------------------------------------- chrome -- */
#scrollProgress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--redline), var(--accent)); z-index: 10000; transition: width 0.1s linear; }
#backToTop {
  position: fixed; bottom: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border: 0;
  border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center;
  z-index: 120; opacity: 0; transform: translateY(12px); transition: all 0.25s ease; pointer-events: none;
  box-shadow: 0 10px 30px var(--accent-glow);
}
#backToTop svg { width: 18px; height: 18px; transform: rotate(-90deg); }
#backToTop.visible { opacity: 1; transform: none; pointer-events: auto; }
#backToTop:hover { background: var(--accent-2); color: var(--on-accent-soft); }


/* ------------------------------------------------------------------- nav -- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: 0.8rem; transition: padding 0.25s ease; }
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0.5rem 0.6rem 0.5rem 1.1rem;
  display: flex; align-items: center; gap: 1.5rem; border-radius: 999px;
  border: 1px solid transparent; transition: all 0.28s ease;
}
.nav.scrolled { padding-top: 0.45rem; }
.nav.scrolled .nav-inner {
  background: var(--nav-bg); backdrop-filter: blur(16px);
  border-color: var(--line); box-shadow: var(--shadow-nav);
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; }
.brand img { width: 90px; height: auto; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--text); }
.brand-name em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: 1.4rem; margin: 0 auto; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--text-2); transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 0.85rem; }
.nav-login { font-size: 0.92rem; font-weight: 500; color: var(--text-2); }
.nav-login:hover { color: var(--text); }
.burger { display: none; background: none; border: 0; padding: 0.4rem; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--text); margin: 4px 0; }

.drawer {
  position: fixed; inset: 0; background: var(--drawer-bg); z-index: 140;
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer nav { display: flex; flex-direction: column; gap: 1.2rem; text-align: center; }
.drawer nav a { font-family: var(--head); font-size: 1.45rem; font-weight: 600; color: var(--text); }
.drawer-close { position: absolute; top: 1.2rem; right: 1.4rem; background: none; border: 0; font-size: 2rem; color: var(--text); line-height: 1; }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.82rem 1.45rem; border-radius: 999px; font-size: 0.93rem; font-weight: 600;
  border: 1px solid transparent; transition: all 0.22s ease; text-align: center;
}
.btn svg { width: 15px; height: 15px; }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.89rem; }
.btn-lg { padding: 0.98rem 1.6rem; font-size: 1rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-2); color: var(--on-accent-soft); transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-glow); }
.btn-outline { border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
/* only used on the amber CTA band, so it is light-on-amber */
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.93rem; font-weight: 600;
  color: var(--accent); align-self: flex-start;
}
.link-arrow.sm { font-size: 0.87rem; }
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ hero -- */
.hero { padding: calc(5.5rem + 2.5vw) 0 0; position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; top: -20%; right: -10%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, var(--accent-tint) 0%, rgba(217, 122, 6, 0.03) 40%, transparent 68%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 92px 100%;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 0.86fr 1.14fr;
  grid-template-areas:
    "copy-top art"
    "copy-bottom art";
  column-gap: clamp(1.75rem, 3vw, 2.75rem); row-gap: 0;
  align-items: center; padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero-grid > * { min-width: 0; }
.hero-copy-top { grid-area: copy-top; align-self: end; }
.hero-copy-bottom { grid-area: copy-bottom; align-self: start; }
.hero-art { grid-area: art; align-self: center; }
.hero-copy-top h1 { margin: 0; font-weight: 800; }
.hero-sub { margin-top: 1rem; max-width: 44ch; color: var(--muted); font-size: 1.08rem; }
.hero-proof {
  display: flex; align-items: center; gap: 0.85rem; margin-top: 2rem;
}
.hero-proof-ico {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 2.15rem; height: 2.15rem; color: var(--accent);
}
.hero-proof-ico svg { width: 1.4rem; height: 1.4rem; }
.hero-proof-copy { display: flex; flex-direction: column; gap: 0; margin: 0; }
.hero-proof-copy strong {
  font-family: var(--head); font-weight: 700; font-size: 0.88rem;
  color: var(--text); letter-spacing: -0.01em; line-height: 1.3;
}
.hero-proof-copy span { font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }

/* -------------------------------------------------------- hero video ------ */
/* Soft float on all breakpoints — no tilt. box-shadow (not filter drop-shadow)
   so the hero’s overflow:hidden doesn’t clip a filtered halo into a hard band
   before the next section. The play button opens the same clip in a modal. */
.hero-video {
  position: relative; aspect-ratio: 16 / 9;
  animation: hero-video-float 7.5s ease-in-out infinite;
}
.hero-video-thumb,
.hero-video > video {
  display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) + 2px); background: #0f1215;
  box-shadow: var(--shadow-mock);
  pointer-events: none;
}
.hero-video > video {
  position: absolute; inset: 0; opacity: 0;
}
.hero-video.is-playing {
  animation: none;
}
.hero-video.is-playing > video {
  opacity: 1; pointer-events: auto; z-index: 1;
}
.hero-video.is-playing .hero-video-thumb,
.hero-video.is-playing .hero-video-play {
  display: none;
}
.hero-video-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  border: 0; border-radius: calc(var(--radius) + 2px); padding: 0;
  background: transparent; color: #fff; cursor: pointer;
}
.hero-video-play-icon {
  display: grid; place-items: center;
  width: 6.75rem; height: 6.75rem; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 12px 40px var(--accent-glow);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.hero-video-play svg { width: 2.6rem; height: 2.6rem; margin-left: 0.22rem; }
.hero-video-duration {
  position: absolute; right: 0.85rem; bottom: 0.85rem;
  padding: 0.28rem 0.55rem; border-radius: 0.35rem;
  background: color-mix(in srgb, #0c0e11 72%, transparent);
  color: #fff; font-family: var(--mono); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em; line-height: 1; backdrop-filter: blur(4px);
}
.hero-video-play:hover .hero-video-play-icon,
.hero-video-play:focus-visible .hero-video-play-icon {
  transform: scale(1.06); background: var(--accent-2);
  box-shadow: 0 14px 44px var(--accent-glow);
}
.hero-video-dialog {
  position: fixed; inset: 0;
  width: min(75vw, calc(75vh * 16 / 9)); height: min(75vh, calc(75vw * 9 / 16));
  max-width: none; max-height: none; margin: auto; padding: 0; border: 0;
  border-radius: calc(var(--radius) + 2px); background: #0c0e11; overflow: hidden;
}
.hero-video-dialog[open] { display: block; }
.hero-video-dialog::backdrop { background: rgba(12, 14, 17, 0.55); }
.hero-video-dialog-close {
  position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2;
  width: 2.4rem; height: 2.4rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%;
  background: rgba(12, 14, 17, 0.72); color: #fff; font-size: 1.45rem; line-height: 1; cursor: pointer;
}
.hero-video-dialog-close:hover { border-color: var(--accent); color: var(--accent); }
.hero-video-dialog-player,
.hero-video-dialog video { width: 100%; height: 100%; }
.hero-video-dialog video {
  position: static; display: block; object-fit: cover; background: #0c0e11;
  border-radius: 0; box-shadow: none;
}
@keyframes hero-video-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -9px, 0); }
}

/* ----------------------------------------------------------- sec heading -- */
.sec-head { max-width: 60ch; }
.sec-head.centered { margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-head h2 { margin-top: 0.8rem; }
.sec-sub { margin-top: 0.8rem; font-size: 1.06rem; color: var(--muted); }
.sec-head .link-arrow { margin-top: 1rem; }
.sec-head + * { margin-top: clamp(2.25rem, 4vw, 3.25rem); }

/* -------------------------------------------------------- disclosure UI --- */
/* No box: a hairline above the row is enough to read as a control. */
.disc { border-top: 1px solid var(--line); }
.disc-head {
  width: 100%; display: flex; align-items: center; gap: 0.7rem; padding: 0.8rem 0.1rem;
  background: none; border: 0; text-align: left; color: var(--text); transition: color 0.2s ease;
}
.disc-head:hover { color: var(--accent); }
.disc-ico { color: var(--accent); display: inline-flex; }
.disc-ico svg { width: 16px; height: 16px; }
.disc-label { flex: 1; font-family: var(--head); font-size: 0.96rem; font-weight: 600; letter-spacing: -0.01em; }
.disc-meta { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.disc-plus { color: var(--muted); display: inline-flex; transition: transform 0.25s ease, color 0.25s ease; }
.disc-plus svg { width: 16px; height: 16px; }
.disc.open .disc-plus { transform: rotate(45deg); color: var(--accent); }
.disc-body { display: none; padding: 0 0.1rem 1rem; }
.disc.open > .disc-body { display: block; animation: fadeUp 0.28s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------- cards (no box) --- */
.card-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  display: flex; flex-direction: column; gap: 0.6rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.15rem, 1.8vw, 1.6rem); box-shadow: var(--shadow);
}
.card-ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent); margin-bottom: 0.4rem;
}
.card p { font-size: 0.97rem; color: var(--text-2); }
.card .disc { margin-top: 0.5rem; }
.card .disc-meta { display: none; }
.card .link-arrow { margin-top: auto; padding-top: 0.6rem; }

/* ------------------------------------------------------- why split ------ */
.why-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.why-copy .eyebrow { display: inline-block; line-height: 1.2; }
.why-copy h1 {
  margin-top: 0.75rem;
  max-width: 14ch;
}
.why-copy h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.35rem, 2.15vw, 1.85rem);
  line-height: 1.18;
  max-width: 18ch;
}
.why-lead {
  margin-top: 0.85rem;
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 36ch;
}
.why-body {
  margin-top: 1.35rem;
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 38ch;
}
.why-points {
  /* sit the first item even with the h2, under the eyebrow */
  margin-top: calc(0.78rem * 1.2 + 0.75rem);
  display: grid;
  gap: clamp(2.75rem, 5vw, 4rem);
}
.why-point {
  padding: 0;
}
.why-point > p {
  margin-top: 0.55rem;
  font-size: 0.98rem;
  color: var(--text-2);
  max-width: 54ch;
}
.why-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.why-pills li {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* -------------------------------------------------------------- features -- */
/* Twelve tiles, six across: a solid card on a hairline, and on hover an accent
   wipe crosses it from the left while the icon lifts and the + turns. Clicking
   one opens its detail in the page's popup rather than unfolding a panel
   underneath, so the grid never shifts under the reader.
   The class prefix is au-; the popup keys are keyed on it. */
.au { position: relative; }

.au-grid { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.5rem, .8vw, .8rem); }
.au-tile {
  position: relative; aspect-ratio: 1; display: grid; grid-template-rows: auto 1fr auto; gap: .4rem;
  padding: clamp(.7rem, 1vw, .9rem); text-align: left; cursor: pointer; color: inherit; overflow: hidden;
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2,.8,.3,1), border-color .35s ease;
}
/* the accent wipe — the whole hover effect, in one element */
.au-wipe {
  position: absolute; inset: 0; pointer-events: none; transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.8,.3,1);
  background: linear-gradient(90deg, var(--accent-tint-2), var(--accent-wash) 58%, transparent);
}
.au-tile:hover, .au-tile:focus-visible { transform: translateY(-3px); border-color: var(--line-2); }
.au-tile:hover .au-wipe, .au-tile:focus-visible .au-wipe { transform: scaleX(1); }
.au-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.au-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.au-no { font-family: var(--mono); font-size: .96rem; letter-spacing: .1em; color: var(--muted); }
.au-plus { color: var(--muted); display: inline-flex; transition: color .3s ease, transform .3s ease; }
.au-plus svg { width: 12px; height: 12px; }
.au-tile:hover .au-plus { color: var(--accent); transform: rotate(90deg); }
.au-ico {
  position: relative; width: clamp(34px, 2.9vw, 40px); aspect-ratio: 1; border-radius: 12px;
  display: grid; place-items: center; align-self: center; justify-self: start;
  background: var(--accent-tint); color: var(--accent);
  transition: transform .35s ease, background .35s ease, color .35s ease;
}
.au-ico svg { width: 18px; height: 18px; }
.au-tile:hover .au-ico { transform: translateY(-2px) scale(1.06); background: var(--accent-tint-2); }
.au-name {
  position: relative;
  font-family: var(--head); font-weight: 600; font-size: clamp(.8rem, .85vw, .92rem); line-height: 1.2;
  color: var(--text); letter-spacing: -.015em;
}

/* One popup for the page. The animated box clips; a separate scroller inside
   it carries the overflow, with its own thin always-there scrollbar — Chrome's
   overlay scrollbar was appearing on open and fading out a second later. */
/* The UA stylesheet gives <dialog> overflow:auto. The entry animation used to
   translate the box down 16px, which counts as scrollable overflow, so Chrome
   put a scrollbar on the dialog for the length of the animation and then took
   it away again — the flicker the client kept seeing. The animation no longer
   moves the box out of its own bounds, and the dialog cannot scroll at all. */
.pop { margin: auto; border: 0; padding: 0; background: transparent; overflow: hidden; width: min(1180px, 96vw); }
.pop::backdrop { background: var(--overlay); backdrop-filter: blur(6px); }
.pop-in {
  position: relative; max-height: 86vh; overflow: hidden;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius);
}
.pop[open] .pop-in { animation: modalIn 0.34s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.955); } to { opacity: 1; transform: none; } }
.pop-scroll {
  max-height: 86vh; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable;
  padding: clamp(1.3rem, 2.6vw, 1.9rem);
  scrollbar-width: thin; scrollbar-color: var(--scrollbar) transparent;
}
.pop-scroll::-webkit-scrollbar { width: 10px; }
.pop-scroll::-webkit-scrollbar-track { background: transparent; }
.pop-scroll::-webkit-scrollbar-thumb {
  background: var(--scrollbar); border-radius: 999px;
  border: 3px solid transparent; background-clip: padding-box;
}
.pop-scroll::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-hover); background-clip: padding-box; }
.pop-x {
  position: absolute; top: 0.7rem; right: 0.7rem; width: 34px; height: 34px; z-index: 2;
  border: 1px solid var(--line); border-radius: 50%; background: var(--pop-close-bg);
  color: var(--text-2); font-size: 1.15rem; line-height: 1; display: grid; place-items: center;
}
.pop-x:hover { border-color: var(--accent); color: var(--accent); }
.pop .feat-list { grid-template-columns: 1fr; gap: 0.6rem; }
.pop .feat-blurb { margin: 0.9rem 0 1.1rem; font-size: 1.02rem; }
.pop .link-arrow { margin-top: 1.2rem; }

.feat-plate {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 0.8rem; margin-bottom: 1.1rem; position: relative;
}
.feat-plate::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background-image: var(--dash); }
.feat-plate-no { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; color: var(--muted); }
.feat-plate-bolt { color: var(--bolt); display: inline-flex; }
.feat-plate-bolt svg { width: 16px; height: 16px; }
.feat-head { display: flex; align-items: center; gap: 0.85rem; }
.feat-head-ico { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.feat-head h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); }
.feat-blurb { margin: 1rem 0 1.3rem; font-size: 1.08rem; color: var(--text-2); max-width: 74ch; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.8rem; padding-top: 0.4rem; }
.feat-list li { display: grid; grid-template-columns: 18px 1fr; gap: 0.65rem; font-size: 0.95rem; color: var(--text-2); }
.feat-list svg { width: 14px; height: 14px; color: var(--accent); margin-top: 0.3rem; }
.feat-highlight { margin-top: 1.2rem; padding-left: 1.1rem; border-left: 2px solid var(--accent); }
.feat-highlight p { margin-top: 0.4rem; font-size: 0.96rem; color: var(--text-2); }

/* Sticky preview feature modals */
.pop-feat--media .feat-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(1rem, 2.2vw, 1.6rem);
  align-items: start;
  margin-top: 0.2rem;
}
.pop-feat--media .feat-list--interactive {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0;
  margin: 0;
  list-style: none;
}
.pop-feat--media .feat-list--interactive li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  margin: 0;
  border-radius: 10px;
  border-left: 2px solid transparent;
  cursor: pointer;
  outline: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.pop-feat--media .feat-list--interactive li:hover,
.pop-feat--media .feat-list--interactive li:focus-visible {
  background: var(--accent-tint);
}
.pop-feat--media .feat-list--interactive li.is-active {
  background: var(--accent-tint);
  border-left-color: var(--accent);
  color: var(--text);
}
.pop-feat--media .feat-preview {
  position: sticky;
  top: 0.4rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  aspect-ratio: 16 / 9;
}
.pop-feat--media .feat-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pop-feat--media .feat-preview img.is-swapping {
  opacity: 0;
  transition: opacity 0.18s ease;
}
@media (prefers-reduced-motion: reduce) {
  .pop-feat--media .feat-list--interactive li { transition: none; }
  .pop-feat--media .feat-preview img.is-swapping { transition: none; opacity: 1; }
}
@media (max-width: 780px) {
  .pop { width: min(700px, 94vw); }
  .pop-feat--media .feat-split { grid-template-columns: 1fr; }
  .pop-feat--media .feat-preview { position: static; order: -1; aspect-ratio: 16 / 9; }
}

/* ------------------------------------------------------- workshop band ---- */
/* The photograph behind this band is gone at the client's request, so it is now
   an ordinary section — but the space the four numbers used to hold is kept, on
   purpose, as breathing room under the five types. */
.sec-bay { position: relative; padding: calc(var(--pad) * 0.95) 0; }
.bay-head { text-align: center; max-width: 52ch; margin: 0 auto; }
.bay-head h2 { margin-top: 0.7rem; }
.bay-types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.bay-type { text-align: center; }
.bay-type-img { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.bay-type-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.bay-type:hover .bay-type-img img { transform: scale(1.05); }
.bay-type h3 { font-size: 0.96rem; margin-top: 0.8rem; font-weight: 600; }
/* ------------------------------------------------- trusted by: brand tiles --- */
.trusted-by { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }
.used-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2vw, 1.75rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem); align-items: center;
}
.used-logo {
  display: grid; place-items: center; min-height: 4.5rem; padding: 0.55rem 0.65rem;
  background: var(--logo-well); border-radius: var(--radius-sm);
}
.used-logo img {
  max-width: 100%; max-height: 4rem; width: auto; height: auto; object-fit: contain;
  transition: transform 0.45s ease;
}

.used-logo.used-logo--midas { overflow: hidden; }
.used-logo.used-logo--midas img { transform: scale(2); }

/* ---------------------------------------------- integrations: logo grid --- */
.int-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2vw, 1.75rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem); align-items: center;
}
.int-grid-brain {
  position: relative; display: block; width: min(100%, 780px); height: 620px;
  margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
}
.int-logo {
  display: grid; place-items: center; min-height: 4.5rem; padding: 0.55rem 0.65rem;
  width: 100%; border: 0; color: inherit; font: inherit; cursor: pointer;
  background: var(--logo-well); border-radius: var(--radius-sm);
}
.int-grid-brain .int-logo {
  position: absolute; display: flex; min-height: 0; justify-content: center; align-items: center;
  margin: 20px; padding: 0.5rem; border-radius: 10px;
  background: var(--card); box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}
.int-grid-brain .int-logo img { max-width: 85%; max-height: 65%; }
.int-grid-brain .int-logo:nth-child(1) { top: 220px; left: 0; width: 180px; height: 180px; }
.int-grid-brain .int-logo:nth-child(2) { top: 220px; left: 400px; width: 180px; height: 180px; }
.int-grid-brain .int-logo:nth-child(3) { top: 80px; left: 400px; width: 120px; height: 120px; }
.int-grid-brain .int-logo:nth-child(4) { top: 100px; left: 200px; width: 180px; height: 180px; }
.int-grid-brain .int-logo:nth-child(5) { top: 60px; left: 40px; width: 140px; height: 140px; }
.int-grid-brain .int-logo:nth-child(6) { top: 300px; left: 200px; width: 180px; height: 180px; }
.int-grid-brain .int-logo:nth-child(7) { top: 320px; left: 600px; width: 140px; height: 80px; }
.int-grid-brain .int-logo:nth-child(8) { top: 0; left: 400px; width: 80px; height: 70px; }
.int-grid-brain .int-logo:nth-child(9) { top: 450px; left: 570px; width: 100px; height: 100px; }
.int-grid-brain .int-logo:nth-child(10) { top: 120px; left: 540px; width: 100px; height: 80px; }
.int-grid-brain .int-logo:nth-child(11) { top: 0; left: 490px; width: 100px; height: 70px; }
.int-grid-brain .int-logo:nth-child(12) { top: 230px; left: 590px; width: 100px; height: 80px; }
.int-grid-brain .int-logo:nth-child(13) { top: 420px; left: 400px; width: 150px; height: 150px; }
.int-grid-brain .int-logo:nth-child(14) { top: 0; left: 300px; width: 80px; height: 80px; }
.int-grid-brain .int-logo:nth-child(15) { top: 420px; left: 60px; width: 120px; height: 120px; }
.int-grid-brain .int-logo:nth-child(16) { top: 500px; left: 300px; width: 80px; height: 80px; }
.int-grid-brain .int-logo:nth-child(17) { top: 0; left: 200px; width: 80px; height: 80px; }
.int-grid-brain .int-logo:nth-child(18) { top: 500px; left: 200px; width: 80px; height: 80px; }
.int-logo img {
  max-width: 100%; max-height: 2.75rem; width: auto; height: auto; object-fit: contain;
  transition: transform 0.45s ease;
}
.int-logo:hover img { transform: scale(1.04); }
.int-logo:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Integration modals share the feature-modal split: copy on the left, preview on the right. */
.pop-int .feat-head-ico {
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: var(--logo-well);
  padding: 0.3rem;
}
.pop-int .feat-head-ico img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}
.pop-int .int-copy { display: grid; gap: 1rem; align-content: start; }
.pop-int .int-copy p { margin: 0; font-size: 1.02rem; line-height: 1.65; color: var(--text-2); }
.pop-int .feat-list { grid-template-columns: 1fr; gap: 0.7rem; padding-top: 0; }
.pop-int .int-media { display: grid; gap: 0.85rem; align-content: start; }
.pop-int .int-links { display: flex; flex-wrap: wrap; gap: 0.65rem 1.25rem; }
.pop-int .link-arrow { margin-top: 0; }
.pop-int .feat-preview img.is-logo {
  object-fit: contain;
  padding: 1.4rem;
  background: var(--logo-well);
}
@media (max-width: 780px) {
  .pop-int .int-media { order: -1; }
}

/* ---------------------------------------------------------------- proven -- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.quote {
  margin: 0; display: grid; gap: 0.9rem; align-content: start; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  /* extra room at the top for the oversized opening quote mark */
  padding: clamp(1.5rem, 2.2vw, 2rem) clamp(1.15rem, 1.8vw, 1.6rem) clamp(1.15rem, 1.8vw, 1.6rem);
}
.quote-mark {
  position: absolute; top: 0.2rem; left: 0.9rem; font-family: var(--head); font-size: 3.2rem;
  line-height: 1; color: var(--quote-mark); pointer-events: none;
}
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--text-2); }
.quote figcaption { display: grid; gap: 0.1rem; padding-top: 0.2rem; }
.quote figcaption strong { font-family: var(--head); font-size: 0.97rem; font-weight: 600; color: var(--text); }
.quote figcaption span { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--muted); }

/* the "read more reviews" disclosure styled as a centred button */
.reviews-more { border-top: 0; margin-top: clamp(2rem, 4vw, 3rem); }
.reviews-more.open > .disc-head { display: none; }
.reviews-more.open { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.reviews-more > .disc-head {
  width: auto; margin: 0 auto; padding: 0.72rem 1.5rem; border: 1px solid var(--line-2);
  border-radius: 999px; gap: 0.6rem;
}
.reviews-more > .disc-head:hover { border-color: var(--accent); color: var(--accent); }
.reviews-more .disc-label { flex: 0 0 auto; }
.reviews-more .disc-body { padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 0; }
.reviews-more.open .disc-body { padding-top: 0; }
.reviews-more .quote-grid { grid-template-columns: repeat(3, 1fr); }
.reviews-out { margin-top: 1.75rem; text-align: center; }
.reviews-out .link-arrow { display: inline-flex; }


/* ------------------------------------------- pricing: spec-sheet table ---- */
.segmented {
  display: inline-flex; gap: 2px; padding: 4px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--control-track); margin-top: 1.3rem; flex-wrap: wrap; justify-content: center;
}
.seg { background: none; border: 0; color: var(--text-2); padding: 0.52rem 1.1rem; border-radius: 999px; font-size: 0.9rem; font-weight: 500; transition: all 0.2s ease; }
.seg:hover { color: var(--text); }
.seg.active { background: var(--accent); color: var(--on-accent); }
.region-select { display: none; }

.price-plan-tabs {
  display: none; gap: 0.35rem; padding: 4px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--control-track);
}
.price-plan-switcher { display: none; margin-top: clamp(1.5rem, 3vw, 2rem); }
.price-plan-tab {
  flex: 1; background: none; border: 0; color: var(--text-2); padding: 0.55rem 0.5rem;
  border-radius: 999px; font-size: 0.86rem; font-weight: 600; transition: all 0.2s ease;
}
.price-plan-tab:hover { color: var(--text); }
.price-plan-tab.active { background: var(--accent); color: var(--on-accent); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.price-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.price-table th, .price-table td { padding: 1.05rem 1.15rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table thead th { vertical-align: bottom; border-bottom: 1px solid var(--line-2); }
.price-table thead th.featured { background: var(--accent-wash); }
.mono-plate { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.price-table .plan-name { display: block; font-family: var(--head); font-size: 1.2rem; font-weight: 700; color: var(--text); }
.price-table .badge {
  display: inline-block; margin-bottom: 0.5rem; padding: 0.24rem 0.55rem; background: var(--accent); color: var(--on-accent);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px;
}
.price-table .badge-plan-popular { display: none; margin-bottom: 0; }
.price-table tbody th { font-family: var(--sans); font-size: 0.92rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.price-table td { font-size: 0.98rem; color: var(--text-2); }
.price-table td.featured { background: var(--accent-wash); }
.price-table td svg { width: 14px; height: 14px; color: var(--accent); vertical-align: -2px; }
.cell-price span { display: block; font-family: var(--head); font-size: 1.5rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.cell-price .per { display: block; font-style: normal; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem; }
[data-price-cell] { transition: opacity 0.2s ease; }
[data-price-cell].is-updating { opacity: 0; }
.row-cta td, .row-cta th { border-bottom: 0; }
.addons { margin-top: 1.75rem; }
.addon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 0.5rem; }
.addon h3 { margin-bottom: 0.35rem; font-size: 0.97rem; }
.addon p { font-size: 0.93rem; color: var(--text-2); }
.addons-note { margin-top: 1rem; font-family: var(--mono); font-size: 0.77rem; line-height: 1.7; color: var(--muted); text-align: right; }

/* --------------------------------------------------------------- support -- */
.phone-list { display: grid; gap: 0.35rem; }
.phone-list li { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.9rem; padding-bottom: 0.3rem; border-bottom: 1px solid var(--line); }
.phone-list span { color: var(--muted); }
.phone-list a { font-family: var(--mono); font-size: 0.86rem; color: var(--text); }
.phone-list a:hover { color: var(--accent); }

/* ------------------------------------------------------------------ demos -- */
.demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.9rem, 1.8vw, 1.35rem); }
.demo-grid-featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.demo-card {
  min-width: 0; padding: 0.8rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.demo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-nav); }
.demo-card-play {
  display: flex; width: 100%; height: 100%; flex-direction: column; align-items: stretch; gap: 0.7rem;
  padding: 0; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer;
}
.demo-card-play:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius-sm); }
.demo-card-art {
  position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: radial-gradient(ellipse at 75% 15%, var(--accent-glow), transparent 50%), linear-gradient(135deg, var(--bg-2), var(--surface));
}
.demo-card-art::after {
  position: absolute; inset: 0; content: ""; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 45%, rgba(0, 0, 0, 0.12));
}
.demo-card-thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo-card-category {
  position: absolute; z-index: 1; top: 0.65rem; left: 0.7rem; max-width: calc(100% - 1.4rem);
  overflow: hidden; color: #fff; font-family: var(--mono); font-size: 0.68rem; text-overflow: ellipsis;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.75); white-space: nowrap;
}
.demo-card-play-icon {
  position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; width: 2.8rem; height: 2.8rem;
  place-items: center; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%; background: rgba(15, 18, 21, 0.72); color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}
.demo-card-play-icon svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.demo-card-play:hover .demo-card-play-icon { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-ink); }
.demo-card-title { display: -webkit-box; overflow: hidden; min-height: 2.7em; font-family: var(--head); font-size: 0.98rem; font-weight: 600; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.demo-card-action { color: var(--accent); font-size: 0.84rem; font-weight: 600; }
.demo-more { display: flex; justify-content: center; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.demo-status { color: var(--text-2); text-align: center; }
.demo-error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 0.9rem; }
.demo-error-actions .link-arrow { padding: 0; border: 0; background: none; color: var(--accent); cursor: pointer; }
.demo-library-page .feat-page-hero { padding-bottom: 0.75rem; }
.demo-library-page .demo-library { min-height: 50vh; padding-top: 0.75rem; }
.demo-topics { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.25rem; }
.demo-topics[hidden] { display: none; }
.demo-topic-link {
  display: inline-flex; align-items: center; min-height: 2.45rem; padding: 0.45rem 0.8rem;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--card);
  color: var(--text-2); font-size: 0.86rem; font-weight: 600; transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.demo-topic-link:hover, .demo-topic-link:focus-visible { border-color: var(--accent); background: var(--accent-tint); color: var(--text); }
.demo-library-group { scroll-margin-top: 7rem; }
.demo-search-label { display: block; margin-bottom: 0.45rem; font-family: var(--head); font-size: 0.92rem; font-weight: 600; }
.demo-search {
  width: min(100%, 34rem); padding: 0.8rem 1rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--card); color: var(--text); font: inherit;
}
.demo-search:focus { border-color: var(--accent); outline: 2px solid var(--accent-tint); }
.demo-search-count { min-height: 1.5em; margin: 0.65rem 0 1.2rem; color: var(--muted); font-size: 0.85rem; }
.demo-library-groups { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.demo-library-group[hidden], .demo-card[hidden] { display: none !important; }
.demo-group-heading { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.45rem; }
.demo-group-heading h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.demo-group-count {
  display: inline-grid; min-width: 1.7rem; height: 1.7rem; place-items: center; padding: 0 0.35rem;
  border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-family: var(--mono); font-size: 0.75rem;
}
.demo-group-description { margin-bottom: 1.15rem; color: var(--text-2); font-size: 0.96rem; }
.demo-modal { width: min(960px, 94vw); max-width: none; max-height: 92vh; margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; }
.demo-modal::backdrop { background: var(--overlay); backdrop-filter: blur(6px); }
.demo-modal-inner { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-nav); }
.demo-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1rem; }
.demo-modal-head h2 { font-size: 1rem; line-height: 1.35; }
.demo-modal-close { flex: 0 0 auto; width: 2.2rem; height: 2.2rem; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.demo-modal-close:hover { border-color: var(--accent); color: var(--accent); }
.demo-modal-player { aspect-ratio: 16 / 9; background: #080a0c; }
.demo-modal-player iframe { display: block; width: 100%; height: 100%; border: 0; }

/* -------------------------------------------------------- ready to switch -- */
.switch-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
}
.switch-card {
  display: flex; flex-direction: column; gap: 0.85rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.35rem, 2vw, 1.85rem);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}
.switch-ico {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent);
}
.switch-ico svg { width: 22px; height: 22px; }
.switch-card h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.2; letter-spacing: -0.02em;
}
.switch-card p { font-size: 0.97rem; color: var(--text-2); max-width: 52ch; }

/* --------------------------------------------------------------------- faq -- */
.faq-grid {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 4.5vw, 4.5rem); align-items: start;
}
.faq-aside { position: sticky; top: calc(5rem + 1vw); }
.faq-aside h2 {
  margin-top: 0.8rem; font-size: clamp(1.6rem, 2.7vw, 2.3rem); line-height: 1.12;
  max-width: 14ch;
}
.faq-links { display: grid; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.faq-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0;
  font-family: var(--head); font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text); transition: color 0.2s ease;
}
.faq-link svg { flex: 0 0 auto; width: 15px; height: 15px; color: var(--muted); transition: color 0.2s ease, transform 0.2s ease; }
.faq-link:hover { color: var(--accent); }
.faq-link:hover svg { color: var(--accent); transform: translate(2px, -2px); }
.faq-list { display: grid; }
.faq-item { border: 0; }
.faq-head {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.05rem 0; background: none; border: 0; text-align: left;
  color: var(--text); cursor: pointer; transition: color 0.2s ease;
}
.faq-head:hover { color: var(--accent); }
.faq-q {
  flex: 1; font-family: var(--head); font-size: clamp(0.98rem, 1.2vw, 1.06rem);
  font-weight: 600; letter-spacing: -0.015em; line-height: 1.35;
}
.faq-toggle {
  flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  color: var(--muted); transition: border-color 0.2s ease, color 0.2s ease, transform 0.25s ease;
}
.faq-toggle svg { width: 14px; height: 14px; }
.faq-item.open .faq-toggle { border-color: var(--accent); color: var(--accent); transform: rotate(45deg); }
.faq-item .disc-body { padding: 0 2.6rem 1.1rem 0; }
.faq-item .disc-body p { font-size: 0.97rem; color: var(--text-2); max-width: 62ch; }

/* ------------------------------------------------------------------ blog -- */
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.blog-card {
  display: flex; flex-direction: column; gap: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.blog-img { display: block; overflow: hidden; }    /* full-bleed at the top of the card */
.blog-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-body { display: flex; flex-direction: column; gap: 0.6rem; padding: clamp(1.15rem, 1.8vw, 1.6rem); }
.blog-body h3 { font-size: 1.12rem; }
.blog-body h3 a:hover { color: var(--accent); }

/* -------------------------------------------------------------- cta band -- */
.sec-cta { padding-bottom: 0; }
.cta-box {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr auto; gap: 2rem;
  align-items: center; padding: clamp(1.9rem, 3.4vw, 3rem); border-radius: 18px;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-hot) 100%); color: var(--on-accent);
}
.cta-box .tape { position: absolute; top: 0; left: 0; right: 0; opacity: 0.35; }
.cta-box h2 { color: var(--on-accent); }
.cta-box p { margin-top: 0.7rem; font-size: 1.03rem; color: rgba(255, 255, 255, 0.9); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.cta-box .btn-primary { background: #12181f; color: #ffb43a; }
.cta-box .btn-primary:hover { background: #000; color: #ffb43a; box-shadow: none; }

/* --------------------------------------------------------------- contact -- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 3vw, 2.75rem); }
.contact-info { display: grid; gap: 1.5rem; align-content: start; }
.info-strong { font-family: var(--head); font-weight: 600; color: var(--text); }
.info-row { display: grid; grid-template-columns: 20px 1fr; gap: 0.65rem; margin-top: 0.7rem; font-size: 0.95rem; }
.info-row svg { color: var(--accent); margin-top: 0.2rem; }
.info-row a:hover { color: var(--accent); }
.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.15rem, 1.8vw, 1.6rem); box-shadow: var(--shadow);
}
.info-card .disc { margin-top: 1.1rem; }
.info-card .disc:last-child .disc-body > :last-child { padding-bottom: 0; }
.map { border-radius: var(--radius-sm); overflow: hidden; }
.map iframe { display: block; }        /* the map keeps its own colours */

/* --------------------------------------------------------- feature pages -- */
.feat-page-hero {
  padding: calc(5.5rem + var(--pad) * 0.55) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, var(--accent-tint), transparent 55%),
    var(--bg);
}
.feat-page-back {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.9rem; color: var(--text-2); margin-bottom: 1.4rem;
}
.feat-page-back:hover { color: var(--accent); }
.feat-page-hero-grid {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem); align-items: center;
}
.feat-page-copy h1 {
  margin-top: 0.65rem;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  max-width: 18ch;
}
.feat-page-lead {
  margin-top: 1rem; font-size: 1.08rem; color: var(--text-2); max-width: 52ch;
}
.feat-page-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.feat-page-shot {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow); aspect-ratio: 16 / 9;
}
.feat-page-shot img { width: 100%; height: 100%; object-fit: contain; object-position: top center; display: block; }
.feat-page-layout {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.85fr);
  gap: clamp(1.75rem, 3.5vw, 3rem); align-items: start;
}
.feat-page-main { display: grid; gap: 1.75rem; }
.feat-page-block h2 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: 0.55rem; }
.feat-page-block p { color: var(--text-2); font-size: 1.02rem; }
.privacy-policy-page .feat-page-block p + p { margin-top: 1rem; }
.privacy-policy-page .feat-page-block p + ul { margin-top: 1rem; }
.privacy-policy-page .feat-page-block ul { margin-bottom: 1rem; padding-left: 1.5rem; list-style: disc; }
.privacy-policy-page .feat-page-block li + li { margin-top: 0.4rem; }
.privacy-policy-page .feat-page-block h3 { margin-top: 1rem; }
.legal-page .feat-page-block a[href^="mailto:"],
.terms-of-service-page .feat-page-block a[href="privacy-policy.html"] {
  color: #0066cc;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page .feat-page-block a[href^="mailto:"]:hover,
.terms-of-service-page .feat-page-block a[href="privacy-policy.html"]:hover { color: #004a99; }
.import-template-link { color: #0066cc; text-decoration: underline; }
.import-template-link:hover { color: #004a99; }
.feat-page-aside {
  position: sticky; top: 5.5rem;
  padding: 1.25rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card);
}
.feat-page-aside h2 { font-size: 1.1rem; margin-bottom: 0.85rem; }
.feat-page-aside .feat-list { grid-template-columns: 1fr; gap: 0.65rem; padding-top: 0; }
.feat-page-aside .feat-list--interactive {
  display: flex; flex-direction: column; max-height: min(24rem, 55vh); overflow-y: auto;
  gap: 0.35rem; margin: 0; list-style: none;
}
.feat-page-aside .feat-list--interactive li {
  padding: 0.65rem 0.75rem; border-left: 2px solid transparent; border-radius: 10px;
  cursor: pointer; outline: none; transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.feat-page-aside .feat-list--interactive li:hover,
.feat-page-aside .feat-list--interactive li:focus-visible,
.feat-page-aside .feat-list--interactive li.is-active {
  background: var(--accent-tint);
}
.feat-page-aside .feat-list--interactive li.is-active {
  border-left-color: var(--accent); color: var(--text);
}
.feat-page-shot img.is-swapping { opacity: 0; transition: opacity 0.18s ease; }
.feat-page-shot img { transition: opacity 0.18s ease; }
.feat-page-aside .link-arrow { margin-top: 1.2rem; }
.partner-highlight {
  padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--accent-edge);
  border-radius: var(--radius); background: linear-gradient(145deg, var(--accent-tint), var(--card));
  box-shadow: var(--shadow);
}
.partner-highlight strong {
  display: block; color: var(--accent); font-family: var(--head); font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1; letter-spacing: -0.06em;
}
.partner-highlight span { display: block; margin-top: 0.6rem; color: var(--text); font-weight: 600; }
.partner-highlight p { margin-top: 0.75rem; color: var(--text-2); font-size: 0.94rem; }
.partner-disclaimer {
  padding: 1rem 1.2rem; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent-wash); color: var(--text-2); font-size: 0.91rem;
}
.partner-list-page .feat-page-hero { padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.partner-list-section { padding-top: clamp(1rem, 2vw, 1.5rem); }
.partner-filter {
  display: flex; align-items: end; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1rem;
  padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
}
.partner-filter label { display: grid; gap: 0.35rem; min-width: min(100%, 16rem); color: var(--text); font-size: 0.86rem; font-weight: 600; }
.partner-filter select {
  min-height: 44px; padding: 0.55rem 0.8rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--input-bg); color: var(--text); font: inherit; font-size: 0.94rem;
}
.partner-filter select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.partner-count { margin-left: auto; padding-bottom: 0.6rem; color: var(--muted); font-family: var(--mono); font-size: 0.76rem; }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.partner-card {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
}
.partner-card[hidden] { display: none; }
.partner-card-top { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.partner-mark {
  display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 12px;
  background: var(--accent-tint); color: var(--accent-ink); font-family: var(--mono); font-size: 0.76rem; font-weight: 600;
}
.partner-country { color: var(--muted); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.partner-card h2 { font-size: 1.16rem; line-height: 1.3; letter-spacing: -0.025em; }
.partner-card p { margin-top: 0.55rem; color: var(--text-2); font-size: 0.91rem; }
.partner-contact { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: auto; padding-top: 1rem; }
.partner-contact a, .partner-contact span { color: var(--accent-ink); font-size: 0.84rem; overflow-wrap: anywhere; }
.partner-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.partner-contact span { color: var(--muted); }
.partner-empty { margin-top: 1rem; padding: 1.3rem; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); text-align: center; }
.partner-program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.partner-program-card {
  padding: clamp(1.2rem, 2.5vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow);
}
.partner-program-card h3 { margin-bottom: 0.7rem; }
.partner-program-card ul { display: grid; gap: 0.6rem; color: var(--text-2); }
.partner-program-card li { display: flex; align-items: flex-start; gap: 0.6rem; }
.partner-program-card li::before { content: "✓"; color: var(--accent-ink); font-weight: 700; }
.partner-portal { margin-top: 1rem; color: var(--text-2); }
.partner-portal a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.partner-rule { margin: 1.4rem 0; border: 0; border-top: 1px solid var(--line); }

/* ------------------------------------------------------- comparison pages -- */
.compare-page .feat-page-copy h1 { max-width: 11em; }
.compare-page .feat-page-lead { max-width: none; }
.compare-page .feat-page-block p + p { margin-top: 0.9rem; }
.compare-page [id] { scroll-margin-top: 6.5rem; }
.compare-kicker { display: block; margin-bottom: 0.45rem; }
.compare-points { display: grid; gap: 1.35rem; }
.compare-points h4 { margin-bottom: 0.35rem; }
.compare-points p { color: var(--text-2); font-size: 0.98rem; }
.compare-points p + p { margin-top: 0.75rem; }
.compare-toc {
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.25rem;
  margin-bottom: 1.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.compare-toc a { color: var(--text-2); font-size: 0.95rem; font-weight: 500; }
.compare-page .feat-page-back:hover,
.compare-toc a:hover { color: var(--accent-ink); }
.compare-meta {
  margin-top: 1rem; color: var(--muted); font-family: var(--mono);
  font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.compare-meta time { color: var(--text-2); }
.compare-table-scroll {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow);
}
.compare-table { width: 100%; min-width: 44rem; border-collapse: collapse; }
.compare-table caption {
  caption-side: top; padding: 1rem 1.15rem 0.35rem; text-align: left;
  font-family: var(--head); font-size: 1.05rem; font-weight: 600; color: var(--text);
}
.compare-table th, .compare-table td {
  padding: 0.9rem 1.15rem; text-align: left; vertical-align: top;
  border-top: 1px solid var(--line); font-size: 0.95rem; line-height: 1.45;
}
.compare-table thead th {
  font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.compare-table tbody th { width: 22%; font-weight: 600; color: var(--text); }
.compare-table td { color: var(--text-2); }
.compare-table tbody tr:hover th,
.compare-table tbody tr:hover td { background: var(--accent-wash); color: var(--text); }
.compare-faq h2 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: 0.35rem; }
.compare-faq dt { margin-top: 1.2rem; color: var(--text); font-size: 1.02rem; font-weight: 600; }
.compare-faq dd { margin: 0.4rem 0 0; max-width: 68ch; color: var(--text-2); font-size: 0.98rem; }
@media (max-width: 900px) {
  .feat-page-hero-grid,
  .feat-page-layout { grid-template-columns: 1fr; }
  .feat-page-aside { position: static; }
  .feat-page-copy h1,
  .compare-page .feat-page-copy h1 { max-width: none; }
}
@media (max-width: 620px) {
  .partner-grid, .partner-program-grid { grid-template-columns: 1fr; }
  .partner-count { width: 100%; margin-left: 0; padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .feat-page-aside .feat-list--interactive li,
  .feat-page-shot img { transition: none; }
}

.cf { background: var(--form-well); border-radius: var(--radius); padding: clamp(1.4rem, 2.4vw, 2rem); display: grid; gap: 0.95rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.95rem; }
.cf-label { display: block; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.cf-label em { color: var(--accent); font-style: normal; }
.cf input, .cf textarea {
  width: 100%; font-family: var(--sans); font-size: 0.99rem; color: var(--text);
  background: var(--input-bg); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem; transition: all 0.2s ease;
}
.cf input::placeholder, .cf textarea::placeholder { color: var(--input-placeholder); }
.cf input:focus, .cf textarea:focus { outline: none; border-color: var(--accent); background: var(--accent-wash); }
.cf textarea { resize: vertical; }
.cf-submit { width: 100%; margin-top: 0.1rem; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form-error { margin: 0; color: #bd351a; }
.form-thanks {
  background: var(--accent-tint); border-radius: var(--radius);
  padding: 2.25rem 1.75rem; text-align: center; opacity: 0; transform: translateY(10px); transition: all 0.4s ease;
}
.form-thanks.visible { opacity: 1; transform: none; }
.form-thanks h3 { color: var(--accent); margin-bottom: 0.4rem; }
.form-thanks .btn { margin-top: 1rem; }

/* --------------------------------------------------------------- signup -- */
.signup-page { min-height: 100vh; }
.signup-main { width: min(100% - 2rem, 720px); margin: 0 auto; padding: 7rem 0 0; }
.signup-home-link { margin: 0 0 1rem 0.25rem; }
.signup-card {
  padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
}
.signup-card h1 { margin-top: 0.45rem; font-size: clamp(2rem, 5vw, 2.8rem); }
.signup-intro { margin-top: 0.65rem; color: var(--text-2); }
.signup-form { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.signup-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.signup-field { min-width: 0; }
.signup-field label, .signup-terms legend {
  display: block; margin-bottom: 0.4rem; color: var(--text); font-size: 0.9rem; font-weight: 600;
}
.signup-required { color: var(--accent); }
.signup-form input[type="text"],
.signup-form input[type="password"],
.signup-form select {
  width: 100%; min-height: 46px; padding: 0.65rem 0.8rem; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); background: var(--input-bg); color: var(--text);
  font: inherit; font-size: 0.96rem;
}
#referral-code-display:disabled {
  background: var(--bg-2); color: var(--text); opacity: 1; cursor: not-allowed;
}
.signup-form input:focus, .signup-form select:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.signup-error { display: block; margin-top: 0.35rem; color: #bd351a; font-size: 0.84rem; }
.signup-error[hidden] { display: none; }
.signup-field #strengthMessage { margin-top: 0.35rem; font-size: 0.84rem; }
#strengthBarContainer { width: 100%; height: 0.5rem; margin-top: 0.35rem; overflow: hidden; border-radius: 999px; }
#strengthBar { width: 0; height: 100%; transition: width 0.3s ease; }
.signup-terms { min-width: 0; margin: 0; padding: 0; border: 0; }
.signup-check { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--text-2); }
.signup-check input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin: 0.2rem 0 0; accent-color: var(--accent); }
.signup-check a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.signup-captcha { min-height: 78px; margin-top: 20px; margin-bottom: 20px}
.signup-submit { width: 100%; }
.signup-submit:disabled { cursor: wait; opacity: 0.7; transform: none; }
.signup-honeypot { display: none; }
.country-combobox { position: relative; }
.country-combobox-select {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.country-combobox-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  width: 100%; min-height: 46px; padding: 0.65rem 0.8rem; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); background: var(--input-bg); color: var(--text);
  font: inherit; font-size: 0.96rem; text-align: left; cursor: pointer;
}
.country-combobox-trigger:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.country-combobox-trigger[aria-expanded="true"] {
  border-color: var(--accent); border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
.country-combobox-value { flex: 1; min-width: 0; }
.country-combobox-value.is-placeholder { color: var(--input-placeholder); }
.country-combobox-caret {
  flex: 0 0 auto; width: 0.55rem; height: 0.55rem;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-1px, -2px); transition: transform 0.15s ease;
}
.country-combobox-trigger[aria-expanded="true"] .country-combobox-caret {
  transform: rotate(225deg) translate(-1px, -1px);
}
.country-combobox-panel {
  position: absolute; z-index: 20; top: 100%; left: 0; right: 0;
  display: grid; gap: 0.45rem; padding: 0.55rem;
  border: 1px solid var(--accent); border-top: 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--input-bg); box-shadow: var(--shadow);
}
.country-combobox-panel[hidden] { display: none; }
.country-combobox-search {
  width: 100%; min-height: 40px; padding: 0.55rem 0.7rem; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); background: var(--bg); color: var(--text);
  font: inherit; font-size: 0.92rem;
}
.country-combobox-search:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.country-combobox-list {
  list-style: none; margin: 0; padding: 0; max-height: 14.5rem; overflow: auto;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card);
}
.country-combobox-option {
  display: block; width: 100%; padding: 0.55rem 0.75rem; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: var(--text); font: inherit; font-size: 0.94rem;
  text-align: left; cursor: pointer;
}
.country-combobox-option:last-child { border-bottom: 0; }
.country-combobox-option:hover,
.country-combobox-option.is-active { background: var(--accent-wash); color: var(--text); }
.country-combobox-option[aria-selected="true"] {
  background: var(--accent-tint); color: var(--accent-ink); font-weight: 600;
}
.country-combobox-empty {
  margin: 0; padding: 0.45rem 0.2rem 0.15rem; color: var(--muted); font-size: 0.86rem;
}
.country-combobox-empty[hidden] { display: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
@media (max-width: 620px) {
  .signup-main { width: min(100% - 1.25rem, 720px); padding-top: 6.5rem; }
  .signup-field-row { grid-template-columns: 1fr; gap: 1.1rem; }
}

/* ---------------------------------------------------------------- footer -- */
.footer { position: relative; background: var(--bg-2); padding: 0 0 1.75rem; margin-top: var(--pad); }
.footer .wrap { position: relative; padding-top: 2rem; }
.foot-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.15fr; gap: 1.75rem; }
.foot-brand { max-width: 36ch; }
.foot-line { margin-top: 0.9rem; font-size: 0.89rem; color: var(--text-2); }
.socials { display: flex; gap: 0.45rem; margin-top: 1rem; }
.social { width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--text-2); transition: all 0.2s ease; }
.social svg { width: 14px; height: 14px; }
.social:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.foot-about { margin-top: 1.1rem; }
.foot-about .disc-label { font-size: 0.9rem; }
.foot-about .disc-body p { font-size: 0.91rem; color: var(--text-2); }
.foot-col ul { margin-top: 0.8rem; display: grid; gap: 0.45rem; }
.foot-col li, .foot-col a { font-size: 0.91rem; color: var(--text-2); }
.foot-col li:has(a[href^="tel"]) { white-space: nowrap; }
.foot-col a:hover { color: var(--accent); }
.foot-col .mt { margin-top: 1.3rem; }
.app-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.app-badge { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 0.45rem 0.7rem; transition: all 0.2s ease; }
.app-badge:hover { border-color: var(--accent); }
.app-badge-ico svg { width: 18px; height: 18px; color: var(--text); }
.app-badge span { display: grid; }
.app-badge small { font-size: 0.75rem; color: var(--muted); }
.app-badge strong { font-family: var(--head); font-size: 0.87rem; color: var(--text); }
.foot-bottom {
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-family: var(--mono); font-size: 0.73rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
}
.cookie-note { margin-top: 1rem; font-size: 0.78rem; color: var(--muted); }
.cookie-note a { text-decoration: underline; text-underline-offset: 0.15em; }

/* --------------------------------------------------------------- reveals -- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.06s; } .d2 { transition-delay: 0.12s; } .d3 { transition-delay: 0.18s; } .d4 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-video { animation: none; }
  .demo-card, .demo-card-play-icon { transition: none; }
  .demo-card:hover { transform: none; }
  .demo-card-play:hover .demo-card-play-icon { transform: translate(-50%, -50%); }
}

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 1180px) {
  /* the tiles hold a size rather than a column count, so they stay compact */
  .au-grid { grid-template-columns: repeat(5, 1fr); }
  .bay-types { grid-template-columns: repeat(3, 1fr); }
  .foot-top { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 1024px) {
  .au-grid { grid-template-columns: repeat(4, 1fr); }
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-login { display: none; }
  .nav-inner {
    width: min(34rem, 92%);
    max-width: none;
    background: var(--nav-bg); backdrop-filter: blur(16px); border-color: var(--line);
  }
  .nav-actions { margin-left: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy-top"
      "art"
      "copy-bottom";
    gap: clamp(1.5rem, 4vw, 2.25rem); padding-bottom: clamp(3.5rem, 7vw, 5rem);
  }
  .hero-copy-top, .hero-copy-bottom { align-self: stretch; }
  .hero-art { width: 100%; max-width: 34rem; margin: 0 auto; }
  .hero-proof { margin-top: 0; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .feat-list { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .why-split { grid-template-columns: 1fr; gap: 2rem; }
  .why-copy h1,
  .why-copy h2 { max-width: none; }
  .why-points { margin-top: 0; }
}
@media (max-width: 860px) {
  .cols-3 { grid-template-columns: 1fr; }
  .switch-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .faq-aside h2 { max-width: none; }
  .used-grid { grid-template-columns: repeat(2, 1fr); }
  .int-grid { grid-template-columns: repeat(3, 1fr); }
  .int-grid-brain {
    position: static; display: grid; width: 100%; height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem;
  }
  .int-grid-brain .int-logo:nth-child(n) {
    position: static; display: grid; width: 100%; height: auto; aspect-ratio: 1;
    min-height: 0; margin: 0; padding: 0.75rem;
  }
  .int-grid-brain .int-logo img { max-width: 85%; max-height: 65%; }
  .quote-grid, .reviews-more .quote-grid { grid-template-columns: 1fr; }
  .demo-grid, .demo-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bay-types { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; max-width: none; }
  .segmented { display: none; }
  .region-select {
    display: block; width: 100%; margin-top: 1.2rem; margin-bottom: 0.5rem; padding: 0.7rem 0.9rem; font-family: var(--sans);
    font-size: 0.92rem; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--text);
  }
  .price-plan-switcher { display: block; margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
  .price-plan-tabs { display: flex; }
  .table-scroll {
    overflow-x: visible; margin-top: 1.25rem;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
    box-shadow: var(--shadow);
  }
  .price-table { min-width: 0; display: block; border-collapse: separate; }
  .price-table thead { display: none; }
  .price-table tbody { display: block; }
  .price-table tbody tr {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: start; border-bottom: 1px solid var(--line);
  }
  .price-table tbody th,
  .price-table tbody td {
    display: block; border: 0; padding: 0.8rem 0.85rem;
  }
  .price-table tbody th {
    grid-column: 1; white-space: normal; font-size: 0.84rem;
  }
  .price-table tbody td {
    grid-column: 2; display: none;
  }
  .price-table[data-plan-col="starter"] tbody td:nth-child(2),
  .price-table[data-plan-col="small"] tbody td:nth-child(3),
  .price-table[data-plan-col="team"] tbody td:nth-child(4),
  .price-table[data-plan-col="large"] tbody td:nth-child(5) { display: block; }
  .price-table .cell-price span { font-size: 1.35rem; }
  .row-cta { grid-template-columns: 1fr; }
  .row-cta th { display: none; }
  .row-cta td {
    grid-column: 1; display: none; text-align: center;
    padding: 1rem 0.85rem 1.15rem; border-bottom: 0;
  }
  .price-table[data-plan-col="team"] .row-cta {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
  }
  .price-table[data-plan-col="team"] .row-cta th { display: block; }
  .price-table[data-plan-col="team"] .badge-plan-popular { display: inline-block; }
  .price-table[data-plan-col="team"] .row-cta td:nth-child(4) {
    grid-column: 2; text-align: left;
  }
  .price-table[data-plan-col="starter"] .row-cta td:nth-child(2),
  .price-table[data-plan-col="small"] .row-cta td:nth-child(3),
  .price-table[data-plan-col="team"] .row-cta td:nth-child(4),
  .price-table[data-plan-col="large"] .row-cta td:nth-child(5) { display: block; }
  .row-cta .btn { width: 100%; }
  .addon-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hero { padding-top: calc(4.75rem + 0.5rem); }
  .hero-grid { padding-bottom: clamp(3rem, 8vw, 4rem); gap: 1.35rem; }
  .hero-copy-top h1 { font-size: clamp(1.95rem, 8.2vw, 2.45rem); line-height: 1.08; }
  .hero-sub { font-size: 0.98rem; max-width: none; }
  .hero-proof { margin-top: 1.35rem; }
  .hero-cta { flex-direction: column; align-items: stretch; margin-top: 1rem; }
  .hero-cta .btn { width: 100%; }
  .hero-art { max-width: 100%; padding: 0 0 1.25rem; }
  .au-grid { grid-template-columns: repeat(3, 1fr); }
  .bay-types { grid-template-columns: 1fr 1fr; }
  .addon-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .au-grid { grid-template-columns: repeat(2, 1fr); }
  .au-tile { aspect-ratio: 1.15; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-card { padding: 0.55rem; }
  .demo-card-title { font-size: 0.9rem; }
  .demo-card-category { top: 0.45rem; left: 0.5rem; max-width: calc(100% - 1rem); font-size: 0.6rem; }
  .demo-card-play-icon { width: 2.35rem; height: 2.35rem; }
  .demo-modal { width: 96vw; }
  .demo-modal-head { padding: 0.65rem; }
}
