/* ==========================================================================
   WebServicers × Cobiro design language
   Gray canvas, white 40px panels, near-black pill buttons, Poppins headings,
   Inter body, hairline borders. No framework, no build step.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  --paper: #ffffff;
  --canvas: #f7f7f7;
  --soft: #f7f7f7;
  --soft-2: #efefed;
  --ink: #18181b;
  --ink-2: #0c0d0d;
  --body: #52525b;
  --muted: #71717a;
  --line: #ededeb;
  --line-soft: #f4f4f2;

  --accent: #0087ff;
  --accent-dark: #016cb6;
  --accent-soft: #eaf4ff;
  --accent-line: #c9e2ff;
  --accent-ink: #0a4f86;

  --blue: #0087ff;
  --blue-soft: #eaf4ff;
  --teal: #00a3a3;
  --teal-soft: #e6f7f7;
  --violet: #633e8e;
  --violet-soft: #f2ecfa;
  --rose: #dc0c7f;
  --rose-soft: #fdedf6;
  --coral: #e8492f;
  --amber: #ffb900;
  --amber-soft: #fff6e0;
  --green: #00915a;
  --green-soft: #e6f6ef;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  --sh-1: 0 1px 2px rgba(24, 24, 27, .04);
  --sh-2: 0 2px 6px rgba(24, 24, 27, .04), 0 14px 34px rgba(24, 24, 27, .06);
  --sh-3: 0 4px 10px rgba(24, 24, 27, .05), 0 26px 60px rgba(24, 24, 27, .10);
  --sh-4: 0 32px 80px rgba(24, 24, 27, .16);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --nav-h: 92px;
  /* where the mobile sheet starts: the bar's own box (sticky 12 + padding 14/10
     + 62 tall) plus the gap a dropdown hangs by. The bar keeps these numbers at
     every width, so one value covers the whole site. */
  --sheet-top: 104px;
  --wrap: 1200px;
  --gutter: 28px;
  --inset: clamp(14px, 2.4vw, 40px);
  --sect: 104px;
}

/* ------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  margin: 0; color: var(--ink); font-family: var(--display);
  font-weight: 600; line-height: 1.08; letter-spacing: -.02em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--accent-ink); }

.ico { width: 20px; height: 20px; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -70px; z-index: 200;
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 0 0 14px 14px;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ----------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1420px; }
.sect { padding: var(--sect) 0; }
.sect-sm { padding: 60px 0; }
.band {
  background: var(--paper); border-radius: var(--radius-xl);
  margin-inline: var(--inset); box-shadow: var(--sh-1);
}
.band-2 {
  background: var(--paper); border-radius: var(--radius-xl);
  margin-inline: var(--inset); border: 1px solid var(--line);
}
.band-ink {
  background: var(--ink-2); border-radius: var(--radius-xl); margin-inline: var(--inset);
}
.band-ink h1, .band-ink h2, .band-ink h3 { color: #fff; }
.band-ink p, .band-ink li { color: #a4a4ad; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

.g, .g2, .g3, .g4, .g5, .g-64, .g-46 { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g-64 { grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.g-46 { grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: center; }
.g-sidebar { grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row-between { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.t-60 { max-width: 660px; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ------------------------------------------------------------ typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: .688rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  color: #5a5c64; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 8px 15px; margin-bottom: 22px;
}
.eyebrow-quiet { color: var(--muted); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.band .eyebrow, .band-2 .eyebrow { background: var(--soft); border-color: transparent; }

.display {
  font-family: var(--display); font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  letter-spacing: -.032em; line-height: 1.02; font-weight: 600;
}
h1.seo-h1 { font-family: var(--display); font-size: clamp(2.1rem, 3.8vw, 3.2rem); letter-spacing: -.03em; line-height: 1.06; font-weight: 600; }
.h2 { font-family: var(--display); font-size: clamp(1.75rem, 2.9vw, 2.5rem); letter-spacing: -.026em; line-height: 1.06; }
.h3 { font-size: 1.2rem; }
.lead { font-size: 1.08rem; line-height: 1.65; color: var(--body); }
.sub { font-size: 1.02rem; color: var(--body); max-width: 620px; }
.small { font-size: .875rem; }
.xsmall { font-size: .78rem; }
.muted { color: var(--muted); }
.strong { color: var(--ink); font-weight: 600; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.mark { color: var(--accent-dark); }

.sect-head { max-width: 780px; margin-bottom: 48px; }
.sect-head.center { margin-inline: auto; text-align: center; }
.sect-head.center .sub { margin-inline: auto; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .92rem; color: var(--ink);
  border-bottom: 1px solid transparent;
}
.link-arrow .ico { width: 16px; height: 16px; color: var(--accent); transition: transform .18s ease; }
.link-arrow:hover { color: var(--accent-dark); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-quiet { color: var(--body); font-weight: 500; font-size: .88rem; }
.link-quiet:hover { color: var(--accent-dark); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 24px; border-radius: var(--radius-pill);
  border: 1px solid transparent; background: transparent;
  font-family: var(--font); font-weight: 600; font-size: .92rem; letter-spacing: -.006em;
  white-space: nowrap;
  transition: background .17s ease, color .17s ease, border-color .17s ease, box-shadow .17s ease, transform .17s ease;
}
.btn .ico { width: 17px; height: 17px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.btn-ghost { color: var(--ink); background: rgba(9, 12, 20, .05); }
.btn-ghost:hover { background: rgba(9, 12, 20, .09); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--accent-soft); color: var(--accent-ink); }
.btn-sm { height: 38px; padding: 0 16px; font-size: .84rem; }
.btn-lg { height: 54px; padding: 0 30px; font-size: .98rem; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------ chips */
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px;
  border-radius: var(--radius-pill); background: var(--soft-2); color: var(--ink);
  font-size: .74rem; font-weight: 600; letter-spacing: .01em; line-height: 1;
}
.tag-accent { background: var(--amber-soft); color: #8a5b00; }
.tag-green { background: var(--green-soft); color: #00714a; }
.tag-rose { background: var(--rose-soft); color: #ab1062; }
.tag-blue { background: var(--accent-soft); color: var(--accent-ink); }
.tag-line { background: transparent; border: 1px solid var(--line); color: var(--body); }
.tag .ico { width: 13px; height: 13px; }

.delta { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; font-size: .8rem; color: var(--green); }
.delta.down { color: var(--rose); }
.delta .ico { width: 14px; height: 14px; }

.note { display: inline-flex; align-items: center; gap: 7px; font-size: .83rem; color: var(--body); font-weight: 500; }
.note .ico { width: 15px; height: 15px; color: var(--accent); }

/* -------------------------------------------------------------- surfaces */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.card-flat { border-color: var(--line-soft); }
.card-soft { background: var(--paper); border: 1px solid var(--line); }
.band .card-soft, .band-2 .card-soft, .cta .card-soft { background: var(--soft); border-color: transparent; }
.card-hover { transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease; }
.card-hover:hover { box-shadow: var(--sh-3); border-color: #dedddb; transform: translateY(-4px); }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }
.card-accent { border-left: 3px solid var(--accent); }

.tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px;
}

.ico-box {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 20px;
}
.ico-box .ico { width: 22px; height: 22px; }
.tone-blue { background: var(--blue-soft); color: var(--blue); }
.tone-teal { background: var(--teal-soft); color: var(--teal); }
.tone-violet { background: var(--violet-soft); color: var(--violet); }
.tone-rose { background: var(--rose-soft); color: var(--rose); }
.tone-amber { background: var(--amber-soft); color: #9a6b00; }
.tone-green { background: var(--green-soft); color: var(--green); }
.tone-ink { background: var(--soft-2); color: var(--ink); }

.callout {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; font-size: .92rem; color: var(--body);
}
.band .callout, .band-2 .callout { background: var(--soft); border-color: var(--line); }
.callout .ico { color: var(--accent); margin-top: 2px; }
.callout strong { color: var(--ink); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 12px; z-index: 120;
  background: transparent;
  padding: 14px 0 10px;
  transition: background .2s ease, box-shadow .2s ease, padding .2s ease;
}
.site-header.is-scrolled {
  width: min(100% - (var(--inset) * 2), var(--wrap));
  margin-inline: auto;
  padding: 6px 0;
  background: rgba(247, 247, 247, .92); backdrop-filter: saturate(180%) blur(14px);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 28px rgba(24, 24, 27, .10);
}
.site-header.is-scrolled .nav-links {
  background: transparent; border-color: transparent; box-shadow: none;
}
.nav-bar { height: 62px; display: flex; align-items: center; gap: 26px; position: relative; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; color: var(--ink);
  font-family: var(--display); font-weight: 600; letter-spacing: -.03em; font-size: 1.14rem;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-family: var(--font);
  font-size: .95rem; font-weight: 700; letter-spacing: 0;
}
.brand small { display: block; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav-links {
  display: flex; align-items: center; gap: 2px; margin-inline: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 5px; box-shadow: var(--sh-1);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nav-item { position: relative; }
/* the Products sheet is positioned against the nav row, not its trigger */
.nav-item.is-sheet { position: static; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 15px;
  background: none; border: 0; border-radius: var(--radius-pill);
  color: var(--ink); font-weight: 500; font-size: .9rem;
}
.nav-trigger:hover { background: var(--soft); color: var(--ink); }
.nav-item.is-active > .nav-trigger { color: var(--accent-ink); }
.nav-trigger .caret { width: 15px; height: 15px; color: var(--muted); transition: transform .18s ease; }
.nav-item.is-open > .nav-trigger .caret { transform: rotate(180deg); }
.nav-item.is-open > .nav-trigger { background: var(--soft-2); }

.mega {
  position: absolute; top: calc(100% + 16px); left: -22px;
  width: min(520px, calc(100vw - 2 * var(--gutter) - 16px));
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--sh-4); padding: 16px; opacity: 0; visibility: hidden;
  transform: translateY(-10px); transition: opacity .17s ease, transform .17s ease, visibility .17s;
}
.mega-right { left: auto; right: -22px; }
/* --caret-x is set by main.js to the centre of the trigger that opened the
   panel; the fallback keeps a sensible tip when the script never runs. */
.mega::before {
  content: ""; position: absolute; top: -7px; left: calc(var(--caret-x, 42px) - 6.5px);
  width: 13px; height: 13px;
  background: var(--paper); border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
/* the sheet spans the page content column, so it is as wide as the grid and never wider */
.mega-wide {
  left: var(--gutter); right: var(--gutter); top: calc(100% + 8px); width: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 340px); gap: 28px; padding: 22px 24px 20px;
}
/* the two group columns sit close: the hover pill already gives each row its
   own edge, so a wide gap between columns only reads as dead air */
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; }
/* an odd last entry takes the whole row instead of leaving a void beside it */
.mega-grid > .mega-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mega-col-title {
  font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); padding: 2px 0 8px 11px;
}
.mega-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 9px 11px; border-radius: 12px; color: var(--ink);
}
.mega-item > span:not(.mi-ico) { min-width: 0; }
.mega-item:hover { background: var(--soft); color: var(--accent-dark); }
.mega-item .mi-ico {
  width: 32px; height: 32px; border-radius: 10px; background: var(--soft-2); color: var(--ink);
  display: grid; place-items: center; flex: none; transition: background .17s, color .17s;
}
.mega-item .mi-ico .ico { width: 16px; height: 16px; }
.mega-item:hover .mi-ico { background: var(--accent-soft); color: var(--accent-dark); }
.mega-item strong { display: block; font-family: var(--display); font-size: .95rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.mega-item span span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.mega-promo {
  background: var(--ink-2); border-radius: 18px; padding: 20px; display: flex; flex-direction: column;
  justify-content: space-between; gap: 16px;
}
.mega-promo h4 { color: #fff; font-family: var(--display); font-size: 1rem; }
.mega-promo p { color: #9a9aa3; font-size: .83rem; line-height: 1.55; }
/* Same dark surface as the promo band above it, so the two panel CTAs read as
   one component; the button is white because ink-on-ink disappears. */
.mega-foot {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--ink-2); border-radius: 18px; padding: 18px 20px; margin-top: 14px;
  font-size: .86rem; color: #9a9aa3;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: var(--radius-pill); background: var(--paper); color: var(--ink);
  box-shadow: var(--sh-1); place-items: center;
}
/* one button, two icons: the cross only exists while the sheet is down */
.nav-toggle .ic-shut { display: none; }
body.menu-open .nav-toggle .ic-open { display: none; }
body.menu-open .nav-toggle .ic-shut { display: block; }

/* -------------------------------------------------------- mobile menu */
/* The bar stays put and the sheet hangs below it, so the page never gains a
   second header: the same brand and the same round button you pressed become
   the cross that closes it. The card keeps the page gutter on both sides and
   rounds on all four corners. The scrim is what scrolls, not the card: an open
   group can make the sheet taller than the screen and it then runs through the
   overlay's own scroll, so no second scrollbar ever appears inside the card. */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: rgba(12, 13, 13, .44);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s;
  backdrop-filter: blur(3px);
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
body.menu-open .site-header { z-index: 205; }
.mobile-panel {
  position: relative; margin: var(--sheet-top) var(--gutter) 24px;
  padding: 6px var(--gutter) 20px;
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--sh-4);
  opacity: 0; transform: translateY(-14px);
  transition: opacity .2s ease, transform .28s cubic-bezier(.4, 0, .2, 1);
}
.mobile-nav.is-open .mobile-panel { opacity: 1; transform: none; }
.m-group { border-bottom: 1px solid var(--line-soft); }
.m-group > button {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 2px; background: none; border: 0; font-family: var(--display);
  font-weight: 600; color: var(--ink); font-size: .96rem; letter-spacing: -.01em;
}
.m-group > button .ico { transition: transform .18s; color: var(--muted); }
.m-group.is-open > button .ico { transform: rotate(180deg); }
/* an entry with no dropdown is the same row without the caret: the arrow says it
   goes somewhere instead of opening something */
.m-plain > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 2px; font-family: var(--display); font-weight: 600;
  color: var(--ink); font-size: .96rem; letter-spacing: -.01em;
}
.m-plain > a .ico { width: 16px; height: 16px; color: var(--muted); }
.m-links { display: none; padding: 0 0 14px; }
.m-group.is-open .m-links { display: block; }
/* direct children only: the plain links, not the mega tiles nested below them */
.m-links > a { display: block; padding: 10px 13px; border-radius: 12px; color: var(--body); font-size: .9rem; }
.m-links > a:hover { background: var(--soft); color: var(--accent-dark); }
.m-links > a.first { font-weight: 600; color: var(--ink); }
/* the desktop panel becomes the body of an open group: same tiles, same promo,
   one column, and none of the floating positioning it has in the header */
.m-links .mega {
  position: static; width: auto; padding: 0 0 8px; border: 0; border-radius: 0;
  background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none;
}
.m-links .mega::before { display: none; }
.m-links .mega-grid, .m-links .mega-wide { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.m-links .mega-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
.mobile-actions { display: grid; gap: 10px; margin-top: 26px; }

/* ------------------------------------------------------------------ hero */
.hero { padding: 88px 0 72px; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.hero-center { text-align: center; }
.hero-center .sub { margin-inline: auto; }
.hero .display { margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-center .hero-actions { justify-content: center; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; }
.hero-center .hero-notes { justify-content: center; }
/* The header is transparent and floats, so the opening wash bleeds up behind
   it and the page reads as one surface all the way to y=0. */
:root { --bleed: 86px; }
.hero-bg {
  position: absolute; inset: calc(-1 * var(--bleed)) 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(720px 320px at 82% -10%, rgba(0, 135, 255, .13), transparent 62%),
    radial-gradient(520px 300px at 6% 8%, rgba(255, 185, 0, .10), transparent 60%);
}

/* ----------------------------------------------------------- hero scene */
.hero-scene { max-width: 640px; margin-inline: auto; }
.scene-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(88px, 27%, 176px);
  grid-template-areas: "site art" "cap cap";
  gap: 16px 18px; align-items: center;
  background: var(--soft-2); border: 1px solid var(--line);
  border-radius: 26px; padding: 16px 16px 24px; box-shadow: var(--sh-3);
}
.scene-site {
  grid-area: site; background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; box-shadow: var(--sh-2);
}
.scene-side { grid-area: art; min-width: 0 }
.scene-art { display: block; width: 100%; height: auto }
.art-amber { fill: var(--amber) }
.art-teal { fill: var(--teal) }
.art-arch { fill: var(--teal); opacity: .16 }
.art-b1 { fill: var(--accent); opacity: .18 }
.art-b2 { fill: var(--accent); opacity: .4 }
.art-b3 { fill: var(--accent); opacity: .64 }
.art-b4 { fill: var(--accent) }
.art-base { fill: rgba(24, 24, 27, .14) }
.art-ink { fill: var(--ink) }
.art-dot { fill: var(--paper) }

.site-bar {
  display: flex; align-items: center; gap: 10px; padding: 8px 11px;
  border-bottom: 1px solid var(--line-soft); background: var(--soft);
}
.site-url {
  flex: 1; min-width: 0; font-size: .72rem; color: var(--muted);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.site-live {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  font-size: .66rem; font-weight: 700; color: var(--green); letter-spacing: .07em;
}
.site-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite }
.site-body { padding: clamp(14px, 3.6vw, 22px) }
.site-top { display: flex; align-items: center; gap: 8px; margin-bottom: clamp(12px, 3vw, 18px) }
.site-mark {
  width: 24px; height: 24px; border-radius: 7px; flex: none; text-align: center;
  background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: .74rem; line-height: 24px;
}
.site-name { font-size: .78rem; font-weight: 600; color: var(--ink) }
.site-nav { margin-left: auto; font-size: .68rem; color: var(--muted); white-space: nowrap }
.site-h {
  margin: 0 0 14px; font-family: var(--display); font-weight: 700; color: var(--ink);
  font-size: clamp(1.18rem, 3.1vw, 1.72rem); line-height: 1.08; letter-spacing: -.02em;
}
.site-h em { font-style: normal; color: var(--accent) }
.site-cta {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px;
  border-radius: var(--radius-pill); background: var(--ink); color: #fff;
  font-size: .74rem; font-weight: 600;
}
.site-cta .ico { width: 14px; height: 14px }

.scene-cap {
  grid-area: cap; display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 9px 12px; font-size: .74rem; color: var(--muted); line-height: 1.35;
}
.scene-cap b { color: var(--ink); font-weight: 600 }
.cap-rank {
  width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--green-soft); color: #00714a; font-size: .72rem; font-weight: 700;
}
.scene-cards {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px;
  margin: -20px 10px 0;
}
.scene-card {
  flex: 1 1 190px; display: flex; align-items: center; gap: 11px; padding: 11px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-2);
}
.scene-card.is-dark { background: var(--ink); border-color: var(--ink) }
.sc-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none }
.sc-ico .ico { width: 15px; height: 15px }
.sc-ico-green { background: var(--green-soft); color: var(--green) }
.sc-ico-amber { background: rgba(255, 185, 0, .16); color: var(--amber) }
.sc-txt { min-width: 0 }
.sc-txt b { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em }
.sc-txt small { display: block; font-size: .76rem; color: var(--muted) }
.scene-card.is-dark .sc-txt b { color: #fff }
.scene-card.is-dark .sc-txt small { color: rgba(255, 255, 255, .62) }

/* ----------------------------------------------------------- app window */
.window {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--sh-3); overflow: hidden;
}
.win-bar {
  display: flex; align-items: center; gap: 12px; padding: 12px 15px;
  border-bottom: 1px solid var(--line-soft); background: var(--soft);
}
.win-dots { display: flex; gap: 5px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcdcd8; }
.win-url {
  flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 6px 13px; font-size: .77rem; color: var(--body); font-family: var(--mono);
}
.win-url .ico { width: 13px; height: 13px; flex: none; color: var(--muted); }
.win-url > span:not(.win-live) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-url b { color: var(--ink); font-weight: 600; }
.win-live { display: inline-flex; align-items: center; gap: 5px; flex: none; font-size: .69rem; font-weight: 700; color: var(--green); letter-spacing: .07em; }
.win-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.win-body { padding: 16px; display: grid; gap: 14px; background: var(--canvas); }
.win-with-side { grid-template-columns: 170px minmax(0, 1fr); }
.win-side { display: flex; flex-direction: column; gap: 3px; border-right: 1px solid var(--line-soft); padding-right: 12px; }
.win-side button {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  padding: 9px 11px; border: 0; border-radius: var(--radius-pill); background: none;
  font-size: .81rem; font-weight: 500; color: var(--body);
}
.win-side button:hover { background: var(--paper); color: var(--ink); }
.win-side button.is-active { background: var(--ink); color: #fff; font-weight: 600; }
.win-side button .ico { width: 15px; height: 15px; }
.win-main { display: grid; gap: 14px; min-width: 0; }
.win-tabs { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.win-tabs::-webkit-scrollbar { display: none; }
.win-tabs button {
  border: 0; background: var(--paper); padding: 8px 14px; border-radius: var(--radius-pill);
  font-size: .81rem; font-weight: 600; color: var(--muted); white-space: nowrap;
  border: 1px solid var(--line);
}
.win-tabs button:hover { color: var(--ink); border-color: var(--ink); }
.win-tabs button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ------------------------------------------------------------- widgets */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.panel-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-bottom: 1px solid var(--line-soft);
  font-size: .8rem; font-weight: 600; color: var(--ink); letter-spacing: -.008em;
}
.panel-title .ico { width: 15px; height: 15px; color: var(--muted); }
.panel-body { padding: 16px; }
.mini-link { font-size: .74rem; font-weight: 600; color: var(--accent-dark); white-space: nowrap; }
.mini-link:hover { color: var(--accent); text-decoration: underline; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.kpi { background: var(--paper); padding: 14px 16px; min-width: 0; }
.kpi span { display: block; font-size: .69rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 5px; }
.kpi b { display: block; font-size: 1.26rem; color: var(--ink); font-family: var(--display); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi .delta { margin-top: 2px; font-size: .75rem; }

.dt-wrap { overflow-x: auto; }
table.dt { width: 100%; border-collapse: collapse; font-size: .84rem; }
table.dt th {
  text-align: left; padding: 10px 16px; background: var(--soft); color: var(--muted);
  font-size: .68rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
table.dt th.n, table.dt td.n { text-align: right; font-variant-numeric: tabular-nums; }
table.dt td { padding: 11px 16px; border-bottom: 1px solid var(--line-soft); color: var(--body); }
table.dt tr:last-child td { border-bottom: 0; }
table.dt tbody tr:hover { background: var(--soft); }
table.dt .kw { color: var(--ink); font-weight: 500; }
.pill-pos {
  display: inline-grid; place-items: center; min-width: 26px; height: 23px; padding: 0 7px;
  border-radius: var(--radius-pill); font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums;
  background: var(--soft-2); color: var(--ink);
}
.pill-pos.top { background: var(--green-soft); color: #00714a; }
.pill-pos.mid { background: var(--accent-soft); color: var(--accent-ink); }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 132px; padding-top: 8px; }
.bars .bcol { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; height: 100%; min-width: 0; }
.bars .b {
  width: 100%; max-width: 26px; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--accent) 0%, #6dbcef 100%);
  transition: height .6s cubic-bezier(.4, 0, .2, 1), opacity .2s;
}
.bars .b.alt { background: linear-gradient(180deg, var(--ink) 0%, #4b4b52 100%); }
.bars .lb { font-size: .64rem; color: var(--muted); font-weight: 600; }
.bars .bcol:hover .b { opacity: .82; }

.spark { width: 100%; height: 42px; }
.spark path.line { fill: none; stroke: var(--accent); stroke-width: 2; }
.spark path.area { fill: rgba(0, 135, 255, .12); stroke: none; }

.ring { display: grid; place-items: center; position: relative; width: 104px; height: 104px; margin-inline: auto; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: var(--line); }
.ring .val { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .9s cubic-bezier(.4, 0, .2, 1); }
.ring b { font-size: 1.5rem; color: var(--ink); font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums; }
.ring small { display: block; font-size: .69rem; color: var(--muted); font-weight: 600; }
.ring-green .val { stroke: var(--green); }
.ring-blue .val { stroke: var(--blue); }

.meter { display: grid; gap: 7px; }
.meter-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-size: .82rem; }
.meter-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.meter-bar { grid-column: 1 / -1; height: 7px; border-radius: var(--radius-pill); background: var(--soft-2); overflow: hidden; }
.meter-bar i { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--accent); transition: width .8s cubic-bezier(.4, 0, .2, 1); }
.meter-row:nth-child(3n) .meter-bar i { background: var(--ink); }
.meter-row:nth-child(3n+2) .meter-bar i { background: var(--teal); }

/* -------------------------------------------------------- search result */
.serp { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.serp-bar {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 10px 16px; margin-bottom: 15px; background: var(--paper); box-shadow: var(--sh-1);
}
.serp-bar .ico { width: 16px; height: 16px; color: var(--muted); }
.serp-bar b { color: var(--ink); font-weight: 500; font-size: .9rem; }
.serp-tabs { display: flex; gap: 16px; border-bottom: 1px solid var(--line-soft); margin-bottom: 12px; }
.serp-tabs span { font-size: .79rem; color: var(--muted); padding-bottom: 8px; }
.serp-tabs span.on { color: var(--accent-dark); font-weight: 600; border-bottom: 2px solid var(--accent); }
.serp-row { padding: 11px 13px; border-radius: 14px; position: relative; }
.serp-row + .serp-row { margin-top: 4px; }
.serp-row.you { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.serp-kind { font-size: .66rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.serp-row.you .serp-kind { color: var(--accent-ink); }
.serp-t { display: block; color: #1a0dab; font-size: .95rem; font-weight: 500; margin: 2px 0; }
.serp-row.you .serp-t { color: var(--accent-ink); }
.serp-u { font-size: .73rem; color: #00714a; font-family: var(--mono); }
.serp-d { font-size: .8rem; color: var(--body); line-height: 1.5; }
.serp-links { display: flex; gap: 14px; margin-top: 5px; }
.serp-links a { font-size: .78rem; color: var(--accent-dark); }

/* ----------------------------------------------------------------- marquee */
.marquee { overflow: hidden; position: relative; padding: 24px 0; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 110px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--canvas), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--canvas), transparent); }
.band .marquee::before, .band-2 .marquee::before { background: linear-gradient(90deg, var(--paper), transparent); }
.band .marquee::after, .band-2 .marquee::after { background: linear-gradient(270deg, var(--paper), transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.chip-svc {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 19px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper);
  font-size: .87rem; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.chip-svc:hover { border-color: var(--ink); color: var(--ink); box-shadow: var(--sh-1); }
.chip-svc .ico { width: 16px; height: 16px; color: var(--accent); }

.trustbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 36px; }
.badge-official {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper);
  font-size: .83rem; font-weight: 600; color: var(--ink);
}
.badge-official .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .67rem; font-weight: 700; color: #fff; }

/* --------------------------------------------------------------- cat grid */
.cat-row {
  display: grid; grid-template-columns: 54px minmax(0, 1.5fr) minmax(0, 1fr) auto;
  gap: 22px; align-items: center; padding: 21px 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cat-row:hover { border-color: #dedddb; box-shadow: var(--sh-2); transform: translateY(-2px); color: inherit; }
.cat-no { font-size: .77rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.cat-row:hover .cat-no { color: var(--accent); }
.cat-name { font-size: 1.03rem; font-family: var(--display); font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.cat-desc { font-size: .87rem; color: var(--body); }
.cat-go { display: inline-flex; align-items: center; gap: 6px; font-size: .83rem; font-weight: 600; color: var(--muted); }
.cat-row:hover .cat-go { color: var(--accent-dark); }
.cat-go .ico { width: 16px; height: 16px; transition: transform .18s; }
.cat-row:hover .cat-go .ico { transform: translateX(4px); }
.cat-stack { display: grid; gap: 10px; }

/* ------------------------------------------------------------ svc tiles */
/* auto-fill keeps the twelve tiles in complete rows at 4 / 3 / 2 / 1 columns */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px }
.svc-tile {
  display: flex; align-items: center; gap: 14px; min-width: 0; padding: 15px 16px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 18px; color: inherit;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.svc-tile:hover { background: var(--paper); border-color: #dedddb; box-shadow: var(--sh-2); transform: translateY(-3px); color: inherit }
.svc-tile .ico-box { width: 44px; height: 44px; border-radius: 13px; margin: 0; flex: none }
.svc-tile .ico-box .ico { width: 21px; height: 21px }
.svc-txt { min-width: 0 }
.svc-txt b {
  display: block; font-family: var(--display); font-size: .97rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.02em; line-height: 1.25;
}
.svc-txt small { display: block; margin-top: 3px; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums }
.svc-go { margin-left: auto; flex: none; color: var(--muted); opacity: 0; transform: translateX(-5px); transition: opacity .2s, transform .2s, color .2s }
.svc-go .ico { width: 17px; height: 17px }
.svc-tile:hover .svc-go { opacity: 1; transform: none; color: var(--accent-dark) }
/* spans the whole row, so the twelve tiles above it always fill their grid */
.is-feature { grid-column: 1 / -1; padding: 20px 22px; gap: 18px; background: var(--ink); border-color: var(--ink) }
.is-feature:hover { background: var(--ink-2); border-color: var(--ink-2); box-shadow: var(--sh-3) }
.is-feature .ico-box { width: 52px; height: 52px; border-radius: 15px; background: rgba(255, 255, 255, .1); color: #fff }
.is-feature .ico-box .ico { width: 25px; height: 25px }
.feat-txt { min-width: 0 }
.feat-eyebrow {
  display: block; margin-bottom: 4px; font-size: .66rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--amber);
}
.feat-name { display: block; font-family: var(--display); font-size: 1.08rem; font-weight: 600; color: #fff; letter-spacing: -.02em }
.feat-note { display: block; margin-top: 3px; font-size: .83rem; color: rgba(255, 255, 255, .62) }
.feat-go {
  margin-left: auto; flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff;
  transition: background .2s, color .2s;
}
.feat-go .ico { width: 18px; height: 18px }
.is-feature:hover .feat-go { background: var(--amber); color: var(--ink) }

/* ------------------------------------------------------------- svc slider */
/* Tab pills reuse the header's pill language; the panel crossfades in place. */
.svc-slider { margin-top: 44px }
.tab-strip { display: flex; align-items: center; gap: 14px }
.tab-scroll {
  display: flex; gap: 8px; flex: 1 1 auto; min-width: 0; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.tab-scroll::-webkit-scrollbar { display: none }
.tab-btn {
  display: inline-flex; align-items: center; gap: 9px; flex: none; height: 46px; padding: 0 19px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill);
  color: var(--ink); font-family: var(--display); font-weight: 500; font-size: .92rem; letter-spacing: -.01em;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.tab-btn .ico { width: 17px; height: 17px; color: var(--muted); transition: color .18s ease }
.tab-btn:hover { border-color: #dedddb; box-shadow: var(--sh-1) }
.tab-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--sh-2) }
.tab-btn.is-active .ico { color: var(--amber) }
.slider-nav { display: flex; gap: 8px; flex: none }
.sn-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.sn-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff }
.sn-btn .ico { width: 18px; height: 18px }

.slider-body { margin-top: 30px }
.slider-panel { display: none }
.slider-panel.is-active {
  display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: clamp(26px, 4.5vw, 58px); align-items: center;
  animation: sp-in .34s cubic-bezier(.4, 0, .2, 1);
}
@keyframes sp-in { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }

/* visual column: the service's own measured numbers, stacked */
.sp-visual { display: grid; gap: 14px; min-width: 0 }
.viz-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 26px;
  padding: 22px 24px; box-shadow: var(--sh-2);
}
.viz-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px;
  font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.viz-score { display: flex; align-items: center; gap: 18px }
.viz-score .ring { margin: 0; flex: none }
.viz-parts { display: grid; gap: 10px; flex: 1 1 auto; min-width: 0 }
.viz-parts li { display: flex; align-items: center; gap: 10px; font-size: .87rem; font-weight: 500; color: var(--body) }
.viz-parts li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--accent-soft); border: 2px solid var(--accent);
}
.viz-foot {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.viz-foot .tag .ico { color: var(--green) }
.viz-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
.viz-stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 16px 19px; box-shadow: var(--sh-1); min-width: 0;
}
.viz-stat span { display: block; font-size: .76rem; font-weight: 500; color: var(--muted) }
.viz-stat b {
  display: block; margin-top: 5px; font-family: var(--display); font-size: 1.5rem; font-weight: 600;
  letter-spacing: -.025em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1;
}
.viz-stat:last-child { background: var(--ink-2); border-color: var(--ink-2); box-shadow: var(--sh-2) }
.viz-stat:last-child span { color: rgba(255, 255, 255, .58) }
.viz-stat:last-child b { color: #fff }

/* copy column */
.sp-text { min-width: 0 }
.sp-count {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 0 14px; height: 30px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums;
}
.sp-count b {
  font-size: .78rem; font-weight: 600; letter-spacing: .01em; color: var(--ink);
  padding-left: 10px; border-left: 1px solid var(--line);
}
.sp-title { font-size: clamp(1.68rem, 3.3vw, 2.4rem); line-height: 1.14; }
.sp-title em { font-style: normal; color: var(--accent) }
.sp-sub { margin-top: 12px; font-size: 1.01rem; color: var(--body); max-width: 54ch }
.sp-callout, .lc-callout { margin: 22px 0; gap: 15px }
.sp-callout .ico-box, .lc-callout .ico-box { flex: none; margin: 0; width: 44px; height: 44px; border-radius: 13px }
.sp-callout .ico-box .ico, .lc-callout .ico-box .ico { width: 21px; height: 21px; color: inherit }
.sp-callout strong, .lc-callout strong { display: block; font-family: var(--display); font-size: .99rem; font-weight: 600; color: var(--ink) }
.sp-callout .small, .lc-callout .small { display: block; margin-top: 3px }
.sp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px }
.sp-price {
  display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: var(--radius-pill);
  background: var(--soft-2); color: var(--ink); font-size: .82rem; font-weight: 600;
}

/* --------------------------------------------------------------- ad cards */
/* Tinted inset header with the brand tile and the price, then the service's
   own deliverables as bullets. The tint comes from the tone class, so the
   header carries no background of its own. */
.ad-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px }
.ad-card {
  display: flex; flex-direction: column; min-width: 0; padding: 14px 14px 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; color: inherit;
  transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}
.ad-card:hover { box-shadow: var(--sh-3); border-color: #dedddb; transform: translateY(-4px); color: inherit }
.ad-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px; border-radius: 16px;
}
.ad-ico {
  width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: var(--paper); color: inherit; box-shadow: var(--sh-1);
}
.ad-ico .ico { width: 22px; height: 22px }
.ad-chip { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap }
.ad-name {
  display: block; margin: 20px 4px 0; font-family: var(--display); font-size: 1.02rem;
  font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.3;
}
.ad-tag { display: block; margin: 5px 4px 0; font-size: .83rem; color: var(--muted); line-height: 1.45 }
.ad-list { display: grid; gap: 11px; margin: 18px 4px 0; padding: 0; list-style: none }
.ad-list li {
  position: relative; padding-left: 15px; font-size: .86rem; color: var(--body); line-height: 1.4;
}
.ad-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px;
  border-radius: 50%; background: #c6c6c2;
}
.ad-more {
  display: flex; align-items: center; gap: 7px; margin: auto 4px 0; padding-top: 22px;
  font-size: .84rem; font-weight: 600; color: var(--green);
}
.ad-more .ico { width: 15px; height: 15px; transition: transform .18s ease }
.ad-card:hover .ad-more .ico { transform: translateX(4px) }

/* ------------------------------------------------------------ layer deck */
/* Sticky stack: each card pins a little lower than the one before it, so the
   edges of the previous layers stay visible as the next slides over. Block
   flow, not grid — a grid item cannot travel beyond its own row. */
.layer-card {
  position: sticky; top: calc(var(--nav-h) + 18px + var(--i) * 12px);
  z-index: calc(var(--i) + 1); margin-bottom: 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--sh-3); padding: clamp(22px, 3.2vw, 42px);
}
.lc-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
  gap: clamp(26px, 4vw, 54px); align-items: center;
}
.lc-text { min-width: 0 }
.lc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px }
.lc-no {
  display: inline-flex; align-items: center; height: 30px; padding: 0 13px; flex: none;
  border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper);
  font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.lc-group { font-size: .78rem; color: var(--muted) }
.lc-title { font-size: clamp(1.55rem, 2.9vw, 2.3rem); line-height: 1.13; letter-spacing: -.03em }
.lc-title em { font-style: normal; color: var(--accent) }
.lc-sub { margin-top: 13px; font-size: .97rem; color: var(--body); max-width: 54ch }
.lc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px }

/* scene plate: a tinted stage for the mock, with the replay affordance on it */
.lc-scene { position: relative; min-width: 0 }
.sc-plate {
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  min-height: 420px; padding: 20px; overflow: hidden; border-radius: 24px;
  border: 1px solid var(--line-soft); background: linear-gradient(155deg, #fff, var(--soft-2));
}
.sc-plate.tone-blue { background: linear-gradient(155deg, #fff, var(--blue-soft)) }
.sc-plate.tone-teal { background: linear-gradient(155deg, #fff, var(--teal-soft)) }
.sc-plate.tone-violet { background: linear-gradient(155deg, #fff, var(--violet-soft)) }
.sc-plate.tone-rose { background: linear-gradient(155deg, #fff, var(--rose-soft)) }
.sc-plate.tone-amber { background: linear-gradient(155deg, #fff, var(--amber-soft)) }
.sc-plate.tone-green { background: linear-gradient(155deg, #fff, var(--green-soft)) }
.sc-replay {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px;
  border: 0; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .9);
  box-shadow: var(--sh-2); color: var(--ink); font-size: .73rem; font-weight: 600;
  transition: background .18s ease;
}
.sc-replay:hover { background: #fff }
.sc-replay .ico { width: 11px; height: 11px; color: var(--muted) }
.sc-note {
  position: absolute; top: 23px; right: 20px; z-index: 3; text-align: right;
  font-size: .6rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: rgba(24, 24, 27, .4);
}
.lc-scene.is-playing .sc-plate { animation: sc-wipe .78s cubic-bezier(.2, .7, .3, 1) both }
@keyframes sc-wipe { from { clip-path: inset(0 0 100% 0) } to { clip-path: inset(0 0 0 0) } }

/* glass card, hung over the bottom-left of the plate */
.sc-glass {
  position: absolute; left: 16px; right: 16px; bottom: -30px; z-index: 4;
  display: grid; gap: 7px; padding: 16px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--sh-3); backdrop-filter: blur(8px);
}
/* the tile takes its colour from the global .tone-* classes, so the base rule
   must not declare a background of its own */
.sg-ico {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 2px;
}
.sg-ico .ico { width: 15px; height: 15px }
.sg-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--muted) }
.sg-title { font-family: var(--display); font-size: 1.02rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.3 }
.sg-stats { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .76rem; color: var(--body) }
.sg-stats b { font-family: var(--display); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums }
.sg-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px }

/* --- scene: hosted website */
.sc-browser { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--sh-2) }
.sc-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: var(--soft); border-bottom: 1px solid var(--line-soft) }
.sc-bar i { width: 7px; height: 7px; border-radius: 50%; background: #dedddb }
.sc-bar span { margin-left: 8px; font-size: .7rem; color: var(--muted) }
.sc-page { display: grid; gap: 13px; padding: 18px }
.sc-nav { display: flex; align-items: center; gap: 7px }
.sc-nav b { margin-right: auto; font-size: .76rem; font-weight: 600; color: var(--ink) }
.sc-nav i { width: 20px; height: 4px; border-radius: 2px; background: var(--line) }
.sc-h { font-family: var(--display); font-size: 1.16rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; color: var(--ink) }
.sc-h em { display: block; font-style: normal; color: var(--accent) }
.sc-lines { display: grid; gap: 6px }
.sc-lines i { height: 6px; border-radius: 3px; background: var(--soft-2) }
.sc-lines i:nth-child(2) { width: 84% }
.sc-lines i:nth-child(3) { width: 58% }
.sc-pill {
  justify-self: start; display: inline-flex; align-items: center; height: 31px; padding: 0 15px;
  border-radius: var(--radius-pill); background: var(--ink); color: #fff; font-size: .73rem; font-weight: 600;
}

/* --- scene: search results */
.sc-serp { display: grid; gap: 9px }
.sc-q { display: flex; align-items: center; gap: 9px; padding: 9px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill); box-shadow: var(--sh-1) }
.sc-q .ico { width: 15px; height: 15px; color: var(--muted); flex: none }
.sc-q span { margin-right: auto; font-size: .79rem; color: var(--ink) }
.sc-q b { font-size: .71rem; font-weight: 600; color: var(--accent) }
.sc-res { padding: 11px 13px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 14px; box-shadow: var(--sh-1) }
.sc-res.is-ad { background: var(--accent-soft); border-color: var(--accent-line) }
.sc-kind { display: block; margin-bottom: 4px; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green) }
.sc-res b { display: block; font-size: .82rem; font-weight: 500; line-height: 1.3; color: var(--accent-dark) }
.sc-res small { display: block; margin-top: 2px; font-size: .67rem; color: var(--muted) }
.sc-res p { margin-top: 4px; font-size: .71rem; line-height: 1.45; color: var(--body) }

/* --- scene: shopping tiles */
.sc-shop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px }
.sc-prod { display: grid; gap: 5px; padding: 9px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 14px; box-shadow: var(--sh-1) }
.sc-thumb { display: block; aspect-ratio: 1; border-radius: 10px; background: linear-gradient(140deg, var(--amber-soft), #fff) }
.sc-thumb.t2 { background: linear-gradient(140deg, var(--rose-soft), #fff) }
.sc-thumb.t3 { background: linear-gradient(140deg, var(--teal-soft), #fff) }
.sc-prod b { font-size: .73rem; font-weight: 600; color: var(--ink) }
.sc-prod small { font-size: .67rem; color: var(--muted) }
.sc-stars { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; color: var(--body) }
.sc-stars .ico { width: 12px; height: 12px; color: var(--amber); flex: none }
.sc-stars i { font-style: normal }

/* --- scene: video player */
.sc-player { display: grid; gap: 14px; align-content: center; min-height: 300px; padding: 20px; border-radius: 16px; background: var(--ink-2) }
.sc-play {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; justify-self: center;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff;
}
.sc-play .ico { width: 20px; height: 20px }
.sc-timeline { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden }
.sc-timeline i { display: block; height: 100%; border-radius: 2px; background: var(--rose) }
.sc-meta { display: flex; justify-content: space-between; gap: 12px; font-size: .68rem; color: rgba(255, 255, 255, .62) }
.sc-skip { padding: 3px 9px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .12); color: #fff }

/* --- scene: social feed */
.sc-phone {
  align-self: center; width: min(232px, 100%); display: grid; gap: 9px; padding: 11px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh-3);
}
.sc-ig-top { display: flex; align-items: center; gap: 8px }
.sc-ig-top b { margin-right: auto; font-size: .71rem; font-weight: 600; color: var(--ink) }
.sc-av { width: 22px; height: 22px; border-radius: 50%; flex: none; background: linear-gradient(140deg, var(--rose-soft), var(--amber-soft)); border: 1px solid var(--line) }
.sc-ig-top i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); box-shadow: 5px 0 0 var(--muted), 10px 0 0 var(--muted) }
.sc-ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px }
.sc-tile { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(140deg, var(--rose-soft), #fff) }
.sc-tile.t2 { background: linear-gradient(140deg, var(--amber-soft), #fff) }
.sc-tile.t3 { background: linear-gradient(140deg, var(--teal-soft), #fff) }
.sc-ig-bar { display: flex; gap: 12px }
.sc-ig-bar .ico { width: 15px; height: 15px; color: var(--body) }

/* --- scene: local map */
.sc-map { position: relative; min-height: 300px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #eef2ee, #f6f5f2) }
.sc-road { position: absolute; background: #fff }
.sc-road.r1 { left: 0; right: 0; top: 34%; height: 11px }
.sc-road.r2 { top: 0; bottom: 0; left: 28%; width: 9px }
.sc-road.r3 { left: 0; right: 0; top: 68%; height: 6px }
.sc-pin {
  position: absolute; left: 44%; top: 22%; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: var(--sh-2);
}
.sc-pin .ico { width: 17px; height: 17px }
.sc-listing {
  position: absolute; left: 11px; right: 11px; bottom: 11px; display: grid; gap: 3px;
  padding: 11px 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-2);
}
.sc-listing b { font-family: var(--display); font-size: .9rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink) }
.sc-listing small { font-size: .7rem; color: var(--muted) }

/* ------------------------------------------------------------ steps */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-no {
  counter-increment: s; font-family: var(--display); font-size: 1.5rem; font-weight: 600;
  color: #c7c7c2; letter-spacing: -.04em; line-height: 1;
}
.step-no::before { content: "0" counter(s); }
.step:hover .step-no { color: var(--accent); }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .95rem; max-width: 640px; }
.step .tag { margin-top: 12px; }

/* ------------------------------------------------------------------ stats */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper); padding: 32px 26px; }
.stat b { display: block; font-size: clamp(2rem, 3.2vw, 2.8rem); font-family: var(--display); font-weight: 600; color: var(--ink); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 11px; font-size: .89rem; color: var(--body); }
.stat:nth-child(even) b { color: var(--accent-dark); }

/* ------------------------------------------------------------------ plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; display: flex; flex-direction: column; }
.plan.pop { border-color: var(--ink); box-shadow: var(--sh-2); }
/* The flag shares the name's row instead of straddling the card border. The row
   is the same height on every card, flagged or not, so the notes still line up. */
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 32px; }
.plan-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.plan-name { font-size: 1rem; font-family: var(--display); font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.plan-flag {
  flex: none; height: 30px; padding: 0 15px; border-radius: var(--radius-pill);
  background: var(--coral); color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; display: inline-flex; align-items: center;
}
.plan-note { font-size: .86rem; color: var(--body); margin-top: 6px; min-height: 42px; }
.plan-price { display: flex; align-items: baseline; gap: 5px; margin: 18px 0 2px; }
.plan-price b { font-size: 2.2rem; font-family: var(--display); font-weight: 600; color: var(--ink); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: .87rem; color: var(--muted); font-weight: 500; }
.plan-was { font-size: .77rem; color: var(--muted); min-height: 20px; }
.plan-feats { display: grid; gap: 10px; margin: 20px 0 26px; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--body); }
.plan-feats .ico { width: 16px; height: 16px; color: var(--accent); margin-top: 3px; flex: none; }
.plan .btn { margin-top: auto; }
.plan-foot { margin-top: 12px; font-size: .76rem; color: var(--muted); text-align: center; }

.ent-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: center;
  background: var(--ink-2); border-radius: var(--radius); padding: 34px 36px; margin-top: 20px;
}
.ent-band h3 { color: #fff; font-size: 1.16rem; }
.ent-band p { color: #9a9aa3; font-size: .92rem; margin-top: 6px; }
.ent-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ent-list span { font-size: .77rem; color: #e4e4e7; background: rgba(255, 255, 255, .08); border-radius: var(--radius-pill); padding: 6px 13px; }

.incl-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.incl { display: flex; gap: 13px; align-items: flex-start; }
.incl .ico-box { width: 40px; height: 40px; border-radius: 13px; margin: 0; flex: none; }
.incl .ico-box .ico { width: 19px; height: 19px; }
.incl b { display: block; color: var(--ink); font-size: .93rem; font-weight: 600; }
.incl p { font-size: .85rem; color: var(--body); margin-top: 3px; }

/* ---------------------------------------------------------------- feature */
.feat { padding: 26px; }
.feat h3 { font-size: 1.03rem; margin-bottom: 9px; }
.feat p { font-size: .9rem; }
.feat-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

.tick-list { display: grid; gap: 12px; }
.tick-list.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.tick-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--body); }
.tick-list .ico { width: 19px; height: 19px; color: var(--accent); margin-top: 2px; flex: none; }
.tick-list.boxed li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; }

/* ------------------------------------------------------------------- tabs */
.tabs { display: inline-flex; gap: 4px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius-pill); padding: 5px; margin-bottom: 36px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  border: 0; background: none; padding: 10px 19px; font-size: .9rem; font-weight: 600; color: var(--muted);
  border-radius: var(--radius-pill); white-space: nowrap; transition: background .17s, color .17s;
}
.tabs button:hover { color: var(--ink); }
.tabs button.is-active { background: var(--ink); color: #fff; }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- page nav */
/* A static row of the page's sections, sitting under the hero: no floating
   pill, no sticky, no breadcrumb. It wraps instead of scrolling sideways. */
.page-nav { margin: -32px 0 0; }
.page-nav-in { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 4px; padding-bottom: 20px; }
.page-nav a {
  font-size: .86rem; font-weight: 500; color: var(--muted); padding: 8px 14px;
  border-radius: var(--radius-pill); white-space: nowrap; transition: background .17s, color .17s;
}
.page-nav a:hover { background: var(--soft-2); color: var(--ink); }
.page-nav a.is-active { background: var(--soft-2); color: var(--ink); font-weight: 600; }

.side-nav { position: sticky; top: calc(var(--nav-h) + 28px); display: grid; gap: 3px; }
.side-nav a { padding: 10px 14px; border-radius: var(--radius-pill); font-size: .88rem; font-weight: 500; color: var(--body); }
.side-nav a:hover { background: var(--paper); color: var(--ink); }
.side-nav a.is-active { background: var(--ink); color: #fff; font-weight: 600; }
.side-nav .grp { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 16px 14px 7px; }

/* -------------------------------------------------------------------- faq */
.faq-list {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  padding: 6px 24px; overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 21px 0; background: none; border: 0; text-align: left;
  font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: -.015em;
}
.faq-q:hover { color: var(--accent-dark); }
.faq-q .ico { width: 22px; height: 22px; color: var(--muted); transition: transform .22s ease, color .18s; flex: none; }
.faq-item.is-open .faq-q .ico { transform: rotate(45deg); color: var(--accent); }
.faq-a { display: none; padding: 0 0 22px; max-width: 820px; }
.faq-item.is-open .faq-a { display: block; animation: fade .22s ease; }
.faq-a p { font-size: .96rem; color: var(--body); }
.faq-a p + p { margin-top: 12px; }

/* ---------------------------------------------------------------- reviews */
.quote { display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.quote-stars { display: flex; gap: 2px; color: var(--amber); }
.quote-stars .ico { width: 16px; height: 16px; }
.quote p { font-size: 1rem; color: var(--ink); line-height: 1.58; font-family: var(--display); font-weight: 500; letter-spacing: -.015em; }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--ink); color: #fff; font-size: .76rem; font-weight: 600; letter-spacing: .02em;
}
.avatar.a2 { background: var(--accent); }
.avatar.a3 { background: var(--teal); }
.avatar.a4 { background: var(--violet); }
.quote-who b { display: block; color: var(--ink); font-size: .91rem; font-weight: 600; }
.quote-who span { display: block; font-size: .81rem; color: var(--muted); }
.rating-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; }
.rating-item { display: flex; align-items: center; gap: 10px; font-size: .87rem; color: var(--body); }
.rating-item b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- cta band */
.cta {
  background: var(--ink-2); border-radius: var(--radius-xl); padding: 64px 56px;
  position: relative; overflow: hidden; margin-inline: 0;
}
.cta::after {
  content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 135, 255, .42), transparent 66%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 2.7vw, 2.4rem); max-width: 640px; }
.cta p { color: #a4a4ad; font-size: 1.02rem; max-width: 620px; margin-top: 14px; }
.cta .eyebrow { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #e4e4e7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-note { margin-top: 18px; font-size: .82rem; color: #7c7c85; }
.cta-split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 44px; align-items: center; }

/* ------------------------------------------------------------ connected band */
/* Full-bleed like the footer: the dark surface is the section itself, the copy
   stays inside the normal wrap, and nothing is rounded. */
.conn-band {
  position: relative; overflow: hidden; background: var(--ink-2);
  padding: clamp(56px, 6vw, 92px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.conn-band::after {
  content: ""; position: absolute; left: 50%; top: -340px; width: 900px; height: 900px; border-radius: 50%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(circle, rgba(0, 135, 255, .22), transparent 62%);
}
.conn { position: relative; z-index: 1; }

/* the ring: each node carries its own direction (--x/--y from the build) and
   the two amplitudes below decide how far out it sits, so the same eight
   service links circle the mark at every width instead of flattening into a
   list on a phone */
.orbit { position: relative; --ring-x: 45; --ring-y: 41; height: clamp(320px, 38vw, 420px); margin-bottom: 30px; }
.orbit-ring {
  position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%; transform: translate(-50%, -50%);
}
.orbit-ring.r1 { width: 58%; height: 68%; }
.orbit-ring.r2 { width: 86%; height: 100%; border-color: rgba(255, 255, 255, .045); }
.orbit-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 9px; text-align: center; }
.oc-mark {
  width: 62px; height: 62px; border-radius: 19px; display: grid; place-items: center; margin-bottom: 4px;
  background: #fff; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.55rem; box-shadow: var(--sh-3);
}
.oc-name { font-family: var(--display); font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.oc-kicker { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7c7c85; }
.orbit-node {
  position: absolute; width: 108px;
  left: calc(50% + var(--x) * var(--ring-x) * 1%);
  top: calc(50% + var(--y) * var(--ring-y) * 1%);
  transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 8px; text-align: center;
}
.orbit-node .on-tile {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.orbit-node .on-tile .ico { width: 22px; height: 22px; }
.orbit-node:hover .on-tile { transform: translateY(-3px); background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .26); }
.orbit-node small { font-size: .68rem; line-height: 1.3; color: #9a9aa3; }
.orbit-node:hover small { color: #fff; }
/* the tone classes are pastel on light surfaces; on ink they tint the icon */
.on-tile.tone-blue { background: rgba(0, 135, 255, .16); border-color: rgba(0, 135, 255, .34); color: #6bbcff; }
.on-tile.tone-teal { background: rgba(0, 163, 163, .16); border-color: rgba(0, 163, 163, .34); color: #4fd3d3; }
.on-tile.tone-violet { background: rgba(99, 62, 142, .22); border-color: rgba(140, 105, 180, .38); color: #c4a9e6; }
.on-tile.tone-rose { background: rgba(220, 12, 127, .16); border-color: rgba(240, 90, 175, .34); color: #ff86c8; }
.on-tile.tone-amber { background: rgba(255, 185, 0, .14); border-color: rgba(255, 185, 0, .32); color: #ffd35c; }

.conn-head { max-width: 760px; margin: 0 auto; text-align: center; }
.conn-head .eyebrow { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #e4e4e7; }
.conn-head .h2 { color: #fff; }
.conn-head .h2 em { display: block; font-style: normal; color: var(--accent); }
.conn-head .sub { margin-top: 16px; color: #a4a4ad; }
.conn-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: 30px; }
.conn-link {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; color: #fff;
  font-weight: 600; font-size: .92rem; border-bottom: 1px solid rgba(255, 255, 255, .32);
}
.conn-link .ico { width: 15px; height: 15px; }
.conn-link:hover { border-color: #fff; }
.conn-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px);
  margin-top: clamp(42px, 5vw, 64px); padding-top: clamp(32px, 3.6vw, 44px);
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.conn-col { display: grid; gap: 10px; align-content: start; justify-items: center; text-align: center; }
.conn-col .ico-box { margin: 0 0 6px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.conn-col h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.conn-col p { font-size: .9rem; line-height: 1.66; color: #a4a4ad; }
.conn-more { color: #fff; border-bottom-color: rgba(255, 255, 255, .3); font-size: .86rem; }
.conn-more:hover { color: #fff; border-bottom-color: #fff; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--ink-2); color: #9a9aa3; padding: 72px 0 30px; }
/* base link colour, which the untouched copyright row below still reads */
.site-footer a { color: #9a9aa3; font-size: .88rem; }
.site-footer a:hover { color: #fff; }
/* Five equal columns, sentence-case titles and a roomy link pitch — the shape of
   laravel.webservicers.com's footer, wearing our dark chrome. The last column is
   the partnership one: claim, badges, social row. */
.footer-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.footer-col h5 { font-family: var(--display); font-size: .95rem; font-weight: 600; letter-spacing: -.018em; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { display: inline-block; padding: 5px 0; font-size: .9rem; line-height: 1.5; }
.partner-text { font-size: .82rem; line-height: 1.55; margin-bottom: 16px; max-width: 30ch; }
.badges { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .7rem; font-weight: 700; line-height: 1.15; color: #e4e4e7;
}
.badge .ico { width: 13px; height: 13px; flex: none; }
.footer-social { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.footer-social a { padding: 7px; margin: -7px; color: #8d8d96; }
.footer-social a:hover { color: var(--accent); }
.footer-social .ico { width: 15px; height: 15px; }
.partner {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .12); font-size: .81rem; color: #e4e4e7; font-weight: 500;
}
/* three tracks, so the legal links sit dead centre however wide the copyright
   line or the preferences pill next to them happens to be */
.footer-bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px 26px; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; font-size: .81rem;
}
.footer-copy { justify-self: start; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; justify-self: center; }
.partner-btn {
  justify-self: end; background: none; font-family: inherit; cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.partner-btn:hover { border-color: rgba(255, 255, 255, .34); color: #fff; }
.partner-btn .ico { width: 15px; height: 15px; color: #9a9aa3; }

/* ------------------------------------------------------------ prefs dialog */
/* Deliberately small: a card the width of our other panels, our eyebrow pill,
   our segmented control and one full-width button. Fourteen options fit on a
   screen, so there is no search field and nothing scrolls inside the card. */
.prefs {
  position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 20px;
  background: rgba(12, 13, 13, .44); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s;
}
.prefs.is-open { opacity: 1; visibility: visible; }
.prefs-card {
  width: min(400px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 18px 18px 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh-3);
  transform: translateY(12px) scale(.99); transition: transform .24s cubic-bezier(.2, .7, .3, 1);
}
.prefs.is-open .prefs-card { transform: none; }
.prefs-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prefs-top .eyebrow { margin-bottom: 0; padding: 6px 12px; font-size: .62rem; }
.prefs-close {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink);
  transition: background .18s ease;
}
.prefs-close:hover { background: var(--soft); }
.prefs-close .ico { width: 14px; height: 14px; }
.prefs-title { margin-top: 14px; font-family: var(--display); font-size: 1.18rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.prefs-sub { margin-top: 6px; font-size: .82rem; line-height: 1.55; color: var(--muted); }
.prefs-tabs { display: flex; gap: 4px; margin-top: 16px; padding: 4px; background: var(--soft-2); border-radius: var(--radius-pill); }
.prefs-tab {
  flex: 1; height: 32px; border: 0; border-radius: var(--radius-pill); background: none; cursor: pointer;
  font-family: var(--font); font-size: .82rem; font-weight: 600; color: var(--body);
  transition: background .16s ease, color .16s ease;
}
.prefs-tab.is-active { background: var(--paper); color: var(--ink); box-shadow: var(--sh-1); }
.prefs-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.prefs-panel { display: none; padding-top: 14px; }
.prefs-panel.is-active { display: block; }
.prefs-grid { display: grid; gap: 8px; }
.pref-opt {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; text-align: left; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; transition: border-color .16s ease, background .16s ease;
}
.pref-opt:hover { border-color: #dedddb; background: var(--soft); }
.pref-opt b { font-size: .88rem; font-weight: 600; color: var(--ink); }
.pref-opt small { margin-left: auto; font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.po-mark { width: 16px; height: 16px; flex: none; border: 1.5px solid #d5d4d2; border-radius: 50%; transition: border-color .16s ease; }
.pref-opt[aria-checked="true"] { border-color: var(--accent-line); background: var(--accent-soft); }
.pref-opt[aria-checked="true"] .po-mark { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--paper); }
.pref-opt[aria-checked="true"] small { color: var(--accent-dark); }
.pref-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.prefs-card .btn { margin-top: 14px; height: 44px; font-size: .88rem; }

/* -------------------------------------------------------------- cookie bar */
.cookie-notice {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 150;
  max-width: 560px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--sh-4); padding: 22px 24px;
}
.cookie-notice.is-hidden { display: none; }
.cookie-notice h4 { font-size: .96rem; margin-bottom: 7px; }
.cookie-notice p { font-size: .85rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }

/* ------------------------------------------------------------------- form */
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--accent); }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 17px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--paper); color: var(--ink); font-size: .93rem; transition: border-color .17s, box-shadow .17s;
}
.textarea { height: auto; min-height: 132px; padding: 14px 17px; resize: vertical; line-height: 1.6; border-radius: var(--radius); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e96' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 17px; padding-right: 42px; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(0, 135, 255, .13); }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.err-msg { display: none; font-size: .78rem; color: var(--rose); font-weight: 500; padding-left: 6px; }
.field.is-invalid .input, .field.is-invalid .textarea, .field.is-invalid .select { border-color: var(--rose); }
.field.is-invalid .err-msg { display: block; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; }
.check-row input { margin-top: 3px; accent-color: var(--ink); width: 16px; height: 16px; }
.form-ok {
  display: none; background: var(--green-soft); border: 1px solid #b9e6d1; color: #00714a;
  border-radius: var(--radius); padding: 18px 20px; font-size: .93rem; font-weight: 500;
}
.form-ok.is-on { display: block; animation: fade .3s ease; }
.form-note { font-size: .79rem; color: var(--muted); margin-top: 14px; }
.form-note a { color: var(--body); text-decoration: underline; }

/* ------------------------------------------------------------------- auth */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.auth-aside { background: var(--ink-2); color: #9a9aa3; padding: 52px 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-aside::after { content: ""; position: absolute; left: -140px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 135, 255, .34), transparent 68%); }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside h2 { color: #fff; font-size: 1.7rem; max-width: 380px; }
.auth-aside p { color: #a4a4ad; margin-top: 14px; max-width: 400px; }
.auth-main { padding: 52px 56px; display: flex; flex-direction: column; justify-content: center; background: var(--paper); }
.auth-box { width: 100%; max-width: 420px; margin-inline: auto; }
.auth-list { display: grid; gap: 18px; margin-top: 36px; }
.auth-list li { display: flex; gap: 12px; align-items: flex-start; }
.auth-list b { color: #fff; font-size: .93rem; display: block; font-family: var(--display); font-weight: 600; }
.auth-list p { color: #8e8e96; font-size: .85rem; margin-top: 2px; }
.auth-list .ico-box { width: 36px; height: 36px; border-radius: 12px; margin: 0; flex: none; background: rgba(255, 255, 255, .09); color: #fff; }
.auth-list .ico-box .ico { width: 17px; height: 17px; }
.pw-row { position: relative; }
.pw-row button { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; border-radius: 50%; }
.pw-row button:hover { color: var(--ink); background: var(--soft); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .77rem; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sso-row { display: grid; gap: 10px; }
.sso { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper); font-weight: 600; font-size: .9rem; color: var(--ink); }
.sso:hover { border-color: var(--ink); background: var(--paper); color: var(--ink); }
.sso .ico { width: 17px; height: 17px; }

/* ----------------------------------------------------------------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .slider-panel.is-active { animation: none; }
  .lc-scene.is-playing .sc-plate { animation: none; }
  .prefs-card { transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------- legal prose */
.prose h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.05rem; margin: 26px 0 8px; }
.prose p, .prose li { font-size: .96rem; line-height: 1.74; }
.prose p + p { margin-top: 14px; }
.prose ul { display: grid; gap: 9px; margin: 14px 0 0; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

.toc { position: sticky; top: calc(var(--nav-h) + 28px); }
.toc-head { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* ---------------------------------------------------------------- article */
.post-card { display: grid; grid-template-rows: auto 1fr auto; gap: 13px; padding: 24px; }
.post-top { display: flex; align-items: center; gap: 10px; }
.post-thumb { height: 140px; border-radius: var(--radius); background: linear-gradient(135deg, var(--soft-2), #fff); border: 1px solid var(--line-soft); display: grid; place-items: center; color: var(--muted); }
.post-card h3 { font-size: 1.05rem; line-height: 1.3; }
.post-meta { font-size: .78rem; color: var(--muted); }

/* ----------------------------------------------------------------- compare */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .9rem; background: var(--paper); }
table.cmp th, table.cmp td { padding: 15px 19px; border-bottom: 1px solid var(--line-soft); text-align: left; }
table.cmp thead th { background: var(--soft); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 600; position: sticky; top: 0; }
table.cmp thead th.is-you { color: var(--accent-ink); background: var(--accent-soft); }
table.cmp tbody th { font-weight: 600; color: var(--ink); }
table.cmp td { color: var(--body); }
table.cmp tr:last-child td, table.cmp tr:last-child th { border-bottom: 0; }
table.cmp tbody tr:hover { background: var(--soft); }
.yes { color: var(--green); } .no { color: var(--muted); }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  :root { --sect: 72px; --nav-h: 84px; }
  .nav-links { display: none; }
  .nav-bar { justify-content: space-between; }
  .nav-toggle { display: grid; }
  .hero-grid, .g-64, .g-46 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .g-sidebar { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .side-nav, .toc { position: static; grid-template-columns: repeat(2, 1fr); }
  .g4, .g5, .ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .win-with-side { grid-template-columns: 1fr; }
  .win-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 0 0 10px; }
  .win-side button { width: auto; white-space: nowrap; }
  .band, .band-2, .band-ink { border-radius: 30px; }
  .cta { border-radius: 30px; }
  /* two columns still fit, the visual just gives some width back to the copy */
  .slider-panel.is-active { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  /* A card taller than the screen cannot hold to the desktop's top pin: stuck by
     its top edge, everything below the fold would stay off-screen for the whole
     time it was pinned. So here the pin is the lower of the two lines — the
     desktop one, or the one that leaves the card's own height flush with the
     fold (--card-h, measured in main.js). A card that fits keeps the desktop
     behaviour untouched; a tall one scrolls fully past first, every part of it
     read in the page's own scroll, then holds with its bottom edge at the fold
     while the next slides over it. Same 18px + 12px per layer, so the deck of
     previous edges still accumulates, and nothing scrolls inside a card. */
  .layer-card {
    top: min(var(--nav-h) + 18px + var(--i) * 12px, 100vh - var(--card-h, 620px) - 18px - var(--i) * 12px);
    top: min(var(--nav-h) + 18px + var(--i) * 12px, 100svh - var(--card-h, 620px) - 18px - var(--i) * 12px);
  }
  .lc-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
  .sc-glass { position: static; margin-top: 14px; }
  .sc-plate { min-height: 340px; }
}
/* Below this the text column cannot hold a two-up tick list, so the panel
   stacks with the copy leading. Its own breakpoint because no other
   component on the site makes that judgement at this width. */
@media (max-width: 900px) {
  .slider-panel.is-active { grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; }
  .sp-visual { order: 2; }
  /* the legal links alone need ~370px, which leaves the flanking tracks too
     narrow for the copyright line and the preferences pill to hold one line */
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; gap: 18px; text-align: center; }
  .footer-copy, .footer-legal, .partner-btn { justify-self: center; }
  /* three columns of feature copy inside a padded ink band get too narrow to
     read below this width */
  .conn-cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  /* stacked, each block keeps the same centred build and only gives up its
     column: capped at 460px it holds a readable measure instead of stretching
     across the whole band */
  .conn-col { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; --sect: 54px; --nav-h: 76px; --radius-xl: 24px; --inset: 12px; }
  .hero { padding: 46px 0 34px; }
  .g2, .g3, .g4, .g5, .tick-list.two, .incl-strip { grid-template-columns: minmax(0, 1fr); }
  /* the four ad services stay two-up on a phone, so each card gives up about
     a third of its width: the tile, the price chip and the name all step down
     one size so the tinted header row still holds one line */
  .ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ad-card { padding: 10px 10px 16px; border-radius: 18px; }
  .ad-top { padding: 9px; gap: 6px; border-radius: 12px; }
  .ad-ico { width: 34px; height: 34px; border-radius: 10px; }
  .ad-ico .ico { width: 17px; height: 17px; }
  .ad-chip { font-size: .58rem; letter-spacing: .06em; }
  .ad-name { font-size: .92rem; margin-top: 14px; }
  .ad-tag { font-size: .76rem; }
  .ad-list { gap: 8px; margin-top: 12px; }
  .ad-list li { font-size: .78rem; padding-left: 13px; }
  .ad-more { padding-top: 14px; font-size: .76rem; }
  .cat-row { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 17px; }
  .cat-desc { display: none; }
  .cat-go { display: none; }
  .cta { padding: 34px 22px; }
  .cta-split { grid-template-columns: 1fr; gap: 24px; }
  .ent-band { grid-template-columns: 1fr; padding: 26px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .footer-col--partner { grid-column: 1 / -1; }
  .site-footer { padding: 46px 0 24px; }
  .nav-bar { gap: 12px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { display: none; }
  .kpis { grid-template-columns: 1fr; }
  .side-nav { grid-template-columns: 1fr; }
  .auth-main, .auth-aside { padding: 34px 20px; }
  .cookie-notice { left: 12px; right: 12px; bottom: 12px; }
  .sect-head { margin-bottom: 32px; }
  .btn { height: 46px; }
  .btn-lg { height: 52px; padding: 0 24px; }
  .faq-list { padding: 4px 16px; }
  .mobile-panel { border-radius: 22px; padding: 4px 16px 18px; }
  .tab-btn { height: 42px; padding: 0 15px; font-size: .87rem; }
  .tab-btn .ico { width: 15px; height: 15px; }
  .sn-btn { width: 42px; height: 42px; }
  .sp-actions .btn { height: 44px; }
  .sc-plate { min-height: 260px; padding: 14px; }
  .sc-player { min-height: 230px; }
  .sc-note { max-width: 44%; font-size: .55rem; letter-spacing: .06em; }
  .lc-callout { margin: 18px 0; }
  .lc-actions .btn { height: 44px; }
  /* the ring keeps circling on a phone: the box goes square, the amplitudes
     pull the nodes inward and the tiles shrink, so eight labels still fit
     without touching one another or the brand mark */
  .orbit { --ring-x: 39; --ring-y: 36; height: clamp(300px, 96vw, 380px); margin-bottom: 34px; }
  .orbit-node { width: 74px; gap: 5px; }
  .orbit-node .on-tile { width: 38px; height: 38px; border-radius: 12px; }
  .orbit-node .on-tile .ico { width: 17px; height: 17px; }
  .orbit-node small { font-size: .58rem; letter-spacing: -.01em; }
  .oc-mark { width: 52px; height: 52px; border-radius: 16px; font-size: 1.3rem; }
  .conn-actions .btn-lg { height: 48px; padding: 0 22px; }
}
@media (max-width: 520px) {
  .is-feature { padding: 18px 16px; gap: 14px; }
  .is-feature .ico-box { width: 44px; height: 44px; border-radius: 13px }
  .is-feature .ico-box .ico { width: 21px; height: 21px }
  .feat-go { width: 34px; height: 34px }
  .prefs { padding: 14px; }
}
@media (max-width: 400px) {
  /* Its own breakpoint because of one row: at this width a card is ~117px, so
     the tinted header has to hold the tile and the price chip side by side in
     ~80px. Both step down once more rather than letting the chip poke out of
     the tint. */
  .ad-grid { gap: 10px; }
  .ad-card { padding: 8px 8px 14px; }
  .ad-top { padding: 8px; gap: 4px; }
  .ad-ico { width: 30px; height: 30px; border-radius: 9px; }
  .ad-ico .ico { width: 15px; height: 15px; }
  .ad-chip { font-size: .54rem; letter-spacing: .04em; }
  .ad-name { font-size: .86rem; }
  .ad-tag { font-size: .72rem; }
  .ad-list li { font-size: .74rem; padding-left: 12px; }
  .ad-more { font-size: .72rem; }
}
@media (min-width: 1025px) and (max-width: 1240px) {
  .nav-links { padding: 5px 8px; }
  .nav-trigger { padding: 0 11px; font-size: .86rem; }
}

@media print {
  .site-header, .page-nav, .site-footer, .cookie-notice, .mobile-nav, .cta, .conn-band, .prefs { display: none !important; }
  .sect { padding: 18px 0; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { color: #000; font-size: 11pt; }
}
