/* ==========================================================================
   A2Z QR Card — universal stylesheet
   Layout concept: light editorial surfaces broken by two deliberate navy
   bands (product demo, final CTA). The QR "finder" module is the brand's
   recurring geometric unit: logo, markers, layer stacks, focus rings.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  color-scheme: light;

  /* Brand palette (final logo, Nov 2026): navy #0B1F4B, blue #007BFF, cyan #00C3FF. Text and buttons use AA shades of the blue. */
  --deep-900: #0B1F4B;   /* logo navy: dark sections and text */
  --deep-800: #0E2A60;
  --deep-700: #143472;
  --brand:   #006AE0;   /* primary actions: logo blue #007BFF darkened so white text is 5:1 (AA) */
  --brand-logo: #007BFF; /* exact logo blue: decoration only (gradients, bars), never under text */
  --brand-2: #0058BD;
  --brand-on-dark: #00C3FF;   /* logo cyan: icons and accents on dark */
  --brand-ink: #005FCC; /* link text on light, AA (6:1) */
  --brand-tint: #E8F4FF;
  --signal:   #00C3FF;   /* logo cyan: highlights and accents */
  --gold-ink: #0A5E8C; /* cyan-family text on light, AA */
  --gold-tint: #D6F7FF;
  --green:    #18B981;
  --green-ink:#0A7F58;

  /* Neutrals (navy-blue bias) */
  --white:  #FFFFFF;
  --cloud:  #F5F8FC;
  --mist:   #ECF1F8;
  --line:   #E1E7F0;
  --line-2: #CFD8E6;
  --ink:    #0B1B3D;
  --ink-2:  #55627D;
  --ink-3:  #5F6B84;   /* was #7C88A0 (3.6:1); now ≥ 4.5:1 on white and light panels (Phase 11b) */

  /* On dark */
  --on-dark:   #FFFFFF;
  --on-dark-2: #C3CEE6;
  --on-dark-3: #93A2C4;
  --line-dark: rgba(255,255,255,.12);

  /* Semantic */
  --bg: var(--white);
  --fg: var(--ink);
  --focus: var(--brand);

  /* Type */
  --f-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --t-xl: clamp(2.5rem, 1.4rem + 4.4vw, 4.85rem);
  --t-l:  clamp(2rem, 1.3rem + 2.5vw, 3.4rem);
  --t-m:  clamp(1.3rem, 1.1rem + .6vw, 1.6rem);
  --t-body-l: clamp(1.02rem, .97rem + .2vw, 1.15rem);
  --t-body: 1rem;
  --t-s: .875rem;
  --t-xs: .78rem;

  /* Shape: QR module scale */
  --r-mod: 4px;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-device: 44px;

  /* Depth */
  --sh-1: 0 1px 2px rgba(10,31,74,.06), 0 2px 8px rgba(10,31,74,.04);
  --sh-2: 0 2px 4px rgba(10,31,74,.05), 0 12px 32px -8px rgba(10,31,74,.14);
  --sh-3: 0 4px 10px rgba(10,31,74,.08), 0 30px 70px -20px rgba(10,31,74,.35);

  /* Space */
  --sec-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: .28s;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 1031; background: rgba(255,255,255,.92);
}
h1, h2, h3, h4 { font-family: var(--f-display); color: inherit; text-wrap: balance; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }

.container {
  --bs-gutter-x: 0;
  max-width: 1240px;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
@media (min-width: 576px) {
  .container { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
}
@media (min-width: 992px) {
  .container { padding-left: 40px; padding-right: 40px; }
}

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sec-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--signal); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--deep-900); color: #fff; padding: .6rem 1rem; border-radius: var(--r-s);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* Icons: single family (Lucide), inline sprite */
.ic {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.2em;
}

/* ---------- Type scale ---------- */
.display-xl {
  font-size: var(--t-xl);
  font-weight: 760;
  line-height: .98;
  letter-spacing: -0.035em;
}
.display-l {
  font-size: var(--t-l);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.032em;
}
.body-l { font-size: var(--t-body-l); line-height: 1.65; color: var(--ink-2); max-width: 36em; }
.body-l + .body-l { margin-top: 1rem; }
.on-dark-2 { color: var(--on-dark-2); }
.display-l + .body-l { margin-top: 1.25rem; }
.fine { font-size: var(--t-xs); color: var(--ink-3); margin-top: 1.25rem; max-width: 46em; }
.text-center.fine { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn-a {
  --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 44px; padding: .65rem 1.15rem;
  border-radius: 12px; border: 1px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 700; font-size: .95rem; line-height: 1.2; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-a .ic { transition: transform var(--dur) var(--ease); }
.btn-a:hover .ic { transform: translateX(3px); }
.btn-a:active { transform: translateY(1px); }
.btn-lg-a { min-height: 52px; padding: .85rem 1.4rem; font-size: 1rem; }
.btn-primary-a { --b-bg: var(--brand); --b-fg: #fff; --b-bd: var(--brand); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -6px rgba(10,31,74,.55); }
.btn-primary-a:hover { --b-bg: #0058BD; --b-bd: #0058BD; color: #fff; }
.btn-ghost-a { --b-bg: var(--white); }
.btn-ghost-a:hover { --b-bd: var(--ink); color: var(--ink); }
.sec-dark .btn-ghost-a { --b-bg: transparent; --b-fg: #fff; --b-bd: var(--line-dark); }

.mini-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  border: 1px solid var(--line-2); background: var(--white); color: var(--ink);
  font-size: .72rem; font-weight: 700; padding: .3rem .6rem; border-radius: 8px; cursor: pointer;
  transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.mini-btn:hover { border-color: var(--brand); color: var(--brand-ink); }
.mini-btn.is-done { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1030;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .navbar { padding-block: .85rem; }
.brand { padding: 0; margin: 0; display: inline-flex; }
.brand img { height: 34px; width: auto; }
.nav-links { gap: .15rem; }
.nav-links .nav-link {
  color: var(--ink-2); font-weight: 650; font-size: .93rem;
  padding: .5rem .8rem !important; border-radius: 8px; position: relative;
  transition: color var(--dur);
}
.nav-links .nav-link:hover { color: var(--ink); }
.nav-links .nav-link.is-current { color: var(--ink); }
.nav-links .nav-link.is-current::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .15rem; height: 2px;
  background: var(--brand); border-radius: 2px;
}
.nav-toggle {
  border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px;
  display: inline-grid; place-items: center; padding: 0; color: var(--ink);
}
.nav-toggle:focus { box-shadow: none; }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .ic-close, .nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 991.98px) {
  .navbar-collapse { margin-top: .75rem; border-top: 1px solid var(--line); padding-block: .75rem 1rem; }
  .nav-links .nav-link { padding: .8rem .25rem !important; font-size: 1.05rem; border-bottom: 1px solid var(--mist); border-radius: 0; }
  .nav-links .nav-link.is-current::after { display: none; }
  .nav-cta { margin-top: 1rem; }
  .nav-cta .btn-a { width: 100%; min-height: 50px; }
}

/* ---------- Hero (navy stage, product anatomy) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--deep-900); color: var(--on-dark);
  padding-block: clamp(2.75rem, 1.5rem + 4vw, 5rem) 0;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 60% at 82% 38%, rgba(10,31,74,.30), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 1.3px) 0 0 / 24px 24px;
}
.hero-bg-qr { position: absolute; right: -6%; top: 2%; width: min(56vw, 780px); opacity: .07;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); }
.hero-bg-qr .m, .hero-bg-qr .f, .hero-bg-qr .fd { fill: #fff; }
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: .88rem; color: var(--on-dark-2); margin-bottom: 1.5rem;
}
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-on-dark); box-shadow: 0 0 0 4px rgba(0,195,255,.25); }
.display-hero {
  font-size: clamp(2.4rem, 1.1rem + 4.9vw, 5.6rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; color: #fff;
}
.display-hero .ln { display: block; }
.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--on-dark-2); max-width: 33em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero .btn-ghost-a { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.22); }
.hero .btn-ghost-a:hover { --b-bd: #fff; color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.75rem; font-size: .9rem; color: var(--on-dark-2); font-weight: 600; }
.hero-facts li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-facts .ic { color: var(--green); stroke-width: 2.25; }

.hero-body { margin-top: clamp(2rem, 1rem + 2.5vw, 3rem); }
.hero-stage { position: relative; margin: 0; }
.hs-box { position: relative; width: 100%; height: 580px; }
.hs {
  --k: 1;
  position: absolute; left: 0; top: 0; width: 660px; height: 580px;
  transform: scale(var(--k)); transform-origin: top left;
}
.hs-item { position: absolute; }
.hs-floor {
  position: absolute; left: 10px; right: 0; bottom: 6px; height: 46px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent);
  filter: blur(6px);
}
.hs-personal { left: 0; top: 34px; z-index: 1; }
.hs-business { left: 238px; top: 0; z-index: 2; }
.hs-stand { left: 468px; top: 196px; z-index: 3; width: 186px; }
.hs-item .device { box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.12) inset; background: #16326E; }
.hs-item .device::before { background: #16326E; }
.hs-personal .device-hs { --dw: 224px; }
.hs-business .device-hs { --dw: 244px; }
.hs-chip {
  display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 12px 10px;
  font-size: .78rem; font-weight: 750; color: #fff; white-space: nowrap;
  padding: .35rem .7rem; border-radius: 999px; background: rgba(10,31,74,.28); border: 1px solid rgba(110,147,255,.45);
}
.hs-chip .ic { width: 15px; height: 15px; }
.hs-chip-biz { background: rgba(0,195,255,.2); border-color: rgba(0,195,255,.5); }
.device-hs .scr { flex: 1; overflow: hidden; }
.device-hs .p-actions { margin-top: .9em; }
.hs-social { display: flex; justify-content: center; gap: .6em; margin-top: .9em; }
.hs-social i { width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; background: var(--cloud); border: 1px solid var(--line); color: var(--ink-2); }
.hs-social .ic { width: 1.2em; height: 1.2em; }
.hs-open { justify-content: center; margin-top: .4em; }
.device-hs .p-strip { margin-top: .8em; }

/* Desk stand */
.stand-card {
  position: relative; background: #fff; color: var(--ink); border-radius: 18px; padding: 16px 14px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), inset 0 -3px 0 rgba(10,31,74,.06);
}
.stand-card > img { width: 118px; height: auto; display: block; }
.stand-qr { position: relative; width: 132px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stand-qr .scan-line { top: 6px; }
.stand-cta { width: 100%; text-align: center; background: var(--deep-900); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .45rem; border-radius: 999px; }
.stand-acts { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; gap: 2px; }
.stand-acts span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .58rem; font-weight: 700; color: var(--ink-2); }
.stand-acts i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); }
.stand-acts .ic { width: 14px; height: 14px; }
.stand-base {
  display: block; width: 150px; height: 16px; margin: -2px auto 0; border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #C9CFDA, #8F98A8);
}
@media (prefers-reduced-motion: no-preference) {
  .stand-qr .scan-line { animation: scan 2.4s var(--ease) .6s 1 both; }
}

.stage-caption {
  display: flex; align-items: center; gap: .5rem; margin-top: .75rem;
  font-size: .85rem; font-weight: 650; color: var(--on-dark-3);
}
.stage-caption .ic { color: var(--signal); }
.hero-notes, .beam, .hero-wires { display: none; }

/* Desktop and laptop: copy beside the product display */
@media (min-width: 992px) {
  .hero-body { display: grid; grid-template-columns: 470px minmax(0, 1fr); gap: 2rem; align-items: start; }
  .hero-copy { padding-top: .25rem; }
  .stage-caption { justify-content: flex-end; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 991.98px) {
  .hero-stage { max-width: 640px; margin: 3rem auto 0; }
}

/* Header over the navy hero */
.site-header .logo-light { display: none; }
.site-header.is-over-dark { background: rgba(10,31,74,.94); border-bottom-color: transparent; }
.site-header.is-over-dark .logo-dark { display: none; }
.site-header.is-over-dark .logo-light { display: block; }
.site-header.is-over-dark .nav-links .nav-link { color: var(--on-dark-2); }
.site-header.is-over-dark .nav-links .nav-link:hover, .site-header.is-over-dark .nav-links .nav-link.is-current { color: #fff; }
.site-header.is-over-dark .nav-toggle { border-color: var(--line-dark); color: #fff; }
.site-header.is-over-dark :focus-visible { outline-color: var(--signal); }
@media (max-width: 991.98px) {
  .site-header.is-over-dark .navbar-collapse { border-top-color: var(--line-dark); }
  .site-header.is-over-dark .nav-links .nav-link { border-bottom-color: var(--line-dark); }
}
html.top-dark body::before { background: var(--deep-900); }

/* ---------- Statement: dynamic code ---------- */
.sec-statement { background: var(--brand-tint); overflow: clip; }
.statement { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem, 1rem + 4vw, 5rem); align-items: center; }
.display-statement {
  font-size: clamp(2.8rem, 1.3rem + 5vw, 6.4rem);
  font-weight: 800; line-height: .98; letter-spacing: -0.045em; color: var(--ink);
}
.display-statement .ln { display: block; }
.st-copy .body-l { margin-top: 2rem; max-width: 34em; }
.st-visual { background: var(--white); border-radius: var(--r-l); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); box-shadow: var(--sh-2); }
.st-code { display: flex; align-items: center; gap: 1rem; }
.st-code .qr { width: 84px; flex: none; padding: 6px; border: 1px solid var(--line); border-radius: 10px; }
.st-code p { display: flex; flex-direction: column; gap: .15rem; }
.st-code b { font-weight: 750; }
.st-code span { color: var(--ink-2); font-size: .88rem; }
.st-log { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.st-log li { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; padding-block: .9rem; border-bottom: 1px solid var(--mist); }
.st-when { font-size: .82rem; font-weight: 700; color: var(--ink-3); padding-top: .1rem; }
.st-what { display: flex; flex-direction: column; font-weight: 700; font-size: .95rem; }
.st-what del { color: var(--ink-3); font-weight: 500; font-size: .86rem; text-decoration-color: var(--ink-3); }
.st-what ins { text-decoration: none; color: var(--green-ink); font-weight: 650; font-size: .86rem; }
.st-foot { margin-top: 1rem; display: flex; align-items: center; gap: .5rem; color: var(--green-ink); font-weight: 700; font-size: .9rem; }
@media (max-width: 991.98px) { .statement { grid-template-columns: 1fr; } }


/* ---------- Device (phone) ---------- */
.device {
  width: var(--dw, 300px); max-width: 100%;
  aspect-ratio: 9 / 18.6;
  border-radius: var(--r-device);
  background: var(--deep-900);
  padding: 9px;
  box-shadow: var(--sh-3), 0 0 0 1px rgba(255,255,255,.06) inset;
  position: relative;
  font-size: calc(var(--dw, 300px) / 23);
  z-index: 2;
}
.device::before { /* speaker notch */
  content: ""; position: absolute; top: 17px; left: 50%; width: 30%; height: 18px;
  transform: translateX(-50%); border-radius: 12px; background: var(--deep-900); z-index: 3;
}
.device-screen {
  height: 100%; border-radius: calc(var(--r-device) - 9px);
  background: var(--white); overflow: hidden;
  display: flex; flex-direction: column; position: relative;
  color: var(--ink);
}

/* Shared profile UI (scaled by device font-size) */
.scr { padding: 0 1.1em 1em; display: flex; flex-direction: column; }
.p-cover { height: 6.6em; margin: 0 -1.1em; flex: none; }
.p-cover-personal {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.35) 1px, transparent 1.3px) 0 0 / 12px 12px,
    linear-gradient(135deg, #0A1F4A, #00C3FF 60%, #B9AEFF);
}
.p-cover-business {
  background:
    radial-gradient(circle at 1px 1px, rgba(0,195,255,.35) 1px, transparent 1.3px) 0 0 / 12px 12px,
    linear-gradient(135deg, #0A1F4A, #143472);
}
.p-head { display: flex; align-items: flex-end; justify-content: space-between; margin-top: -2.4em; }
.avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 2.6em; height: 2.6em; border-radius: 30%;
  background: var(--brand-tint); color: var(--brand-ink);
  font-family: var(--f-display); font-weight: 760; font-size: 1em; letter-spacing: -.02em;
}
.avatar-lg { width: 4.4em; height: 4.4em; font-size: 1.05em; border: .22em solid #fff; box-shadow: var(--sh-1); }
.avatar-biz { background: var(--deep-900); color: var(--signal); font-size: .92em; }
.avatar-sm { width: 2.3em; height: 2.3em; font-size: .78em; }
.sample-tag {
  display: inline-block; font-family: var(--f-body);
  font-size: .62rem; font-weight: 750; letter-spacing: .02em;
  color: var(--ink-2); background: var(--mist); border: 1px solid var(--line);
  padding: .15em .55em; border-radius: 6px; line-height: 1.5; vertical-align: middle;
}
.device .sample-tag { font-size: .62em; margin-bottom: .3em; }
.p-name { font-family: var(--f-display); font-weight: 740; font-size: 1.35em; letter-spacing: -.02em; margin-top: .55em; line-height: 1.15; }
.p-role { font-size: .82em; color: var(--ink-2); margin-top: .2em; font-weight: 600; }
.p-bio { font-size: .78em; color: var(--ink-2); margin-top: .6em; line-height: 1.45; }
.p-open { font-size: .78em; color: var(--green-ink); font-weight: 700; margin-top: .55em; display: flex; align-items: center; gap: .45em; }
.dot-open { width: .5em; height: .5em; border-radius: 50%; background: var(--green); }
.p-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em; margin-top: 1em; }
.p-act {
  display: flex; flex-direction: column; align-items: center; gap: .35em;
  font-size: .64em; font-weight: 700; color: var(--ink-2);
  padding: .8em .2em .65em; border-radius: .9em; background: var(--cloud); border: 1px solid var(--line);
}
.p-act .ic { width: 1.7em; height: 1.7em; color: var(--brand); }
.p-btn {
  display: flex; align-items: center; justify-content: center; gap: .5em;
  margin-top: .8em; padding: .75em; border-radius: .8em;
  background: var(--brand); color: #fff; font-weight: 750; font-size: .8em;
}
.p-list { margin-top: .8em; border-top: 1px solid var(--line); }
.p-row {
  display: flex; align-items: center; gap: .6em; padding: .7em .1em;
  font-size: .78em; font-weight: 650; border-bottom: 1px solid var(--line);
}
.p-row .ic { color: var(--ink-2); }
.p-row .ic-end { margin-left: auto; color: var(--ink-3); }

/* ---------- QR rendering ---------- */
.qr { line-height: 0; }
.qr svg { width: 100%; height: auto; display: block; }
.qr .m { fill: var(--deep-900); }
.qr .f { fill: var(--deep-900); }
.qr .fd { fill: var(--brand); }

/* Printed QR card (physical) */
.qr-card {
  width: 316px; aspect-ratio: 85.6 / 54;
  border-radius: 14px; padding: 16px 18px;
  background:
    radial-gradient(120% 140% at 0% 0%, #143472 0%, transparent 60%),
    var(--deep-900);
  color: #fff; box-shadow: var(--sh-3);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.qr-card-top img { height: 20px; width: auto; display: block; }
.qr-card-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.qc-name { font-family: var(--f-display); font-weight: 720; font-size: 1.15rem; letter-spacing: -.02em; }
.qc-role { font-size: .78rem; color: var(--on-dark-2); }
.qc-hint { font-size: .68rem; color: var(--signal); margin-top: .7rem; font-weight: 700; letter-spacing: .02em; }
.qr-wrap { position: relative; width: 108px; padding: 8px; border-radius: 10px; background: #fff; overflow: hidden; flex: none; }
.scan-line {
  position: absolute; left: 0; right: 0; height: 2px; top: 8px;
  background: var(--signal); box-shadow: 0 0 10px 2px rgba(0,195,255,.6);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .scan-line { animation: scan 2.4s var(--ease) .6s 1 both; }
  @keyframes scan {
    0% { top: 8px; opacity: 0; }
    10% { opacity: 1; }
    80% { top: calc(100% - 10px); opacity: 1; }
    100% { top: calc(100% - 10px); opacity: 0; }
  }
}

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec-y); position: relative; }
.sec-cloud { background: var(--cloud); }
.sec-lavender { background: var(--brand-tint); }
.sec-dark { background: var(--deep-900); color: var(--on-dark); }
.sec-dark .display-l { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.sec-head .body-l { margin-top: 1.1rem; }
.sec-head-split { max-width: none; display: grid; grid-template-columns: 1fr; gap: 1.25rem 4rem; align-items: end; }
.sec-head-split .body-l { margin-top: 0; }
@media (min-width: 992px) { .sec-head-split { grid-template-columns: 1.1fr 1fr; } }
.sec-head-center { margin-inline: auto; text-align: center; }
.sec-head-center .body-l { margin-inline: auto; }

/* ---------- Problem ---------- */
.sec-problem .display-l { max-width: 13ch; margin-bottom: 1.4rem; }
.thread {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem; align-items: center;
  background: var(--cloud); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: clamp(1.25rem, .8rem + 2vw, 2rem);
}
.thread-head { font-size: .8rem; font-weight: 750; color: var(--ink-3); margin-bottom: .9rem; }
.thread-col { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.bubble {
  background: var(--white); border: 1px solid var(--line);
  padding: .6rem .85rem; border-radius: 14px 14px 14px 4px;
  font-size: .9rem; line-height: 1.4; max-width: 30ch; box-shadow: var(--sh-1);
}
.bubble:nth-child(odd) { margin-left: .6rem; }
.file-chip {
  display: flex; align-items: center; gap: .4rem; margin-top: .45rem;
  font-size: .78rem; font-weight: 650; color: var(--ink-2);
  background: var(--cloud); border: 1px dashed var(--line-2); border-radius: 8px; padding: .3rem .5rem;
}
.answer-card {
  background: var(--deep-900); color: #fff; border-radius: var(--r-m);
  padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--sh-2); position: relative;
}
.answer-card::before { /* connector from the thread */
  content: ""; position: absolute; left: -1.5rem; top: 50%; width: 1.5rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 4px, transparent 4px 8px);
}
.answer-card .qr { width: 96px; background: #fff; padding: 7px; border-radius: 8px; }
.answer-title { font-family: var(--f-display); font-weight: 720; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.15; }
.answer-text { color: var(--on-dark-2); font-size: .9rem; margin-top: .4rem; }
@media (max-width: 767.98px) {
  .thread { grid-template-columns: 1fr; }
  .answer-card::before { left: 50%; top: -1.5rem; width: 2px; height: 1.5rem; background: repeating-linear-gradient(180deg, var(--brand) 0 4px, transparent 4px 8px); }
  .answer-card { flex-direction: row; align-items: center; }
  .answer-card .qr { width: 84px; flex: none; }
}

.principles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
  margin-top: clamp(3.5rem, 2rem + 4vw, 5.5rem); padding-top: 2.5rem; border-top: 1px solid var(--line);
}
.principle h3 { font-size: 1.25rem; font-weight: 720; letter-spacing: -.015em; margin: .9rem 0 .5rem; }
.principle p { color: var(--ink-2); font-size: .95rem; max-width: 34ch; }
@media (max-width: 767.98px) { .principles { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Finder-pattern marker: the brand's module unit */
.finder-ic {
  display: block; width: 22px; height: 22px; border-radius: 6px;
  border: 3px solid var(--deep-900); position: relative;
}
.finder-ic::after { content: ""; position: absolute; inset: 3px; border-radius: 2px; background: var(--brand); }

/* ---------- Segmented control ---------- */
.seg {
  display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px;
  background: var(--mist); border: 1px solid var(--line);
}
.seg-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 0; background: transparent; color: var(--ink-2);
  padding: .55rem 1rem; border-radius: 9px; font-weight: 700; font-size: .92rem; cursor: pointer; min-height: 40px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur);
}
.seg-btn:hover { color: var(--ink); }
.seg-btn.is-active { background: var(--white); color: var(--ink); box-shadow: var(--sh-1); }
.seg-sm .seg-btn { padding: .35rem .7rem; font-size: .8rem; min-height: 32px; }
.seg-dark { background: rgba(255,255,255,.06); border-color: var(--line-dark); margin-top: 2rem; }
.seg-dark .seg-btn { color: var(--on-dark-2); }
.seg-dark .seg-btn:hover { color: #fff; }
.seg-dark .seg-btn.is-active { background: #fff; color: var(--deep-900); }

/* ---------- Demo ---------- */
.sec-demo { overflow: hidden; }
.sec-demo::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
          mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
  pointer-events: none;
}
.sec-demo .container { position: relative; }
.demo-notes { display: flex; flex-direction: column; margin-top: 2rem; border-top: 1px solid var(--line-dark); }
.note {
  text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line-dark);
  padding: 1.05rem 0 1.05rem 1.25rem; cursor: pointer; position: relative; color: var(--on-dark-2);
  display: flex; flex-direction: column; gap: .3rem; transition: color var(--dur);
}
.note::before {
  content: ""; position: absolute; left: 0; top: 1.35rem; width: 8px; height: 8px; border-radius: 2px;
  background: var(--on-dark-3); transition: background var(--dur), transform var(--dur);
}
.note-title { font-weight: 750; font-size: 1rem; color: #fff; }
.note-text { font-size: .9rem; line-height: 1.5; }
.note:not(.is-active) .note-text { display: none; }
.note:not(.is-active) .note-title { color: var(--on-dark-2); }
.note:hover .note-title { color: #fff; }
.note.is-active::before { background: var(--signal); transform: scale(1.25); }

.demo-stage {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 2.5rem;
  padding-block: 1rem;
}
.device-demo { --dw: 320px; background: #16326E; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1) inset; }
.device-demo::before { background: #16326E; }
.device-demo .device-screen { border-radius: calc(var(--r-device) - 9px); }
.demo-qr {
  width: 200px; background: #fff; color: var(--ink); border-radius: var(--r-m); padding: 1rem;
  box-shadow: var(--sh-3); align-self: flex-end; margin-bottom: 3rem;
}
.demo-qr-name { font-family: var(--f-display); font-weight: 720; font-size: 1.05rem; margin-top: .75rem; letter-spacing: -.01em; }
.demo-qr-note { font-size: .72rem; color: var(--ink-2); margin-top: .3rem; line-height: 1.45; }

.scr-viewport { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; position: relative; }
.scr-viewport::-webkit-scrollbar { display: none; }
.scr-viewport .scr { min-height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .scr.is-entering { animation: scrIn .32s var(--ease) both; }
  @keyframes scrIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
.scr-title { font-family: var(--f-display); font-weight: 740; font-size: 1.3em; letter-spacing: -.02em; margin-top: 2.6em; }
.scr-sub { font-size: .76em; color: var(--ink-2); margin-top: .2em; }
.scr-note { font-size: .66em; color: var(--ink-3); margin-top: auto; padding-top: 1em; line-height: 1.45; }
.scr-toast {
  margin-top: .9em; font-size: .7em; line-height: 1.45; font-weight: 650;
  background: var(--brand-tint); color: var(--brand-ink); padding: .7em .8em; border-radius: .7em;
}

.tabbar {
  flex: none; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); background: var(--white); padding: .4em .4em .9em;
}
.tb {
  display: flex; flex-direction: column; align-items: center; gap: .25em;
  border: 0; background: transparent; font-size: .62em; font-weight: 700; color: var(--ink-3);
  padding: .45em 0; border-radius: .6em; cursor: pointer; min-height: 40px;
}
.tb .ic { width: 1.9em; height: 1.9em; }
.tb.is-active { color: var(--brand-ink); }
.tb:hover { color: var(--ink); }

.pay-qr { width: 58%; margin: 1.1em auto .9em; padding: .7em; border: 1px solid var(--line); border-radius: 1em; }
.pay-qr .fd { fill: var(--brand); }
.kv {
  display: flex; align-items: center; gap: .6em; padding: .7em .1em; border-top: 1px solid var(--line);
  font-size: .76em;
}
.kv-k { color: var(--ink-3); font-weight: 650; min-width: 4.2em; }
.kv-v { font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.kv .mini-btn { margin-left: auto; font-size: .9em; }

.doc-list { margin-top: 1em; display: flex; flex-direction: column; gap: .5em; }
.doc-list li {
  display: flex; align-items: center; gap: .7em; padding: .7em; border: 1px solid var(--line); border-radius: .8em;
  font-size: .76em;
}
.doc-list .ic { color: var(--ink-2); margin-left: auto; }
.doc-ic {
  width: 2.6em; height: 2.6em; display: grid; place-items: center; flex: none; border-radius: .55em;
  background: #FDECEA; color: #B4321F; font-size: .72em; font-weight: 800; letter-spacing: .02em;
}
.doc-ic-lock { background: var(--mist); color: var(--ink-2); }
.doc-ic-lock .ic { margin: 0; width: 1.5em; height: 1.5em; }
.doc-meta { display: flex; flex-direction: column; min-width: 0; }
.doc-meta small, .cat-meta small, .team-list small { color: var(--ink-2); font-size: .88em; font-weight: 600; }
.req { margin-left: auto; font-size: .85em; font-weight: 750; color: var(--brand-ink); }

.gal { display: grid; grid-template-columns: 1fr 1fr; gap: .45em; margin-top: 1em; }
.gal-t { aspect-ratio: 1; border-radius: .7em; position: relative; overflow: hidden; }
.gal-t i { position: absolute; left: .5em; bottom: .45em; font-style: normal; font-size: .62em; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.g1 { grid-column: span 2; aspect-ratio: 2 / 1;
  background: linear-gradient(180deg, transparent 58%, #8A6B52 58% 62%, #B89478 62%), linear-gradient(90deg, #E9E2D8 0 30%, #D7CEC2 30% 31%, #EFE9E1 31%); }
.g2 { background: linear-gradient(160deg, #2F3B35 0 45%, #5E7A66 45% 70%, #C9B79C 70%); }
.g3 { background: linear-gradient(0deg, #C2A27F 0 35%, #F1ECE4 35%), radial-gradient(circle at 70% 30%, #E7B860 0 12%, transparent 13%); background-blend-mode: multiply; }
.g4 { background: linear-gradient(90deg, #1E2A44 0 40%, #3B4C70 40% 42%, #DAD3C8 42%); }
.g5 { background: linear-gradient(135deg, #D9C3A5, #A88462); }
.g6 { background: var(--deep-800); display: grid; place-items: center; }
.g6 i { position: static; font-size: 1em; }

.cat-list { margin-top: 1em; display: flex; flex-direction: column; }
.cat-list li { display: flex; align-items: center; gap: .7em; padding: .6em 0; border-bottom: 1px solid var(--line); font-size: .76em; }
.cat-img { width: 3em; height: 3em; border-radius: .6em; flex: none; }
.c1 { background: radial-gradient(ellipse at 50% 60%, #C78C4E 0 45%, #9E6531 46% 55%, #F3EDE4 56%); }
.c2 { background: radial-gradient(ellipse 60% 35% at 50% 55%, #E2A55B 0 70%, #F3EDE4 72%); }
.c3 { background: linear-gradient(180deg, #F3EDE4 0 25%, #F7D7DF 25% 45%, #FFFFFF 45% 50%, #F7D7DF 50% 80%, #F3EDE4 80%); }
.c4 { background: linear-gradient(90deg, #F3EDE4 0 20%, #B5272D 20% 80%, #F3EDE4 80%), #F3EDE4; background-size: 100% 70%; background-position: center; background-repeat: no-repeat; }
.cat-meta { display: flex; flex-direction: column; min-width: 0; }
.cat-list .mini-btn { margin-left: auto; font-size: .9em; }

.rv-sum { display: flex; align-items: center; gap: 1em; margin-top: 1em; padding: .9em; background: var(--cloud); border-radius: .9em; }
.rv-big { font-family: var(--f-display); font-weight: 760; font-size: 2.2em; letter-spacing: -.03em; }
.rv-bars { flex: 1; display: flex; flex-direction: column; gap: .25em; }
.rv-bars span { display: flex; align-items: center; gap: .5em; font-size: .6em; font-weight: 700; color: var(--ink-2); }
.rv-bars span::after { content: ""; height: .5em; width: var(--w); min-width: 2px; border-radius: 4px; background: var(--brand); }
.rv { margin-top: .8em; padding-bottom: .8em; border-bottom: 1px solid var(--line); font-size: .74em; line-height: 1.45; }
.rv-who { display: flex; justify-content: space-between; margin-bottom: .25em; }
.stars { color: #D99A06; letter-spacing: .05em; }
.rv-reply { margin-top: .5em; padding: .5em .7em; background: var(--brand-tint); border-radius: .6em; color: var(--ink-2); }
.rv-reply b { color: var(--brand-ink); margin-right: .3em; }

.team-list { margin-top: 1em; display: flex; flex-direction: column; }
.team-list li { display: flex; align-items: center; gap: .7em; padding: .55em 0; font-size: .76em; }
.team-list li > span:last-child { display: flex; flex-direction: column; }
.team-list li:not(.branch) { padding-left: 1.2em; }
.team-list .branch { border-top: 1px solid var(--line); margin-top: .3em; padding-top: .8em; }
.team-list .branch .ic { width: 2em; height: 2em; padding: .4em; border-radius: .5em; background: var(--deep-900); color: var(--signal); }

/* ---------- Features: layers ---------- */
.layers { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.layer {
  display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem;
  padding-block: 2.25rem; border-bottom: 1px solid var(--line);
}
.layer-id { display: flex; gap: 1.1rem; align-items: flex-start; }
.layer-id h3 { font-size: 1.6rem; font-weight: 740; letter-spacing: -.025em; line-height: 1.1; }
.layer-plan { font-size: .85rem; color: var(--ink-2); margin-top: .35rem; font-weight: 600; }
.stack { position: relative; width: 34px; height: 34px; flex: none; margin-top: .15rem; }
.stack i { position: absolute; width: 22px; height: 22px; border-radius: 5px; border: 2px solid var(--deep-900); background: var(--white); }
.stack i:nth-child(1) { left: 0; top: 12px; }
.stack i:nth-child(2) { left: 6px; top: 6px; }
.stack i:nth-child(3) { left: 12px; top: 0; }
.stack i:last-child { background: var(--brand); border-color: var(--brand); }
.layer-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; }
.layer-items li { display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; align-content: start; }
.layer-items .ic { grid-row: span 2; width: 22px; height: 22px; color: var(--brand); margin-top: .15rem; }
.layer-items b { font-weight: 750; font-size: 1rem; }
.layer-items span { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
@media (max-width: 991.98px) {
  .layer { grid-template-columns: 1fr; gap: 1.5rem; }
  .layer-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) { .layer-items { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.step { position: relative; }
.step-vis {
  height: 210px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line);
  padding: 1.25rem; display: flex; flex-direction: column; justify-content: center; gap: .6rem;
  margin-bottom: 1.5rem; box-shadow: var(--sh-1);
}
.step-n { font-size: .85rem; font-weight: 750; color: var(--brand-ink); }
.step h3 { font-size: 1.4rem; font-weight: 730; letter-spacing: -.02em; margin: .35rem 0 .5rem; }
.step > p:last-child { color: var(--ink-2); font-size: .95rem; max-width: 34ch; }
.mock-field { display: flex; flex-direction: column; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 10px; }
.mf-l { font-size: .68rem; color: var(--ink-3); font-weight: 700; }
.mf-v { font-size: .9rem; font-weight: 650; }
.mock-field-add { flex-direction: row; align-items: center; gap: .5rem; border-style: dashed; color: var(--brand-ink); font-weight: 700; font-size: .85rem; padding-block: .7rem; }
.mock-tpls { display: flex; gap: .6rem; justify-content: center; }
.mt { width: 64px; height: 108px; border-radius: 12px; border: 1px solid var(--line); background: var(--cloud); position: relative; overflow: hidden; }
.mt::before { content: ""; position: absolute; inset: 0 0 auto; height: 34%; background: var(--line-2); }
.mt::after { content: ""; position: absolute; left: 10px; right: 18px; top: 48%; height: 6px; border-radius: 3px; background: var(--line-2); box-shadow: 0 12px 0 var(--line), 0 24px 0 var(--line); }
.mt-2 { border: 2px solid var(--brand); transform: translateY(-6px); box-shadow: var(--sh-2); }
.mt-2::before { background: var(--brand); }
.mt-3::before { background: var(--deep-900); }
.mock-swatches { display: flex; gap: .45rem; justify-content: center; margin-top: .4rem; }
.mock-swatches i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); }
.mock-swatches i:first-child { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
.mock-share { display: flex; align-items: center; gap: 1rem; }
.qr-xs { width: 92px; flex: none; padding: 6px; border: 1px solid var(--line); border-radius: 10px; }
.mock-share ul { display: flex; flex-direction: column; gap: .45rem; }
.mock-share li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 650; color: var(--ink-2); }
.mock-share .ic { color: var(--brand); }
@media (min-width: 992px) {
  .step:not(:last-child)::after { /* connector between step visuals */
    content: ""; position: absolute; top: 105px; right: -2rem; width: 2rem; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px);
  }
}
@media (max-width: 991.98px) { .steps { grid-template-columns: 1fr; gap: 2.5rem; max-width: 520px; } }

/* ---------- Use cases ---------- */
.uc { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: start; }
.uc-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.uc-tab {
  display: flex; align-items: center; gap: .8rem; text-align: left;
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 1rem .25rem; font-weight: 700; font-size: 1rem; color: var(--ink-2); cursor: pointer;
  transition: color var(--dur), padding var(--dur) var(--ease);
}
.uc-tab .ic { width: 20px; height: 20px; color: var(--ink-3); transition: color var(--dur); }
.uc-tab:hover { color: var(--ink); }
.uc-tab.is-active { color: var(--ink); padding-left: .75rem; }
.uc-tab.is-active .ic { color: var(--brand); }
.uc-panel {
  background: var(--brand-tint); border-radius: var(--r-l); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  min-height: 100%;
}
.uc-panel h3 { font-size: var(--t-m); font-weight: 730; letter-spacing: -.02em; line-height: 1.2; max-width: 24ch; }
.uc-panel > p:not([class]) { color: var(--ink-2); margin-top: 1rem; max-width: 52ch; }
.uc-sub { font-size: .82rem; font-weight: 750; color: var(--ink); margin-top: 2rem; margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: var(--white); border: 1px solid #D6E4FF; color: var(--ink); padding: .4rem .8rem; border-radius: 8px; font-size: .88rem; font-weight: 650; }
.uc-where { color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .uc-panel:not([hidden]) { animation: scrIn .35s var(--ease) both; }
}
@media (max-width: 991.98px) {
  .uc { grid-template-columns: 1fr; gap: 1.5rem; }
  .uc-tabs { flex-direction: row; overflow-x: auto; border-top: 0; gap: .5rem; padding-bottom: .25rem; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .uc-tabs::-webkit-scrollbar { display: none; }
  .uc-tab { flex: none; border: 1px solid var(--line); border-radius: 10px; padding: .6rem .9rem; font-size: .9rem; white-space: nowrap; }
  .uc-tab.is-active { padding-left: .9rem; border-color: var(--ink); }
}

/* ---------- Templates ---------- */
.swatch-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.5rem; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer;
  box-shadow: 0 0 0 2px var(--brand-tint), 0 0 0 3px transparent; transition: box-shadow var(--dur), transform var(--dur);
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-on { box-shadow: 0 0 0 3px var(--brand-tint), 0 0 0 5px var(--c); }
.swatch-name { font-weight: 700; font-size: .9rem; margin-left: .4rem; }

.tpl-rail { --acc: #0A1F4A; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.tpl {
  text-align: left; border: 0; background: transparent; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; gap: .2rem;
}
.tpl-screen {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  aspect-ratio: 9 / 13.5; border-radius: 26px; background: var(--white); padding: 22px 18px;
  border: 8px solid var(--deep-900); margin-bottom: 1rem; overflow: hidden; position: relative;
  box-shadow: var(--sh-2); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), outline-color var(--dur);
  outline: 3px solid transparent; outline-offset: 4px;
}
.tpl:hover .tpl-screen { transform: translateY(-4px); }
.tpl.is-on .tpl-screen { outline-color: var(--brand); }
.tpl:focus-visible { outline: none; }
.tpl:focus-visible .tpl-screen { outline-color: var(--ink); }
.tpl-name { font-family: var(--f-display); font-weight: 730; font-size: 1.15rem; letter-spacing: -.015em; }
.tpl-desc { color: var(--ink-2); font-size: .88rem; }
.t-av { width: 44px; height: 44px; border-radius: 30%; background: var(--acc); opacity: .9; margin-top: 10px; flex: none; }
.t-l { height: 8px; border-radius: 4px; background: var(--line-2); flex: none; }
.t-l1 { width: 60%; height: 10px; background: var(--ink); opacity: .85; }
.t-l2 { width: 40%; }
.t-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; margin-top: 8px; }
.t-acts i { aspect-ratio: 1; border-radius: 8px; background: var(--cloud); border: 1px solid var(--line); position: relative; }
.t-acts i::after { content: ""; position: absolute; inset: 35%; border-radius: 50%; background: var(--acc); }
.t-btn { width: 100%; height: 22px; border-radius: 7px; background: var(--acc); flex: none; }
.t-row { width: 100%; height: 18px; border-bottom: 1px solid var(--line); flex: none; }
.tpl-contrast { background: var(--deep-900); }
.tpl-contrast .t-l1 { background: #fff; }
.tpl-contrast .t-l2, .tpl-contrast .t-row { background: transparent; border-color: rgba(255,255,255,.14); }
.tpl-contrast .t-l2 { background: rgba(255,255,255,.25); }
.tpl-contrast .t-acts i { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.tpl-editorial { align-items: flex-start; padding-top: 0; }
.t-cover { width: calc(100% + 36px); margin: 0 -18px 6px; height: 38%; flex: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.25)), linear-gradient(135deg, #D9C3A5, #8A6B52); }
.t-big { width: 80%; height: 16px; background: var(--ink); opacity: .9; }
.tpl-editorial .t-acts i { border-radius: 50%; }
.tpl-store { padding-top: 0; }
.t-band { width: calc(100% + 36px); margin: 0 -18px 4px; height: 22%; background: var(--acc); flex: none; }
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; margin-top: 4px; }
.t-grid i { aspect-ratio: 1; border-radius: 8px; background: var(--cloud); border: 1px solid var(--line); position: relative; }
.t-grid i::after { content: ""; position: absolute; left: 6px; right: 40%; bottom: 6px; height: 5px; border-radius: 3px; background: var(--acc); opacity: .6; }
.tpl-status { margin-top: 1.5rem; font-size: .9rem; font-weight: 650; color: var(--ink-2); }
@media (max-width: 991.98px) {
  .tpl-rail {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem;
    margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter) 1rem; scrollbar-width: none;
  }
  .tpl-rail::-webkit-scrollbar { display: none; }
  .tpl { flex: 0 0 min(62vw, 240px); scroll-snap-align: start; }
}

/* ---------- Business dashboard ---------- */
.biz-points { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.biz-points li { display: flex; flex-direction: column; gap: .2rem; padding-left: 1.4rem; position: relative; }
.biz-points li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.biz-points b { font-weight: 750; }
.biz-points span { color: var(--ink-2); font-size: .93rem; }

.browser {
  margin: 0; position: relative; border-radius: var(--r-m); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--sh-3); overflow: visible;
}
.browser-bar {
  display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; border-bottom: 1px solid var(--line);
  background: var(--cloud); border-radius: var(--r-m) var(--r-m) 0 0;
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser-bar span { margin-left: .75rem; font-size: .78rem; font-weight: 650; color: var(--ink-3); }
.dash { display: grid; grid-template-columns: 196px 1fr; min-height: 440px; }
.dash-nav { border-right: 1px solid var(--line); padding: 1rem .6rem; display: flex; flex-direction: column; gap: .2rem; }
.dn { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 8px; font-size: .85rem; font-weight: 650; color: var(--ink-2); }
.dn.is-on { background: var(--brand-tint); color: var(--brand-ink); }
.dash-main { padding: 1.25rem 1.4rem 1.5rem; min-width: 0; }
.dash-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.dash-h { font-family: var(--f-display); font-weight: 730; font-size: 1.15rem; letter-spacing: -.015em; }
.dash-s { font-size: .82rem; color: var(--ink-2); margin-top: .2rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.dash-kpi { font-size: .85rem; color: var(--ink-2); white-space: nowrap; }
.dash-kpi span { font-family: var(--f-display); font-size: 1.9rem; font-weight: 760; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.chart { display: grid; grid-template-columns: auto 1fr; gap: .6rem; margin-top: 1.25rem; height: 170px; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; font-size: .68rem; color: var(--ink-3); text-align: right; padding-bottom: 1.3rem; font-variant-numeric: tabular-nums; }
.chart-y span { line-height: 1; transform: translateY(-50%); }
.chart-y span:last-child { transform: translateY(50%); }
.chart-bars {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end;
  padding-bottom: 1.3rem; position: relative;
  background:
    linear-gradient(var(--line), var(--line)) 0 0 / 100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) 0 calc((100% - 1.3rem) / 2) / 100% 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) 0 calc(100% - 1.3rem) / 100% 1px no-repeat;
}
.chart-bars span {
  height: calc((100% - 0px) * var(--v) / 120); background: #CFE0FF; border-radius: 5px 5px 0 0; position: relative;
}
.chart-bars span.is-peak { background: var(--brand); }
.chart-bars i { position: absolute; bottom: -1.3rem; left: 0; right: 0; text-align: center; font-style: normal; font-size: .68rem; color: var(--ink-3); line-height: 1.3rem; }

.table-wrap { overflow-x: auto; }
.leads { width: 100%; margin-top: 1.25rem; border-collapse: collapse; font-size: .85rem; min-width: 440px; }
.leads th { text-align: left; font-size: .72rem; font-weight: 750; color: var(--ink-3); padding: .5rem .5rem; border-bottom: 1px solid var(--line); }
.leads td { padding: .65rem .5rem; border-bottom: 1px solid var(--mist); font-weight: 600; }
.leads td:first-child { font-weight: 750; }
.pill { display: inline-block; font-size: .72rem; font-weight: 750; padding: .2rem .55rem; border-radius: 6px; }
.pill-new { background: var(--brand-tint); color: var(--brand-ink); }
.pill-reply { background: #E3F6FD; color: #086A8C; }
.pill-won { background: #E1F7EF; color: var(--green-ink); }

.invoice {
  position: absolute; left: -28px; bottom: -40px; width: 204px; z-index: 2;
  background: var(--deep-900); color: #fff; border-radius: var(--r-m); padding: 1rem 1.1rem; box-shadow: var(--sh-3);
  font-size: .8rem;
}
.inv-h { display: flex; justify-content: space-between; font-weight: 750; margin-bottom: .6rem; }
.inv-h span:last-child { color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
.inv-row { display: flex; justify-content: space-between; padding: .35rem 0; border-top: 1px solid var(--line-dark); color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.inv-total { color: #fff; font-weight: 750; }
.inv-btn { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .75rem; padding: .5rem; border-radius: 8px; background: var(--brand); font-weight: 700; }
@media (max-width: 1199.98px) { .invoice { left: 12px; } }
@media (max-width: 767.98px) {
  .dash { grid-template-columns: 1fr; }
  .dash-nav { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; padding: .5rem; scrollbar-width: none; }
  .dn { white-space: nowrap; }
  .invoice { position: relative; left: auto; bottom: auto; width: auto; margin: 0 1rem 1rem; }
}

/* ---------- Privacy ---------- */
.privacy {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-2); overflow: hidden;
}
.pv-controls { padding: 1.75rem; border-right: 1px solid var(--line); }
.pv-preview { padding: 1.75rem; background: var(--cloud); }
.pv-h { font-size: .8rem; font-weight: 750; color: var(--ink-3); margin-bottom: 1rem; }
.pv-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; border-bottom: 1px solid var(--mist); font-weight: 650; font-size: .95rem; }
.pv-row label { cursor: pointer; }
.pv-row-last { border-bottom: 0; }
.pv-row-stack { flex-wrap: wrap; }
.switch {
  appearance: none; -webkit-appearance: none; flex: none; cursor: pointer;
  width: 44px; height: 26px; border-radius: 13px; background: var(--line-2); position: relative; margin: 0;
  transition: background var(--dur) var(--ease);
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(10,31,74,.25); transition: transform var(--dur) var(--ease);
}
.switch:checked { background: var(--brand); }
.switch:checked::after { transform: translateX(18px); }
.switch:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.pv-card { background: var(--white); border-radius: var(--r-m); border: 1px solid var(--line); padding: 1.25rem; box-shadow: var(--sh-1); min-height: 260px; position: relative; }
.pv-who { display: flex; gap: .8rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.pv-who .avatar { font-size: 15px; }
.pv-who span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.pv-who small { color: var(--ink-2); font-weight: 600; }
.pv-list li { display: flex; align-items: center; gap: .6rem; padding: .6rem 0; font-size: .92rem; font-weight: 600; border-bottom: 1px solid var(--mist); }
.pv-list li:last-child { border-bottom: 0; }
.pv-list .ic { color: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .pv-list li.is-new { animation: scrIn .3s var(--ease) both; }
}
.pv-paused { position: absolute; inset: 0; background: var(--white); border-radius: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .4rem; padding: 1.5rem; }
.pv-paused .ic { width: 28px; height: 28px; color: var(--ink-3); }
.pv-paused span { font-size: .88rem; color: var(--ink-2); }
@media (max-width: 767.98px) {
  .privacy { grid-template-columns: 1fr; }
  .pv-controls { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Pricing ---------- */
.billing { margin-top: 2rem; }
.save { font-size: .72rem; font-weight: 750; color: var(--green-ink); background: #E1F7EF; padding: .15rem .45rem; border-radius: 6px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: 1.75rem 1.5rem; border-radius: var(--r-l);
  border: 1px solid var(--line); background: var(--white); position: relative;
}
.plan h3 { font-size: 1.3rem; font-weight: 740; letter-spacing: -.02em; }
.plan-for { color: var(--ink-2); font-size: .88rem; margin-top: .25rem; min-height: 2.8em; }
.price { display: flex; align-items: baseline; margin-top: 1.25rem; font-variant-numeric: tabular-nums; }
.cur { font-size: 1.3rem; font-weight: 700; margin-right: .1rem; }
.amt { font-family: var(--f-display); font-size: 3rem; font-weight: 760; letter-spacing: -.04em; line-height: 1; }
.per { color: var(--ink-2); font-size: .9rem; margin-left: .3rem; }
.bill-note { font-size: .8rem; color: var(--ink-3); margin: .5rem 0 1.4rem; min-height: 1.3em; }
.plan-list { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .6rem; }
.plan-list li { position: relative; padding-left: 1.4rem; font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; border: 2px solid var(--brand); }
.plan-list li:first-child { color: var(--ink); }
.plan-feature { background: var(--deep-900); border-color: var(--deep-900); color: #fff; box-shadow: var(--sh-3); }
.plan-feature .plan-for, .plan-feature .per, .plan-feature .plan-list li { color: var(--on-dark-2); }
.plan-feature .plan-list li:first-child { color: #fff; }
.plan-feature .bill-note { color: var(--on-dark-3); }
.plan-feature .plan-list { border-top-color: var(--line-dark); }
.plan-feature .plan-list li::before { border-color: var(--signal); }
.plan-flag { position: absolute; top: -12px; left: 1.5rem; font-size: .72rem; font-weight: 750; background: var(--signal); color: var(--deep-900); padding: .25rem .6rem; border-radius: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .amt.is-changing { animation: priceIn .3s var(--ease) both; }
  @keyframes priceIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1199.98px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .plans { grid-template-columns: 1fr; } }

.compare { margin-top: 2.5rem; text-align: center; }
.compare-toggle {
  display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--line-2); background: var(--white);
  padding: .7rem 1.1rem; border-radius: 12px; font-weight: 700; cursor: pointer; min-height: 44px;
}
.compare-toggle .ic { transition: transform var(--dur) var(--ease); }
.compare-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.cmp { width: 100%; margin-top: 1.5rem; border-collapse: collapse; text-align: left; min-width: 640px; font-size: .9rem; }
.cmp th, .cmp td { padding: .85rem .75rem; border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: var(--f-display); font-weight: 720; font-size: 1rem; border-bottom: 1px solid var(--ink); }
.cmp tbody th { font-weight: 650; }
.cmp td { color: var(--ink-2); font-weight: 600; }
.cmp td.y { color: var(--ink); }
.cmp td.y::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); margin-right: .5rem; vertical-align: .05em; }
.cmp td.n { color: var(--ink-3); font-weight: 500; }

/* ---------- FAQ ---------- */
.contact-line { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.contact-email { font-weight: 750; font-size: 1.05rem; user-select: all; }
.faq { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-q { font-family: var(--f-body); font-size: 1.08rem; font-weight: 700; }
.faq-q button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left;
  border: 0; background: transparent; padding: 1.3rem 0; cursor: pointer; color: var(--ink);
}
.faq-q button .ic { width: 20px; height: 20px; color: var(--ink-2); transition: transform var(--dur) var(--ease); }
.faq-q button[aria-expanded="true"] .ic { transform: rotate(180deg); color: var(--brand); }
.faq-a { padding: 0 2.5rem 1.4rem 0; color: var(--ink-2); max-width: 62ch; }
.collapsing { transition: height .3s var(--ease); }
@media (prefers-reduced-motion: reduce) { .collapsing { transition: none; } }

/* ---------- Final CTA ---------- */
.sec-start { border-bottom: 1px solid var(--line-dark); }
.start-card { margin-top: 2.5rem; width: 100%; max-width: 360px; border: 1px solid var(--line-dark); }
.start-card .qr-wrap { width: 96px; }
.start-url { font-size: .75rem; color: var(--on-dark-3); margin-top: .7rem; overflow-wrap: anywhere; font-weight: 650; }
.start-url b { color: var(--signal); font-weight: 700; }
.signup {
  background: var(--deep-800); border: 1px solid var(--line-dark); border-radius: var(--r-l);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); display: flex; flex-direction: column; gap: 1.25rem;
}
.signup-plan { font-size: .82rem; font-weight: 700; color: var(--signal); }
.fld { display: flex; flex-direction: column; gap: .45rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.fld label, .fld legend { font-weight: 700; font-size: .9rem; color: #fff; float: none; width: auto; margin: 0; padding: 0; }
.fld legend { margin-bottom: .45rem; }
.fld input[type="text"], .fld input[type="email"] {
  width: 100%; min-height: 50px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04); color: #fff; padding: .7rem .9rem; font-size: 1rem; font-weight: 600;
  transition: border-color var(--dur), background var(--dur);
}
.fld input::placeholder { color: var(--on-dark-3); }
.fld input:focus { outline: none; border-color: var(--signal); background: rgba(255,255,255,.07); }
.fld input[aria-invalid="true"] { border-color: #FF8A8A; }
.handle { display: flex; align-items: stretch; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); overflow: hidden; transition: border-color var(--dur); }
.handle:focus-within { border-color: var(--signal); }
.handle.is-invalid { border-color: #FF8A8A; }
.handle-pre { display: flex; align-items: center; padding-left: .9rem; color: var(--on-dark-3); font-weight: 600; white-space: nowrap; font-size: .95rem; }
.handle input[type="text"] { border: 0 !important; background: transparent !important; padding-left: .1rem; min-width: 0; }
.help { font-size: .78rem; color: var(--on-dark-3); }
.err { font-size: .82rem; color: #FFB4B4; font-weight: 650; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.rc { position: relative; cursor: pointer; }
.rc input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.rc > span {
  display: flex; align-items: center; gap: .55rem; min-height: 50px; padding: .7rem .9rem; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18); color: var(--on-dark-2); font-weight: 700; transition: border-color var(--dur), background var(--dur), color var(--dur);
}
.rc input:checked + span { border-color: var(--brand-on-dark); background: rgba(0,195,255,.16); color: #fff; }
.rc input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.form-status { font-size: .88rem; line-height: 1.5; padding: .85rem 1rem; border-radius: 12px; background: rgba(0,195,255,.1); border: 1px solid rgba(0,195,255,.35); color: #D6F7FF; }
.form-status b { color: #fff; }
@media (max-width: 400px) { .handle-pre { font-size: .82rem; padding-left: .7rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-900); color: var(--on-dark-2); padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 2rem; font-size: .92rem; }
.foot-top { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
.foot-brand img { height: 72px; width: auto; }
.foot-brand p { margin-top: 1rem; max-width: 30ch; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.foot-h { color: #fff; font-weight: 750; margin-bottom: .9rem; font-size: .9rem; }
.foot-cols ul { display: flex; flex-direction: column; gap: .55rem; }
.foot-cols a { color: var(--on-dark-2); text-decoration: none; transition: color var(--dur); }
.foot-cols a:hover { color: #fff; }
.soon { color: var(--on-dark-3); }
.soon em { font-style: normal; font-size: .68rem; font-weight: 700; border: 1px solid var(--line-dark); border-radius: 5px; padding: .05rem .35rem; margin-left: .3rem; color: var(--on-dark-3); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .85rem; color: var(--on-dark-3); }
.to-top { color: var(--on-dark-2); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.to-top:hover { color: #fff; }
.to-top .ic { transform: rotate(-45deg); }
@media (max-width: 991.98px) {
  .foot-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Responsive recomposition ---------- */
@media (max-width: 1199.98px) {
  .device-demo { --dw: 300px; }
  .demo-qr { width: 170px; }
}
@media (max-width: 991.98px) {
  .demo-stage { gap: 1.5rem; }
}
@media (max-width: 575.98px) {
  .cta-row .btn-a { width: 100%; }
  .demo-stage { flex-direction: column; align-items: center; }
  .device-demo { --dw: min(300px, calc(100vw - 48px)); }
  .demo-qr { align-self: center; margin: 0; width: 100%; max-width: 300px; display: grid; grid-template-columns: 88px 1fr; gap: 0 1rem; align-items: center; }
  .demo-qr .qr { grid-row: span 2; }
  .demo-qr-name { margin-top: 0; }
  .leads { font-size: .8rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Bootstrap gutters: keep rows inside the page gutter on small screens */
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 0; } }

@media (max-width: 991.98px) { .tpl-rail, .uc-tabs { scroll-padding-inline: var(--gutter); } }
@media (max-width: 575.98px) { .start-card { max-width: 300px; } }
.demo-qr-name { line-height: 1.2; }

/* ==========================================================================
   v3: profile builder, real templates, use-case preview, layout variety
   ========================================================================== */

/* Shared in-phone extras */
.p-sec { font-size: .68em; font-weight: 750; color: var(--ink-3); margin: 1em 0 .5em; }
.p-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4em; }
.p-strip .gal-t, .mp-thumbs .gal-t { grid-column: auto; aspect-ratio: 1; border-radius: .6em; display: block; }
.p-strip-shop span { display: flex; flex-direction: column; gap: .3em; font-size: .68em; font-weight: 750; }
.p-strip-shop .cat-img { width: 100%; height: auto; aspect-ratio: 1; display: block; border-radius: .7em; }
@media (prefers-reduced-motion: no-preference) {
  .is-new { animation: scrIn .35s var(--ease) both; }
}

/* ---------- Profile builder (features) ---------- */
.builder { display: grid; grid-template-columns: 340px 1fr; gap: 2.5rem; align-items: start; }
.layer-picks { display: flex; flex-direction: column; gap: .75rem; }
.lp {
  display: flex; gap: 1rem; align-items: flex-start; text-align: left; width: 100%;
  padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white);
  cursor: pointer; transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur) var(--ease);
}
.lp:hover { border-color: var(--line-2); }
.lp.is-active { border-color: var(--ink); box-shadow: var(--sh-2); }
.lp-body { display: flex; flex-direction: column; min-width: 0; }
.lp-title { font-family: var(--f-display); font-weight: 730; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.15; }
.lp-plan { font-size: .82rem; color: var(--ink-2); font-weight: 650; margin-top: .2rem; }
.lp-feats { font-size: .9rem; color: var(--ink-2); margin-top: .7rem; line-height: 1.5; }
.lp:not(.is-active) .lp-feats { display: none; }

.editor { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-3); overflow: hidden; }
.ed-plan { margin-left: auto !important; font-size: .72rem !important; font-weight: 750; background: var(--brand-tint); color: var(--brand-ink) !important; padding: .15rem .55rem; border-radius: 6px; }
.ed-body { display: grid; grid-template-columns: 1fr 330px; }
.ed-side { padding: 1.25rem 1.5rem 1.5rem; border-right: 1px solid var(--line); min-width: 0; }
.ed-group { font-size: .75rem; font-weight: 750; color: var(--ink-3); margin: 1.1rem 0 .5rem; }
.ed-group:first-child { margin-top: 0; }
.ed-blocks { display: flex; flex-direction: column; gap: .4rem; }
.blk {
  display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem;
  border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; font-weight: 650; background: var(--white);
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.blk .ic { color: var(--brand); }
.blk-state { margin-left: auto; font-size: .7rem; font-weight: 750; padding: .12rem .5rem; border-radius: 6px; white-space: nowrap; }
.blk.is-on .blk-state { background: #E1F7EF; color: var(--green-ink); }
.blk.is-off { background: var(--cloud); color: var(--ink-3); border-style: dashed; }
.blk.is-off .ic { color: var(--ink-3); }
.blk.is-off .blk-state { background: var(--mist); color: var(--ink-2); }
.ed-preview {
  display: flex; flex-direction: column; align-items: center; padding: 1.25rem 1rem 1.5rem;
  background: radial-gradient(circle at 1px 1px, rgba(10,31,74,.16) 1px, transparent 1.3px) 0 0 / 18px 18px, var(--cloud);
}
.ed-preview-label { align-self: flex-start; font-size: .75rem; font-weight: 750; color: var(--ink-3); margin-bottom: .9rem; }
.device-ed { --dw: 262px; }
.device-ed .device-screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.ed-scr { height: 100%; overflow: hidden; }
.svc { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: .5em; padding: .55em 0; border-bottom: 1px solid var(--line); font-size: .76em; }
.svc b { grid-column: 1; }
.svc small { grid-column: 1; color: var(--ink-2); font-weight: 650; }
.svc em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: .9em; font-weight: 750; border: 1px solid var(--line-2); padding: .3em .6em; border-radius: .5em; }
.p-rating { display: flex; gap: .4em; align-items: center; margin-top: .7em; font-size: .72em; font-weight: 650; color: var(--ink-2); }

.how-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line-2); }
.how-strip li { display: flex; gap: 1rem; align-items: flex-start; }
.hs-n { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--deep-900); color: #fff; font-family: var(--f-display); font-weight: 750; }
.how-strip li > span:last-child { color: var(--ink-2); font-size: .92rem; line-height: 1.5; }
.how-strip b { display: block; font-weight: 750; font-size: 1.02rem; color: var(--ink); margin-bottom: .15rem; }

@media (max-width: 1199.98px) {
  .builder { grid-template-columns: 290px 1fr; gap: 1.75rem; }
  .ed-body { grid-template-columns: 1fr 290px; }
  .device-ed { --dw: 240px; }
}
@media (max-width: 991.98px) {
  .builder { grid-template-columns: 1fr; }
  .layer-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .lp { padding: .9rem; flex-direction: column; gap: .6rem; }
  .lp .lp-feats { display: none; }
  .lp-title { font-size: 1.05rem; }
}
@media (max-width: 767.98px) {
  .ed-body { grid-template-columns: 1fr; }
  .ed-side { display: none; }
  .layer-picks { grid-template-columns: 1fr; }
  .lp { flex-direction: row; }
  .lp.is-active .lp-feats { display: block; }
  .how-strip { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ---------- Templates: real mini profiles ---------- */
.tpl-screen {
  display: block; padding: 0; aspect-ratio: 9 / 14.2; background: var(--white);
  border: 8px solid var(--deep-900); border-radius: 28px; overflow: hidden; gap: 0;
}
.mp {
  display: flex; flex-direction: column; align-items: stretch; gap: 7px; height: 100%;
  padding: 14px; font-size: 11px; line-height: 1.3; color: var(--ink); text-align: left;
}
.mp .ic { width: 13px; height: 13px; }
.mp-av {
  width: 46px; height: 46px; border-radius: 30%; display: grid; place-items: center; flex: none;
  background: var(--acc); color: #fff; font-family: var(--f-display); font-weight: 760; font-size: 14px;
  border: 3px solid #fff; box-shadow: var(--sh-1);
}
.mp-name { font-family: var(--f-display); font-weight: 760; font-size: 15px; letter-spacing: -.02em; display: block; }
.mp-role { font-size: 10px; color: var(--ink-2); font-weight: 600; display: block; }
.mp-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; width: 100%; margin-top: 2px; }
.mp-acts i { height: 30px; border-radius: 8px; background: var(--cloud); border: 1px solid var(--line); display: grid; place-items: center; color: var(--acc); }
.mp-btn { display: block; width: 100%; background: var(--acc); color: #fff; text-align: center; padding: 7px; border-radius: 8px; font-weight: 750; font-size: 10.5px; }
.mp-row { display: flex; align-items: center; gap: 6px; width: 100%; padding: 6px 2px; border-bottom: 1px solid var(--line); font-weight: 650; font-size: 10.5px; }
.mp-row .ic { color: var(--ink-2); }

.mp-studio { align-items: center; text-align: center; }
.mp-top {
  align-self: stretch; height: 58px; margin: -14px -14px 0; flex: none;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.35) 1px, transparent 1.3px) 0 0 / 10px 10px, var(--acc);
}
.mp-studio .mp-av { margin-top: -34px; }

.mp-contrast { background: var(--deep-900); color: #fff; align-items: center; text-align: center; padding-top: 22px; }
.mp-contrast .mp-av { border-color: var(--deep-800); }
.mp-contrast .mp-role { color: var(--on-dark-2); }
.mp-contrast .mp-acts i { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.mp-contrast .mp-row { border-color: rgba(255,255,255,.12); }
.mp-contrast .mp-row .ic { color: var(--on-dark-2); }

.mp-cover {
  display: block; position: relative; height: 40%; margin: -14px -14px 6px; flex: none;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.35)), linear-gradient(180deg, transparent 58%, #8A6B52 58% 62%, #B89478 62%), linear-gradient(90deg, #E9E2D8 0 30%, #D7CEC2 30% 31%, #EFE9E1 31%);
}
.mp-cover-cap { position: absolute; left: 12px; bottom: 9px; color: #fff; font-size: 9.5px; font-weight: 700; }
.mp-editorial .mp-name { font-size: 22px; line-height: 1; letter-spacing: -.035em; }
.mp-editorial .mp-acts i { border-radius: 50%; height: auto; aspect-ratio: 1; }
.mp-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }

.mp-band { display: flex; align-items: center; gap: 9px; margin: -14px -14px 2px; padding: 16px 14px 14px; background: var(--acc); color: #fff; }
.mp-logo { width: 36px; height: 36px; flex: none; border-radius: 9px; background: #fff; color: var(--acc); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 10px; }
.mp-band .mp-name { color: #fff; font-size: 14px; }
.mp-band .mp-role { color: rgba(255,255,255,.82); }
.mp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mp-grid i { font-style: normal; display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--line); border-radius: 8px; padding: 5px; font-size: 9.5px; }
.mp-grid .cat-img { width: 100%; height: auto; aspect-ratio: 1.5; border-radius: 5px; margin-bottom: 3px; display: block; }
.mp-grid small { color: var(--ink-2); font-weight: 650; }
.mp-store .mp-btn { margin-top: auto; }

/* ---------- Use cases with phone preview ---------- */
.uc { grid-template-columns: 290px 1fr; }
.uc-right { display: grid; grid-template-columns: 1fr 250px; gap: 2rem; align-items: stretch; min-width: 0; }
.uc-panels { min-width: 0; }
.uc-phone { display: flex; align-items: center; justify-content: center; }
.device-uc { --dw: 240px; }
@media (prefers-reduced-motion: no-preference) {
  .uc-scr.is-swap { animation: scrIn .35s var(--ease) both; }
}
@media (max-width: 1199.98px) {
  .uc { grid-template-columns: 250px 1fr; gap: 2rem; }
  .uc-right { grid-template-columns: 1fr 210px; gap: 1.5rem; }
  .device-uc { --dw: 210px; }
}
@media (max-width: 991.98px) {
  .uc { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .uc-right { grid-template-columns: 1fr; }
  .device-uc { --dw: 230px; }
}

/* ---------- Privacy, centred ---------- */
.privacy-wrap { max-width: 920px; margin-inline: auto; }
.sec-head-center .fine { margin-inline: auto; }

/* ---------- Pricing: featured plan carries more weight ---------- */
@media (min-width: 1200px) {
  .plans { grid-template-columns: 1fr 1fr 1.16fr 1fr; align-items: stretch; }
  .plan-feature { padding-block: 2.5rem; margin-block: -18px; }
  .plan-feature .amt { font-size: 3.6rem; }
}

/* ---------- Mid-page CTAs ---------- */
.demo-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 2rem; }
.demo-cta span { font-size: .85rem; color: var(--on-dark-3); }
.st-copy .cta-row { margin-top: 2rem; }

/* ==========================================================================
   v5: Personal and Business profiles, the two products
   ========================================================================== */
.sec-profiles { padding-top: clamp(4rem, 2.5rem + 5vw, 7rem); }
.pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pp {
  position: relative; overflow: hidden; border-radius: 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 1.5rem; align-items: center;
  padding: clamp(1.75rem, 1rem + 2vw, 2.75rem);
}
.pp-personal { background: var(--brand-tint); color: var(--ink); }
.pp-business { background: var(--deep-900); color: #fff; }
.pp-personal::before, .pp-business::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,31,74,.14) 1px, transparent 1.3px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(70% 70% at 85% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 70% at 85% 40%, #000 20%, transparent 75%);
}
.pp-business::before { background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 1.3px); }
.pp > * { position: relative; }
.pp-copy { min-width: 0; }
.pp-label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 750; font-size: .9rem; color: var(--brand-ink); }
.pp-business .pp-label { color: var(--signal); }
.pp-title {
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.35rem); font-weight: 740; letter-spacing: -.03em; line-height: 1.05;
  margin-top: .8rem;
}
.pp-text { color: var(--ink-2); margin-top: .9rem; font-size: .98rem; line-height: 1.55; max-width: 34em; }
.pp-business .pp-text { color: var(--on-dark-2); }
.pp-list { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.pp-list li { display: flex; align-items: center; gap: .7rem; font-weight: 650; font-size: .94rem; }
.pp-list .ic {
  width: 30px; height: 30px; padding: 6px; border-radius: 9px; flex: none;
  background: var(--white); color: var(--brand); box-shadow: var(--sh-1);
}
.pp-business .pp-list .ic { background: rgba(255,255,255,.07); color: var(--brand-on-dark); box-shadow: none; border: 1px solid var(--line-dark); }
.pp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.75rem; }
.pp-link { font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.pp-link:hover { text-decoration-color: currentColor; color: var(--ink); }
.pp-business .pp-link { color: #fff; text-decoration-color: rgba(255,255,255,.3); }
.pp-price { margin-top: 1rem; font-size: .82rem; color: var(--ink-3); font-weight: 600; }
.pp-business .pp-price { color: var(--on-dark-3); }
.btn-light-a { --b-bg: #fff; --b-fg: var(--deep-900); --b-bd: #fff; }
.btn-light-a:hover { --b-bg: var(--brand-tint); --b-bd: var(--brand-tint); color: var(--deep-900); }

.pp-visual { position: relative; display: flex; justify-content: center; padding-bottom: 1.5rem; }
.device-pp { --dw: 220px; }
.pp-business .device-pp { background: #16326E; box-shadow: 0 30px 70px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1) inset; }
.pp-business .device-pp::before { background: #16326E; }
.device-pp .scr { flex: 1; overflow: hidden; }
.pp-center { text-align: center; }
.pp-cover-person {
  height: 8.4em; position: relative; display: flex; align-items: flex-end; justify-content: center;
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.3) 1px, transparent 1.3px) 0 0 / 12px 12px,
    linear-gradient(160deg, #0A1F4A, #00C3FF);
}
/* Illustrated portrait placeholder until real photography is supplied */
.pp-portrait {
  width: 5.2em; height: 5.6em; margin-bottom: -1.6em; border-radius: 1.2em; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #F3D9C4, #E9C4A8); border: .22em solid #fff; box-shadow: var(--sh-2);
}
.pp-portrait::before { /* hair */
  content: ""; position: absolute; left: 50%; top: .7em; width: 3.6em; height: 3.9em; transform: translateX(-50%);
  border-radius: 1.8em 1.8em 1em 1em; background: #2A1E1A;
}
.pp-portrait::after { /* face */
  content: ""; position: absolute; left: 50%; top: 1.35em; width: 2.3em; height: 2.6em; transform: translateX(-50%);
  border-radius: 1.2em 1.2em 1.15em 1.15em; background: #C98E6B;
}
.pp-portrait i { /* shoulders */
  position: absolute; left: 50%; bottom: -1.4em; width: 4.6em; height: 2.8em; transform: translateX(-50%);
  border-radius: 2.3em 2.3em 0 0; background: #0A1F4A;
}
.pp-cover-person + .p-name { margin-top: 2.1em; }
.pp-cover-biz {
  height: 8.4em; position: relative; display: flex; align-items: flex-end; justify-content: center;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0,0,0,.25)),
    linear-gradient(90deg, #F3EDE4 0 18%, #E9DCC7 18% 19%, #F6F1EA 19% 62%, #E3D3BD 62% 63%, #F3EDE4 63%),
    #F3EDE4;
}
.pp-cover-biz::before { /* counter and shelves */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background: linear-gradient(180deg, #8A6B52 0 10%, #B89478 10%);
}
.pp-cover-biz::after { /* awning */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.6em;
  background: repeating-linear-gradient(90deg, #00C3FF 0 1.2em, #FFF4EE 1.2em 2.4em);
}
.pp-logo {
  position: relative; z-index: 1; margin-bottom: -1.5em; width: 4em; height: 4em; border-radius: 1em; display: grid; place-items: center;
  background: var(--deep-900); color: var(--signal); font-family: var(--f-display); font-weight: 800; font-size: 1.05em;
  border: .22em solid #fff; box-shadow: var(--sh-2);
}
.pp-cover-biz + .p-name { margin-top: 1.9em; }
.pp-verified { display: inline-flex; align-items: center; gap: .25em; margin-left: .35em; color: var(--green-ink); font-weight: 700; }
.pp-verified .ic { width: 1.1em; height: 1.1em; }
.device-pp .p-actions { margin-top: .9em; }
.device-pp .p-strip { margin-top: .8em; }
.pp-sos .ic:first-child { color: #D9381E; }
.pp-qr {
  position: absolute; right: -14px; bottom: 0; width: 100px; z-index: 3;
  background: #fff; border-radius: 14px; padding: 8px 8px 7px; box-shadow: var(--sh-3);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.pp-qr .qr { width: 100%; }
.pp-qr span { font-size: .62rem; font-weight: 800; color: #fff; background: var(--brand); padding: .2rem .5rem; border-radius: 6px; white-space: nowrap; }
.pp-business .pp-qr span { background: var(--signal); color: var(--deep-900); }
.pp-sample { position: absolute; left: 0; top: 0; z-index: 3; }
.pp-business .pp-sample { background: rgba(255,255,255,.08); border-color: var(--line-dark); color: var(--on-dark-2); }

@media (max-width: 1199.98px) {
  .pp-grid { grid-template-columns: 1fr; }
  .pp { grid-template-columns: minmax(0, 1fr) 260px; gap: 2.5rem; }
  .device-pp { --dw: 240px; }
}
@media (max-width: 767.98px) {
  .pp { grid-template-columns: 1fr; }
  .pp-visual { order: -1; margin-bottom: .5rem; }
  .pp-qr { right: max(0px, calc(50% - 170px)); }
  .pp-sample { left: 0; }
}

/* Pricing: which product each plan belongs to */
.plan-kind { display: inline-flex; align-self: flex-start; font-size: .72rem; font-weight: 750; padding: .15rem .55rem; border-radius: 6px; margin-bottom: .7rem; }
.plan-kind-personal { background: var(--brand-tint); color: var(--brand-ink); }
.plan-kind-business { background: #D6F7FF; color: #0A5E8C; }
.plan-feature .plan-kind-business { background: rgba(0,195,255,.16); color: #9ADDFB; }
/* Desktop: heading across the panel, list beside the phone */
.pp-copy { display: contents; }
.pp {
  grid-template-columns: minmax(0, 1fr) 236px;
  grid-template-areas: "label label" "title title" "text text" "list vis" "cta vis" "price vis";
  align-items: start; row-gap: 0;
}
.pp-label { grid-area: label; }
.pp-title { grid-area: title; max-width: 15em; }
.pp-text { grid-area: text; }
.pp-list { grid-area: list; }
.pp-cta { grid-area: cta; }
.pp-price { grid-area: price; }
.pp-visual { grid-area: vis; align-self: end; margin-top: 1.4rem; }
.pp-sample { top: auto; bottom: 0; left: -6px; }
@media (max-width: 1199.98px) {
  .pp { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 767.98px) {
  .pp { grid-template-columns: 1fr; grid-template-areas: "label" "title" "text" "vis" "list" "cta" "price"; }
  .pp-visual { order: 0; margin: 1.5rem 0 .5rem; }
}
.pp { grid-template-columns: minmax(0, 1fr) 214px; column-gap: 1.25rem; }
.device-pp { --dw: 206px; }
.pp-cta .btn-a { white-space: nowrap; }
@media (max-width: 1199.98px) {
  .pp { grid-template-columns: minmax(0, 1fr) 260px; column-gap: 2.5rem; }
  .device-pp { --dw: 240px; }
}
@media (max-width: 767.98px) { .pp { grid-template-columns: 1fr; } .device-pp { --dw: 230px; } }
.hero { padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }

/* ==========================================================================
   v6: audience switch (Personal / Business) shared across sections
   ========================================================================== */
.aud { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.5rem; }
.aud-label { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.aud-switch .seg-btn .ic { width: 16px; height: 16px; }
.aud-switch .seg-btn[data-aud-set="business"].is-active { color: #0A5E8C; }
.aud-switch .seg-btn[data-aud-set="personal"].is-active { color: var(--brand-ink); }
.aud-center { justify-content: center; margin: 0 0 1rem; }
.aud-tpl { margin: 0 0 2rem; }
.st-side { min-width: 0; }
.sec-tag { display: inline-flex; align-items: center; gap: .45rem; font-weight: 750; font-size: .88rem; color: #0A5E8C; margin-bottom: 1rem; }

/* Three templates per profile type */
.tpl-rail { grid-template-columns: repeat(3, minmax(0, 290px)); gap: 2rem; }
@media (max-width: 991.98px) { .tpl-rail { display: flex; } }

/* Company template */
.mp-company { align-items: center; text-align: center; }
.mp-office {
  align-self: stretch; height: 74px; margin: -14px -14px 0; flex: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(255,255,255,.18) 10px 12px),
    repeating-linear-gradient(180deg, transparent 0 9px, rgba(255,255,255,.14) 9px 11px),
    linear-gradient(160deg, var(--acc), var(--deep-900));
}
.mp-logo-co { margin-top: -26px; width: 44px; height: 44px; border: 3px solid #fff; background: var(--deep-900); color: #fff; }
.mp-company .mp-name { font-size: 13px; }
/* Services template */
.mp-svc-head { display: flex; align-items: center; gap: 9px; }
.mp-logo-svc { background: var(--acc); color: #fff; }
.mp-logo-svc .ic { width: 18px; height: 18px; }
.mp-open { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: var(--green-ink); }
.mp-open i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.mp-sec { font-size: 10px; font-weight: 750; color: var(--ink-3); margin-top: 2px; }
.mp-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.mp-slots i { font-style: normal; text-align: center; font-size: 10px; font-weight: 700; padding: 6px 0; border: 1px solid var(--line); border-radius: 7px; }
.mp-slots i.is-on { background: var(--acc); border-color: var(--acc); color: #fff; }

/* ==========================================================================
   v7: aligned with the platform document
   ========================================================================== */

/* ---------- How the QR works ---------- */
.flow { display: grid; grid-template-columns: 1fr 1.05fr 1.35fr; gap: 1.25rem; margin: 0; padding: 0; position: relative; }
.flow-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.5rem; position: relative; min-width: 0; }
.flow-col + .flow-col::before {
  content: ""; position: absolute; left: -1.25rem; top: 50%; width: 1.25rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 5px, transparent 5px 10px);
}
.flow-col + .flow-col::after {
  content: ""; position: absolute; left: -5px; top: calc(50% - 4px); width: 8px; height: 8px;
  border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: rotate(45deg);
}
.flow-step { display: flex; align-items: center; gap: .6rem; font-weight: 750; font-size: .95rem; margin-bottom: 1.1rem; }
.flow-step span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--deep-900); color: #fff; font-size: .8rem; flex: none; }
.flow-places { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.flow-places li { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; background: var(--cloud); font-weight: 650; font-size: .9rem; }
.flow-places .ic { color: var(--brand); }
.flow-url { display: flex; flex-direction: column; }
.flow-qr { width: 132px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; margin: .25rem auto 1.1rem; }
.flow-links { display: flex; flex-direction: column; gap: .5rem; }
.flow-links p { display: flex; flex-direction: column; gap: .2rem; padding: .6rem .75rem; border-radius: 10px; border: 1px solid var(--line); }
.flow-links code { font-family: var(--f-body); font-size: .88rem; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.fl-kind { font-size: .7rem; font-weight: 750; color: var(--brand-ink); }
.fl-kind-biz { color: #0A5E8C; }
.flow-note { margin-top: auto; padding-top: 1rem; font-size: .85rem; color: var(--ink-2); line-height: 1.5; }
.flow-out { display: flex; flex-direction: column; gap: .75rem; }
.flow-out .flow-step { margin-bottom: .35rem; }
.side { border-radius: 14px; padding: 1rem 1.1rem; }
.side-public { background: var(--brand-tint); }
.side-private { background: var(--deep-900); color: #fff; position: relative; }
.side-head { display: grid; grid-template-columns: auto 1fr; column-gap: .55rem; align-items: center; margin-bottom: .6rem; }
.side-head .ic { grid-row: span 2; width: 22px; height: 22px; color: var(--brand); }
.side-private .side-head .ic { color: var(--signal); }
.side-head b { font-size: 1rem; }
.side-head span { font-size: .78rem; color: var(--ink-2); font-weight: 600; }
.side-private .side-head span { color: var(--on-dark-3); }
.side ul { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; }
.side li { font-size: .85rem; font-weight: 600; padding-left: 1rem; position: relative; line-height: 1.4; }
.side li::before { content: ""; position: absolute; left: 0; top: .45em; width: 6px; height: 6px; border-radius: 2px; background: var(--brand); }
.side-private li { color: var(--on-dark-2); }
.side-private li::before { background: var(--signal); }
.side-flag { position: absolute; right: 1rem; top: 1rem; font-size: .7rem; font-weight: 750; color: var(--deep-900); background: var(--signal); padding: .2rem .55rem; border-radius: 6px; }
@media (max-width: 1199.98px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-out { grid-column: 1 / -1; }
  .flow-out::before, .flow-out::after { display: none; }
  .flow-places { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
  .flow { grid-template-columns: 1fr; gap: 1.5rem; }
  .flow-col + .flow-col::before { left: 50%; top: -1.5rem; width: 2px; height: 1.5rem; background: repeating-linear-gradient(180deg, var(--brand) 0 5px, transparent 5px 10px); }
  .flow-col + .flow-col::after { left: calc(50% - 4px); top: -9px; transform: rotate(135deg); }
  .flow-out::before, .flow-out::after { display: block; }
  .side ul { grid-template-columns: 1fr; }
  .side-flag { position: static; display: inline-block; margin-top: .75rem; }
}

/* ---------- Six modules ---------- */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.mod {
  display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--r-l);
  border: 1px solid var(--line); background: var(--white); min-width: 0;
}
.mod-dark { background: var(--deep-900); border-color: var(--deep-900); color: #fff; }
.mod-id { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.mod-letter {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem; background: var(--brand-tint); color: var(--brand-ink);
}
.mod-dark .mod-letter { background: rgba(255,255,255,.08); color: #fff; }
.mod-id .ic { width: 26px; height: 26px; color: var(--brand); }
.mod-dark .mod-id .ic { color: var(--signal); }
.mod h3 { font-size: 1.3rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; }
.mod-text { color: var(--ink-2); font-size: .94rem; margin-top: .6rem; line-height: 1.55; }
.mod-dark .mod-text { color: var(--on-dark-2); }
.mod-list { margin-top: 1.1rem; display: flex; flex-direction: column; gap: .45rem; }
.mod-list li { position: relative; padding-left: 1.2rem; font-size: .9rem; font-weight: 600; line-height: 1.45; }
.mod-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 2px; border: 2px solid var(--brand); }
.mod-dark .mod-list li { color: var(--on-dark-2); }
.mod-dark .mod-list li::before { border-color: var(--signal); }
.mod-for { display: flex; gap: .4rem; margin-top: auto; padding-top: 1.4rem; }
.mod-for span { font-size: .72rem; font-weight: 750; padding: .15rem .55rem; border-radius: 6px; }
.for-p { background: var(--brand-tint); color: var(--brand-ink); }
.for-b { background: #D6F7FF; color: #0A5E8C; }
.mod-dark .for-p { background: rgba(0,195,255,.18); color: #BFE6FF; }
.mod-dark .for-b { background: rgba(0,195,255,.16); color: #9ADDFB; }
@media (max-width: 1199.98px) { .mods { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767.98px) { .mods { grid-template-columns: 1fr; } }

/* ---------- Document vault ---------- */
.sec-tag-dark { color: var(--signal); }
.fine-dark { color: var(--on-dark-3); }
.vault-points { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.vault-points li { display: flex; gap: .9rem; align-items: flex-start; }
.vault-points .ic { width: 38px; height: 38px; padding: 9px; border-radius: 11px; flex: none; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: var(--signal); }
.vault-points span { display: flex; flex-direction: column; color: var(--on-dark-2); font-size: .93rem; line-height: 1.5; }
.vault-points b { color: #fff; font-size: 1rem; }
.vault-app { background: var(--white); color: var(--ink); border-radius: var(--r-m); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.vault-body { padding: 1.25rem 1.4rem 1.4rem; }
.vault-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.vault-search { display: inline-flex; align-items: center; gap: .5rem; min-width: 200px; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-3); font-size: .88rem; font-weight: 600; }
.aud-vault { margin: 0; }
.aud-vault .aud-label { display: none; }
.vault-table { width: 100%; min-width: 520px; border-collapse: collapse; margin-top: 1.1rem; font-size: .88rem; }
.vault-table th { text-align: left; font-size: .72rem; font-weight: 750; color: var(--ink-3); padding: .5rem .5rem; border-bottom: 1px solid var(--line); }
.vault-table td { padding: .7rem .5rem; border-bottom: 1px solid var(--mist); font-weight: 600; color: var(--ink-2); }
.vd { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 700; }
.vd .ic { color: var(--brand); }
.exp { font-size: .76rem; font-weight: 700; color: var(--ink-3); }
.exp-ok { color: var(--green-ink); }
.exp-warn { color: #9A5B00; background: #FFF3DC; padding: .15rem .5rem; border-radius: 6px; }
.exp-due { color: #0A5E8C; background: #D6F7FF; padding: .15rem .5rem; border-radius: 6px; }
.acc { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.acc .ic { width: 14px; height: 14px; }
.acc-share { color: var(--brand-ink); }
.vault-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1rem; font-size: .8rem; color: var(--ink-3); }

/* ---------- Directory and classifieds ---------- */
.dir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.dir-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.6rem; min-width: 0; display: flex; flex-direction: column; }
.dir-label { display: flex; align-items: center; gap: .5rem; font-weight: 750; margin-bottom: 1rem; }
.dir-label .ic { color: var(--brand); }
.dir-search { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .9rem; border: 1px solid var(--line-2); border-radius: 12px; font-weight: 650; }
.dir-loc { display: inline-flex; align-items: center; gap: .3rem; color: var(--ink-2); font-size: .88rem; }
.dir-results { margin-top: .75rem; }
.dir-results li { display: flex; align-items: center; gap: .8rem; padding: .75rem 0; border-bottom: 1px solid var(--mist); }
.dr-logo { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; font-weight: 800; font-size: .72rem; background: var(--deep-900); color: var(--signal); }
.dr-logo-2 { background: #E9F4EE; color: var(--green-ink); }
.dr-logo-3 { background: #FFF3DC; color: #9A5B00; }
.dr-main { display: flex; flex-direction: column; min-width: 0; }
.dr-main small { color: var(--ink-2); font-weight: 600; }
.dr-rate { margin-left: auto; font-weight: 750; font-size: .88rem; color: #B97A00; white-space: nowrap; }
.ads { display: flex; flex-direction: column; gap: .7rem; }
.ads li { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: center; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 14px; }
.ads b { grid-column: 1; font-size: .95rem; }
.ads small { grid-column: 1; color: var(--ink-2); font-weight: 600; }
.ad-tag { grid-column: 1; justify-self: start; font-size: .68rem; font-weight: 750; padding: .1rem .45rem; border-radius: 5px; margin-bottom: .3rem; background: var(--brand-tint); color: var(--brand-ink); }
.ad-tag-b { background: #D6F7FF; color: #0A5E8C; }
.ad-tag-j { background: #E9F4EE; color: var(--green-ink); }
.ad-act { grid-column: 2; grid-row: 1 / span 3; font-size: .78rem; font-weight: 750; border: 1px solid var(--line-2); padding: .35rem .7rem; border-radius: 8px; white-space: nowrap; }
.dir-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: auto; padding-top: 1rem; font-size: .8rem; color: var(--ink-3); }
@media (max-width: 991.98px) { .dir-grid { grid-template-columns: 1fr; } }

/* ---------- Enterprise and add-ons ---------- */
.enterprise {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
  margin-top: 1.25rem; padding: 1.75rem 2rem; border-radius: var(--r-l); background: var(--deep-900); color: #fff;
}
.ent-main { flex: 1 1 420px; min-width: 0; }
.ent-main h3 { font-size: 1.35rem; font-weight: 750; letter-spacing: -.02em; }
.ent-main p:not(.plan-kind) { color: var(--on-dark-2); margin-top: .5rem; max-width: 56ch; font-size: .95rem; }
.plan-kind-ent { background: rgba(255,255,255,.08); color: #fff; }
.ent-side { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.ent-price { font-size: 1.1rem; font-weight: 750; }
.addons { margin-top: 1.25rem; padding: 1.25rem 1.5rem; border: 1px dashed var(--line-2); border-radius: var(--r-l); display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; }
.addons-h { font-weight: 750; font-size: .95rem; }
.addons-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.addons-list li { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 650; padding: .35rem .7rem; border-radius: 8px; background: var(--cloud); }
.addons-list .ic { width: 15px; height: 15px; color: var(--brand); }

/* ---------- Registration form ---------- */
.sec-start .display-l { max-width: 14ch; }
.next-steps { margin-top: 2rem; display: flex; flex-direction: column; gap: .9rem; counter-reset: none; }
.next-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: .85rem; color: var(--on-dark-2); font-size: .9rem; line-height: 1.45; }
.next-steps li > span { grid-row: span 2; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid var(--line-dark); color: #fff; font-weight: 750; font-size: .8rem; }
.next-steps b { color: #fff; font-weight: 700; }
.req-star { color: var(--signal); }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 575.98px) { .fld-row { grid-template-columns: 1fr; } }
.rc span .ic { flex: none; }
.rc-t { display: flex; flex-direction: column; line-height: 1.3; }
.rc-t small { font-weight: 600; font-size: .78rem; color: var(--on-dark-3); }
.rc input:checked + span .rc-t small { color: var(--on-dark-2); }
.radio-cards .rc > span { min-height: 64px; align-items: center; }
.pass input[type="password"], .pass input[type="text"] { border: 0 !important; background: transparent !important; flex: 1; min-width: 0; }
.pass-toggle { border: 0; background: transparent; color: var(--on-dark-2); font-weight: 700; font-size: .85rem; padding: 0 .9rem; cursor: pointer; }
.pass-toggle:hover { color: #fff; }
.handle input[type="tel"] { border: 0 !important; background: transparent !important; padding-left: .4rem; min-width: 0; width: 100%; min-height: 50px; color: #fff; font-size: 1rem; font-weight: 600; }
.handle input[type="tel"]:focus, .pass input:focus { outline: none; }
.handle input[type="password"], .handle input[type="text"] { min-height: 50px; color: #fff; font-size: 1rem; font-weight: 600; padding: .7rem .9rem; }
.checks { display: flex; flex-direction: column; gap: .6rem; }
.chk { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--on-dark-2); line-height: 1.5; cursor: pointer; }
.chk input { width: 18px; height: 18px; margin-top: .15rem; flex: none; accent-color: var(--brand); }
.help-center { text-align: center; }
.start-card { margin-top: 2rem; }

/* ---------- Footer, five columns ---------- */
.foot-top { grid-template-columns: 1fr 3.2fr; }
.foot-cols { grid-template-columns: repeat(4, 1fr) 1.4fr; gap: 1.75rem; }
.foot-brand img { height: 72px; width: auto; }
.foot-tagline { color: #fff; font-weight: 750; margin-top: 1.1rem !important; }
.foot-brand p:last-child { margin-top: .6rem; font-size: .88rem; }
.soon { color: var(--on-dark-3); opacity: .7; }
.foot-contact { gap: 1rem !important; }
.foot-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; line-height: 1.45; }
.foot-contact .ic { margin-top: .2rem; color: var(--signal); }
.foot-contact li > span { display: flex; flex-direction: column; min-width: 0; }
.foot-contact small { color: #fff; font-weight: 700; font-size: .8rem; }
.foot-contact .contact-email { font-size: .86rem; font-weight: 600; overflow-wrap: anywhere; }
.foot-copy { align-self: flex-start; margin-top: .3rem; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark-2); font-size: .72rem; font-weight: 700; padding: .15rem .5rem; border-radius: 6px; cursor: pointer; }
.foot-copy:hover, .foot-copy.is-done { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.foot-note { margin-top: 2rem; font-size: .78rem; color: var(--on-dark-3); }
.foot-bottom { margin-top: 1.25rem; }
.foot-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
@media (max-width: 1199.98px) {
  .foot-top { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) { .foot-cols { grid-template-columns: repeat(2, 1fr); } #contact-us { grid-column: 1 / -1; } }

/* Hero, desktop: headline and copy on the left, product display on the right */
@media (min-width: 1200px) {
  .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 590px; column-gap: 2.5rem; grid-template-rows: auto auto 1fr; }
  .hero-inner > .kicker { grid-column: 1; grid-row: 1; justify-self: start; }
  .hero-inner > .display-hero { grid-column: 1; grid-row: 2; font-size: 4.3rem; }
  .hero-inner > .display-hero .ln { white-space: nowrap; }
  .hero-body { display: contents; }
  .hero-copy { grid-column: 1; grid-row: 3; padding-top: 1.75rem; }
  .hero-stage { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}
.foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.55fr); }
.foot-contact .contact-email { overflow-wrap: normal; word-break: normal; font-size: .84rem; }
.ad-act { border: 0; padding: 0; color: var(--brand-ink); font-weight: 700; }
.start-card .start-url { overflow-wrap: break-word; }

/* ==========================================================================
   v8: log in, register, account dialog
   ========================================================================== */
.nav-cta { display: flex; align-items: center; gap: .5rem; }
.btn-text-a { --b-bg: transparent; --b-bd: transparent; --b-fg: var(--ink); padding-inline: .9rem; }
.btn-text-a:hover { --b-bd: var(--line-2); }
.btn-text-a .ic { width: 18px; height: 18px; }
.btn-text-a:hover .ic { transform: none; }
.site-header.is-over-dark .btn-text-a { --b-fg: #fff; }
.site-header.is-over-dark .btn-text-a:hover { --b-bd: rgba(255,255,255,.3); }
@media (max-width: 1199.98px) {
  .navbar-collapse { margin-top: .75rem; border-top: 1px solid var(--line); padding-block: .75rem 1rem; }
  .site-header.is-over-dark .navbar-collapse { border-top-color: var(--line-dark); }
  .nav-links .nav-link { padding: .8rem .25rem !important; font-size: 1.05rem; border-bottom: 1px solid var(--mist); border-radius: 0; }
  .site-header.is-over-dark .nav-links .nav-link { border-bottom-color: var(--line-dark); }
  .nav-links .nav-link.is-current::after { display: none; }
  .nav-cta { margin-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; }
  .nav-cta .btn-a { width: 100%; min-height: 50px; }
  .btn-text-a { --b-bd: var(--line-2); }
  .site-header.is-over-dark .btn-text-a { --b-bd: rgba(255,255,255,.25); }
}
.inline-link, .foot-btn {
  border: 0; background: none; padding: 0; font: inherit; cursor: pointer;
  color: inherit; text-decoration: underline; text-underline-offset: 3px;
}
.sec-start .inline-link { color: #fff; font-weight: 700; }
.foot-btn { text-decoration: none; color: var(--on-dark-2); transition: color var(--dur); }
.foot-btn:hover { color: #fff; }

/* Registration extras */
.cc {
  border: 0; background: transparent; color: var(--on-dark-2); font: inherit; font-weight: 700; font-size: .9rem;
  padding: 0 .3rem 0 .8rem; cursor: pointer; border-right: 1px solid rgba(255,255,255,.12);
}
.cc:focus { outline: none; color: #fff; }
.cc option { color: var(--ink); }
.ref summary { cursor: pointer; font-size: .88rem; font-weight: 700; color: var(--on-dark-2); list-style: none; display: inline-flex; align-items: center; gap: .4rem; }
.ref summary::-webkit-details-marker { display: none; }
.ref summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--line-dark); font-size: .8rem; }
.ref[open] summary::before { content: "–"; }
.ref[open] .fld { margin-top: .75rem; }
.opt { font-size: .75rem; font-weight: 600; color: var(--on-dark-3); margin-left: .3rem; }

/* Log in dialog */
html.auth-open { overflow: hidden; }
.auth {
  border: 0; padding: 0; background: transparent; max-width: calc(100vw - 32px); width: 440px;
  max-height: calc(100dvh - 32px); overflow: visible; color: var(--ink);
}
.auth::backdrop { background: rgba(10,31,74,.62); backdrop-filter: blur(4px); }
.auth-card {
  position: relative; background: var(--white); border-radius: var(--r-l); padding: 2rem;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); max-height: calc(100dvh - 32px); overflow-y: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .auth[open] .auth-card { animation: authIn .28s var(--ease) both; }
  @keyframes authIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
}
.auth-close {
  position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; color: var(--ink-2);
}
.auth-close:hover { color: var(--ink); border-color: var(--line-2); }
.auth-logo { height: 28px; width: auto; display: block; }
.auth-title { font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-top: 1.4rem; }
.auth-sub { color: var(--ink-2); font-size: .92rem; margin-top: .5rem; line-height: 1.5; }
.auth-seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-top: 1.4rem; }
.auth-seg .seg-btn { justify-content: center; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.25rem; }
.afld { display: flex; flex-direction: column; gap: .4rem; }
.afld label { font-weight: 700; font-size: .88rem; }
.afld-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.afld input, .apass {
  width: 100%; min-height: 48px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white);
  font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); padding: .65rem .85rem;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.afld input::placeholder { color: var(--ink-3); font-weight: 500; }
.afld input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10,31,74,.15); }
.afld input[aria-invalid="true"] { border-color: #D9381E; }
.apass { display: flex; padding: 0; overflow: hidden; }
.apass:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10,31,74,.15); }
.apass input { border: 0; min-height: 46px; box-shadow: none !important; flex: 1; min-width: 0; }
.apass-toggle { border: 0; background: transparent; padding: 0 .9rem; font-weight: 700; font-size: .85rem; color: var(--ink-2); cursor: pointer; }
.aerr { font-size: .82rem; font-weight: 650; color: #C2321A; }
.auth-link, .auth-back { border: 0; background: none; padding: 0; font: inherit; font-size: .85rem; font-weight: 700; color: var(--brand-ink); cursor: pointer; }
.auth-back { display: inline-flex; align-items: center; gap: .35rem; margin-top: .25rem; }
.auth-hint { font-size: .88rem; color: var(--ink-2); background: var(--cloud); padding: .7rem .85rem; border-radius: 10px; }
.achk { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.achk input { width: 18px; height: 18px; accent-color: var(--brand); }
.auth-status { font-size: .86rem; line-height: 1.5; padding: .75rem .9rem; border-radius: 10px; background: var(--brand-tint); color: var(--brand-ink); }
.auth-status b { color: var(--ink); }
.auth-switch { margin-top: 1.25rem; text-align: center; font-size: .9rem; color: var(--ink-2); }
.auth-switch a { font-weight: 700; }
.auth-note { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .76rem; color: var(--ink-3); text-align: center; }
@media (max-width: 480px) { .auth-card { padding: 1.5rem 1.25rem; } .auth-title { font-size: 1.35rem; } }

/* v9: A2Z / QR Card / tagline lockup */
.brand img { height: 44px; width: auto; }
.site-header .navbar { padding-block: .7rem; }
@media (max-width: 575.98px) { .brand img { height: 40px; } }
.foot-brand img { height: 56px; width: auto; }
.foot-brand p { margin-top: 1.25rem; }
.stand-card > img { width: 140px; height: auto; }
.qr-card-top img { height: 20px; width: auto; }
.auth-logo { height: 40px; width: auto; }
.foot-brand img + p { margin-top: 1.25rem !important; }

/* ==========================================================================
   v10: indigo + gold palette rules
   ========================================================================== */
/* Primary button: indigo on light surfaces, gold on indigo surfaces */
.btn-primary-a { box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 8px 18px -8px rgba(10,31,74,.55); }
.btn-primary-a:hover { --b-bg: #0058BD; --b-bd: #0058BD; color: #fff; }
.hero .btn-primary-a, .sec-dark .btn-primary-a, .site-header.is-over-dark .btn-primary-a,
.pp-business .btn-primary-a, .plan-feature .btn-primary-a, .auth .btn-gold-a, .btn-gold-a {
  --b-bg: var(--signal); --b-bd: var(--signal); --b-fg: var(--deep-900);
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 10px 24px -10px rgba(0,195,255,.6);
}
.hero .btn-primary-a:hover, .sec-dark .btn-primary-a:hover, .site-header.is-over-dark .btn-primary-a:hover,
.pp-business .btn-primary-a:hover, .plan-feature .btn-primary-a:hover, .btn-gold-a:hover {
  --b-bg: #4CC6F7; --b-bd: #4CC6F7; color: var(--deep-900);
}
.pp-personal .btn-primary-a { --b-bg: var(--deep-900); }
/* Hero glow in gold */
.hero-bg {
  background:
    radial-gradient(50% 55% at 80% 35%, rgba(0,195,255,.16), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(0,123,255,.22), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 1.3px) 0 0 / 24px 24px;
}
.kicker-dot { background: var(--signal); box-shadow: 0 0 0 4px rgba(0,195,255,.22); }
/* Business tags and labels use gold-family ink on light */
.fl-kind-biz, .sec-tag { color: var(--gold-ink); }
.aud-switch .seg-btn[data-aud-set="business"].is-active { color: var(--gold-ink); }
.aud-switch .seg-btn[data-aud-set="personal"].is-active { color: var(--deep-900); }
.mod-dark .for-p { background: rgba(255,255,255,.1); color: #fff; }
.plan-flag { background: var(--signal); color: var(--deep-900); }
.side-flag { background: var(--signal); color: var(--deep-900); }
/* Profile covers in the sample phones */
.p-cover-personal, .pp-cover-person {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.22) 1px, transparent 1.3px) 0 0 / 12px 12px,
    linear-gradient(150deg, #0A1F4A 0%, #3A3390 70%, #6A5FC4 100%);
}
.pp-portrait i { background: var(--signal); }
.p-act .ic, .flow-places .ic, .mod-id .ic, .dir-label .ic, .vd .ic, .addons-list .ic, .pp-list .ic, .layer-items .ic, .cap-list .ic { color: var(--brand); }
.p-btn { background: var(--deep-900); }
.chart-bars span { background: #CFE0FF; }
.chart-bars span.is-peak { background: var(--signal); }
.tb.is-active { color: var(--deep-900); }
:focus-visible { outline-color: var(--deep-900); }
.sec-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .site-header.is-over-dark :focus-visible { outline-color: var(--signal); }

/* ==========================================================================
   v10: SaaS hero composition (dashboard + two profiles)
   ========================================================================== */
.hs { width: 720px; height: 560px; }
.hs-dash { left: 70px; top: 0; width: 650px; z-index: 1; }
.hs-personal { left: 0; top: 150px; z-index: 3; }
.hs-business { left: 530px; top: 136px; z-index: 3; }
.hs-personal .device-hs { --dw: 172px; }
.hs-business .device-hs { --dw: 186px; }
.hs-chip { margin: 0 0 10px 6px; font-size: .72rem; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.hs-chip-biz { background: rgba(0,195,255,.2); border-color: rgba(0,195,255,.55); }
.hs-floor { left: 40px; right: 20px; bottom: 0; }

.app {
  width: 650px; height: 400px; background: #fff; border-radius: 14px; overflow: hidden; color: var(--ink);
  box-shadow: 0 50px 100px -30px rgba(3,12,32,.85), 0 0 0 1px rgba(255,255,255,.12);
  display: flex; flex-direction: column; font-size: 10px;
}
.app-bar { flex: none; display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: #EEF3FA; border-bottom: 1px solid var(--line); }
.app-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.app-url { margin-left: 14px; flex: 1; max-width: 260px; display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--ink-2); font-weight: 600; font-size: 9.5px; }
.app-url .ic { width: 10px; height: 10px; color: var(--green-ink); }
.app-body { flex: 1; display: grid; grid-template-columns: 138px 1fr; min-height: 0; }
.app-side { background: var(--deep-900); color: #C3CEE6; padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.app-ws { display: flex; align-items: center; gap: 7px; padding: 4px 4px 10px; margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
.app-ws b { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: var(--signal); color: var(--deep-900); font-size: 7.5px; font-weight: 800; flex: none; }
.app-ws > span { display: flex; flex-direction: column; color: #fff; font-weight: 700; font-size: 10px; line-height: 1.2; }
.app-ws small { color: var(--signal); font-weight: 700; font-size: 8.5px; }
.an { display: flex; align-items: center; gap: 7px; padding: 6px 7px; border-radius: 6px; font-weight: 600; font-size: 10px; }
.an .ic { width: 13px; height: 13px; color: #93A2C4; }
.an.is-on { background: rgba(255,255,255,.1); color: #fff; }
.an.is-on .ic { color: var(--signal); }
.an em { margin-left: auto; font-style: normal; font-size: 8.5px; font-weight: 800; background: var(--signal); color: var(--deep-900); border-radius: 999px; padding: 0 6px; }
.app-main { padding: 14px 16px; display: flex; flex-direction: column; gap: 11px; min-width: 0; background: #F8FAFD; }
.app-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.app-h { font-weight: 800; font-size: 14px; letter-spacing: -.02em; }
.app-s { color: var(--ink-2); font-size: 9.5px; margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.app-s .sample-tag { font-size: 8px; }
.app-btn { display: inline-flex; align-items: center; gap: 4px; background: var(--deep-900); color: #fff; font-weight: 700; font-size: 9.5px; padding: 6px 9px; border-radius: 7px; white-space: nowrap; }
.app-btn .ic { width: 11px; height: 11px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 9px; display: flex; flex-direction: column; gap: 2px; }
.kpi span { color: var(--ink-2); font-weight: 600; font-size: 9px; }
.kpi b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi small { font-size: 8.5px; font-weight: 700; color: var(--ink-3); }
.kpi small.up { color: var(--green-ink); }
.app-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; flex: 1; min-height: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; display: flex; flex-direction: column; min-height: 0; }
.panel-h { font-weight: 750; font-size: 10px; margin-bottom: 8px; }
.mini-chart { flex: 1; display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; align-items: end; border-bottom: 1px solid var(--line-2);
  background: linear-gradient(var(--line), var(--line)) 0 0 / 100% 1px no-repeat, linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat; }
.mini-chart i { height: calc(var(--v) * 1%); background: #CFE0FF; border-radius: 3px 3px 0 0; }
.mini-chart i.is-peak { background: var(--signal); }
.lead { display: flex; align-items: center; gap: 7px; padding: 5px 0; border-bottom: 1px solid var(--mist); font-size: 9.5px; font-weight: 700; }
.lead:last-child { border-bottom: 0; }
.lead .av { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--deep-900); font-size: 7.5px; font-weight: 800; flex: none; }
.lead > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.25; }
.lead small { color: var(--ink-2); font-weight: 600; font-size: 8.5px; }
.lead .pill { margin-left: auto; font-style: normal; font-size: 8px; padding: 2px 6px; }
.pill-new { background: var(--gold-tint); color: var(--gold-ink); }
.pill-reply { background: var(--brand-tint); color: var(--deep-900); }
.toast-card {
  position: absolute; left: 125px; top: 422px; width: 300px; z-index: 4;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: #fff; color: var(--ink); box-shadow: 0 24px 50px -16px rgba(3,12,32,.7);
}
.toast-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--signal); color: var(--deep-900); flex: none; }
.toast-ic .ic { width: 16px; height: 16px; }
.toast-card > span:last-child { display: flex; flex-direction: column; font-size: 11.5px; line-height: 1.35; }
.toast-card small { color: var(--ink-2); font-weight: 600; font-size: 10.5px; }
@media (prefers-reduced-motion: no-preference) {
  .toast-card { animation: toastIn .5s var(--ease) 1.1s both; }
  @keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (min-width: 1200px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 640px; }
}
.hs-personal { top: 168px; }
.hs-business { top: 150px; }
.hs-item .hs-chip { position: absolute; left: 50%; bottom: -36px; transform: translateX(-50%); margin: 0; }
.hs { height: 560px; }

/* ---------- Announcement bar ---------- */
.announce { background: #071739; color: #E7E5F5; font-size: .84rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.announce-in { display: flex; align-items: center; justify-content: center; gap: .5rem .9rem; flex-wrap: wrap; padding-block: .55rem; text-align: center; }
.announce-tag { font-size: .7rem; font-weight: 800; letter-spacing: .02em; background: var(--signal); color: var(--deep-900); padding: .15rem .55rem; border-radius: 999px; }
.announce-link { color: var(--signal); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.announce-link:hover { color: #7CD6FA; }
.announce-link .ic { width: 15px; height: 15px; }
@media (max-width: 575.98px) { .announce-text { flex-basis: 100%; order: 3; font-size: .8rem; } }

/* ---------- Works with ---------- */
.works { border-bottom: 1px solid var(--line); background: var(--white); }
.works-in { display: flex; align-items: center; gap: 1rem 2rem; padding-block: 1.6rem; }
.works-h { flex: none; font-weight: 750; font-size: .9rem; color: var(--ink); max-width: 15em; line-height: 1.35; }
.works-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.works-list li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--cloud); font-weight: 650; font-size: .86rem; color: var(--ink); white-space: nowrap; }
.works-list .ic { width: 15px; height: 15px; color: var(--gold-ink); }
@media (max-width: 991.98px) { .works-in { flex-direction: column; align-items: flex-start; } .works-h { max-width: none; } }

/* ---------- Product tour ---------- */
.sec-tour { background: radial-gradient(60% 50% at 50% 100%, rgba(0,123,255,.25), transparent 70%), var(--deep-900); }
.sec-tour .sec-tag { margin-bottom: .9rem; }
.tour-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tt {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: var(--on-dark-2);
  font-weight: 700; font-size: .92rem; cursor: pointer; transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.tt .ic { width: 17px; height: 17px; }
.tt:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.tt.is-active { background: var(--signal); border-color: var(--signal); color: var(--deep-900); }
.tour-box { position: relative; width: 100%; height: 520px; }
.tour-scale { position: absolute; left: 0; top: 0; width: 780px; transform-origin: top left; transform: scale(var(--k, 1)); }
.app-tour { width: 780px; height: 470px; }
.app-tour .app-body { grid-template-columns: 150px 1fr; }
.app-tour .app-main[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .app-tour .app-main.is-entering { animation: scrIn .3s var(--ease) both; } }
.ph-sub { font-weight: 600; color: var(--ink-3); font-size: 8.5px; margin-left: 4px; }
.src { display: grid; grid-template-columns: 70px 1fr 26px; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 650; padding: 5px 0; }
.src i { height: 7px; border-radius: 4px; background: linear-gradient(90deg, var(--deep-900) var(--w), var(--mist) var(--w)); }
.src b { text-align: right; font-variant-numeric: tabular-nums; }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; flex: 1; min-height: 0; }
.col { background: #EEF3FA; border-radius: 9px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.col-h { font-weight: 750; font-size: 10px; display: flex; justify-content: space-between; }
.col-h em { font-style: normal; color: var(--ink-3); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 7px; display: flex; flex-direction: column; gap: 2px; font-size: 9.5px; }
.card small { color: var(--ink-2); font-size: 8.5px; font-weight: 600; }
.tag { align-self: flex-start; margin-top: 4px; font-size: 8px; font-weight: 750; padding: 2px 6px; border-radius: 4px; background: var(--brand-tint); color: var(--deep-900); }
.tag-due { background: var(--gold-tint); color: var(--gold-ink); }
.tag-won { background: #E1F7EF; color: var(--green-ink); }
.kpis-3 { grid-template-columns: repeat(3, 1fr); }
.kpi small.down { color: #B4321F; }
.itable { display: flex; flex-direction: column; }
.ir { display: grid; grid-template-columns: 1fr 1.4fr 1fr 1fr; gap: 6px; align-items: center; padding: 7px 2px; border-bottom: 1px solid var(--mist); font-size: 10px; font-weight: 650; font-variant-numeric: tabular-nums; }
.ir:last-child { border-bottom: 0; }
.ir-h { font-size: 8.5px; font-weight: 750; color: var(--ink-3); padding-top: 0; }
.ir .pill { font-style: normal; font-size: 8px; padding: 2px 6px; }
.pill-due { background: var(--gold-tint); color: var(--gold-ink); }
.pill-over { background: #FDECEA; color: #B4321F; }
.app-row-2 { grid-template-columns: 1fr 1fr; }
.mem { display: flex; align-items: center; gap: 7px; padding: 6px 0; border-bottom: 1px solid var(--mist); font-size: 9.5px; font-weight: 700; }
.mem:last-child { border-bottom: 0; }
.mem .av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--deep-900); color: #fff; font-size: 7.5px; font-weight: 800; flex: none; }
.mem-invite .av { background: var(--mist); color: var(--ink-2); }
.mem > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.25; }
.mem small { color: var(--ink-2); font-size: 8.5px; font-weight: 600; }
.role { margin-left: auto; font-style: normal; font-size: 8px; font-weight: 750; padding: 2px 6px; border-radius: 4px; background: var(--brand-tint); color: var(--deep-900); white-space: nowrap; }
.app-row-ed { grid-template-columns: 1.5fr 1fr; }
.ef { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--mist); font-size: 10px; font-weight: 700; }
.ef:last-child { border-bottom: 0; }
.ef > span { display: flex; flex-direction: column; line-height: 1.3; }
.ef small { color: var(--ink-3); font-size: 8.5px; font-weight: 600; }
.vis { font-style: normal; font-size: 8px; font-weight: 750; padding: 2px 7px; border-radius: 999px; background: var(--mist); color: var(--ink-2); white-space: nowrap; }
.vis-on { background: #E1F7EF; color: var(--green-ink); }
.panel-qr { align-items: center; text-align: center; }
.panel-qr .qr { width: 110px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; }
.qr-note { font-size: 8.5px; color: var(--ink-2); margin: 6px 0 8px; font-weight: 600; }
.app-btn-gold { background: var(--signal); color: var(--deep-900); }
.app-btn-line { background: #fff; color: var(--deep-900); border: 1px solid var(--line-2); }
.tour-caption { margin-top: 1rem; color: var(--on-dark-2); font-size: .95rem; text-align: center; }
/* Contrast template keeps its accent visible on the dark surface */
.tpl-rail { --acc-c: #00C3FF; }
.mp-contrast { background: #081634; }
.mp-contrast .mp-av, .mp-contrast .mp-btn { background: var(--acc-c); color: var(--deep-900); }
.mp-contrast .mp-av { border-color: #081634; }
.mp-contrast .mp-acts i { color: var(--acc-c); }
.dir-card { background: var(--cloud); border-color: var(--line); }
.dir-card .dir-search, .dir-card .ads li { background: #fff; }
.sec-tag-dark { color: var(--signal); }
@media (max-width: 575.98px) {
  .tour-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tt { flex: none; }
}

/* ==========================================================================
   v11: theme from the final logo (navy, blue, cyan)
   ========================================================================== */
.btn-primary-a,
.hero .btn-primary-a, .sec-dark .btn-primary-a, .site-header.is-over-dark .btn-primary-a,
.pp-business .btn-primary-a, .pp-personal .btn-primary-a, .plan-feature .btn-primary-a, .btn-gold-a {
  --b-bg: linear-gradient(135deg, #007BFF 0%, #0E86F5 60%, #00C3FF 100%);
  --b-bd: transparent; --b-fg: #fff;
  background: var(--b-bg); border-color: transparent; color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 10px 24px -10px rgba(0,123,255,.65);
}
.btn-primary-a:hover,
.hero .btn-primary-a:hover, .sec-dark .btn-primary-a:hover, .site-header.is-over-dark .btn-primary-a:hover,
.pp-business .btn-primary-a:hover, .pp-personal .btn-primary-a:hover, .plan-feature .btn-primary-a:hover {
  --b-bg: linear-gradient(135deg, #0058BD 0%, #0B74E8 60%, #0FA2E6 100%); background: var(--b-bg); color: #fff;
}
.hero-bg {
  background:
    radial-gradient(50% 55% at 80% 35%, rgba(0,195,255,.18), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(0,123,255,.3), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 1.3px) 0 0 / 24px 24px;
}
.p-cover-personal, .pp-cover-person {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.22) 1px, transparent 1.3px) 0 0 / 12px 12px,
    linear-gradient(150deg, #0A1F4A 0%, #007BFF 70%, #00C3FF 100%);
}
.p-btn { background: var(--brand); }
.app-btn { background: var(--brand); }
.chart-bars span.is-peak, .mini-chart i.is-peak { background: linear-gradient(180deg, #00C3FF, #007BFF); }
.src i { background: linear-gradient(90deg, var(--brand) var(--w), var(--mist) var(--w)); }
.kicker-dot { background: var(--signal); box-shadow: 0 0 0 4px rgba(0,195,255,.25); }
.switch:checked { background: var(--brand); }
.mod-dark .mod-id .ic, .side-private .side-head .ic, .vault-points .ic, .foot-contact .ic { color: var(--signal); }
.display-hero .ln:last-child, .display-statement .ln:last-child {
  background: linear-gradient(90deg, #66DBFF, #00C3FF 40%, #007BFF); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.display-statement .ln:last-child { background: linear-gradient(90deg, #007BFF, #00C3FF); -webkit-background-clip: text; background-clip: text; }
.brand img { height: 46px; }
@media (max-width: 575.98px) { .brand img { height: 38px; } }
.foot-brand img { height: 52px; }

/* ==========================================================================
   Register and onboarding (register.html)
   ========================================================================== */
.page-reg { background: var(--cloud); }
.page-reg::before { background: #fff; }
.reg-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1030; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.reg-header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.reg-brand img { height: 40px; width: auto; display: block; }
.stages { display: flex; align-items: center; gap: .35rem; margin: 0; padding: 0; }
.stage { display: flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 700; color: var(--ink-3); }
.stage + .stage::before { content: ""; width: 28px; height: 2px; background: var(--line-2); margin-right: .1rem; border-radius: 2px; }
.st-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-2); font-size: .78rem; background: #fff; }
.stage.is-current { color: var(--ink); }
.stage.is-current .st-n { border-color: var(--brand); background: var(--brand); color: #fff; }
.stage.is-done { color: var(--ink-2); }
.stage.is-done .st-n { border-color: var(--brand); color: var(--brand); }
.stage.is-done + .stage::before, .stage.is-current + .stage::before { background: var(--line-2); }
.stage.is-done + .stage.is-current::before, .stage.is-done + .stage.is-done::before { background: var(--brand); }
.reg-login { font-size: .88rem; color: var(--ink-2); margin: 0; white-space: nowrap; }
.reg-login .inline-link { color: var(--brand-ink); font-weight: 700; }
@media (max-width: 991.98px) { .st-t { display: none; } .stage + .stage::before { width: 16px; } }
@media (max-width: 575.98px) { .reg-login { display: none; } .reg-brand img { height: 32px; } }

.reg { padding-block: 1.25rem 4rem; min-height: 70vh; }
.reg-preview-note { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--ink-2); margin-bottom: 1.25rem; }
.reg-preview-note .ic { color: var(--brand); flex: none; }
.reg-narrow { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 340px); gap: 2rem; justify-content: center; align-items: start; }
.reg-narrow-1 { grid-template-columns: minmax(0, 620px); }
@media (max-width: 991.98px) { .reg-narrow { grid-template-columns: minmax(0, 620px); } }
.reg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); box-shadow: var(--sh-1); min-width: 0; }
.reg-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.reg-title:focus { outline: none; }
.reg-sub { color: var(--ink-2); margin-top: .5rem; font-size: .95rem; }
.reg-form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.reg-aside { background: var(--deep-900); color: var(--on-dark-2); border-radius: var(--r-l); padding: 1.75rem; }
.reg-aside h2 { color: #fff; font-size: 1.1rem; font-weight: 750; }
.next-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; counter-reset: n; }
.next-list li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; column-gap: .75rem; font-size: .9rem; line-height: 1.45; }
.next-list li::before { content: counter(n); grid-row: span 2; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--signal); font-weight: 800; font-size: .8rem; }
.next-list b { color: #fff; }
.aside-note { display: flex; gap: .5rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.aside-note .ic { color: var(--signal); flex: none; margin-top: .15rem; }

/* Fields (light UI) */
.wgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
@media (max-width: 575.98px) { .wgrid { grid-template-columns: minmax(0, 1fr); } }
.wf { display: flex; flex-direction: column; gap: .35rem; min-width: 0; margin: 0; border: 0; padding: 0; }
.wf-wide { grid-column: 1 / -1; }
.wf > label, .wf > legend, .wf-label { font-weight: 700; font-size: .88rem; color: var(--ink); float: none; width: auto; padding: 0; margin: 0 0 .1rem; }
.opt { font-size: .74rem; font-weight: 600; color: var(--ink-3); margin-left: .25rem; }
.page-reg .req-star { color: #D2321F; }
.wf-in { display: flex; min-width: 0; }
.page-reg input[type="text"], .page-reg input[type="email"], .page-reg input[type="tel"], .page-reg input[type="url"],
.page-reg input[type="password"], .page-reg input[type="date"], .page-reg input[type="month"], .page-reg input[type="number"],
.page-reg select, .page-reg textarea {
  width: 100%; min-width: 0; min-height: 46px; border: 1px solid var(--line-2); border-radius: 11px; background: #fff;
  font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink); padding: .6rem .8rem;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.page-reg textarea { min-height: 0; resize: vertical; line-height: 1.5; }
.page-reg select { padding-right: 2rem; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355627D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .7rem center; }
.page-reg ::placeholder { color: var(--ink-3); font-weight: 500; }
.page-reg input:focus, .page-reg select:focus, .page-reg textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,123,255,.15); }
.page-reg [aria-invalid="true"] { border-color: #D2321F !important; }
.page-reg .err { color: #C2321A; font-size: .82rem; font-weight: 650; }
.page-reg .help { color: var(--ink-2); font-size: .8rem; line-height: 1.45; }
.has-vis input, .has-vis select:not(.vis-sel) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.vis-sel { flex: none; width: auto !important; min-width: 0; max-width: 46%; border-left: 0 !important; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; background-color: var(--cloud) !important; font-size: .8rem !important; color: var(--ink-2) !important; }
.vis-sel[data-v="public"] { color: var(--green-ink) !important; }
.phone-in select { flex: none; width: 104px !important; border-top-right-radius: 0; border-bottom-right-radius: 0; background-color: var(--cloud); }
.phone-in input { border-left: 0 !important; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.pass-in input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.pass-show { flex: none; border: 1px solid var(--line-2); border-left: 0; border-radius: 0 11px 11px 0; background: var(--cloud); padding: 0 .9rem; font-weight: 700; font-size: .85rem; color: var(--ink-2); cursor: pointer; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: .2rem; }
.pw-meter i { height: 4px; border-radius: 2px; background: var(--line); transition: background var(--dur); }
.pw-meter[data-s="1"] i:nth-child(-n+1) { background: #D2321F; }
.pw-meter[data-s="2"] i:nth-child(-n+2) { background: #E39B0B; }
.pw-meter[data-s="3"] i:nth-child(-n+3) { background: var(--brand); }
.pw-meter[data-s="4"] i { background: var(--green); }
.acc-types { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.acc-type { position: relative; cursor: pointer; }
.acc-type input { position: absolute; opacity: 0; inset: 0; }
.acc-type > span { display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; padding: .9rem 1rem; border: 1.5px solid var(--line-2); border-radius: 14px; transition: border-color var(--dur), background var(--dur); }
.acc-type .ic { grid-row: span 2; width: 26px; height: 26px; color: var(--ink-3); }
.acc-type b { font-size: 1rem; }
.acc-type small { color: var(--ink-2); font-size: .8rem; font-weight: 600; }
.acc-type input:checked + span { border-color: var(--brand); background: var(--brand-tint); }
.acc-type input:checked + span .ic { color: var(--brand); }
.acc-type input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 420px) { .acc-types { grid-template-columns: 1fr; } }
.wc .chk-l, .chk-l { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.chk-l input { width: 18px; height: 18px; margin-top: .15rem; flex: none; accent-color: var(--brand); }
.wdetails summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--brand-ink); list-style: none; display: inline-flex; align-items: center; gap: .4rem; }
.wdetails summary::-webkit-details-marker { display: none; }
.wdetails summary::before { content: "+"; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line-2); display: inline-grid; place-items: center; font-size: .85rem; }
.wdetails[open] summary::before { content: "–"; }
.wdetails[open] > .wgrid, .wdetails[open] > ul { margin-top: 1rem; }
.page-reg .help-center { text-align: center; }
.reg-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-top: .5rem; }

/* OTP */
.otp-block { border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; margin: 0; }
.otp-block legend { float: none; width: auto; padding: 0; margin: 0 0 .9rem; display: flex; align-items: center; gap: .6rem; font-weight: 750; font-size: .95rem; }
.otp-block legend .ic { width: 22px; height: 22px; color: var(--brand); }
.otp-block legend span { display: flex; flex-direction: column; line-height: 1.3; }
.otp-block legend small { font-weight: 600; color: var(--ink-2); font-size: .82rem; }
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 52px)); gap: .5rem; }
.page-reg .otp input { text-align: center; font-size: 1.3rem; font-weight: 800; padding: .4rem 0; min-height: 54px; }
.resend { margin-top: .75rem; border: 0; background: none; padding: 0; font: inherit; font-size: .85rem; font-weight: 700; color: var(--brand-ink); cursor: pointer; }
.resend:disabled { color: var(--ink-3); cursor: default; }

/* Notes */
.wnote { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 1rem; border-radius: 12px; font-size: .86rem; line-height: 1.5; margin: 0; }
.wnote .ic { flex: none; width: 18px; height: 18px; margin-top: .1rem; }
.wnote-info { background: var(--brand-tint); color: var(--ink); }
.wnote-info .ic { color: var(--brand); }
.wnote-lock { background: #EAF8F2; color: #0B4A35; }
.wnote-lock .ic { color: var(--green-ink); }
.wnote-warn { background: #FFF4E0; color: #6B4300; }
.wnote-warn .ic { color: #B9770E; }

/* Wizard layout */
.wz { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; }
.wz-side, .wz-preview { position: sticky; top: 92px; }
.wz-for { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 750; color: var(--brand-ink); background: var(--brand-tint); padding: .25rem .65rem; border-radius: 999px; }
.wz-for .ic { width: 15px; height: 15px; }
.wz-h { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin-top: .75rem; }
.wz-progress { margin-top: .9rem; }
.wz-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.wz-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #007BFF, #00C3FF); border-radius: 3px; transition: width .4s var(--ease); }
.wz-progress p { font-size: .8rem; color: var(--ink-2); margin-top: .4rem; font-weight: 600; }
.snav { margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.snav[hidden] { display: none; }
.sn { width: 100%; display: grid; grid-template-columns: 28px 1fr 18px; gap: .6rem; align-items: center; text-align: left; border: 0; background: transparent; padding: .5rem .55rem; border-radius: 10px; cursor: pointer; color: var(--ink); }
.sn:hover { background: rgba(10,31,74,.04); }
.sn-l { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .78rem; font-weight: 800; background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); }
.sn-t { display: flex; flex-direction: column; font-size: .88rem; font-weight: 700; line-height: 1.25; }
.sn-t small { font-size: .72rem; font-weight: 600; color: var(--ink-3); }
.sn-s { opacity: 0; color: var(--green-ink); }
.sn-s .ic { width: 16px; height: 16px; }
.sn[aria-current="step"] { background: #fff; box-shadow: var(--sh-1); }
.sn[aria-current="step"] .sn-l { background: var(--brand); border-color: var(--brand); color: #fff; }
.sn.is-done .sn-s { opacity: 1; }
.sn.is-done .sn-l { border-color: var(--green); color: var(--green-ink); }
.sn.has-error .sn-l { border-color: #D2321F; color: #D2321F; }
.draft-state { font-size: .78rem; color: var(--ink-3); margin-top: 1rem; display: flex; align-items: center; gap: .35rem; }
.draft-state.is-saved::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.draft-clear { font-size: .78rem; color: var(--ink-2); margin-top: .2rem; }

.wz-main { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-1); min-width: 0; }
.wz-sec { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.wz-kicker { font-size: .78rem; font-weight: 750; color: var(--ink-3); display: flex; align-items: center; gap: .5rem; }
.wz-tag { font-size: .68rem; padding: .1rem .45rem; border-radius: 5px; background: #FDECEA; color: #A42A18; }
.wz-tag-opt { background: var(--mist); color: var(--ink-2); }
.wz-title { font-size: 1.45rem; font-weight: 800; letter-spacing: -.025em; margin-top: .35rem; }
.wz-title:focus { outline: none; }
.wz-desc { color: var(--ink-2); font-size: .92rem; margin-top: .3rem; }
.wz-body { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.4rem; }
.wg { border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem 1.25rem; margin: 0; min-width: 0; }
.wg > legend { float: left; width: 100%; padding: 0; margin: 0 0 .9rem; font-weight: 750; font-size: .98rem; }
.wg > legend + * { clear: both; }
.wg-desc { color: var(--ink-2); font-size: .84rem; margin: -.4rem 0 .9rem; clear: both; }
.wt { display: flex; align-items: center; justify-content: space-between; gap: 1rem; grid-column: 1 / -1; padding: .4rem 0; }
.wt label { display: flex; flex-direction: column; font-size: .9rem; cursor: pointer; }
.wt small { font-size: .8rem; color: var(--ink-2); font-weight: 500; }
.rpills { display: flex; flex-wrap: wrap; gap: .5rem; }
.rpill { position: relative; cursor: pointer; }
.rpill input { position: absolute; opacity: 0; inset: 0; }
.rpill span { display: inline-block; padding: .5rem .85rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .86rem; font-weight: 650; background: #fff; transition: all var(--dur); }
.rpill input:checked + span { background: var(--deep-900); border-color: var(--deep-900); color: #fff; }
.rpill input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.sw-pick { display: flex; flex-wrap: wrap; gap: .6rem; }
.swp { cursor: pointer; position: relative; }
.swp input { position: absolute; opacity: 0; inset: 0; }
.swp > span { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 0 0 3px transparent; transition: box-shadow var(--dur); }
.swp input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); }
.swp input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 5px; }

.drop { display: flex; align-items: center; gap: .75rem; padding: .8rem .9rem; border: 1.5px dashed var(--line-2); border-radius: 12px; cursor: pointer; background: var(--cloud); position: relative; transition: border-color var(--dur), background var(--dur); }
.drop:hover, .drop.is-over { border-color: var(--brand); background: var(--brand-tint); }
.drop .ic { width: 22px; height: 22px; color: var(--brand); flex: none; }
.drop > span { display: flex; flex-direction: column; font-size: .88rem; line-height: 1.35; }
.drop small { color: var(--ink-2); font-size: .76rem; font-weight: 500; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.drop-files { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .8rem; }
.drop-files:empty { display: none; }
.drop-files span { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .5rem; border-radius: 6px; background: var(--mist); font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-files img { width: 22px; height: 22px; border-radius: 4px; object-fit: cover; }

.rep-list { display: flex; flex-direction: column; gap: .9rem; }
.rep-list:empty { display: none; }
.rrow { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; background: #FCFDFF; }
.rrow-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; font-size: .9rem; }
.rrow-x { display: inline-flex; align-items: center; gap: .3rem; border: 0; background: none; color: #B4321F; font-weight: 700; font-size: .8rem; cursor: pointer; padding: .3rem .4rem; border-radius: 6px; }
.rrow-x .ic { width: 15px; height: 15px; }
.rrow-x:hover { background: #FDECEA; }
.add-row { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; border: 1px dashed var(--brand); background: #fff; color: var(--brand-ink); font-weight: 700; font-size: .88rem; padding: .55rem .9rem; border-radius: 10px; cursor: pointer; }
.add-row:hover { background: var(--brand-tint); }
.add-row:disabled { opacity: .45; cursor: not-allowed; }
.rep-list:not(:empty) + .add-row { margin-top: .9rem; }

.tags { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding: .35rem; border: 1px solid var(--line-2); border-radius: 11px; background: #fff; }
.tags:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,123,255,.15); }
.tag-list { display: contents; }
.tag-list li { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .3rem .25rem .6rem; border-radius: 7px; background: var(--brand-tint); font-size: .84rem; font-weight: 650; }
.tag-list button { border: 0; background: none; padding: 0 .2rem; cursor: pointer; color: var(--ink-2); font-size: 1rem; line-height: 1; }
.page-reg .tags input { border: 0; min-height: 34px; padding: .25rem .4rem; flex: 1; min-width: 140px; box-shadow: none !important; }

.idrows { display: flex; flex-direction: column; }
.idrow { padding: .75rem 0; border-bottom: 1px solid var(--mist); }
.idrow:last-child { border-bottom: 0; }
.idrow[hidden] { display: none; }
.idrow-main { display: grid; grid-template-columns: 180px minmax(0, 1fr) 150px auto; gap: .6rem; align-items: center; }
.idrow-main > label:first-child { display: flex; flex-direction: column; font-size: .9rem; line-height: 1.25; }
.idrow-main small { font-size: .74rem; color: var(--ink-2); }
.page-reg .idrow .vis-sel { max-width: none; width: 100% !important; border-left: 1px solid var(--line-2) !important; border-radius: 11px !important; }
.na { display: flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 650; color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.na input { accent-color: var(--brand); }
.idrow.is-na input[type="text"] { background: var(--cloud); color: var(--ink-3); }
@media (max-width: 767.98px) { .idrow-main { grid-template-columns: 1fr 1fr; } .idrow-main > label:first-child { grid-column: 1 / -1; } .idrow-main input[type="text"] { grid-column: 1 / -1; } }
.lock-pill { display: inline-flex; align-items: center; gap: .35rem; min-height: 46px; padding: 0 .8rem; border-radius: 11px; background: #EAF8F2; color: var(--green-ink); font-weight: 700; font-size: .88rem; margin: 0; }
.slug { display: flex; border: 1px solid var(--line-2); border-radius: 11px; overflow: hidden; background: #fff; }
.slug:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,123,255,.15); }
.slug-pre { display: flex; align-items: center; padding: 0 0 0 .8rem; background: #fff; color: var(--ink-3); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.page-reg .slug input { border: 0; box-shadow: none !important; padding-left: .1rem; }
.page-reg .slug:has([aria-invalid="true"]) { border-color: #D2321F; }
.roles { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; font-size: .86rem; color: var(--ink-2); }
.roles b { color: var(--ink); margin-right: .3rem; }
[data-show-for][hidden] { display: none !important; }

.wz-foot { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: 1rem clamp(1.25rem, 1rem + 1.5vw, 2rem); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-radius: 0 0 var(--r-l) var(--r-l); z-index: 2; }
.wz-foot-r { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.page-reg .btn-text-a { --b-fg: var(--ink-2); }

/* Live preview */
.wzp-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .75rem; }
.wzp-h span { display: inline-flex; align-items: center; gap: .35rem; font-weight: 750; font-size: .9rem; }
.wzp-h .ic { color: var(--brand); width: 16px; height: 16px; }
.wzp-h small { color: var(--ink-3); font-size: .75rem; font-weight: 600; }
.device-wz { --dw: 280px; margin-inline: auto; }
.wzp { height: 100%; overflow-y: auto; scrollbar-width: none; }
.wzp::-webkit-scrollbar { display: none; }
.wzp .p-cover { background-size: cover; background-position: center; }
.wzp .avatar { overflow: hidden; background-size: cover; background-position: center; }
.wzp .avatar.has-img { color: transparent; }
.wzp .p-btn { background: var(--pv-acc, var(--brand)); }
.wzp .p-act .ic { color: var(--pv-acc, var(--brand)); }
.wzp .p-strip span { background-size: cover; background-position: center; aspect-ratio: 1; border-radius: .6em; display: block; background-color: var(--mist); }
.wzp-link { text-align: center; margin-top: .9rem; font-size: .82rem; color: var(--ink-2); font-weight: 600; overflow-wrap: anywhere; }
.wzp-link b { color: var(--brand-ink); }
.wzp-note { text-align: center; font-size: .75rem; color: var(--ink-3); margin-top: .3rem; }
@media (max-width: 1199.98px) {
  .wz { grid-template-columns: 230px minmax(0, 1fr); }
  .wz-preview { display: none; }
}
@media (max-width: 991.98px) {
  .wz { grid-template-columns: minmax(0, 1fr); }
  .wz-side { position: static; }
  .snav { flex-direction: row; overflow-x: auto; gap: .35rem; padding-bottom: .25rem; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .snav::-webkit-scrollbar { display: none; }
  .snav li { flex: none; }
  .sn { grid-template-columns: 26px auto; padding: .4rem .6rem .4rem .45rem; background: #fff; border: 1px solid var(--line); }
  .sn-t small, .sn-s { display: none; }
  .draft-state, .draft-clear { display: none; }
}
@media (max-width: 575.98px) {
  .wz-foot { flex-wrap: wrap; }
  .wz-foot > .btn-a { order: 2; }
  .wz-foot-r { width: 100%; }
  .wz-foot-r .btn-primary-a { flex: 1; }
}

/* Publish */
.pub { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.pub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.pub-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem; min-width: 0; }
.pub-card h2, .pub-checks h2, .pub-plan h2 { font-size: 1rem; font-weight: 750; }
.pub-card-dark { background: var(--deep-900); border-color: var(--deep-900); color: #fff; }
.pub-list { display: flex; flex-direction: column; gap: .45rem; margin-top: .8rem; }
.pub-list li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; }
.pub-list .ic { width: 16px; height: 16px; flex: none; }
.pub-public .ic { color: var(--green-ink); }
.pub-private li { color: var(--on-dark-2); }
.pub-private .ic { color: var(--signal); }
.pub-list .empty { color: var(--ink-3); font-weight: 500; }
.pub-sections { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.pub-sections .ps { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.pub-sections .ps .ic { width: 14px; height: 14px; }
.pub-sections .ps-done .ic { color: var(--green-ink); }
.pub-sections .ps-skip { color: var(--ink-3); }
.pub-sections .ps-miss { color: #B4321F; border-color: #F3C6BE; background: #FDF3F1; cursor: pointer; }
.pub-checks { margin-top: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; display: flex; flex-direction: column; gap: .7rem; }
.form-status-light { background: #EAF8F2; border: 1px solid #BFE8D6; color: #0B4A35; }
.form-status-light b { color: #083826; }
.pub-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 1rem; }
.pub-qr-card { background: var(--deep-900); color: #fff; border-radius: 20px; padding: 1.4rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .6rem; box-shadow: var(--sh-3); }
.pub-qr-card > img { height: 28px; width: auto; }
.pub-qr { background: #fff; padding: 10px; border-radius: 14px; width: 180px; margin-top: .4rem; }
.pub-name { font-size: 1.1rem; font-weight: 800; margin-top: .3rem; overflow-wrap: anywhere; }
.pub-link { font-size: .85rem; color: var(--signal); font-weight: 700; overflow-wrap: anywhere; }
.pub-note { font-size: .75rem; color: var(--on-dark-3); }
.pub-plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem; }
.plan-pick { display: flex; flex-direction: column; gap: .5rem; margin: .8rem 0 .6rem; border: 0; padding: 0; }
.plan-pick[hidden] { display: none; }
.pp-opt { position: relative; cursor: pointer; }
.pp-opt input { position: absolute; opacity: 0; inset: 0; }
.pp-opt > span { display: grid; grid-template-columns: 1fr auto; column-gap: .5rem; padding: .75rem .9rem; border: 1.5px solid var(--line-2); border-radius: 12px; }
.pp-opt b { font-size: .92rem; }
.pp-opt small { grid-column: 1; color: var(--ink-2); font-size: .78rem; }
.pp-opt em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 800; font-size: .9rem; }
.pp-opt input:checked + span { border-color: var(--brand); background: var(--brand-tint); }
.pp-opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 991.98px) { .pub { grid-template-columns: minmax(0, 1fr); } .pub-side { position: static; order: -1; } }
@media (max-width: 575.98px) { .pub-grid { grid-template-columns: 1fr; } }

.reg-footer { border-top: 1px solid var(--line); background: #fff; font-size: .85rem; color: var(--ink-2); }
.reg-footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-block: 1.25rem; }
.reg-footer p { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.reg-footer a { color: var(--ink-2); text-decoration: none; }
.reg-footer a:hover { color: var(--ink); }
.reg-footer .soon { color: var(--ink-3); opacity: 1; }
.stage-panel[hidden], [data-wz-kind][hidden], .wz-sec[hidden] { display: none !important; }
.idrow-main { grid-template-columns: minmax(0, 1fr) 170px auto; }
.idrow-main > label:first-child { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: .5rem; }
@media (max-width: 575.98px) { .idrow-main { grid-template-columns: minmax(0, 1fr) auto; } .idrow-main input[type="text"] { grid-column: 1 / -1; } }
.otp-block legend { float: left; width: 100%; }
.otp-block legend + * { clear: both; }
.reg-footer p:first-child { display: block; }
.wg > legend ~ * { clear: both; }
@media (max-width: 575.98px) {
  .wz-foot { flex-wrap: nowrap; gap: .5rem; padding: .75rem 1rem; }
  .wz-foot > .btn-a { order: 0; padding-inline: .8rem; }
  .wz-foot > #wzBack { font-size: 0; gap: 0; }
  .wz-foot > #wzBack .ic { font-size: 1rem; }
  .wz-foot-r { width: auto; flex: 1; flex-wrap: nowrap; }
  .wz-foot-r .btn-text-a { padding-inline: .5rem; font-size: .88rem; white-space: nowrap; }
  .wz-foot-r .btn-primary-a { font-size: .92rem; padding-inline: .9rem; white-space: nowrap; }
  .wz-foot-r .btn-primary-a .ic { display: none; }
}
@media (max-width: 575.98px) {
  .wz-foot-r { min-width: 0; }
  .wz-foot-r .btn-primary-a { flex: 1; min-width: 0; padding-inline: .6rem; font-size: .88rem; }
  .wz-foot-r .btn-text-a { padding-inline: .35rem; font-size: .84rem; }
}

/* ==========================================================================
   Inner pages: shared page hero (navy, matches the homepage hero)
   ========================================================================== */
.page-hero {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--deep-900); color: var(--on-dark);
  padding-block: clamp(2rem, 1.2rem + 2.5vw, 3.25rem) clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.page-hero .hero-bg-qr { top: -18%; right: -10%; width: min(60vw, 720px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 1.75rem; padding: 0; font-size: .82rem; font-weight: 650; color: var(--on-dark-3); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.display-page { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.2rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; color: #fff; margin-bottom: 1.25rem; }
.display-page .ln { display: block; background: linear-gradient(90deg, #66DBFF, #00C3FF 40%, #007BFF); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.ph-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.ph-facts li { display: flex; gap: .85rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line-dark); border-radius: var(--r-m); background: rgba(255,255,255,.04); }
.ph-facts .ic { width: 22px; height: 22px; color: var(--signal); flex: none; margin-top: .1rem; }
.ph-facts span { font-size: .85rem; color: var(--on-dark-3); display: flex; flex-direction: column; }
.ph-facts b { color: #fff; font-size: .95rem; font-weight: 700; }
.ph-controls { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 2.25rem; }
.ph-controls .seg-dark { margin-top: 0; }
.ph-controls .seg-btn .ic { width: 16px; height: 16px; margin-right: .35rem; vertical-align: -.2em; }
@media (max-width: 991.98px) { .ph-grid { grid-template-columns: minmax(0, 1fr); } .ph-facts { flex-direction: row; flex-wrap: wrap; } .ph-facts li { flex: 1 1 220px; } }
@media (max-width: 575.98px) {
  .ph-controls .seg { width: 100%; display: flex; }
  .ph-controls .seg-btn { flex: 1; padding-inline: .5rem; }
  .ph-controls .save { display: none; }
}

/* ---------- Pricing page ---------- */
.page-pricing .sec-plans { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.plans[data-show="personal"], .plans[data-show="business"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
.plans[data-show] .plan[hidden], .enterprise[hidden] { display: none; }
@media (min-width: 1200px) { .plans[data-show="business"] .plan-feature { margin-block: 0; } }
@media (max-width: 575.98px) { .plans[data-show="personal"], .plans[data-show="business"] { grid-template-columns: 1fr; } }
.ent-full { align-items: flex-end; margin-top: 2rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); position: relative; overflow: hidden; }
.ent-full::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,195,255,.22), transparent); pointer-events: none; }
.ent-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; }
.ent-list li { display: flex; gap: .55rem; align-items: center; font-size: .9rem; font-weight: 600; color: var(--on-dark-2); }
.ent-list .ic { width: 17px; height: 17px; color: var(--signal); flex: none; }
.ent-full .ent-side { flex-direction: column; align-items: flex-start; position: relative; z-index: 1; }
.ent-price small { display: block; font-size: .8rem; font-weight: 500; color: var(--on-dark-3); margin-top: .2rem; }
@media (max-width: 575.98px) { .ent-list { grid-template-columns: 1fr; } }

/* plan finder */
.finder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem 4rem; align-items: start; }
.finder { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(1.25rem, .9rem + 1.5vw, 2rem); box-shadow: var(--sh-2); display: flex; flex-direction: column; gap: 1.5rem; }
.fq { border: 0; margin: 0; padding: 0; min-width: 0; }
.fq legend { float: left; width: 100%; font-weight: 750; font-size: 1.02rem; margin-bottom: .85rem; display: flex; align-items: center; gap: .6rem; }
.fq legend + * { clear: both; }
.fq-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-tint); color: var(--brand-ink); font-size: .8rem; font-weight: 800; }
.fq-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.fq-opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fo { position: relative; cursor: pointer; display: block; }
.fo input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.fo > span { display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: .95rem 1rem; border: 1.5px solid var(--line-2); border-radius: 14px; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.fo .ic { width: 22px; height: 22px; color: var(--brand); margin-bottom: .35rem; }
.fo b { font-size: .95rem; }
.fo small { font-size: .8rem; color: var(--ink-2); line-height: 1.45; }
.fo:hover > span { border-color: var(--ink-3); }
.fo input:checked + span { border-color: var(--brand); background: var(--brand-tint); }
.fo input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.fr { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.fr-k { font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.fr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; margin-top: .35rem; }
.fr-head h3 { font-size: 1.6rem; font-weight: 780; letter-spacing: -.02em; }
.fr-price { font-weight: 750; color: var(--ink-2); }
.fr-why { color: var(--ink-2); margin-top: .5rem; max-width: 52ch; }
.fr-cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
@media (max-width: 991.98px) { .finder-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 575.98px) { .fq-opts, .fq-opts-3 { grid-template-columns: 1fr; } }

/* full comparison table */
.cmp-pick { display: none; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.cmp-pick label { font-weight: 700; font-size: .9rem; }
.cmp-pick select { flex: 1; min-height: 46px; border: 1px solid var(--line-2); border-radius: 12px; padding: .55rem 2.2rem .55rem .9rem; font: inherit; font-weight: 650; color: var(--ink); appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355627D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center; }
.cmp-pick select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,123,255,.15); }
.cmp-full { margin-top: 0; min-width: 0; table-layout: fixed; }
.cmp-full thead th { position: sticky; top: var(--hdr-h, 72px); background: #fff; z-index: 2; vertical-align: bottom; font-size: .95rem; }
.cmp-full thead th:first-child { width: 30%; }
.cmp-full th, .cmp-full td { padding: .8rem .75rem; }
.cmp-full td { font-size: .86rem; }
.cmp-full tbody tr:not(.cmp-group):hover { background: var(--cloud); }
.cmp-group th { padding-top: 2rem !important; border-bottom: 1px solid var(--line-2); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.cmp-group .ic { width: 17px; height: 17px; margin-right: .5rem; vertical-align: -.25em; color: var(--brand); }
.cmp-full th:nth-child(4), .cmp-full td:nth-child(4) { background: rgba(234,241,255,.6); }
@media (max-width: 767.98px) {
  .cmp-pick { display: flex; }
  .cmp-full thead th:first-child { width: 58%; }
  .cmp-full tr:not(.cmp-group) > :nth-child(n+2) { display: none; }
  .cmp-full[data-col="2"] tr > :nth-child(2), .cmp-full[data-col="3"] tr > :nth-child(3),
  .cmp-full[data-col="4"] tr > :nth-child(4), .cmp-full[data-col="5"] tr > :nth-child(5),
  .cmp-full[data-col="6"] tr > :nth-child(6) { display: table-cell; }
  .cmp-full thead th { top: var(--hdr-h, 64px); }
}

/* add-ons */
.addon-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.addon { display: flex; flex-direction: column; gap: .85rem; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.addon > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); }
.addon h3 { font-size: 1.02rem; font-weight: 740; }
.addon p { font-size: .87rem; color: var(--ink-2); margin-top: .3rem; }
@media (max-width: 1199.98px) { .addon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 459.98px) { .addon-grid { grid-template-columns: 1fr; } }

/* billing notes */
.bnotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.bnote { padding: 1.75rem 1.75rem 1.75rem 0; border-bottom: 1px solid var(--line); }
.bnote:not(:nth-child(3n+1)) { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.bnote .ic { width: 24px; height: 24px; color: var(--brand); }
.bnote h3 { font-size: 1.08rem; font-weight: 740; margin-top: 1rem; }
.bnote p { color: var(--ink-2); font-size: .92rem; margin-top: .4rem; max-width: 40ch; }
@media (max-width: 991.98px) {
  .bnotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bnote:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .bnote:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}
@media (max-width: 575.98px) {
  .bnotes { grid-template-columns: 1fr; }
  .bnote:nth-child(even) { padding-left: 0; border-left: 0; }
  .bnote { padding: 1.4rem 0; }
}

/* closing band */
.cta-band { overflow: clip; }
.cta-band-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.cta-band .display-l { max-width: 16ch; }
.cta-band .lede { margin-top: 1rem; }
.cta-band .cta-row { margin-top: 0; }
.cta-band .btn-ghost-a { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.25); }
.cta-band .btn-ghost-a:hover { --b-bd: #fff; color: #fff; }
.cta-band .btn-a .ic { margin-right: .1rem; }
@media (max-width: 575.98px) { .cta-band .cta-row, .cta-band .cta-row .btn-a { width: 100%; } }

/* register: plan carried over from the pricing page */
.plan-chosen { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 650; color: var(--brand-ink); background: var(--brand-tint); border-radius: 10px; padding: .6rem .85rem; margin-bottom: 1.25rem; }
.plan-chosen .ic { width: 16px; height: 16px; flex: none; }
.more-link { margin-top: 2rem; }
.addon-ask { background: var(--deep-900); border-color: var(--deep-900); color: #fff; }
.addon-ask > .ic { background: rgba(255,255,255,.08); color: var(--signal); }
.addon-ask p { color: var(--on-dark-2); }
.addon-link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--signal); text-decoration: none; }
.addon-link .ic { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.addon-link:hover { color: #fff; }
.addon-link:hover .ic { transform: translateX(3px); }
/* footer columns: restore the tablet / mobile layout after the 5-column override above */
@media (max-width: 1199.98px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* comparison table, one plan at a time on phones */
@media (max-width: 767.98px) {
  .cmp-full { table-layout: auto; }
  .cmp-full thead th:first-child { width: auto; }
  .cmp-full td { white-space: nowrap; width: 1%; }
  .cmp-full thead th { white-space: nowrap; }
}

/* ==========================================================================
   Personal Profiles page
   ========================================================================== */
.ph-grid-product { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
.claim { margin-top: 2rem; max-width: 560px; }
.claim-l { display: block; font-weight: 700; font-size: .9rem; color: #fff; margin-bottom: .5rem; }
.claim-row { display: flex; gap: .5rem; padding: .4rem; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid var(--line-dark); }
.claim-in { flex: 1; min-width: 0; display: flex; align-items: center; padding-left: .75rem; border-radius: 11px; background: #fff; color: var(--ink-2); font-weight: 650; font-size: .92rem; }
.claim-in span { white-space: nowrap; }
.claim-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 750; color: var(--ink); padding: .7rem .75rem .7rem .1rem; }
.claim-in:focus-within { box-shadow: 0 0 0 3px rgba(102,219,255,.5); }
.claim-msg { font-size: .8rem; color: var(--on-dark-3); margin-top: .6rem; min-height: 1.3em; }
.claim-msg.is-err { color: #FFB4B4; }
@media (max-width: 575.98px) {
  .claim-row { flex-direction: column; }
  .claim-row .btn-a { width: 100%; }
}
.ph-visual { position: relative; display: flex; justify-content: center; align-items: center; margin: 0; }
.ph-visual .device-pp { --dw: 250px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.ph-qrcard { position: absolute; z-index: 2; right: calc(50% + 90px); bottom: 14%; display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem .75rem .75rem; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--sh-3); }
.ph-qrcard .qr { width: 64px; }
.ph-qrcard p { display: flex; flex-direction: column; font-size: .75rem; color: var(--ink-2); font-weight: 600; }
.ph-qrcard b { color: var(--ink); font-size: .9rem; }
.ph-sample { position: absolute; right: 0; top: 1.5rem; }
@media (max-width: 991.98px) {
  .ph-grid-product { grid-template-columns: minmax(0, 1fr); }
  .ph-visual { margin-top: 1rem; }
}
@media (max-width: 575.98px) {
  .ph-visual .device-pp { --dw: 220px; }
  .ph-qrcard { right: calc(50% + 70px); bottom: 12%; padding: .5rem; }
  .ph-qrcard .qr { width: 52px; }
  .ph-qrcard p { display: none; }
  .ph-sample { right: 0; top: .25rem; }
}

/* personas */
.personas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.persona { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.persona:hover { border-color: var(--line-2); box-shadow: var(--sh-2); }
.persona .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); }
.persona h3 { font-size: 1.08rem; font-weight: 740; margin-top: 1rem; }
.persona p { color: var(--ink-2); font-size: .9rem; margin-top: .35rem; }
@media (max-width: 991.98px) { .personas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .personas { grid-template-columns: 1fr; } }

/* profile anatomy tabs */
.anat { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.anat-tabs { display: flex; flex-direction: column; gap: .35rem; }
.anat-tab { display: flex; align-items: center; gap: .75rem; width: 100%; text-align: left; border: 1px solid transparent; background: transparent; border-radius: 12px; padding: .7rem .85rem; font-weight: 700; color: var(--ink-2); cursor: pointer; min-height: 48px; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.anat-tab .ic { width: 18px; height: 18px; flex: none; }
.anat-l { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--mist); font-size: .72rem; font-weight: 800; color: var(--ink-2); flex: none; }
.anat-tab:hover { background: #fff; color: var(--ink); }
.anat-tab.is-active { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.anat-tab.is-active .anat-l { background: var(--brand); color: #fff; }
.anat-tab.is-active .ic { color: var(--brand); }
.anat-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); box-shadow: var(--sh-2); min-height: 100%; }
.anat-panel:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.anat-top { display: flex; justify-content: space-between; align-items: center; }
.anat-ic .ic { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); }
.anat-plan { font-size: .75rem; font-weight: 750; padding: .25rem .6rem; border-radius: 6px; background: #E1F7EF; color: var(--green-ink); }
.anat-plan-pro { background: var(--gold-tint); color: var(--gold-ink); }
.anat-panel h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); font-weight: 780; letter-spacing: -.02em; margin-top: 1.25rem; }
.anat-desc { color: var(--ink-2); margin-top: .5rem; max-width: 56ch; }
.anat-h { font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 1.5rem; }
.anat-fields { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.anat-fields li { font-size: .86rem; font-weight: 650; padding: .45rem .75rem; border-radius: 9px; background: var(--cloud); border: 1px solid var(--line); }
.anat-vis { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.anat-vis .ic { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: .15rem; }
@media (prefers-reduced-motion: no-preference) {
  .anat-panel:not([hidden]) { animation: anatIn .3s var(--ease) both; }
  @keyframes anatIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 991.98px) {
  .anat { grid-template-columns: minmax(0, 1fr); }
  .anat-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 6px; }
  .anat-tabs::-webkit-scrollbar { display: none; }
  .anat-tab { width: auto; flex: none; white-space: nowrap; }
}

/* steps */
.psteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: none; }
.pstep { position: relative; padding: 1.5rem; border-radius: var(--r-m); background: var(--cloud); }
.pstep-n { position: absolute; top: 1.25rem; right: 1.25rem; font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; color: var(--line-2); line-height: 1; }
.pstep > .ic { width: 26px; height: 26px; color: var(--brand); }
.pstep h3 { font-size: 1.05rem; font-weight: 740; margin-top: 1rem; }
.pstep p { font-size: .9rem; color: var(--ink-2); margin-top: .35rem; }
.places { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding: 1.25rem 1.5rem; border: 1px dashed var(--line-2); border-radius: var(--r-l); }
.places-h { font-weight: 750; font-size: .95rem; }
.places ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.places li { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 650; padding: .35rem .7rem; border-radius: 8px; background: var(--cloud); }
.places .ic { width: 15px; height: 15px; color: var(--brand); }
@media (max-width: 991.98px) { .psteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .psteps { grid-template-columns: 1fr; } }

/* SOS card */
.sos-card { background: var(--white); color: var(--ink); border-radius: var(--r-m); padding: 1.4rem; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.sos-h { display: flex; align-items: center; gap: .5rem; }
.sos-h > .ic { width: 22px; height: 22px; color: #D93A3A; }
.sos-h .sample-tag { margin-left: auto; }
.sos-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; }
.sos-list li { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.sos-list .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--deep-900); font-size: .72rem; font-weight: 800; flex: none; }
.sos-list li > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; font-size: .9rem; }
.sos-list small { color: var(--ink-3); font-size: .78rem; }
.sos-list li > .ic { width: 18px; height: 18px; color: var(--brand); }
.sos-opt { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .5rem; padding: .8rem .9rem; border-radius: 12px; background: var(--cloud); font-size: .85rem; font-weight: 650; }
.sos-state { font-size: .75rem; font-weight: 800; padding: .2rem .55rem; border-radius: 6px; background: var(--mist); color: var(--ink-2); }
.sos-note { font-size: .8rem; color: var(--ink-3); margin-top: .75rem; }
.page-personal .sec-vault .vault-points { margin-top: 1.75rem; }
.page-personal .plans[data-show="personal"] .plan-feature { margin-block: 0; }

/* ==========================================================================
   Business Profiles page
   ========================================================================== */
.ids-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.5rem 4rem; align-items: start; }
.vis-modes { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.vis-modes li { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem; border: 1px solid var(--line); border-radius: 14px; }
.vis-modes .ic { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: .1rem; }
.vis-modes span { display: flex; flex-direction: column; font-size: .82rem; color: var(--ink-2); }
.vis-modes b { font-size: .92rem; color: var(--ink); }
.idcheck { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(1.25rem, .9rem + 1.5vw, 2rem); }
.idcheck-l { font-weight: 750; font-size: .9rem; margin-bottom: .6rem; }
.seg-wrap { display: flex; flex-wrap: wrap; gap: .25rem; }
.seg-wrap .seg-btn { flex: 1 1 auto; }
.idc-list { list-style: none; padding: 0; margin: 1.25rem 0 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.idc { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border-top: 1px solid var(--line); transition: opacity var(--dur) var(--ease); }
.idc:first-child { border-top: 0; }
.idc-main { display: flex; flex-direction: column; }
.idc-main b { font-size: .95rem; }
.idc-main small { font-size: .78rem; color: var(--ink-3); }
.idc-state { font-size: .75rem; font-weight: 750; padding: .25rem .6rem; border-radius: 6px; white-space: nowrap; }
.idc[data-state="a"] .idc-state { background: var(--brand-tint); color: var(--brand-ink); }
.idc[data-state="o"] .idc-state { background: #E1F7EF; color: var(--green-ink); }
.idc[data-state="n"] .idc-state { background: var(--mist); color: var(--ink-3); }
.idc[data-state="n"] .idc-main { opacity: .5; }
.idc[data-state="n"] .idc-main b { text-decoration: line-through; text-decoration-color: var(--ink-3); }
.idcheck-note { font-size: .8rem; color: var(--ink-3); margin-top: .9rem; }
@media (max-width: 991.98px) { .ids-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 459.98px) { .vis-modes { grid-template-columns: 1fr; } }
.vlt-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: 1rem; }
.vlt-points li { display: flex; gap: .9rem; align-items: flex-start; }
.vlt-points .ic { width: 38px; height: 38px; padding: 9px; border-radius: 11px; flex: none; background: var(--brand-tint); color: var(--brand); }
.vlt-points span { display: flex; flex-direction: column; color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.vlt-points b { color: var(--ink); font-size: 1rem; }
.vault-app-light { border: 1px solid var(--line); box-shadow: var(--sh-3); }
.page-business .plans[data-show="business"] .plan-feature { margin-block: 0; }
.page-business .enterprise { max-width: 820px; margin-inline: auto; }

/* ==========================================================================
   Features page
   ========================================================================== */
.display-m { font-size: clamp(1.8rem, 1.25rem + 1.9vw, 2.7rem); font-weight: 790; line-height: 1.08; letter-spacing: -.03em; }
.ph-mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.ph-mods span { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; border-radius: var(--r-m); border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); }
.ph-mods b { font-size: 1.5rem; font-weight: 800; color: #fff; }
.ph-mods .ic { width: 24px; height: 24px; color: var(--signal); }
@media (max-width: 991.98px) { .ph-mods { grid-template-columns: repeat(6, minmax(0, 1fr)); } .ph-mods span { flex-direction: column; gap: .4rem; padding: .7rem .4rem; } .ph-mods b { font-size: 1.1rem; } }
@media (max-width: 459.98px) { .ph-mods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.fnav { position: sticky; top: var(--hdr-h, 72px); z-index: 20; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.fnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.fnav ul::-webkit-scrollbar { display: none; }
.fnav a { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; padding: .9rem .8rem; font-size: .88rem; font-weight: 700; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; }
.fnav a span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--mist); font-size: .72rem; font-weight: 800; }
.fnav a:hover { color: var(--ink); }
.fnav a.is-current { color: var(--ink); border-bottom-color: var(--brand); }
.fnav a.is-current span { background: var(--brand); color: #fff; }
.fnav a.is-off { opacity: .4; }
.fmod { scroll-margin-top: calc(var(--hdr-h, 72px) + 50px); }

.fmod-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 5rem; align-items: center; }
.fmod-flip .fmod-copy { order: 2; }
.fmod-id { display: flex; align-items: center; gap: .75rem; font-weight: 750; font-size: .9rem; color: var(--ink-2); margin-bottom: 1.1rem; }
.fmod-id .mod-for { margin: 0 0 0 .25rem; padding: 0; }
.fmod-copy .body-l { margin-top: 1rem; }
.flist { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-direction: column; }
.flist li { display: flex; gap: .85rem; align-items: flex-start; padding: .85rem 0; border-top: 1px solid var(--line); }
.flist li > .ic { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: .15rem; }
.flist li > span { flex: 1; display: flex; flex-direction: column; font-size: .9rem; color: var(--ink-2); }
.flist b { color: var(--ink); font-size: .98rem; }
.for-tag { font-style: normal; font-size: .7rem; font-weight: 750; padding: .15rem .5rem; border-radius: 6px; white-space: nowrap; }
.for-tag-p { background: var(--brand-tint); color: var(--brand-ink); }
.for-tag-b { background: #D6F7FF; color: #0A5E8C; }
.fmod-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); }
.fmod-meta > span { display: inline-flex; align-items: center; gap: .45rem; }
.fmod-meta .ic { width: 16px; height: 16px; color: var(--brand); }
.fmod-meta a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--brand-ink); text-decoration: none; }
.fmod-meta a:hover .ic { transform: translateX(3px); }
.fmod-meta a .ic { transition: transform var(--dur) var(--ease); }
@media (max-width: 991.98px) { .fmod-grid { grid-template-columns: minmax(0, 1fr); } .fmod-flip .fmod-copy { order: 0; } }

/* view filter */
.fmods[data-view="personal"] [data-for="business"], .fmods[data-view="business"] [data-for="personal"],
.fmods[data-view="personal"] [data-mod-for="business"] { display: none; }
.fview-note { font-size: .85rem; color: var(--ink-3); padding-block: 1.5rem; text-align: center; }

/* sample mock-ups */
.fmod-vis { position: relative; display: flex; justify-content: center; }
.fmod-vis::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,195,255,.18), transparent); z-index: 0; }
.fx { position: relative; z-index: 1; width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.25rem; box-shadow: var(--sh-3); font-size: .88rem; }
.fx-h { display: flex; align-items: center; gap: .5rem; font-weight: 750; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.fx-h > .ic { width: 18px; height: 18px; color: var(--brand); }
.fx-h .sample-tag { margin-left: auto; }
.fx-fields { list-style: none; padding: 0; margin: 0; }
.fx-fields li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.fx-fields span { display: inline-flex; align-items: center; gap: .55rem; font-weight: 650; }
.fx-fields .ic { width: 16px; height: 16px; color: var(--ink-3); }
.fv { font-style: normal; font-size: .72rem; font-weight: 750; padding: .2rem .55rem; border-radius: 999px; white-space: nowrap; }
.fv-pub { background: #E1F7EF; color: var(--green-ink); }
.fv-priv { background: var(--mist); color: var(--ink-2); }
.fv-appr { background: var(--gold-tint); color: var(--gold-ink); }
.fx-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-top: 1rem; }
.fx-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--brand-ink); }
.fx-link .ic, .fx-btn .ic { width: 15px; height: 15px; }
.fx-btn { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: #fff; background: var(--brand); padding: .5rem .8rem; border-radius: 10px; }
.fx-pay { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; }
.fx-pay .qr { width: 104px; flex: none; padding: 6px; border: 1px solid var(--line); border-radius: 12px; }
.fx-upi { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .6rem; }
.fx-upi small { width: 100%; color: var(--ink-3); font-size: .75rem; }
.fx-copy { display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; font-weight: 700; color: var(--brand-ink); padding: .15rem .45rem; border: 1px solid var(--line-2); border-radius: 7px; }
.fx-copy .ic { width: 12px; height: 12px; }
.fx-note { color: var(--ink-2); font-size: .8rem; margin-top: .4rem; }
.fx-methods, .fx-ids { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.fx-methods li { font-size: .76rem; font-weight: 700; padding: .3rem .6rem; border-radius: 8px; background: var(--cloud); border: 1px solid var(--line); }
.fx-ids { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); flex-direction: column; }
.fx-ids li { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fx-ids b { color: var(--ink); }
.fx-docs { list-style: none; padding: 0; margin: 0; }
.fx-docs li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.fx-docs li > span { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: center; }
.fx-docs .ic { width: 18px; height: 18px; color: var(--brand); grid-row: span 2; }
.fx-docs small { color: var(--ink-3); font-size: .75rem; }
.fx-docs em { font-style: normal; white-space: nowrap; }
.fx-alert { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .65rem .8rem; border-radius: 10px; background: var(--gold-tint); color: var(--gold-ink); font-weight: 650; font-size: .8rem; }
.fx-alert .ic { width: 16px; height: 16px; }
.fx-score { display: flex; align-items: center; gap: .75rem; padding: 1rem 0; }
.fx-score > b { font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.fx-score > span { display: flex; flex-direction: column; }
.fx-score small { color: var(--ink-3); font-size: .75rem; }
.fx-review { padding: .9rem; border-radius: 14px; background: var(--cloud); }
.fx-rv-h { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; }
.fx-rv-h .stars { margin-left: auto; font-size: .78rem; }
.fx .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--deep-900); font-size: .62rem; font-weight: 800; flex: none; }
.fx-review > p:not(.fx-rv-h) { color: var(--ink-2); font-size: .84rem; }
.fx-reply { margin-top: .6rem; padding-left: .7rem; border-left: 2px solid var(--brand); }
.fx-reply b { color: var(--ink); }
.fx-mod, .fx-inv-act { display: flex; gap: .5rem; margin-top: .9rem; flex-wrap: wrap; }
.fx-mod span, .fx-inv-act span { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700; color: var(--ink-2); padding: .35rem .6rem; border: 1px solid var(--line); border-radius: 8px; }
.fx-mod .ic, .fx-inv-act .ic { width: 14px; height: 14px; color: var(--brand); }
.fx-status { font-size: .7rem; font-weight: 750; padding: .15rem .5rem; border-radius: 6px; background: #FFF3DC; color: #9A5B00; }
.fx-bill { color: var(--ink-2); font-size: .8rem; margin-top: .8rem; }
.fx-bill b { color: var(--ink); }
.fx-inv, .fx-roles { width: 100%; border-collapse: collapse; margin-top: .6rem; font-size: .82rem; }
.fx-inv th, .fx-inv td, .fx-roles th, .fx-roles td { padding: .5rem .25rem; border-bottom: 1px solid var(--line); text-align: left; }
.fx-inv thead th, .fx-roles thead th { font-size: .72rem; color: var(--ink-3); font-weight: 700; }
.fx-inv td:last-child, .fx-inv th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.fx-inv td:nth-child(2) { color: var(--ink-3); }
.fx-inv tfoot th, .fx-inv tfoot td { font-weight: 800; font-size: .95rem; border-bottom: 0; }
.fx-roles tbody th { font-weight: 650; }
.fx-roles td { font-weight: 650; font-size: .78rem; }
.fx-roles td.y { color: var(--green-ink); }
.fx-roles td.n { color: var(--ink-3); }
.fx-log { display: flex; gap: .5rem; align-items: flex-start; margin-top: 1rem; font-size: .78rem; color: var(--ink-2); }
.fx-log .ic { width: 15px; height: 15px; color: var(--brand); flex: none; margin-top: .1rem; }
.fx-log b { color: var(--ink); }

.built-grid .addon { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
.built-grid .addon > .ic { background: rgba(255,255,255,.08); color: var(--signal); }
.built-grid .addon h3 { color: #fff; }
.built-grid .addon p { color: var(--on-dark-2); }
@media (min-width: 1200px) { .built-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cta-light { background: var(--brand-tint); }
.cta-light .display-l { max-width: 16ch; }
.cta-light .body-l { margin-top: 1rem; }
.cta-light .cta-row { margin-top: 0; }
@media (max-width: 575.98px) { .cta-light .cta-row, .cta-light .cta-row .btn-a { width: 100%; } }

/* ==========================================================================
   Templates page
   ========================================================================== */
.ts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 2.5rem 4rem; align-items: start; }
.ts-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; position: sticky; top: calc(var(--hdr-h, 72px) + 1.5rem); }
.ts-device { width: min(100%, 340px); }
.ts-screen { width: 100%; margin: 0; box-shadow: var(--sh-3); font-size: 13px; }
.ts-screen .mp { padding: 18px; gap: 9px; font-size: 13px; }
.ts-screen .mp-name { font-size: 18px; }
.ts-screen .mp-role, .ts-screen .mp-btn, .ts-screen .mp-row { font-size: 12px; }
.ts-screen .mp-acts i { height: 36px; }
.ts-screen .mp .ic { width: 15px; height: 15px; }
.ts-cap { display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .ts-screen.is-swap .mp { animation: anatIn .3s var(--ease) both; }
}
.ts-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(1.25rem, .9rem + 1.5vw, 1.75rem); box-shadow: var(--sh-2); display: flex; flex-direction: column; gap: 1.4rem; }
.ts-kind { display: flex; }
.ts-kind .seg-btn { flex: 1; }
.ts-kind .ic { width: 16px; height: 16px; margin-right: .35rem; vertical-align: -.2em; }
.ts-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.ts-group legend, .ts-l { float: none; width: 100%; font-weight: 750; font-size: .9rem; margin-bottom: .6rem; padding: 0; display: flex; justify-content: space-between; }
.ts-l span { font-weight: 650; color: var(--ink-2); }
.ts-opts { display: flex; flex-direction: column; gap: .5rem; }
.ts-opt { position: relative; cursor: pointer; display: block; }
.ts-opt[hidden] { display: none; }
.ts-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ts-opt > span { display: grid; grid-template-columns: 1fr auto; column-gap: .75rem; padding: .75rem .9rem; border: 1.5px solid var(--line-2); border-radius: 12px; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.ts-opt b { font-size: .95rem; }
.ts-opt small { grid-column: 1; color: var(--ink-2); font-size: .8rem; }
.ts-opt em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: .72rem; font-weight: 750; padding: .2rem .5rem; border-radius: 6px; background: var(--gold-tint); color: var(--gold-ink); white-space: nowrap; }
.ts-opt:hover > span { border-color: var(--ink-3); }
.ts-opt input:checked + span { border-color: var(--brand); background: var(--brand-tint); }
.ts-opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.ts-swatches { margin-top: 0; }
.ts-sum { display: flex; flex-direction: column; gap: .4rem; padding: .9rem 1rem; border-radius: 12px; background: var(--cloud); }
.ts-sum p { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.ts-sum span { color: var(--ink-2); }
.ts-sum b { text-align: right; }
.ts-note { font-size: .8rem; color: var(--ink-3); margin-top: -.6rem; }
@media (max-width: 991.98px) {
  .ts { grid-template-columns: minmax(0, 1fr); }
  .ts-stage { position: static; }
  .ts-device { width: min(100%, 300px); }
}
.tpl-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.tpl-gallery .tpl-screen { max-width: 290px; }
.tpl-name { display: flex; align-items: center; gap: .6rem; }
.tpl-plan { font-family: var(--f-body); font-style: normal; font-size: .7rem; font-weight: 750; padding: .15rem .5rem; border-radius: 6px; background: var(--gold-tint); color: var(--gold-ink); letter-spacing: 0; }
.tpl-plan-free, .ts-opt input[data-plan="Free"] + span em { background: #E1F7EF; color: var(--green-ink); }
.tpl-gallery .tpl.is-on .tpl-screen { outline-color: var(--brand); }
@media (max-width: 991.98px) { .tpl-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .tpl-gallery { grid-template-columns: minmax(0, 1fr); justify-items: center; } .tpl-gallery .tpl { width: min(100%, 290px); } }
.ts-sum span { white-space: nowrap; }

/* ==========================================================================
   Business CRM page
   ========================================================================== */
.page-crm .ph-grid .cta-row { margin-top: 2rem; }
.cflow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; position: relative; }
.cflow::before { content: ""; position: absolute; left: 2%; right: 2%; top: 34px; height: 2px; background: linear-gradient(90deg, var(--brand-tint), var(--brand), var(--signal)); z-index: 0; }
.cflow-i { position: relative; z-index: 1; display: flex; flex-direction: column; }
.cflow-i > .ic { width: 68px; height: 68px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); color: var(--brand); }
.cflow-n { position: absolute; top: -8px; left: 54px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--deep-900); color: #fff; font-size: .72rem; font-weight: 800; }
.cflow-i h3 { font-size: 1.05rem; font-weight: 740; margin-top: 1rem; }
.cflow-i p { color: var(--ink-2); font-size: .88rem; margin-top: .3rem; }
@media (max-width: 991.98px) {
  .cflow { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .cflow::before { left: 33px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand-tint), var(--brand), var(--signal)); }
  .cflow-i { display: grid; grid-template-columns: 68px 1fr; column-gap: 1rem; align-items: center; }
  .cflow-i > .ic { grid-row: span 2; }
  .cflow-i h3 { margin-top: 0; align-self: end; }
  .cflow-i p { align-self: start; }
}

.pipe-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(1rem, .8rem + 1vw, 1.5rem); box-shadow: var(--sh-2); }
.pipe-top { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; margin-bottom: 1.25rem; }
.pipe-sum { display: flex; flex-direction: column; }
.pipe-sum span { font-size: .78rem; color: var(--ink-3); font-weight: 650; }
.pipe-sum b { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pipe-top .btn-a { margin-left: auto; }
.pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pcol { background: var(--cloud); border-radius: var(--r-m); padding: .75rem; min-height: 220px; }
.pcol-h { display: flex; align-items: center; gap: .5rem; font-weight: 750; font-size: .88rem; padding: .25rem .25rem .75rem; }
.pcol-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
[data-col="contacted"] .pcol-dot { background: var(--brand); }
[data-col="quoted"] .pcol-dot { background: #D99A06; }
[data-col="won"] .pcol-dot { background: var(--green); }
.pcol-n { margin-left: auto; font-size: .75rem; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 .5rem; }
.pcol-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.pl { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .75rem; font-size: .84rem; box-shadow: var(--sh-1); }
.pl-top { display: flex; align-items: center; gap: .5rem; }
.pl .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--deep-900); font-size: .62rem; font-weight: 800; flex: none; }
.pl-amt { margin-left: auto; font-weight: 750; font-variant-numeric: tabular-nums; }
.pl-what { color: var(--ink-2); margin-top: .4rem; }
.pl-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .6rem; }
.pl-src { font-size: .7rem; font-weight: 700; padding: .15rem .45rem; border-radius: 6px; background: var(--mist); color: var(--ink-2); }
.pl-move { display: inline-flex; align-items: center; gap: .3rem; border: 0; background: transparent; color: var(--brand-ink); font-weight: 700; font-size: .76rem; cursor: pointer; padding: .3rem .2rem; min-height: 32px; }
.pl-move .ic { width: 13px; height: 13px; }
.pl-move:hover .ic { transform: translateX(2px); }
[data-col="won"] .pl-move { display: none; }
[data-col="won"] .pl { border-color: rgba(24,185,129,.4); }
@media (prefers-reduced-motion: no-preference) { .pl.is-new { animation: anatIn .35s var(--ease) both; } }
@media (max-width: 991.98px) { .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .pipe { grid-template-columns: minmax(0, 1fr); } .pcol { min-height: 0; } .pipe-top .btn-a { margin-left: 0; } }

.ib { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.ib-doc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(1.25rem, .9rem + 1.5vw, 2rem); box-shadow: var(--sh-3); }
.ib-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.ib-from { display: flex; flex-direction: column; font-size: .82rem; color: var(--ink-2); }
.ib-from b { font-size: 1.05rem; color: var(--ink); }
.ib-meta { display: flex; gap: 1.5rem; }
.ib-meta p, .ib-to { display: flex; flex-direction: column; font-size: .82rem; }
.ib-meta span, .ib-to span { color: var(--ink-3); font-size: .75rem; }
.ib-to { margin: 1rem 0 .5rem; }
.ib-table { width: 100%; border-collapse: collapse; min-width: 460px; font-size: .88rem; }
.ib-table th { text-align: left; font-size: .75rem; color: var(--ink-3); font-weight: 700; padding: .5rem .4rem; border-bottom: 1px solid var(--line); }
.ib-table td { padding: .35rem .4rem; border-bottom: 1px solid var(--line); }
.ib-table th:nth-child(2), .ib-table th:nth-child(3) { width: 90px; }
.ib-table th:last-child, .ib-amt { text-align: right; width: 110px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ib-table input, .ib-ctl input, .ib-ctl select { width: 100%; font: inherit; color: var(--ink); border: 1px solid transparent; border-radius: 8px; padding: .45rem .5rem; background: var(--cloud); min-height: 38px; }
.ib-table input:hover { border-color: var(--line-2); }
.ib-table input:focus, .ib-ctl input:focus, .ib-ctl select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,123,255,.15); background: #fff; }
.ib-tot { margin: 1rem 0 0 auto; max-width: 320px; display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; }
.ib-tot > div { display: flex; justify-content: space-between; gap: 1rem; }
.ib-tot > div[hidden] { display: none; }
.ib-tot dt { font-weight: 600; color: var(--ink-2); }
.ib-tot dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.ib-grand { border-top: 1px solid var(--ink); padding-top: .5rem; margin-top: .25rem; }
.ib-grand dt, .ib-grand dd { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.ib-words { text-align: right; font-size: .75rem; color: var(--ink-3); margin-top: .25rem; min-height: 1.1em; }
.ib-pay { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: 1.25rem; padding: .7rem .9rem; border-radius: 10px; background: var(--cloud); font-size: .8rem; color: var(--ink-2); }
.ib-pay .ic { width: 16px; height: 16px; color: var(--brand); }
.ib-pay b { color: var(--ink); }
.ib-ctl { display: flex; flex-direction: column; gap: 1.1rem; position: sticky; top: calc(var(--hdr-h, 72px) + 1.5rem); padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--cloud); }
.ib-f { display: flex; flex-direction: column; gap: .4rem; }
.ib-f label, .ib-l { font-weight: 750; font-size: .88rem; }
.ib-ctl input, .ib-ctl select { background: #fff; border-color: var(--line-2); min-height: 44px; }
.ib-ctl select { appearance: none; padding-right: 2rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355627D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .7rem center; }
.ib-ctl .seg { display: flex; }
.ib-ctl .seg-btn { flex: 1; }
.ib-acts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.ib-acts li { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700; color: var(--ink-3); padding: .35rem .6rem; border: 1px dashed var(--line-2); border-radius: 8px; }
.ib-acts .ic { width: 14px; height: 14px; }
.ib-note { font-size: .78rem; color: var(--ink-3); }
@media (max-width: 991.98px) { .ib { grid-template-columns: minmax(0, 1fr); } .ib-ctl { position: static; order: -1; } }

.crm-cmp { max-width: 860px; margin-inline: auto; }
.crm-cmp .cmp { min-width: 0; }
.crm-cmp thead th small { display: block; font-size: .75rem; font-weight: 600; color: var(--ink-3); font-family: var(--f-body); }
.crm-cmp td, .crm-cmp thead th:not(:first-child) { width: 26%; }
.crm-plan-cta { justify-content: center; }
@media (max-width: 575.98px) { .crm-cmp .cmp { font-size: .82rem; } .crm-cmp th, .crm-cmp td { padding: .7rem .4rem; } }
.page-hero .btn-ghost-a { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.25); }
.page-hero .btn-ghost-a:hover { --b-bd: #fff; color: #fff; }
@media (max-width: 575.98px) {
  .ib-table { min-width: 0; font-size: .8rem; table-layout: fixed; }
  .ib-table th:nth-child(2) { width: 40px; }
  .ib-table th:nth-child(3) { width: 70px; }
  .ib-table th:last-child { width: 76px; }
  .ib-table .ib-qty, .ib-table .ib-rate { padding-inline: .3rem; text-align: center; }
  .ib-table td { padding: .3rem .2rem; }
  .ib-table input { padding: .4rem .35rem; }
  .ib-doc { padding: 1rem; }
}

/* ==========================================================================
   Document Vault page
   ========================================================================== */
.page-vault .ph-grid .cta-row { margin-top: 2rem; }
.vsides { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.vside { border-radius: var(--r-l); padding: clamp(1.25rem, 1rem + 1vw, 2rem); border: 1px solid var(--line); height: 100%; }
.vside-pub { background: #fff; }
.vside-priv { background: var(--deep-900); border-color: var(--deep-900); color: #fff; }
.vside-h { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; margin-bottom: 1.1rem; }
.vside-h .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; grid-row: span 2; background: var(--brand-tint); color: var(--brand); }
.vside-priv .vside-h .ic { background: rgba(255,255,255,.08); color: var(--signal); }
.vside-h b { font-size: 1.15rem; }
.vside-h span { font-size: .82rem; color: var(--ink-3); }
.vside-priv .vside-h span { color: var(--on-dark-3); }
.vside ul { list-style: none; margin: 0; padding: 0; }
.vside li { padding: .6rem 0; border-top: 1px solid var(--line); font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.vside-priv li { border-top-color: var(--line-dark); color: var(--on-dark-2); }
.vside-mid .ic { width: 52px; height: 52px; padding: 14px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); color: var(--deep-900); }
@media (max-width: 767.98px) { .vsides { grid-template-columns: minmax(0, 1fr); } .vside-mid { justify-self: center; } }

.vdemo { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; align-items: start; }
.vdemo-main { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(1rem, .8rem + 1vw, 1.5rem); box-shadow: var(--sh-2); }
.vdemo-top { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; }
.vdemo-top .seg-btn .ic { width: 16px; height: 16px; margin-right: .35rem; vertical-align: -.2em; }
.vsearch { flex: 1 1 220px; max-width: 320px; display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 .75rem; min-height: 44px; }
.vsearch:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,123,255,.15); }
.vsearch .ic { width: 16px; height: 16px; color: var(--ink-3); }
.vsearch input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; color: var(--ink); background: transparent; padding: .55rem 0; }
.vchips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 .5rem; }
.vchip { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: .35rem .8rem; font-size: .8rem; font-weight: 700; color: var(--ink-2); cursor: pointer; min-height: 34px; }
.vchip:hover { border-color: var(--ink-3); color: var(--ink); }
.vchip.is-on { background: var(--deep-900); border-color: var(--deep-900); color: #fff; }
.vchip[hidden] { display: none; }
.vlist-h, .vr { display: grid; grid-template-columns: minmax(0, 1fr) 130px 150px; gap: .75rem; align-items: center; }
.vlist-h { font-size: .72rem; font-weight: 700; color: var(--ink-3); padding: .6rem .25rem; border-bottom: 1px solid var(--line); }
.vlist { list-style: none; margin: 0; padding: 0; }
.vr { padding: .7rem .25rem; border-bottom: 1px solid var(--line); }
.vr[hidden] { display: none; }
.vr-doc { display: flex; gap: .65rem; align-items: center; min-width: 0; }
.vr-doc > .ic { width: 20px; height: 20px; color: var(--brand); flex: none; }
.vr-doc > span { display: flex; flex-direction: column; min-width: 0; }
.vr-doc b { font-size: .92rem; }
.vr-doc small { font-size: .75rem; color: var(--ink-3); }
.vr-share { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
.vr-acc { font-size: .8rem; font-weight: 650; color: var(--ink-2); }
.vempty { padding: 1.5rem .25rem; color: var(--ink-3); font-size: .9rem; }
.vrem { background: var(--deep-900); color: #fff; border-radius: var(--r-l); padding: 1.25rem; position: sticky; top: calc(var(--hdr-h, 72px) + 1.5rem); }
.vrem-h { display: flex; align-items: center; gap: .5rem; font-weight: 750; }
.vrem-h .ic { width: 18px; height: 18px; color: var(--signal); }
.vrem-f { display: flex; flex-direction: column; gap: .4rem; margin-top: 1rem; }
.vrem-f label { font-size: .8rem; color: var(--on-dark-2); font-weight: 650; }
.vrem-f select { font: inherit; font-weight: 650; color: var(--ink); border: 0; border-radius: 10px; padding: .55rem 2rem .55rem .75rem; min-height: 44px; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355627D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .7rem center; }
.vrem-f select:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.vrem-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; }
.vrem-list li { display: flex; flex-direction: column; padding: .7rem 0 .7rem .9rem; border-top: 1px solid var(--line-dark); position: relative; font-size: .85rem; }
.vrem-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.vrem-list li.is-due::before { background: #FFB547; }
.vrem-list span { color: var(--on-dark-3); font-size: .78rem; }
.vrem-list li.is-due span { color: #FFD08A; }
.vrem-note { font-size: .75rem; color: var(--on-dark-3); margin-top: .75rem; }
@media (max-width: 991.98px) { .vdemo { grid-template-columns: minmax(0, 1fr); } .vrem { position: static; } }
@media (max-width: 575.98px) {
  .vlist-h { display: none; }
  .vr { grid-template-columns: minmax(0, 1fr) auto; row-gap: .5rem; }
  .vr-share { grid-column: 1 / -1; padding-left: 1.9rem; }
  .vsearch { max-width: none; }
}

.vaccs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: vacc; }
.vacc { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-m); position: relative; counter-increment: vacc; }
.vacc::after { content: counter(vacc); position: absolute; top: 1.25rem; right: 1.25rem; font-size: 2rem; font-weight: 800; color: var(--line-2); line-height: 1; }
.vacc .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); }
.vacc:last-child { background: var(--deep-900); border-color: var(--deep-900); }
.vacc:last-child .ic { background: rgba(255,255,255,.08); color: var(--signal); }
.vacc:last-child h3 { color: #fff; }
.vacc:last-child p { color: var(--on-dark-2); }
.vacc:last-child::after { color: rgba(255,255,255,.15); }
.vacc h3 { font-size: 1.05rem; font-weight: 740; margin-top: 1rem; }
.vacc p { font-size: .88rem; color: var(--ink-2); margin-top: .35rem; }
@media (max-width: 991.98px) { .vaccs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .vaccs { grid-template-columns: minmax(0, 1fr); } }

.vkeep { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.vkeep-c { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.5rem; }
.vkeep-h { display: flex; align-items: center; gap: .5rem; font-weight: 750; margin-bottom: 1rem; }
.vkeep-h .ic { width: 20px; height: 20px; color: var(--brand); }
.vkeep-c ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.vkeep-c li { font-size: .86rem; font-weight: 650; padding: .45rem .75rem; border-radius: 9px; background: var(--cloud); border: 1px solid var(--line); }
@media (max-width: 767.98px) { .vkeep { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Help Centre page
   ========================================================================== */
.help-hero { padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); }
.help-head { max-width: 760px; margin-inline: auto; text-align: center; }
.help-hero .crumbs ol { justify-content: center; }
.hsearch { position: relative; display: flex; align-items: center; margin-top: 1.75rem; background: #fff; border-radius: 18px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.hsearch > .ic { position: absolute; left: 1.15rem; width: 22px; height: 22px; color: var(--ink-3); pointer-events: none; }
.hsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.05rem; font-weight: 600; color: var(--ink); padding: 1.1rem 3.2rem 1.1rem 3.3rem; border-radius: 18px; }
.hsearch input::-webkit-search-cancel-button { display: none; }
.hsearch:focus-within { box-shadow: 0 0 0 4px rgba(102,219,255,.45), 0 20px 50px -20px rgba(0,0,0,.6); }
.hsearch-x { position: absolute; right: .6rem; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--cloud); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.hsearch-x .ic { width: 16px; height: 16px; }
.hpops { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin-top: 1.1rem; font-size: .85rem; color: var(--on-dark-3); }
.hpops ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.hpop { border: 1px solid var(--line-dark); background: rgba(255,255,255,.06); color: #fff; border-radius: 999px; padding: .35rem .8rem; font-size: .8rem; font-weight: 650; cursor: pointer; min-height: 34px; }
.hpop:hover { background: rgba(255,255,255,.14); }
.hpop:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

.sec-help { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.hcats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.hcat { width: 100%; height: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .85rem; align-items: start; text-align: left; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; cursor: pointer; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.hcat:hover { border-color: var(--line-2); box-shadow: var(--sh-2); }
.hcat > .ic { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--brand-tint); color: var(--brand); }
.hcat span { display: flex; flex-direction: column; }
.hcat b { font-size: .95rem; color: var(--ink); }
.hcat small { font-size: .8rem; color: var(--ink-2); margin-top: .15rem; line-height: 1.4; }
.hcat em { font-style: normal; font-size: .72rem; font-weight: 750; color: var(--ink-2); background: var(--cloud); border-radius: 999px; padding: .1rem .5rem; }
.hcat[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); }
.hcat[aria-pressed="true"] > .ic { background: var(--brand); color: #fff; }
@media (max-width: 1199.98px) { .hcats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .hcats { grid-template-columns: minmax(0, 1fr); } .hcat small { display: none; } .hcat { align-items: center; } }

.hbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; margin: 2.5rem 0 .5rem; }
.hcount { font-weight: 700; color: var(--ink-2); font-size: .9rem; }
.hgroups { max-width: 880px; }
.hgroup { margin-top: 2rem; scroll-margin-top: calc(var(--hdr-h, 72px) + 1rem); }
.hgroup[hidden], .hq[hidden] { display: none; }
.hgroup-h { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; font-weight: 780; letter-spacing: -.02em; margin-bottom: .75rem; }
.hgroup-h .ic { width: 22px; height: 22px; color: var(--brand); }
.hq-link { display: inline-flex; align-items: center; gap: .3rem; margin-left: .25rem; font-weight: 700; color: var(--brand-ink); text-decoration: none; border: 0; background: transparent; padding: 0; font-size: inherit; cursor: pointer; }
.hq-link .ic { width: 14px; height: 14px; }
.hq-link:hover { text-decoration: underline; }
.hq mark { background: #FFF1B8; color: inherit; border-radius: 3px; padding: 0 .1em; }
.hempty { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line-2); border-radius: var(--r-l); margin-top: 1.5rem; }
.hempty > .ic { width: 32px; height: 32px; color: var(--ink-3); }
.hempty h2 { font-size: 1.3rem; font-weight: 780; margin-top: .75rem; }
.hempty p { color: var(--ink-2); margin: .35rem 0 1.25rem; }

.hcontact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 2rem 4rem; align-items: center; }
.hcontact .body-l { margin-top: 1rem; }
.hcontact-c { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--sh-2); }
.hcontact-c .contact-line { margin-top: 0; }
.hcontact-c .contact-line > .ic { width: 20px; height: 20px; color: var(--brand); }
.hcontact-n { font-size: .8rem; color: var(--ink-3); }
@media (max-width: 991.98px) { .hcontact { grid-template-columns: minmax(0, 1fr); } }
.hlayout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem 4rem; align-items: start; }
.hgroups { max-width: none; }
.haside { position: sticky; top: calc(var(--hdr-h, 72px) + 1.5rem); margin-top: 2rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--cloud); }
.haside-h { font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .5rem; }
.haside ul { list-style: none; margin: 0; padding: 0; }
.haside li a, .haside li button { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .6rem .25rem; border: 0; border-bottom: 1px solid var(--line); background: transparent; font: inherit; font-size: .9rem; font-weight: 650; color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; }
.haside li a:hover, .haside li button:hover { color: var(--brand-ink); }
.haside .ic { width: 17px; height: 17px; color: var(--brand); flex: none; }
.haside-c { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.haside-c p { display: flex; flex-direction: column; font-size: .85rem; color: var(--ink-2); }
.haside-c b { color: var(--ink); font-size: .95rem; }
.haside-c .btn-a .ic { color: inherit; }
@media (max-width: 991.98px) { .hlayout { grid-template-columns: minmax(0, 1fr); } .haside { position: static; } }

/* ==========================================================================
   Legal pages (draft)
   ========================================================================== */
.legal-hero .display-page { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); }
.legal-hero .lede { margin-top: .25rem; max-width: 46em; }
.legal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.25rem; font-size: .82rem; color: var(--on-dark-3); }
.draft-pill { display: inline-flex; align-items: center; gap: .4rem; font-weight: 750; color: var(--deep-900); background: #FFD08A; padding: .25rem .65rem; border-radius: 999px; }
.draft-pill .ic { width: 14px; height: 14px; }
.legal { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.legal-note { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--r-m); background: #FFF6E5; border: 1px solid #F5D9A8; color: #6B4300; font-size: .9rem; margin-bottom: 2rem; }
.legal-note .ic { width: 20px; height: 20px; flex: none; margin-top: .1rem; }
.legal-note b { color: #4D3000; }
mark.ph { background: #FFF1B8; color: #5C4200; border-radius: 4px; padding: 0 .2em; font-weight: 650; }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2.5rem 4rem; align-items: start; }
.ltoc { position: sticky; top: calc(var(--hdr-h, 72px) + 1.5rem); }
.ltoc-h { font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .6rem; }
.ltoc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.ltoc a { display: flex; gap: .55rem; padding: .4rem .75rem; margin-left: -2px; border-left: 2px solid transparent; font-size: .86rem; font-weight: 600; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.ltoc a span { color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 1.2em; }
.ltoc a span .ic { width: 14px; height: 14px; }
.ltoc a:hover { color: var(--ink); }
.ltoc a.is-current { color: var(--brand-ink); border-left-color: var(--brand); }
.btn-print { margin-top: 1.25rem; font-size: .85rem; }
.btn-print .ic { width: 16px; height: 16px; }
.ldoc { max-width: 760px; }
.lsec { padding-bottom: 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hdr-h, 72px) + 1rem); }
.lsec h2 { font-size: 1.3rem; font-weight: 780; letter-spacing: -.02em; margin-bottom: .75rem; }
.lsec h2 span { color: var(--brand); }
.lsec p, .lsec li { color: var(--ink-2); line-height: 1.7; }
.lsec p + p { margin-top: .75rem; }
.lsec ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.lsec li + li { margin-top: .4rem; }
.lsec li::marker { color: var(--brand); }
.lsec a { color: var(--brand-ink); font-weight: 650; }
.lcontact { border-bottom: 0; }
.lform { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--cloud); }
.lf { display: flex; flex-direction: column; gap: .4rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.lf label, .lf legend { font-weight: 700; font-size: .92rem; color: var(--ink); float: none; width: auto; padding: 0; margin: 0 0 .1rem; }
.lf input, .lf select, .lf textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: .7rem .85rem; min-height: 48px; width: 100%; }
.lf select { appearance: none; padding-right: 2rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355627D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center; }
.lf input:focus, .lf select:focus, .lf textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,123,255,.15); }
.lf [aria-invalid="true"] { border-color: #C62828; }
.lf-hint { font-size: .8rem; color: var(--ink-3); margin: 0 !important; }
.lf-err { font-size: .82rem; color: #B42318; font-weight: 650; margin: 0 !important; }
.lf .opt { font-weight: 500; color: var(--ink-3); font-size: .8rem; }
.lradios { display: flex; flex-direction: column; gap: .5rem; }
.lchk { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.lchk input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--brand); flex: none; }
.lform .btn-a { align-self: flex-start; }
.lform .form-status { padding: .9rem 1rem; border-radius: 12px; background: #E1F7EF; color: var(--green-ink); font-size: .9rem; }
.lform .form-status.is-err { background: #FDECEC; color: #B42318; }
.lother-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.lother-list a { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; font-size: .92rem; color: var(--ink); text-decoration: none; }
.lother-list a:hover { border-color: var(--line-2); box-shadow: var(--sh-1); }
.lother-list a[aria-current] { border-color: var(--brand); background: var(--brand-tint); }
.lother-list .ic { width: 18px; height: 18px; color: var(--brand); }
@media (max-width: 991.98px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .ltoc { position: static; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r-m); }
  .lother-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) { .lother-list { grid-template-columns: minmax(0, 1fr); } .lform .btn-a { align-self: stretch; } }
@media print {
  .site-header, .site-footer, .ltoc, .lother, .legal-note, .announce, .skip-link, .lform-wrap { display: none !important; }
  .page-hero { background: none !important; color: #000 !important; padding: 0 !important; }
  .page-hero .display-page, .page-hero .lede, .legal-meta { color: #000 !important; }
  .hero-bg, .crumbs { display: none !important; }
  .legal-grid { display: block; }
  .ldoc { max-width: none; }
  .lsec { break-inside: avoid-page; }
  mark.ph { background: none; text-decoration: underline; }
}
.lsec ul { list-style: disc; }
.foot-legal a { color: var(--on-dark-3); text-decoration: none; transition: color var(--dur); }
.foot-legal a:hover { color: #fff; }

/* ==========================================================================
   User guides and sitemap
   ========================================================================== */
.gprog { padding: 1.25rem; border: 1px solid var(--line-dark); border-radius: var(--r-l); background: rgba(255,255,255,.04); }
.gprog-l { font-size: .95rem; color: var(--on-dark-2); }
.gprog-l b { color: #fff; font-size: 1.6rem; font-weight: 800; margin-right: .2rem; }
.gprog-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: .75rem; }
.gprog-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #007BFF, #00C3FF); transition: width .4s var(--ease); }
.gprog-reset { margin-top: .75rem; color: var(--on-dark-2); padding-inline: 0; }
.gprog-reset:hover { color: #fff; }
.guides-sec { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.guide-note { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-2); margin-bottom: 2rem; }
.guide-note .ic { width: 16px; height: 16px; color: var(--brand); flex: none; }
.guides-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2.5rem 4rem; align-items: start; }
.gnav { position: sticky; top: calc(var(--hdr-h, 72px) + 1.5rem); }
.gnav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.gnav a { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; font-size: .88rem; font-weight: 650; color: var(--ink-2); text-decoration: none; }
.gnav a .ic { width: 17px; height: 17px; color: var(--ink-3); flex: none; }
.gnav a span { flex: 1; }
.gnav a:hover { background: var(--cloud); color: var(--ink); }
.gnav a.is-current { background: var(--brand-tint); color: var(--brand-ink); }
.gnav a.is-current .ic { color: var(--brand); }
.gdone-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.gnav a.is-done .gdone-dot { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.gnav-help { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; font-size: .85rem; font-weight: 700; color: var(--brand-ink); text-decoration: none; }
.gnav-help .ic { width: 15px; height: 15px; }
.guides { display: flex; flex-direction: column; gap: 1.5rem; }
.guide { border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); background: #fff; scroll-margin-top: calc(var(--hdr-h, 72px) + 1rem); transition: border-color var(--dur) var(--ease); }
.guide.is-done { border-color: rgba(24,185,129,.45); }
.guide-h { display: flex; gap: 1rem; align-items: flex-start; }
.guide-ic .ic { width: 52px; height: 52px; padding: 13px; border-radius: 15px; background: var(--brand-tint); color: var(--brand); }
.guide.is-done .guide-ic .ic { background: #E1F7EF; color: var(--green-ink); }
.guide-n { font-size: .75rem; font-weight: 750; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }
.guide-h h2 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); font-weight: 780; letter-spacing: -.02em; margin-top: .15rem; }
.guide-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .45rem; font-size: .8rem; color: var(--ink-2); font-weight: 600; }
.guide-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.guide-meta .ic { width: 14px; height: 14px; color: var(--ink-3); }
.guide-intro { color: var(--ink-2); margin-top: 1.1rem; max-width: 62ch; }
.gsteps { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-direction: column; }
.gsteps li { display: flex; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); position: relative; }
.gstep-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--deep-900); color: #fff; font-size: .8rem; font-weight: 800; }
.gsteps h3 { font-size: 1rem; font-weight: 740; }
.gsteps p { font-size: .9rem; color: var(--ink-2); margin-top: .15rem; }
.guide-tip { display: flex; gap: .6rem; align-items: flex-start; margin-top: .75rem; padding: .85rem 1rem; border-radius: 12px; background: var(--gold-tint); color: var(--gold-ink); font-size: .88rem; }
.guide-tip .ic { width: 18px; height: 18px; flex: none; margin-top: .1rem; }
.guide-tip b { color: var(--deep-900); margin-right: .25rem; }
.guide-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.gdone { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .9rem; cursor: pointer; padding: .5rem .85rem; border: 1px solid var(--line-2); border-radius: 12px; min-height: 44px; }
.gdone input { width: 18px; height: 18px; accent-color: var(--green); }
.guide.is-done .gdone { border-color: var(--green); background: #E1F7EF; color: var(--green-ink); }
@media (max-width: 991.98px) {
  .guides-grid { grid-template-columns: minmax(0, 1fr); }
  .gnav { position: static; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r-m); }
  .gnav ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem .5rem; }
}
@media (max-width: 575.98px) { .gnav ol { grid-template-columns: minmax(0, 1fr); } .guide-h { flex-direction: column; } }

.smgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2rem 2.5rem; }
.smcol h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; font-weight: 780; padding-bottom: .75rem; border-bottom: 1px solid var(--ink); }
.smcol h2 .ic { width: 18px; height: 18px; color: var(--brand); }
.smcol ul { list-style: none; margin: .5rem 0 0; padding: 0; }
.smcol li { padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.smcol a { color: var(--ink); font-weight: 650; text-decoration: none; }
.smcol a:hover { color: var(--brand-ink); text-decoration: underline; }
.smcol .soon { color: var(--ink-3); }

/* ---------- Keep exploring (inner pages) ---------- */
.explore { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); border-top: 1px solid var(--line); }
.explore-h { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.8rem); font-weight: 790; letter-spacing: -.025em; margin-bottom: 1.25rem; }
.xcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.xcard { display: grid; grid-template-columns: auto 1fr auto; gap: .85rem; align-items: start; height: 100%; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; color: var(--ink); text-decoration: none; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.xcard:hover { border-color: var(--line-2); box-shadow: var(--sh-2); transform: translateY(-2px); color: var(--ink); }
.xcard > .ic:first-child { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); }
.xcard span { display: flex; flex-direction: column; }
.xcard b { font-size: .98rem; }
.xcard small { font-size: .82rem; color: var(--ink-2); margin-top: .2rem; line-height: 1.45; }
.xcard-go { width: 18px; height: 18px; color: var(--ink-3); margin-top: .6rem; transition: transform var(--dur) var(--ease), color var(--dur); }
.xcard:hover .xcard-go { transform: translateX(3px); color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .xcard:hover { transform: none; } }
@media (max-width: 1199.98px) { .xcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .xcards { grid-template-columns: minmax(0, 1fr); } }
.sec-dark .more-link .btn-ghost-a { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.25); }
.sec-dark .more-link .btn-ghost-a:hover { --b-bd: #fff; color: #fff; }

/* ---- Account pages (Phase 3; new classes only) ---- */
.acct-wrap { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(3rem, 2rem + 3vw, 5rem); }
.page-reg .page-hero + .acct-wrap { padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.acct-full { grid-column: 1 / -1; }
@media (max-width: 767.98px) { .acct-grid { grid-template-columns: minmax(0, 1fr); } }
.acct-h { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .75rem; }
.acct-grid .reg-form { margin-top: 1rem; }
.acct-grid .wnote { margin-bottom: .5rem; }
.acct-dl { display: grid; gap: .65rem; margin: 0; }
.acct-dl div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .75rem; }
.acct-dl dt { font-weight: 650; color: var(--ink-2); font-size: .88rem; }
.acct-dl dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.acct-actions { margin-top: 1.1rem; }
.acct-list { list-style: none; margin: 0; padding: 0; }
.acct-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.acct-list li:first-child { border-top: 0; }
.acct-list small { display: block; color: var(--ink-2); font-size: .8rem; margin-top: .15rem; }
.auth-code .otp { margin-top: .25rem; }
.auth-code .achk { margin-top: .25rem; }
.auth-resend { background: none; border: 0; padding: 0; font: inherit; font-size: .86rem; font-weight: 700; color: var(--brand); cursor: pointer; }
.auth-resend:disabled { color: var(--ink-3); cursor: default; }
.auth-code .otp { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 360px; }
.auth-code .otp input { text-align: center; font-size: 1.3rem; font-weight: 800; padding: .4rem 0; min-height: 54px; }

/* ==========================================================================
   Public profile pages /p/{slug} and /b/{slug} (Phase 4; new classes only)
   Templates: studio · contrast · editorial (personal), storefront · company · services (business)
   ========================================================================== */
.page-pf { --acc: #007BFF; background: var(--cloud); color: var(--ink); min-height: 100vh; }
.pf { max-width: 600px; margin: 0 auto; padding: clamp(0px, 3vw, 1.5rem) clamp(0px, 3vw, 1rem) 2rem; }
.pf-card { background: #fff; border: 1px solid var(--line); border-radius: 0 0 24px 24px; overflow: hidden; box-shadow: 0 12px 40px rgba(10,31,74,.08); padding-bottom: .5rem; }
@media (min-width: 600px) { .pf-card { border-radius: 24px; } }
.pf-cover { height: 140px; background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 55%, #0A1F4A)); }
.pf-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-head { text-align: center; padding: 0 1.25rem; margin-top: -56px; }
.pf-avatar { width: 112px; height: 112px; border-radius: 50%; display: inline-grid; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--acc) 14%, #fff);
  color: var(--acc); font-weight: 800; font-size: 2.2rem; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(10,31,74,.14); }
.pf-avatar.is-logo { border-radius: 24px; background: #fff; }
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-avatar.is-logo img { object-fit: contain; padding: 10%; }
.pf-name { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: .75rem 0 .25rem; }
.pf-role { color: var(--ink-2); font-weight: 600; margin: 0; }
.pf-tagline { color: var(--ink-2); margin: .4rem 0 0; font-size: .95rem; }
.pf-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: .5rem; padding: 1.25rem 1.25rem 0; max-width: 420px; margin: 0 auto; }
.pf-acts a { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .7rem .25rem; border-radius: 14px; text-decoration: none;
  color: var(--acc); background: color-mix(in srgb, var(--acc) 9%, #fff); font-weight: 700; font-size: .8rem; }
.pf-acts a:hover, .pf-acts a:focus-visible { background: color-mix(in srgb, var(--acc) 16%, #fff); }
.pf-acts .ic { width: 22px; height: 22px; }
.pf-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; border-radius: 14px; font-weight: 750; text-decoration: none;
  background: var(--acc); color: #fff; padding: .7rem 1.1rem; }
.pf-btn:hover { filter: brightness(1.08); color: #fff; }
.pf-btn .ic { width: 20px; height: 20px; }
.pf-save { margin: 1rem 1.25rem .5rem; }
.pf-btn-ghost { background: transparent; color: var(--acc); border: 1.5px solid currentColor; min-height: 42px; margin-top: .6rem; }
.pf-btn-ghost:hover { color: var(--acc); background: color-mix(in srgb, var(--acc) 8%, #fff); }
.pf-sec { padding: 1.25rem 1.25rem .25rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.pf-sec h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--ink-3); margin: 0 0 .75rem; display: flex; align-items: center; gap: .4rem; }
.pf-text { color: var(--ink-2); line-height: 1.6; margin: 0 0 .75rem; }
.pf-text .ic { width: 16px; height: 16px; color: var(--acc); margin-right: .35rem; vertical-align: -3px; }
.pf-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.pf-rows a, .pf-row { display: flex; align-items: center; gap: .85rem; padding: .7rem .85rem; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 650; overflow-wrap: anywhere; }
.pf-rows a:hover { border-color: var(--acc); }
.pf-rows .ic { width: 20px; height: 20px; color: var(--acc); flex: none; }
.pf-rows a > .ic:last-child { margin-left: auto; color: var(--ink-3); }
.pf-rows small { display: block; font-size: .72rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.pf-dl { display: grid; gap: .55rem; margin: 0 0 .75rem; }
.pf-dl div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .75rem; }
.pf-dl dt { color: var(--ink-3); font-weight: 650; font-size: .88rem; }
.pf-dl dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.pf-tags { list-style: none; padding: 0; margin: 0 0 .75rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.pf-tags li { background: color-mix(in srgb, var(--acc) 9%, #fff); color: var(--acc); font-weight: 700; font-size: .8rem; padding: .3rem .65rem; border-radius: 999px; }
.pf-products { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 380px) { .pf-products { grid-template-columns: minmax(0, 1fr); } }
.pf-product { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.pf-product img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--cloud); }
.pf-product > div { padding: .75rem; }
.pf-product h3, .pf-cards h3 { font-size: 1rem; font-weight: 750; margin: 0 0 .3rem; display: flex; align-items: center; gap: .45rem; }
.pf-product .pf-text { font-size: .85rem; margin-bottom: .4rem; }
.pf-p-cat { font-size: .72rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .2rem; }
.pf-price { font-weight: 800; color: var(--acc); margin: 0; }
.pf-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.pf-cards > li { border: 1px solid var(--line); border-radius: 14px; padding: 1rem; }
.pf-cards h3 .ic { width: 20px; height: 20px; color: var(--acc); }
.pf-chip { display: inline-flex; align-items: center; gap: .4rem; margin: .25rem .4rem .25rem 0; padding: .45rem .75rem; border-radius: 999px; border: 1px solid var(--line-2);
  text-decoration: none; color: var(--ink); font-weight: 650; font-size: .85rem; }
.pf-chip .ic { width: 16px; height: 16px; color: var(--acc); }
.pf-chip:hover { border-color: var(--acc); }
.pf-upi { display: flex; flex-direction: column; margin: .25rem 0 0; }
.pf-upi span { font-size: .72rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; }
.pf-upi b { font-size: 1.05rem; overflow-wrap: anywhere; }
.pf-payqr { display: block; width: 200px; max-width: 100%; height: auto; margin-top: .75rem; border-radius: 10px; border: 1px solid var(--line); }
.pf-note { display: flex; gap: .45rem; font-size: .8rem; color: var(--ink-3); margin: .75rem 0; }
.pf-note .ic { width: 16px; height: 16px; flex: none; margin-top: .1rem; }
.pf-gallery { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.pf-gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.pf-team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.pf-team li { border: 1px solid var(--line); border-radius: 12px; padding: .7rem .85rem; }
.pf-team b { display: block; } .pf-team small { color: var(--ink-2); }
.pf-sos { background: #FFF4F2; border-top-color: #F5C9C1; }
.pf-sos h2 { color: #B3261E; } .pf-sos .ic { color: #B3261E; }
.pf-share-in { display: flex; align-items: center; gap: 1rem; }
.pf-qr { width: 112px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.pf-qr svg { display: block; width: 100%; height: auto; }
.pf-link { font-weight: 750; overflow-wrap: anywhere; margin: 0 0 .4rem; }
.pf-foot { text-align: center; padding: 1.5rem 1rem 0; font-size: .82rem; color: var(--ink-3); }
.pf-foot p { margin: .35rem 0 0; } .pf-foot a { color: var(--ink-2); }
.pf-brand img { height: 24px; width: auto; }
.pf-kicker { display: inline-flex; align-items: center; gap: .4rem; font-weight: 750; color: var(--ink-2); margin: 0; }
.pf-kicker .ic { width: 18px; height: 18px; }
.pf-paused .pf-card { text-align: center; padding: 3rem 1.5rem; border-radius: 24px; margin-top: 2rem; }
.pf-paused .pf-brand { display: inline-block; margin-top: 1rem; }

/* Contrast: dark surface, strong accent */
.pf-t-contrast { background: #070D1C; }
.pf-t-contrast .pf-card { background: #0E1730; border-color: #1E2A4A; color: #EAF0FF; }
.pf-t-contrast .pf-role, .pf-t-contrast .pf-tagline, .pf-t-contrast .pf-text, .pf-t-contrast .pf-team small { color: #B7C3E0; }
.pf-t-contrast .pf-sec { border-top-color: #1E2A4A; }
.pf-t-contrast .pf-sec h2, .pf-t-contrast .pf-rows small, .pf-t-contrast .pf-dl dt, .pf-t-contrast .pf-p-cat, .pf-t-contrast .pf-upi span { color: #8794B8; }
.pf-t-contrast .pf-rows a, .pf-t-contrast .pf-row, .pf-t-contrast .pf-cards > li, .pf-t-contrast .pf-product, .pf-t-contrast .pf-team li, .pf-t-contrast .pf-chip { border-color: #26355C; color: #EAF0FF; }
.pf-t-contrast .pf-acts a, .pf-t-contrast .pf-tags li { background: color-mix(in srgb, var(--acc) 22%, #0E1730); color: #fff; }
.pf-t-contrast .pf-avatar { border-color: #0E1730; }
.pf-t-contrast .pf-cover { background: radial-gradient(circle at 30% 0%, var(--acc), #0E1730 70%); }
.pf-t-contrast .pf-foot, .pf-t-contrast .pf-foot a { color: #8794B8; }
.pf-t-contrast .pf-brand img { filter: brightness(0) invert(1); opacity: .8; }

/* Editorial: large cover, left-aligned */
.pf-t-editorial .pf-cover { height: 240px; }
.pf-t-editorial .pf-head { text-align: left; margin-top: -48px; }
.pf-t-editorial .pf-avatar { width: 96px; height: 96px; font-size: 1.8rem; }
.pf-t-editorial .pf-name { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.5rem); }
.pf-t-editorial .pf-acts { margin: 0; max-width: none; }

/* Storefront: catalogue first, warm header */
.pf-t-storefront .pf-cover { height: 170px; }
.pf-t-storefront .pf-avatar { border-radius: 24px; }

/* Company: formal, navy band, left-aligned */
.pf-t-company .pf-cover { height: 110px; background: linear-gradient(90deg, #0A1F4A, color-mix(in srgb, var(--acc) 60%, #0A1F4A)); }
.pf-t-company .pf-head { text-align: left; margin-top: -44px; }
.pf-t-company .pf-avatar { width: 88px; height: 88px; border-radius: 16px; font-size: 1.6rem; }
.pf-t-company .pf-acts { margin: 0; max-width: none; }

/* Services: hours and booking first */
.pf-t-services .pf-hours { background: color-mix(in srgb, var(--acc) 7%, #fff); border-top: 0; margin-top: 1rem; }
.pf-t-services .pf-hours .pf-text { font-weight: 750; color: var(--ink); font-size: 1.05rem; }

/* ---- Dashboard (Phase 5; new classes only, same tokens as the homepage dashboard mock-up) ---- */
.dsh-hero .display-page { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); margin-bottom: .4rem; }
.dsh-hero-in { display: flex; align-items: center; gap: 1rem; }
.dsh-av { width: 72px; height: 72px; flex: none; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: var(--signal); color: var(--deep-900); font-weight: 800; font-size: 1.8rem; }
.dsh-av img { width: 100%; height: 100%; object-fit: cover; }
.dsh-hero .lede { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.dsh-link { color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.dsh-status { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; background: #E1F7EF; color: var(--green-ink); }
.dsh-status.is-paused { background: #FFF4E0; color: #6B4300; }
.dsh-status.is-draft { background: var(--mist); color: var(--ink-2); }
.dsh-switch { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.dsh-switch a { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; font-weight: 650; font-size: .88rem; }
.dsh-switch a[aria-current] { background: #fff; color: var(--deep-900); }
.dsh-switch .ic { width: 16px; height: 16px; }
.dsh-tabs { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.dsh-tabs .container { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.dsh-tabs a { flex: none; padding: .85rem .8rem; font-weight: 700; font-size: .9rem; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; }
.dsh-tabs a:hover, .dsh-tabs a:focus-visible { color: var(--brand); border-bottom-color: var(--brand); }
.dsh .reg-card { scroll-margin-top: 64px; }
.dsh-h { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.dsh-h .acct-h { margin-bottom: .5rem; }
.dsh-h3 { font-size: 1rem; font-weight: 800; margin: 0 0 .5rem; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.dsh-muted { color: var(--ink-3); font-size: .82rem; font-weight: 600; }
.dsh-mt { margin-top: .9rem; }
.dsh-hr { border: 0; border-top: 1px solid var(--line); margin: 1.25rem 0; opacity: 1; }
.dsh-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: .5rem; }
@media (max-width: 767.98px) { .dsh-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dsh-kpi { border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .2rem; }
.dsh-kpi span { color: var(--ink-2); font-weight: 650; font-size: .82rem; }
.dsh-kpi b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dsh-kpi small { font-size: .76rem; font-weight: 700; color: var(--ink-3); }
.dsh-kpi small.up { color: var(--green-ink); } .dsh-kpi small.down { color: #B4321F; }
.dsh-chart-wrap { margin-top: 1.25rem; }
.dsh-chart { height: 140px; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; align-items: end; border-bottom: 1px solid var(--line-2); margin-top: .5rem;
  background: linear-gradient(var(--line), var(--line)) 0 0 / 100% 1px no-repeat, linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat; }
.dsh-chart i { height: max(2px, calc(var(--v) * 1%)); border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--brand) calc(var(--s) * 1%), #CFE0FF calc(var(--s) * 1%)); }
.dsh-legend { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--ink-2); margin: .5rem 0 0; font-weight: 600; }
.dsh-legend span { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg-scan { background: var(--brand); } .lg-view { background: #CFE0FF; margin-left: .75rem; }
.dsh-qr { width: 180px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: .75rem; }
.dsh-qr img { display: block; width: 100%; height: auto; }
.dsh-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; border: 0; padding: 0; margin: 0 0 1rem; }
@media (max-width: 575.98px) { .dsh-tpls { grid-template-columns: minmax(0, 1fr); } }
.dsh-tpl { cursor: pointer; }
.dsh-tpl input { position: absolute; opacity: 0; }
.dsh-tpl-in { display: flex; flex-direction: column; gap: .2rem; border: 1.5px solid var(--line); border-radius: 14px; padding: .75rem; height: 100%; }
.dsh-tpl input:checked + .dsh-tpl-in { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,123,255,.15); }
.dsh-tpl input:focus-visible + .dsh-tpl-in { outline: 2px solid var(--brand); outline-offset: 2px; }
.dsh-tpl b { display: flex; align-items: center; gap: .3rem; } .dsh-tpl b .ic { width: 14px; height: 14px; color: var(--ink-3); }
.dsh-tpl small { color: var(--ink-2); }
.dsh-tpl-pv { height: 70px; border-radius: 10px; background: var(--cloud); position: relative; overflow: hidden; margin-bottom: .4rem; }
.dsh-tpl-pv i { position: absolute; display: block; border-radius: 4px; background: #CFE0FF; }
.dsh-tpl-pv i:nth-child(1) { left: 0; right: 0; top: 0; height: 24px; background: var(--brand); border-radius: 0; }
.dsh-tpl-pv i:nth-child(2) { width: 22px; height: 22px; border-radius: 50%; left: calc(50% - 11px); top: 14px; background: #fff; border: 2px solid var(--brand); }
.dsh-tpl-pv i:nth-child(3) { left: 25%; right: 25%; top: 44px; height: 8px; background: var(--ink-3); }
.pv-contrast { background: #0E1730; } .pv-contrast i:nth-child(3) { background: #8794B8; }
.pv-editorial i:nth-child(1), .pv-storefront i:nth-child(1) { height: 36px; }
.pv-editorial i:nth-child(2), .pv-company i:nth-child(2) { left: 10px; border-radius: 6px; }
.pv-editorial i:nth-child(3), .pv-company i:nth-child(3) { left: 10px; right: 40%; top: 48px; }
.pv-company i:nth-child(1) { background: var(--deep-900); }
.pv-services i:nth-child(3) { left: 8px; right: 8px; top: 46px; height: 14px; background: #CFE0FF; }
.dsh-accents { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.dsh-accents legend { font-weight: 700; font-size: .88rem; margin-bottom: .5rem; float: none; width: 100%; }
.dsh-acc { cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; gap: .2rem; font-size: .72rem; color: var(--ink-2); font-weight: 650; }
.dsh-acc input { position: absolute; opacity: 0; }
.dsh-acc span { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line-2); }
.dsh-acc input:checked + span { box-shadow: 0 0 0 2px var(--ink); }
.dsh-acc input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.dsh-acc em { font-style: normal; }
.dsh-radios { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.dsh-radios legend { font-weight: 700; font-size: .88rem; margin-bottom: .5rem; float: none; }
.dsh-radio { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: .7rem .85rem; cursor: pointer; }
.dsh-radio input { margin-top: .25rem; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.dsh-radio small { display: block; color: var(--ink-2); }
.dsh-vis { display: grid; gap: .5rem; margin: .5rem 0 .75rem; }
.dsh-vis-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--mist); }
.dsh-vis-row span { min-width: 0; } .dsh-vis-row small { display: block; color: var(--ink-2); overflow-wrap: anywhere; }
.page-reg .dsh-vis-row select { width: auto; min-width: 170px; flex: none; }
@media (max-width: 575.98px) { .dsh-vis-row { flex-direction: column; align-items: stretch; } .page-reg .dsh-vis-row select { width: 100%; } }
.dsh-rows { list-style: none; padding: 0; margin: 0 0 1rem; }
.dsh-rows li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--mist); }
.dsh-row-t { min-width: 0; } .dsh-row-t small { display: block; color: var(--ink-2); overflow-wrap: anywhere; }
.dsh-row-a { display: flex; gap: .25rem; flex: none; }
.dsh-icbtn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink-2); cursor: pointer; }
.dsh-icbtn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.dsh-icbtn:disabled { opacity: .35; cursor: default; }
.dsh-icbtn .ic { width: 16px; height: 16px; }
.dsh-icbtn[aria-label="Move up"] .ic { transform: rotate(180deg); }
.dsh-pill { font-style: normal; font-size: .7rem; font-weight: 750; background: var(--mist); color: var(--ink-2); padding: .1rem .45rem; border-radius: 6px; margin-left: .3rem; }
.dsh-prefix { flex: none; display: flex; align-items: center; padding: 0 .7rem; border: 1px solid var(--line-2); border-right: 0; border-radius: 11px 0 0 11px; background: var(--cloud); color: var(--ink-2); font-weight: 650; font-size: .85rem; }
.slug-in input { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.dsh-chk { display: flex; gap: .5rem; align-items: center; margin-top: .4rem; font-size: .85rem; }
.dsh-limits div { grid-template-columns: 10rem minmax(0, 1fr); }
.dsh-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; max-width: 720px; }
.dsh-pick { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--ink); }
.dsh-pick:hover { border-color: var(--brand); }
.dsh-pick > .ic { width: 26px; height: 26px; color: var(--brand); flex: none; }
.dsh-pick > .ic:last-child { margin-left: auto; color: var(--ink-3); }
.dsh-pick small { display: block; color: var(--ink-2); }
.dsh-empty { max-width: 640px; }
.pf-banks { margin-top: .75rem; }
.pf-bank { margin: .4rem 0 0; }
.pf-bank div { grid-template-columns: 7.5rem minmax(0, 1fr); }
.pf-sel { user-select: all; -webkit-user-select: all; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.pf-cover-sm { height: 90px; }
.pf-kicker-c { justify-content: center; display: flex; margin-top: .6rem; color: var(--acc); }
.pf-copy { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: inherit; font-size: .78rem; font-weight: 700;
  padding: .3rem .6rem; border-radius: 8px; cursor: pointer; margin-left: .5rem; flex: none; }
.pf-copy .ic { width: 14px; height: 14px; color: var(--acc); }
.pf-copy:hover { border-color: var(--acc); }
.pf-bank-copy dd { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.pf-upi-card .pf-copy { margin: .5rem 0 0; }
.pf-upiqr { width: 180px; max-width: 100%; margin-top: .75rem; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pf-upiqr svg { display: block; width: 100%; height: auto; }
/* Dashboard: payment visibility + share links */
.dsh-payrow { flex-wrap: wrap; }
.dsh-visf { display: flex; align-items: center; gap: .25rem; }
.page-reg .dsh-visf select { width: auto; min-height: 36px; padding: .3rem 2rem .3rem .6rem; font-size: .85rem; }
.dsh-visf .btn-text-a { padding: .3rem .5rem; font-size: .85rem; }
@media (max-width: 575.98px) { .dsh-payrow .dsh-row-a { width: 100%; justify-content: space-between; } }
.dsh-sharebox { border: 1px solid #BFE8D6; background: #EAF8F2; border-radius: 14px; padding: 1rem; margin: .75rem 0 1rem; }
.dsh-shareurl { font-weight: 700; overflow-wrap: anywhere; margin: .25rem 0 .75rem; font-size: .9rem; }
.dsh-sharebtns { display: flex; flex-wrap: wrap; gap: .5rem; }
.dsh-radios .dsh-radio input[type="checkbox"] { accent-color: var(--brand); }

/* ---- Vault (Phase 6; new classes only) ---- */
.dsh-back { color: inherit; text-decoration: none; } .dsh-back:hover { text-decoration: underline; }
.dsh-quota { max-width: 420px; margin-top: 1rem; }
.dsh-quota-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.15); overflow: hidden; }
.dsh-quota-bar i { display: block; height: 100%; background: var(--signal); border-radius: 999px; }
.dsh-quota p { margin: .4rem 0 0; font-size: .85rem; color: var(--on-dark-2); }
.dsh-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 1rem; }
.page-reg .dsh-filter input { flex: 1 1 220px; width: auto; }
.page-reg .dsh-filter select { flex: 0 1 240px; width: auto; }
.dsh-docs li { gap: .85rem; }
.dsh-doc-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.dsh-doc-ic .ic { width: 20px; height: 20px; }
.dsh-docs .dsh-row-t { flex: 1; }
.dsh-row-a a.dsh-icbtn { text-decoration: none; }
.dsh-exp.is-expired { color: #B4321F; font-weight: 700; } .dsh-exp.is-soon { color: #8A5A00; font-weight: 700; } .dsh-exp.is-ok { color: var(--green-ink); }
.dsh-remind { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: center; }
.dsh-remind legend { width: 100%; margin-bottom: .3rem; }
.dsh-remind .chk-l { display: inline-flex; align-items: center; gap: .4rem; }
.dsh-remind .help { width: 100%; margin: 0; }
.chk-l.wf-wide { grid-column: 1 / -1; display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.chk-l.wf-wide input { margin-top: .2rem; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.dsh-quote { display: block; margin-top: .3rem; font-style: italic; }
.dsh-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 .4rem; border-radius: 999px; background: #D2321F; color: #fff; font-size: .75rem; font-weight: 800; vertical-align: middle; }
.dsh-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: .45rem; vertical-align: middle; }
.dsh-log li { padding: .45rem 0; }
.pf-req { margin-left: auto; font-size: .78rem; font-weight: 750; color: var(--acc); white-space: nowrap; }
.pf-first { border-top: 0; margin-top: 0; padding-top: 1.75rem; }
.pf-name-sm { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); }
.pf-form { display: grid; gap: .4rem; margin-top: .5rem; }
.pf-form label { font-weight: 700; font-size: .88rem; margin-top: .5rem; }
.pf-form input, .pf-form textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 12px; padding: .65rem .8rem; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.pf-form input:focus, .pf-form textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 18%, transparent); }
.pf-form [aria-invalid="true"] { border-color: #D2321F; }
.pf-form .pf-btn { margin-top: 1rem; border: 0; cursor: pointer; font: inherit; font-weight: 750; }
.pf-err { color: #B4321F; font-weight: 650; font-size: .85rem; margin: .1rem 0 0; }
.pf-ok { background: #EAF8F2; border: 1px solid #BFE8D6; color: #0B4A35; border-radius: 12px; padding: .8rem 1rem; font-weight: 600; }
.pf-form-card { padding-bottom: 1.25rem; }
.pf-kicker .ic { color: var(--acc); }
.page-reg .dsh-filter input[type="search"] { min-width: 0; min-height: 46px; border: 1px solid var(--line-2); border-radius: 11px; background: #fff; font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink); padding: .6rem .8rem; }
.page-reg .dsh-filter input[type="search"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,123,255,.15); }
.page-reg input[type="file"] { max-width: 100%; min-width: 0; }
.dsh-remind { flex-direction: row; }
.dsh-remind .chk-l { width: auto; flex: 0 0 auto; }
.pf-form input, .pf-form textarea { box-sizing: border-box; max-width: 100%; }

/* ---- Phase 7a: leads, catalogue, contact form ---- */
.pf-msg { margin: 0 1.25rem .5rem; }
.pf-enq { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; font-weight: 750; font-size: .85rem; color: var(--acc); text-decoration: none; }
.pf-enq .ic { width: 16px; height: 16px; }
.pf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.page-reg input[type="datetime-local"] { width: 100%; min-width: 0; min-height: 46px; border: 1px solid var(--line-2); border-radius: 11px; background: #fff; font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink); padding: .6rem .8rem; }
.dsh-hero-sm { padding-block: 1.5rem 1.75rem; }
.dsh-hero-sm .display-page { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
.dsh-tabs a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.dsh-stages { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.dsh-stages a { padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: .85rem; }
.dsh-stages a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.dsh-stages small { font-weight: 800; opacity: .75; margin-left: .2rem; }
.dsh-lead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; text-decoration: none; color: var(--ink); }
.dsh-lead:hover b { color: var(--brand); }
.dsh-leads li { padding: 0; } .dsh-leads .dsh-lead { padding: .75rem 0; }
.dsh-stage { flex: none; font-size: .75rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; background: var(--mist); color: var(--ink-2); }
.dsh-stage.is-new { background: var(--brand-tint); color: var(--brand); } .dsh-stage.is-won { background: #E1F7EF; color: var(--green-ink); }
.dsh-stage.is-lost { background: #FDECEA; color: #B4321F; } .dsh-stage.is-quoted { background: #FFF4E0; color: #8A5A00; }
.dsh-msg { white-space: normal; background: var(--cloud); border-radius: 12px; padding: .9rem 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.dsh-doc-ic img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.dsh-subtabs .container { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding-block: .25rem; }
.dsh-subtabs a { flex: none; padding: .55rem .7rem; font-weight: 650; font-size: .85rem; color: var(--ink-3); text-decoration: none; }
.dsh-subtabs a:hover { color: var(--brand); }
.dsh-tabs .dsh-badge { margin-left: .25rem; }

/* ---------- Phase 7b: invoices ---------- */
.dsh-inv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.dsh-inv-stats div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.dsh-inv-stats small { color: var(--ink-2); font-weight: 650; font-size: .8rem; }
.dsh-inv-stats b { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dsh-inv-amt { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; font-variant-numeric: tabular-nums; }
.dsh-filter select { min-height: 44px; border: 1px solid var(--line-2); border-radius: 11px; padding: 0 .6rem; background: #fff; font: inherit; font-size: .9rem; }
.dsh-stage.is-inv-paid { background: #E1F7EF; color: var(--green-ink); }
.dsh-stage.is-inv-overdue, .dsh-stage.is-inv-void { background: #FDECEA; color: #B4321F; }
.dsh-stage.is-inv-issued, .dsh-stage.is-inv-partially_paid { background: #FFF4E0; color: #8A5A00; }
.dsh-stage.is-inv-draft { background: var(--mist); color: var(--ink-2); }
.inv-btns { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: flex-end; }
.inv-btns form { margin: 0; }
.inv-form { display: grid; gap: 1.25rem; }
.inv-lines { display: grid; gap: .75rem; }
.inv-line { border: 1px solid var(--line); border-radius: 14px; padding: .75rem; background: var(--cloud); }
.inv-line-grid { display: grid; grid-template-columns: 1.2fr 2fr .9fr .6fr .7fr .9fr .7fr auto auto; gap: .5rem; align-items: end; }
.inv-line-grid .wf { margin: 0; min-width: 0; }
.inv-line-grid label { font-size: .75rem; }
.inv-line-grid input, .inv-line-grid select { min-width: 0; width: 100%; }
.inv-c-amt { margin: 0; display: flex; flex-direction: column; align-items: flex-end; min-width: 5.5rem; padding-bottom: .55rem; font-variant-numeric: tabular-nums; }
.inv-c-amt small { font-size: .72rem; color: var(--ink-3); font-weight: 650; }
.inv-c-del { margin-bottom: .2rem; }
.inv-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 1.5rem; margin-top: 1.25rem; align-items: start; }
.inv-totals { margin: 0; display: grid; gap: .3rem; font-variant-numeric: tabular-nums; }
.inv-totals div { display: flex; justify-content: space-between; gap: 1rem; }
.inv-totals div[hidden] { display: none; }
.inv-totals dt { font-weight: 600; color: var(--ink-2); }
.inv-totals dd { margin: 0; font-weight: 700; }
.inv-totals .inv-grand { border-top: 1px solid var(--line-2); padding-top: .45rem; margin-top: .2rem; }
.inv-totals .inv-grand dt, .inv-totals .inv-grand dd { color: var(--ink); font-weight: 800; font-size: 1.1rem; }
.inv-totals-static { max-width: 360px; margin-left: auto; margin-top: 1rem; }
.inv-words { text-align: right; margin-top: .5rem; }
.inv-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.inv-meta { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1rem; margin: .5rem 0 1rem; }
.inv-meta div { display: flex; flex-direction: column; gap: .1rem; min-width: 0; overflow-wrap: anywhere; }
.inv-meta small { color: var(--ink-3); font-weight: 650; font-size: .75rem; margin-top: .35rem; }
.inv-meta small:first-child { margin-top: 0; }
.inv-meta span { color: var(--ink-2); font-size: .88rem; }
.inv-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.inv-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
.inv-table th { background: var(--cloud); font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); text-align: left; padding: .55rem .7rem; }
.inv-table td { padding: .6rem .7rem; border-top: 1px solid var(--mist); vertical-align: top; }
.inv-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.inv-table small { color: var(--ink-3); }
.dsh-inline { display: flex; gap: .5rem; flex-wrap: wrap; }
.dsh-inline input { flex: 1 1 220px; min-height: 44px; border: 1px solid var(--line-2); border-radius: 11px; padding: 0 .8rem; font: inherit; }
@media (max-width: 991.98px) {
  .inv-line-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .inv-c-item, .inv-c-desc { grid-column: span 3; }
  .inv-c-hsn, .inv-c-qty, .inv-c-unit, .inv-c-rate, .inv-c-gst { grid-column: span 2; }
  .inv-c-amt { grid-column: span 4; align-items: flex-start; padding-bottom: 0; }
  .inv-c-del { grid-column: span 2; justify-self: end; }
}
@media (max-width: 767.98px) {
  .dsh-inv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv-foot, .inv-meta { grid-template-columns: minmax(0, 1fr); }
  .inv-line-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv-c-item, .inv-c-desc { grid-column: 1 / -1; }
  .inv-c-hsn, .inv-c-qty, .inv-c-unit, .inv-c-rate, .inv-c-gst { grid-column: span 1; }
  .inv-c-amt { grid-column: span 1; }
  .inv-c-del { grid-column: span 1; }
  .inv-totals-static { max-width: none; }
  .inv-btns { justify-content: flex-start; }
}

/* ---------- Phase 7c: reviews ---------- */
.pf-stars-show { --pct: calc(var(--r) / 5 * 100%); display: inline-block; flex: none; font-size: 1rem; line-height: 1; letter-spacing: 1px;
  background: linear-gradient(90deg, #F5A623 var(--pct), #D5DCE6 var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pf-stars-show::before { content: "★★★★★"; }
.pf-rating { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: 0 0 .75rem; }
.pf-rating b { font-size: 2rem; font-weight: 800; line-height: 1; }
.pf-rating .pf-stars-show { font-size: 1.3rem; }
.pf-rating small { color: var(--ink-2, #4A5873); font-weight: 600; }
.pf-rating-mini { display: inline-flex; align-items: center; gap: .25rem; margin-top: .4rem; font-weight: 800; color: inherit; text-decoration: none; font-size: .95rem; }
.pf-rating-mini span { color: #F5A623; }
.pf-rating-mini small { font-weight: 600; opacity: .75; }
.pf-rvlist { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.pf-rvlist li { border-top: 1px solid rgba(10,31,74,.08); padding-top: .9rem; }
.pf-rvlist li:first-child { border-top: 0; padding-top: 0; }
.pf-rv-h { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: 0 0 .3rem; }
.pf-rv-h small { color: var(--ink-3, #5F6B84); font-size: .78rem; }
.pf-rv-reply { margin: .5rem 0 0; padding: .6rem .8rem; border-left: 3px solid var(--acc, #007BFF); background: rgba(10,31,74,.04); border-radius: 0 10px 10px 0; font-size: .9rem; }
.pf-rv-reply b { display: block; font-size: .78rem; margin-bottom: .15rem; }
.pf-rv-acts { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin: 1rem 0 0; }
.pf-rv-report { font-size: .8rem; color: var(--ink-3, #5F6B84); }
.pf-opt { font-weight: 600; color: var(--ink-3, #5F6B84); font-size: .78rem; margin-left: .25rem; }
.pf-stars { border: 0; padding: 0; margin: .25rem 0 0; min-width: 0; }
.pf-stars legend { font-weight: 700; font-size: .88rem; float: none; width: auto; margin: 0 0 .3rem; }
.pf-stars-in { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.pf-stars-in input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pf-stars-in label { cursor: pointer; margin: 0; padding: .15rem; color: #D5DCE6; line-height: 0; border-radius: 8px; }
.pf-stars-in label .ic { width: 34px; height: 34px; fill: currentColor; }
.pf-stars-in label:hover, .pf-stars-in label:hover ~ label, .pf-stars-in input:checked ~ label { color: #F5A623; }
.pf-stars-in input:focus-visible + label { outline: 2px solid var(--acc, #007BFF); outline-offset: 2px; }
.pf-stars[aria-invalid="true"] .pf-stars-in label { color: #F3B9B0; }
.dsh-rv { list-style: none; padding: 0; margin: 0; }
.dsh-rv > li { padding: 1rem 0; border-bottom: 1px solid var(--mist); scroll-margin-top: 70px; }
.dsh-rv-h { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.dsh-rv-h small { flex-basis: 100%; color: var(--ink-3); font-size: .8rem; }
.dsh-rv-body { margin: .45rem 0 0; overflow-wrap: anywhere; }
.dsh-rv-reply { margin: .6rem 0 0; padding: .6rem .8rem; border-left: 3px solid var(--brand); background: var(--cloud); border-radius: 0 10px 10px 0; font-size: .9rem; }
.dsh-rv-reply b { display: block; font-size: .75rem; color: var(--ink-2); }
.dsh-rv-acts { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.dsh-rv-acts form { margin: 0; }
.dsh-rv-more { margin-top: .6rem; }
.dsh-rv-more summary { cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .88rem; color: var(--brand-ink); }
.dsh-rv-more summary .ic { width: 16px; height: 16px; }
.dsh-rv-more form { margin-top: .5rem; display: grid; gap: .5rem; justify-items: start; }
.dsh-rv-more textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 11px; padding: .6rem .8rem; font: inherit; }
.dsh-rv-more .help { margin: 0; }
.dsh-rv-mode { font-size: 1rem !important; }
.dsh-stage.is-rv-published { background: #E1F7EF; color: var(--green-ink); }
.dsh-stage.is-rv-pending { background: #FFF4E0; color: #8A5A00; }
.dsh-stage.is-rv-hidden { background: var(--mist); color: var(--ink-2); }
.pf-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Phase 8: billing ---------- */
.bill-cur { font-size: 1.15rem; margin: .25rem 0 .2rem; }
.bill-cycle { border: 0; padding: 0; margin: 0; display: inline-flex; gap: .25rem; background: var(--mist); border-radius: 999px; padding: .25rem; }
.bill-cycle label { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px; font-weight: 700; font-size: .85rem; cursor: pointer; }
.bill-cycle label:has(input:checked) { background: #fff; box-shadow: 0 1px 3px rgba(10,31,74,.12); }
.bill-cycle input { accent-color: var(--brand); }
.bill-cycle small { color: var(--green-ink); font-weight: 700; }
.bill-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem; margin-top: 1rem; }
.bill-plan { border: 1.5px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.bill-plan.is-current { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,123,255,.1); }
.bill-plan h3 { font-size: 1.05rem; font-weight: 800; margin: 0; }
.bill-price { font-size: 1.6rem; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.bill-price small { font-size: .8rem; font-weight: 600; color: var(--ink-2); margin-left: .2rem; letter-spacing: 0; }
.bill-opt { display: grid; gap: .6rem; }
.bill-opt[hidden] { display: none; }
.bill-opt form { margin: 0; }
.bill-note { margin: 0; }
.bill-confirm { margin-top: 1.25rem; border: 1px solid var(--line-2); border-radius: 16px; padding: 1rem 1.2rem; max-width: 460px; background: var(--cloud); }
.bill-confirm h3 { font-size: 1rem; font-weight: 800; margin: 0 0 .6rem; }
.bill-confirm .inv-totals { margin-bottom: .5rem; }
.dsh-stage.is-bill-active, .dsh-stage.is-bill-renewed { background: #E1F7EF; color: var(--green-ink); }
.dsh-stage.is-bill-due, .dsh-stage.is-bill-cancelling { background: #FFF4E0; color: #8A5A00; }
.dsh-stage.is-bill-grace { background: #FDECEA; color: #B4321F; }

/* ---------- Phase 9: team, branches, activity ---------- */
.dsh-invite .acct-h { display: flex; align-items: center; gap: .5rem; }
.dsh-invite .acct-h .ic { width: 20px; height: 20px; color: var(--brand); }
.dsh-invite + .dsh-invite, .dsh-invite + .reg-card, .dsh-invite + .dsh-list { margin-top: 1rem; }
.dsh-roles div { grid-template-columns: 12rem minmax(0, 1fr); }
.dsh-br-edit { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--cloud); }
.dsh-share-list { display: grid; gap: .35rem; }
.dsh-share-list small { margin-left: .25rem; }
.dsh-audit-f { flex-wrap: wrap; }
.dsh-audit-f select, .dsh-audit-f input[type=date] { min-height: 44px; border: 1px solid var(--line-2); border-radius: 11px; padding: 0 .6rem; background: #fff; font: inherit; font-size: .9rem; }
.pf-br-pay { display: flex; gap: .8rem; align-items: center; margin-top: .6rem; padding-top: .6rem; border-top: 1px dashed var(--line-2); }
.pf-br-qr { width: 92px; flex: none; }
.pf-br-qr svg { width: 100%; height: auto; display: block; }
.pf-br-pay span { display: flex; flex-direction: column; gap: .15rem; min-width: 0; overflow-wrap: anywhere; }
.pf-br-pay small { color: var(--ink-3); font-size: .75rem; }
@media (max-width: 575.98px) { .dsh-roles div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Phase 10: admin panel ---------- */
.adm-hero-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.adm-hero-in form { margin: 0 0 .4rem; }
.adm-kpis { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0; }
.adm-kpis .dsh-kpi { background: #fff; }
.adm-pill { display: inline-block; font-size: .7rem; font-weight: 750; background: var(--mist); color: var(--ink-2); padding: .1rem .45rem; border-radius: 6px; vertical-align: middle; }
.adm-pill-ok { background: #E1F7EF; color: var(--green-ink); }
.adm-pill-warn { background: #FDECEA; color: #B4321F; }
.adm-pill-info { background: var(--brand-tint); color: var(--brand); }
.adm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 640px; }
.adm-table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-weight: 750; padding: .6rem .8rem; background: var(--cloud); border-bottom: 1px solid var(--line); }
.adm-table td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm-table tr:last-child td { border-bottom: 0; }
.adm-table small { color: var(--ink-3); }
.adm-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .76rem; overflow-wrap: anywhere; }
.adm-break { overflow-wrap: anywhere; min-width: 0; }
.adm-quote { margin: 1rem 0 0; padding: .8rem 1rem; background: var(--cloud); border-left: 3px solid var(--line-2); border-radius: 0 10px 10px 0; font-size: .9rem; overflow-wrap: anywhere; }
.adm-danger { color: #B4321F; border-color: #F2C4BD; }
.adm-danger:hover { background: #FDECEA; color: #8F2414; }
.adm-danger-fill { background: #B4321F; border-color: #B4321F; }
.adm-danger-fill:hover { background: #8F2414; border-color: #8F2414; }
.adm-prow { flex-wrap: wrap; }
.adm-inline-f { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0; }
.adm-inline-f input { min-height: 40px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 .6rem; font: inherit; font-size: .85rem; width: 190px; max-width: 100%; }
.adm-actions { margin: .6rem 0; padding: .7rem .9rem; border: 1px dashed var(--line-2); border-radius: 12px; }
.adm-actions:empty { display: none; }
.adm-limits { margin-top: 1rem; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .9rem; }
.adm-limits summary { cursor: pointer; font-weight: 750; font-size: .9rem; }
.adm-limits[open] summary { margin-bottom: .6rem; }
.adm-wf-chk { align-self: end; }
.adm-redir-f { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 12rem auto; gap: .75rem; align-items: end; }
.adm-redir-f .wf { margin: 0; }
.adm-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .2rem 1rem; }
.adm-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.adm-checklist li { display: flex; justify-content: space-between; gap: .75rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.adm-checklist li:last-child { border-bottom: 0; }
.adm-checklist small { color: var(--ink-3); }
.adm-ok, .adm-bad { display: inline-flex; align-items: center; gap: .25rem; font-weight: 750; font-size: .8rem; white-space: nowrap; }
.adm-ok { color: var(--green-ink); } .adm-bad { color: #B4321F; }
.adm-ok .ic, .adm-bad .ic { width: 15px; height: 15px; }
.adm-log { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; max-height: 520px; overflow: auto; }
.adm-log li { padding: .55rem .7rem; border-radius: 10px; background: var(--cloud); font-size: .8rem; display: grid; gap: .2rem; min-width: 0; }
.adm-log li.adm-log-error { background: #FDECEA; }
.adm-log code { font-size: .74rem; color: var(--ink-2); overflow-wrap: anywhere; white-space: pre-wrap; }
.adm-roles { margin: 0 0 .5rem; padding-left: 1.1rem; font-size: .9rem; display: grid; gap: .35rem; }
.foot-contact .foot-links { display: block; }
.foot-contact .foot-links a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 768px) { .adm-inline-f { flex-wrap: nowrap; } }
@media (max-width: 767.98px) {
  .adm-redir-f { grid-template-columns: minmax(0, 1fr); }
  .adm-inline-f input { width: 100%; }
}

/* Admin → Pages editor */
.adm-sec { padding: 0; }
.adm-sec > summary { cursor: pointer; list-style: none; padding: 1rem 1.25rem; font-weight: 750; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.adm-sec > summary::-webkit-details-marker { display: none; }
.adm-sec > summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--mist); color: var(--ink-2); font-weight: 800; }
.adm-sec[open] > summary::before { content: "–"; }
.adm-sec > form { padding: 0 1.25rem 1.25rem; }
.adm-blk { padding: .75rem 0; border-top: 1px solid var(--line); }
.adm-blk > label { display: block; font-size: .78rem; font-weight: 750; color: var(--ink-2); margin-bottom: .3rem; }
.adm-blk textarea { width: 100%; min-height: 2.6rem; field-sizing: content; max-height: 24rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .92rem; line-height: 1.5; resize: vertical; }
.adm-blk textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.adm-blk.is-edited textarea { border-color: var(--brand); background: var(--brand-tint); }
.adm-blk-orig { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; margin-top: .35rem; font-size: .82rem; }
.adm-blk-orig details summary { cursor: pointer; color: var(--brand-ink); font-weight: 650; }
.adm-blk-orig details p { margin: .3rem 0 0; color: var(--ink-3); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; white-space: pre-wrap; word-break: break-word; }
.page-adm .dsh-filter .chk-l { white-space: nowrap; align-self: center; }
