/* ClassWhy public site v2 · prototype · single token layer */

@font-face {
  font-family: "TheYearofTheCamel";
  src: url("../fonts/TheYearofTheCamel-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
  font-family: "TheYearofTheCamel";
  src: url("../fonts/TheYearofTheCamel-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/GeistVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --bg-2: #F5F5F7;
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --line: #D2D2D7;
  --brand: #0071E3;
  --brand-ink: #0066CC;
  --brand-tint: #E8F1FC;
  --ok: #248A3D;
  --ok-tint: #E3F5E8;
  --warn: #B25000;
  --warn-tint: #FFF1E0;
  --btn-bg: #0071E3;
  --btn-fg: #FFFFFF;
  --band-bg: #1D1D1F;
  --band-fg: #F5F5F7;
  --band-line: rgba(255,255,255,.16);
  --shot-shadow: 0 1px 2px rgba(17,24,39,.04), 0 24px 48px -32px rgba(30,58,110,.25);
  --r-btn: 10px;
  --r-card: 12px;
  --r-frame: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px;
  --gutter: 16px;
  color-scheme: light;
}
:root[data-theme="dark"] {
    --bg: #000000;
    --bg-2: #161617;
    --ink: #F5F5F7;
    --ink-2: #A1A1A6;
    --line: #424245;
    --brand: #2997FF;
    --brand-ink: #2997FF;
    --brand-tint: #0A2540;
    --ok: #30D158;
    --ok-tint: #0E2A17;
    --warn: #FF9F0A;
    --warn-tint: #33230A;
    --btn-bg: #0071E3;
    --btn-fg: #FFFFFF;
    --band-bg: #1D1D1F;
    --band-fg: #F5F5F7;
    --band-line: rgba(255,255,255,.14);
    --shot-shadow: 0 1px 2px rgba(0,0,0,.3), 0 24px 48px -32px rgba(0,0,0,.6);
    color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "TheYearofTheCamel", "Geist", system-ui, sans-serif;
  font-size: 17px;
  line-height: 28px;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 18px; line-height: 30px; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.num, [dir="ltr"] { font-family: "Geist", system-ui, sans-serif; }
.num { direction: ltr; unicode-bidi: isolate; }
.pn { font-family: "Geist", system-ui, sans-serif; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -48px; background: var(--btn-bg); color: var(--btn-fg); padding: 8px 14px; border-radius: var(--r-btn); z-index: 100; }
.skip:focus { top: 12px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); max-width: 100%; margin-inline: auto; min-width: 0; }
.container > * { min-width: 0; }
main, .section, .hero, .band, .footer { max-width: 100%; overflow-wrap: break-word; }
.section { padding-block: 64px; }
@media (min-width: 1024px) { .section { padding-block: 112px; } }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---- swap slots for later site visuals (abstract or branded only, no people or scenes) ----
   Each slot renders a finished CSS placeholder; to swap, set --visual: url("...") on the element. */
.visual-slot { position: absolute; inset: 0; background: var(--visual, none) center / cover no-repeat; }
.cell-art { position: absolute; inset-inline-start: -12%; bottom: -14%; width: 52%; aspect-ratio: 1; border-radius: 50%; background: var(--visual, radial-gradient(closest-side, var(--brand-tint), transparent)); background-size: cover; background-position: center; pointer-events: none; z-index: 0; opacity: .9; }
.cell > :not(.cell-art) { position: relative; z-index: 1; }
.divider-art { height: 96px; background: var(--visual, linear-gradient(180deg, var(--bg), var(--bg-2))); background-size: cover; background-position: center; }
.divider-art + .section.alt { border-top: 0; }

/* type */
.display { font-size: clamp(32px, 4vw + 18px, 56px); line-height: 1.2; font-weight: 700; letter-spacing: 0; overflow-wrap: break-word; }
h2, .h2 { font-size: 28px; line-height: 36px; font-weight: 700; }
h3, .h3 { font-size: 20px; line-height: 28px; font-weight: 700; }
.lead { font-size: 18px; line-height: 28px; color: var(--ink-2); max-width: 36em; }
.small { font-size: 15px; line-height: 24px; }
.muted { color: var(--ink-2); }
@media (min-width: 1024px) {
  .display { font-size: clamp(40px, 2.4vw + 14px, 56px); line-height: 1.2; }
  h2, .h2 { font-size: 34px; line-height: 44px; }
  h3, .h3 { font-size: 22px; line-height: 32px; }
  .lead { font-size: 20px; line-height: 32px; }
}
.section-head { max-width: 40em; margin-bottom: 40px; }
.section-head p { margin-top: 12px; color: var(--ink-2); }
@media (min-width: 1024px) { .section-head { margin-bottom: 56px; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding-inline: 18px; border-radius: var(--r-btn);
  font-size: 16px; font-weight: 700; white-space: nowrap; line-height: 1;
  border: 1px solid transparent;
  transition: transform .12s var(--ease), background-color .15s, border-color .15s, color .15s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink-2); }
.btn-lg { height: 52px; padding-inline: 24px; font-size: 17px; }
.btn-on-band { background: var(--band-fg); color: var(--band-bg); }
.btn-ghost-band { background: transparent; color: var(--band-fg); border-color: var(--band-line); }
.btn-ghost-band:hover { border-color: var(--band-fg); }
.link { color: var(--brand); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link::after { content: "←"; font-family: "Geist", sans-serif; transition: transform .2s var(--ease); display: inline-block; }
.link:hover::after { transform: translateX(-4px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 50px; width: auto; }
.brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; height: 36px; padding-inline: 12px; border-radius: 8px; color: var(--ink-2); font-size: 16px; }
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.header-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.link-quiet { display: none; height: 36px; align-items: center; padding-inline: 12px; border-radius: 8px; color: var(--ink-2); font-size: 16px; }
.link-quiet:hover { color: var(--ink); background: var(--bg-2); }
.theme-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; color: var(--ink-2); }
.theme-btn:hover { color: var(--ink); background: var(--bg-2); }
.theme-btn svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.theme-btn .ic-sun { display: none; }
:root[data-theme="dark"] .theme-btn .ic-sun { display: block; }
:root[data-theme="dark"] .theme-btn .ic-moon { display: none; }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .2s ease, color .2s ease, border-color .2s ease, fill .2s ease, stroke .2s ease !important; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); position: relative; display: block; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; inset-inline: 0; height: 2px; background: var(--ink); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .link-quiet { display: inline-flex; }
  .menu-btn { display: none; }
  .header-inner { gap: 32px; }
}
@media (max-width: 479px) {
  .header-inner { gap: 12px; }
  .header-tools { gap: 4px; }
  .header-tools .btn-primary { padding-inline: 12px; font-size: 15px; height: 40px; }
  .brand img { height: 42px; }
}
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--bg); padding: 12px var(--gutter) 20px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 10px 4px; font-size: 17px; }
.mobile-nav .divider { border-top: 1px solid var(--line); margin-block: 8px; }

/* hero */
.hero { position: relative; padding-block: 48px 64px; overflow: clip; }
@media (min-width: 1024px) { .hero { padding-block: 72px 112px; min-height: calc(100dvh - 64px); display: flex; align-items: center; } }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg i {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .9;
  background: radial-gradient(closest-side, var(--brand-tint), transparent 70%);
  will-change: transform;
}
.hero-bg i:nth-child(1) { width: 60vw; height: 60vw; inset-inline-end: -20vw; top: -25vw; animation: drift1 28s ease-in-out infinite alternate; }
.hero-bg i:nth-child(2) { width: 40vw; height: 40vw; inset-inline-start: 5vw; bottom: -20vw; animation: drift2 34s ease-in-out infinite alternate; }
.hero-bg i:nth-child(3) { width: 30vw; height: 30vw; inset-inline-start: 40vw; top: 20vh; opacity: .5; animation: drift3 40s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-8vw, 10vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(10vw, -8vh) scale(1.15); } }
@keyframes drift3 { to { transform: translate(-12vw, 6vh); } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-grid > *, .roles-grid > *, .panel > *, .band-inner > *, .bento > .cell, .plans > .plan, .trust > li { min-width: 0; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 64px; } }
.hero-copy { max-width: 100%; }
.hero-copy .lead { margin-top: 24px; }
.hero-copy .cta-row { margin-top: 32px; }
.display .line { display: block; }
.display .w { display: inline-block; }

/* product frame */
.frame { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-frame); box-shadow: var(--shot-shadow); overflow: hidden; }
.frame-bar { height: 36px; display: flex; align-items: center; gap: 6px; padding-inline: 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.hero-shot figcaption, .figcap { margin-top: 12px; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.dash { padding: 20px; display: grid; gap: 16px; font-size: 14px; line-height: 20px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash-top strong { display: block; font-size: 15px; }
.dash-top span { color: var(--ink-2); font-size: 13px; }
.now { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ok-tint); color: var(--ok); font-weight: 700; font-size: 13px; }
.now .live { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.now-strip { padding: 10px 12px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-ink); font-size: 13.5px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpis li { border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px 14px; }
.kpi-label { display: block; color: var(--ink-2); font-size: 12.5px; }
.kpi { display: block; margin-top: 4px; font-family: "Geist", sans-serif; font-weight: 600; font-size: 22px; line-height: 28px; direction: ltr; text-align: start; unicode-bidi: isolate; }
.chart { border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px 14px 10px; }
.chart-head { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 12.5px; margin-bottom: 8px; }
.chart svg { width: 100%; height: auto; }
.chart .bar { fill: var(--brand); transform-box: fill-box; transform-origin: 50% 100%; }
.chart .bar.soft { fill: var(--brand-tint); }
.chart .axis { stroke: var(--line); }
.chart-x { display: flex; justify-content: space-around; color: var(--ink-2); font-size: 12px; margin-top: 6px; }

/* roles walkthrough */
.roles-grid { display: grid; gap: 24px; }
.roles-text, .roles-stage { display: contents; }
.step { padding: 8px 0; }
.step-role { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.step h3 { max-width: 20em; }
.step p { margin-top: 10px; color: var(--ink-2); max-width: 30em; }
.step:nth-child(1) { order: 1; } .screen:nth-child(1) { order: 2; }
.step:nth-child(2) { order: 3; } .screen:nth-child(2) { order: 4; }
.step:nth-child(3) { order: 5; } .screen:nth-child(3) { order: 6; }
.step:nth-child(4) { order: 7; } .screen:nth-child(4) { order: 8; }
.screen { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-frame); box-shadow: var(--shot-shadow); padding: 20px; font-size: 14px; line-height: 20px; margin-bottom: 24px; }
.screen-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.screen-head strong { font-size: 15px; }
.screen-head span { color: var(--ink-2); font-size: 13px; }
@media (min-width: 1024px) {
  .motion .roles-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .motion .roles-text { display: block; }
  .motion .step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .4s var(--ease); }
  .motion .step:last-child { min-height: 60vh; }
  .motion .step.is-active { opacity: 1; }
  .motion .roles-stage { display: grid; position: sticky; top: max(96px, calc(50vh - 230px)); align-self: start; }
  .motion .step-role { align-self: flex-start; }
  .motion .screen { grid-area: 1 / 1; align-self: start; margin: 0; opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .5s var(--ease); pointer-events: none; }
  .motion .screen.is-active { opacity: 1; transform: none; pointer-events: auto; }
}
/* attendance screen */
.att-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.att-row:last-child { border-bottom: 0; }
.att-row small { display: block; color: var(--ink-2); font-size: 12.5px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding-inline: 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--bg-2); color: var(--ink-2); }
.chip-ok { background: var(--ok-tint); color: var(--ok); }
.chip-warn { background: var(--warn-tint); color: var(--warn); }
.chip-brand { background: var(--brand-tint); color: var(--brand-ink); }
.chip svg { width: 14px; height: 14px; }
.motion .screen-att.is-active .att-row .chip { animation: chipIn .45s var(--ease) both; animation-delay: calc(.3s + var(--i) * .3s); }
@keyframes chipIn { from { opacity: 0; transform: scale(.7); } }
.att-sum { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--ink-2); font-size: 13px; }
.motion .screen-att.is-active .att-sum { animation: fadeUp .5s var(--ease) 1.9s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
/* grade screen */
.grade-rows { display: grid; gap: 8px; }
.grade-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.grade-row .num { font-weight: 600; }
.grade-foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini-btn { height: 32px; padding-inline: 12px; border-radius: 8px; background: var(--btn-bg); color: var(--btn-fg); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; }
.chip-draft { display: none; }
.motion .screen-grade.is-active .chip-draft { display: inline-flex; animation: fadeOut .3s ease 1.3s both; }
.motion .screen-grade.is-active .chip-pub { animation: chipIn .45s var(--ease) 1.5s both; }
.motion .screen-grade.is-active .mini-btn { animation: press .3s ease 1.1s both; }
.motion .screen-grade.is-active .grade-note { animation: fadeUp .5s var(--ease) 2s both; }
@keyframes fadeOut { to { opacity: 0; transform: scale(.8); width: 0; padding: 0; margin: 0; } }
@keyframes press { 50% { transform: scale(.94); filter: brightness(.9); } }
.grade-note { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-ink); font-size: 13px; }
/* assignment screen */
.file { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.file-ic { width: 36px; height: 36px; border-radius: 8px; background: var(--brand-tint); color: var(--brand-ink); display: grid; place-items: center; font-family: "Geist", sans-serif; font-size: 11px; font-weight: 700; }
.file small { display: block; color: var(--ink-2); font-size: 12.5px; }
.progress { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; margin-top: 10px; }
.progress b { display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: 0 50%; }
.motion .screen-assign.is-active .progress b { animation: fill 1.1s var(--ease) .3s both; }
@keyframes fill { from { transform: scaleX(0); } }
.receipt { margin-top: 14px; border: 1px dashed var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 4px; }
.receipt .ok { color: var(--ok); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.receipt .ok svg { width: 16px; height: 16px; }
.receipt span { color: var(--ink-2); font-size: 13px; }
.motion .screen-assign.is-active .receipt { animation: fadeUp .5s var(--ease) 1.5s both; }
/* parent screen */
.phone { margin: 0 auto; max-width: 300px; border: 1px solid var(--line); border-radius: 24px; padding: 16px 14px; background: var(--bg-2); min-height: 360px; display: grid; gap: 10px; align-content: start; }
.phone-time { text-align: center; font-family: "Geist", sans-serif; font-size: 28px; font-weight: 500; margin-top: 10px; }
.phone-date { text-align: center; color: var(--ink-2); font-size: 13px; margin-bottom: 10px; }
.notif { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; }
.notif-app { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 11.5px; }
.notif-app b { color: var(--brand-ink); font-family: "Geist", sans-serif; }
.notif strong { font-size: 13.5px; }
.notif span { font-size: 13px; color: var(--ink-2); }
.motion .screen-parent.is-active .notif:nth-child(3) { animation: notifIn .6s var(--ease) .4s both; }
.motion .screen-parent.is-active .notif:nth-child(4) { animation: notifIn .6s var(--ease) 1.4s both; }
@keyframes notifIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } }

/* sectors tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; height: 48px; padding-inline: 16px; white-space: nowrap; color: var(--ink-2); font-weight: 700; font-size: 16px; }
.tab::after { content: ""; position: absolute; inset-inline: 12px; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .25s var(--ease); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab:hover { color: var(--ink); }
.panel { display: none; padding-top: 40px; }
.panel.is-open { display: grid; gap: 32px; }
@media (min-width: 1024px) { .panel.is-open { grid-template-columns: 6fr 6fr; gap: 64px; align-items: center; } }
.panel h3 { max-width: 20em; }
.panel-list { margin-top: 20px; display: grid; gap: 12px; color: var(--ink-2); }
.panel-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.panel-list svg { width: 20px; height: 20px; color: var(--brand); margin-top: 4px; }
.panel .link { margin-top: 24px; }
.panel-visual { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-frame); padding: 24px; }
.mini-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; font-size: 14px; line-height: 20px; }
.mini-card + .mini-card { margin-top: 10px; }
.mini-card header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.mini-card header strong { font-size: 15px; }
.mini-card header span { color: var(--ink-2); font-size: 12.5px; }
.mini-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.mini-row b { color: var(--ink); font-weight: 400; }

/* bento */
.bento { display: grid; gap: 16px; }
.cell { position: relative; border: 1px solid var(--line); border-radius: var(--r-frame); padding: 24px; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 220px; transition: border-color .2s; }
.cell:hover { border-color: var(--ink-2); }
.cell h3 { font-size: 19px; line-height: 28px; }
.cell p { color: var(--ink-2); font-size: 16px; line-height: 26px; max-width: 28em; }
.cell-visual { margin-top: auto; padding-top: 16px; }
.cell-a { background: linear-gradient(160deg, var(--brand-tint), var(--bg) 70%); }
.cell-d { background: var(--bg-2); }
.cell-g { background: linear-gradient(200deg, var(--bg-2), var(--bg) 60%); }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); }
  .cell-a { grid-column: span 2; grid-row: span 2; }
  .cell-b { grid-column: span 2; }
  .cell-g { grid-column: span 2; }
}
/* cell A: question card */
.q-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; font-size: 14px; line-height: 20px; max-width: 420px; }
.q-card header { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 12.5px; margin-bottom: 6px; }
.q-card .q { font-weight: 700; margin-bottom: 10px; }
.q-opt { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; margin-top: 6px; transition: background-color .2s, border-color .2s; }
.q-opt i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink-2); display: inline-block; transition: all .2s; }
.cell-a:hover .q-opt:nth-child(5), .cell-a:focus-within .q-opt:nth-child(5) { background: var(--brand-tint); border-color: var(--brand); }
.cell-a:hover .q-opt:nth-child(5) i { border-color: var(--brand); box-shadow: inset 0 0 0 4px var(--brand); }
.q-types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.q-types span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); }
/* cell B: week attendance */
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 420px; }
.week li { border: 1px solid var(--line); border-radius: 10px; padding: 8px 6px; text-align: center; font-size: 12.5px; color: var(--ink-2); display: grid; gap: 6px; justify-items: center; }
.week svg { width: 18px; height: 18px; color: var(--ok); transition: transform .3s var(--ease); transform: scale(1); }
.cell-b:hover .week svg { animation: tick .5s var(--ease) both; animation-delay: calc(var(--i) * .08s); }
@keyframes tick { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
/* cell C: grade */
.g-cell { display: grid; gap: 8px; }
.g-score { font-family: "Geist", sans-serif; font-size: 32px; font-weight: 600; line-height: 1; direction: ltr; text-align: start; }
.g-scale { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.g-scale b { display: block; height: 100%; width: 90%; background: var(--brand); transform-origin: 100% 50%; transition: transform .6s var(--ease); }
.cell-c:hover .g-scale b { animation: fillFrom .7s var(--ease) both; }
@keyframes fillFrom { from { transform: scaleX(0); } }
/* cell D: parent */
.bell { position: relative; width: 48px; height: 48px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand-ink); }
.bell svg { width: 22px; height: 22px; }
.bell b { position: absolute; top: -6px; inset-inline-start: -6px; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 10px; background: var(--brand); color: #fff; font-family: "Geist", sans-serif; font-size: 11px; font-weight: 700; display: grid; place-items: center; transition: transform .3s var(--ease); }
.cell-d:hover .bell b { animation: pop .4s var(--ease) both; }
.cell-d:hover .bell svg { animation: ring .6s ease both; transform-origin: 50% 0; }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(10deg); } 50% { transform: rotate(-8deg); } 75% { transform: rotate(4deg); } }
.d-channels { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
/* cell E: live */
.live-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-size: 13.5px; }
.live-row .mini-btn { transition: transform .2s var(--ease); }
.cell-e:hover .live-row .mini-btn { transform: translateY(-2px); }
/* cell F: sparkline */
.spark { width: 100%; height: 56px; }
.spark path { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 0; }
.spark .warnpt { fill: var(--warn); }
.cell-f:hover .spark path { animation: draw 1s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 400; } }
/* cell G: roles toggles */
.perm { display: grid; gap: 8px; max-width: 420px; }
.perm li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-size: 13.5px; }
.toggle { width: 34px; height: 20px; border-radius: 10px; background: var(--line); position: relative; transition: background-color .25s; flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); transition: transform .25s var(--ease); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.toggle.on { background: var(--brand); }
.toggle.on::after { transform: translateX(-14px); }
.cell-g:hover .perm li:nth-child(2) .toggle { background: var(--brand); }
.cell-g:hover .perm li:nth-child(2) .toggle::after { transform: translateX(-14px); }

/* security strip */
.trust { display: grid; gap: 24px; }
@media (min-width: 768px) { .trust { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1024px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust li { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.trust svg { width: 28px; height: 28px; color: var(--brand); }
.trust svg path, .trust svg rect, .trust svg circle { stroke-dasharray: 120; stroke-dashoffset: 0; }
.trust strong { font-size: 17px; }
.trust p { color: var(--ink-2); font-size: 16px; line-height: 26px; }
.trust-foot { margin-top: 40px; }

/* pricing */
.price-controls { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 32px; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--bg-2); }
.seg button { height: 38px; padding-inline: 14px; border-radius: 8px; font-weight: 700; font-size: 15px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(17,24,39,.08); }
.seg button .num { font-weight: 600; }
.save { font-size: 15px; color: var(--ok); font-weight: 700; }
.plans { display: grid; gap: 16px; }
@media (min-width: 1024px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { border: 1px solid var(--line); border-radius: var(--r-frame); padding: 28px 24px; display: grid; gap: 16px; align-content: start; background: var(--bg); }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; }
.plan-head h3 { font-size: 20px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price .amount { font-family: "Geist", sans-serif; font-size: 40px; line-height: 48px; font-weight: 500; direction: ltr; unicode-bidi: isolate; }
.price .unit { color: var(--ink-2); font-size: 15px; }
.price-sub { color: var(--ink-2); font-size: 14px; line-height: 22px; }
.plan ul { display: grid; gap: 8px; color: var(--ink-2); font-size: 16px; line-height: 26px; }
.plan ul li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; }
.plan ul svg { width: 18px; height: 18px; color: var(--brand); margin-top: 4px; }
.plan .btn { margin-top: 8px; }
.pricing-foot { margin-top: 24px; color: var(--ink-2); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }

/* faq */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .25s var(--ease); flex: none; margin-inline-end: 6px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding: 0 4px 20px; color: var(--ink-2); max-width: 40em; }
.faq details[open] .answer { animation: fadeUp .35s var(--ease) both; }

/* band */
.band { background: var(--band-bg); color: var(--band-fg); padding-block: 72px; }
.band h2 { color: inherit; }
.band p { margin-top: 12px; color: color-mix(in srgb, var(--band-fg) 78%, transparent); max-width: 34em; }
.band .cta-row { margin-top: 28px; }
@media (min-width: 1024px) { .band { padding-block: 96px; } .band-inner { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 48px; } .band .cta-row { margin-top: 0; justify-content: flex-end; } }

/* footer */
.footer { padding-block: 56px 32px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: repeat(5, 1fr); } }
.foot-grid strong { display: block; margin-bottom: 12px; font-size: 16px; }
.foot-grid li { padding: 4px 0; }
.foot-grid a { color: var(--ink-2); font-size: 15px; }
.foot-grid a:hover { color: var(--ink); }
.foot-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--ink-2); font-size: 14px; }
.foot-legal img { height: 24px; width: auto; }

/* reveal defaults: content fully visible without JS; JS animates FROM states only */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-play-state: paused !important; transition-duration: .01ms !important; }
  .now .live { animation: none; }
  .hero-bg i { animation: none; }
}

/* ============================================================
   v2 shared components: header dropdowns, page hero, cards, split,
   steps, facts, forms, dark footer with image, band with image
   ============================================================ */
.nav li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding-inline: 12px; border-radius: 8px; color: var(--ink-2); font-size: 16px; font-weight: 400; }
.nav-link:hover, .nav li.open > .nav-link { color: var(--ink); background: var(--bg-2); }
.nav-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav li.open > .nav-link svg { transform: rotate(180deg); }
.nav a[aria-current="page"], .nav li.current > .nav-link { color: var(--ink); font-weight: 700; }
.dd { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; min-width: 300px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-frame); box-shadow: 0 1px 2px rgba(17,24,39,.05), 0 24px 56px -24px rgba(30,58,110,.28); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; z-index: 50; }
.nav li.open > .dd, .nav li:focus-within > .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 15px; line-height: 22px; }
.dd a:hover { background: var(--bg-2); }
.dd a strong { font-size: 15px; }
.dd a span { color: var(--ink-2); font-size: 13.5px; line-height: 20px; }
.dd a[aria-current="page"] { background: var(--brand-tint); color: var(--brand-ink); }
.dd-wide { min-width: 520px; }
.dd-wide .dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.mobile-nav strong { display: block; margin-top: 12px; padding: 4px; color: var(--ink-2); font-size: 13.5px; font-weight: 700; }
.mobile-nav a[aria-current="page"] { color: var(--brand-ink); font-weight: 700; }

/* magnetic buttons: transform only, JS sets x/y */
.btn-primary, .btn-on-band { will-change: transform; }

/* page hero (inner pages) */
.page-hero { position: relative; padding-block: 40px 56px; overflow: clip; }
@media (min-width: 1024px) { .page-hero { padding-block: 56px 88px; } }
.page-hero .hero-bg { opacity: .7; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--ink-2); font-size: 14px; line-height: 22px; margin-bottom: 20px; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-inline-end: 10px; color: var(--line); font-family: "Geist", sans-serif; }
.crumbs [aria-current] { color: var(--ink); }
.ph-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .ph-grid { grid-template-columns: 7fr 5fr; gap: 64px; } }
.ph-grid .lead { margin-top: 20px; }
.ph-grid .cta-row { margin-top: 28px; }
.ph-visual { position: relative; display: grid; place-items: center; min-height: 220px; }
.ph-visual .glass-icon { width: min(320px, 70%); aspect-ratio: 1; }
.ph-visual::before { content: ""; position: absolute; inset: 10% 15%; border-radius: 50%; background: radial-gradient(closest-side, var(--brand-tint), transparent 72%); filter: blur(30px); z-index: -1; }

/* glass icons (generated visuals, abstract) */
.glass-icon { display: block; width: 72px; aspect-ratio: 1; background: var(--icon, radial-gradient(circle at 35% 30%, var(--brand-tint), transparent 70%)) center / contain no-repeat; flex: none; }
.motion .glass-icon { animation: floaty 7s ease-in-out infinite alternate; }
.motion .fcard:nth-child(2n) .glass-icon { animation-duration: 8.5s; animation-delay: -2s; }
.motion .fcard:nth-child(3n) .glass-icon { animation-duration: 9.5s; animation-delay: -4s; }
@keyframes floaty { from { transform: translateY(-3px) rotate(-1.5deg); } to { transform: translateY(4px) rotate(1.5deg); } }

/* feature cards */
.fgrid { display: grid; gap: 16px; }
@media (min-width: 768px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fgrid { grid-template-columns: repeat(3, 1fr); } .fgrid.cols-4 { grid-template-columns: repeat(4, 1fr); } .fgrid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.fcard { position: relative; border: 1px solid var(--line); border-radius: var(--r-frame); padding: 24px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; min-height: 180px; transition: transform .35s var(--ease), border-color .2s, box-shadow .35s var(--ease); overflow: hidden; }
.fcard:hover { transform: translateY(-3px); border-color: var(--ink-2); box-shadow: var(--shot-shadow); }
.fcard h3 { font-size: 19px; line-height: 28px; }
.fcard p { color: var(--ink-2); font-size: 16px; line-height: 26px; }
.fcard .glass-icon { margin-bottom: 6px; }
.fcard ul { display: grid; gap: 6px; color: var(--ink-2); font-size: 15.5px; line-height: 24px; }
.fcard ul li { padding-inline-start: 18px; position: relative; }
.fcard ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-tint); border: 1.5px solid var(--brand); }
.fcard .link { margin-top: auto; padding-top: 8px; }
.fcard.tint { background: linear-gradient(160deg, var(--brand-tint), var(--bg) 70%); }
.fcard.alt-bg { background: var(--bg-2); }
.fcard.art { padding-bottom: 84px; }
.fcard.art::after { content: ""; position: absolute; inset-inline-end: -14%; bottom: -36%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--art, radial-gradient(closest-side, var(--brand-tint), transparent)) center / cover no-repeat; opacity: .6; pointer-events: none; }
.fcard.art > * { position: relative; z-index: 1; }

/* split (text + visual) */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 6fr 6fr; gap: 64px; } .split.rev > :first-child { order: 2; } }
.split h2 { max-width: 18em; }
.split p { margin-top: 14px; color: var(--ink-2); max-width: 32em; }
.split .panel-list { margin-top: 20px; }
.split .link { margin-top: 24px; }
.split-visual { position: relative; border-radius: var(--r-frame); border: 1px solid var(--line); background: var(--bg-2); padding: 24px; overflow: hidden; min-height: 260px; display: grid; align-content: center; }
.split-visual .mini-card { max-width: 420px; }
.split-visual .glass-icon { position: absolute; width: 30%; inset-inline-end: -9%; top: -12%; opacity: .95; }
.split-visual .mini-card, .split-visual .q-card { position: relative; z-index: 1; }

/* steps (verbal nouns, no numbers) */
.steps { display: grid; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.steps li { padding: 24px 0 0; border-top: 2px solid var(--line); display: grid; gap: 8px; position: relative; }
.steps li::before { content: ""; position: absolute; top: -2px; inset-inline-start: 0; width: 40px; height: 2px; background: var(--brand); }
.steps strong { font-size: 18px; }
.steps p { color: var(--ink-2); font-size: 16px; line-height: 26px; }

/* facts strip */
.facts { display: grid; gap: 16px; padding-block: 28px; border-block: 1px solid var(--line); }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .facts { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.facts li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; }
.facts svg { width: 22px; height: 22px; color: var(--brand); flex: none; }

/* definition rows (security, legal) */
.rows > div { display: grid; gap: 8px; padding-block: 24px; border-top: 1px solid var(--line); }
.rows > div:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .rows > div { grid-template-columns: 1fr 2fr; gap: 32px; } }
.rows strong { font-size: 18px; }
.rows p { color: var(--ink-2); }

/* textured sections */
.section.textured { position: relative; isolation: isolate; }
.section.textured::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--section-bg, none) center / cover no-repeat; opacity: .9; }
:root[data-theme="dark"] .section.textured::before { opacity: .25; }

/* forms */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15.5px; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-btn); height: 48px; padding-inline: 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; min-height: 120px; padding-block: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.field small { color: var(--ink-2); font-size: 13.5px; line-height: 20px; }
.field .optional { color: var(--ink-2); font-weight: 400; }
.form-note { color: var(--ink-2); font-size: 14.5px; line-height: 22px; }
.form-ok { display: none; padding: 16px 18px; border-radius: var(--r-card); background: var(--ok-tint); color: var(--ok); font-weight: 700; }
.form.is-sent .form-ok { display: block; }
.form.is-sent .form-grid, .form.is-sent .form-actions { display: none; }
.form-card { border: 1px solid var(--line); border-radius: var(--r-frame); padding: 28px 24px; background: var(--bg); box-shadow: var(--shot-shadow); }
.aside-list { display: grid; gap: 28px; }
.aside-list h3 { margin-bottom: 10px; }

/* band with image */
.band { position: relative; isolation: isolate; overflow: clip; }
.band-art { position: absolute; inset: -12% 0; z-index: -1; background: var(--band-art, var(--band-bg)) center / cover no-repeat; will-change: transform; }
.band-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,20,60,.35), rgba(0,20,60,.1)); }
.band p { color: rgba(245,245,247,.82); }

/* footer with dark image */
.footer { position: relative; isolation: isolate; overflow: clip; border-top: 0; color: #F5F5F7; padding-block: 72px 32px; }
.foot-art { position: absolute; inset: -10% 0; z-index: -1; background: var(--foot-art, #0B0B0C) center / cover no-repeat; will-change: transform; }
.foot-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,16,.25), rgba(8,10,16,.6)); }
.foot-grid strong { color: #F5F5F7; }
.foot-grid a { color: #A1A1A6; }
.foot-grid a:hover { color: #FFFFFF; }
.foot-grid a[aria-current="page"] { color: #FFFFFF; }
.foot-legal { border-top-color: rgba(255,255,255,.16); color: #A1A1A6; }
.foot-legal a:hover { color: #FFFFFF; }
.foot-legal .foot-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-brand { margin-bottom: 36px; display: flex; align-items: center; gap: 16px; }
.foot-brand img { height: 46px; width: auto; }
.foot-brand span { color: #A1A1A6; font-size: 15px; }
.footer :focus-visible { outline-color: #FFFFFF; }

/* hover lift */
.cell { transition: transform .35s var(--ease), border-color .2s, box-shadow .35s var(--ease); }
.cell:hover { transform: translateY(-3px); box-shadow: var(--shot-shadow); }
.plan { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plan:hover { transform: translateY(-2px); box-shadow: var(--shot-shadow); }

/* hero parallax layers */
.hero-layers { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-layer { position: absolute; background: var(--layer, none) center / contain no-repeat; will-change: transform; opacity: .9; }
.hero-layer.l1 { width: 34vw; height: 19vw; inset-inline-start: -6vw; top: -3vw; opacity: .55; }
.hero-layer.l2 { width: 22vw; height: 12.5vw; inset-inline-start: 34vw; bottom: -2vw; opacity: .45; transform: scaleX(-1); }
.hero-layer.l3 { width: 14vw; height: 8vw; inset-inline-end: 2vw; bottom: 4vh; opacity: .4; }
.hero .container, .page-hero .container { position: relative; z-index: 1; }
@media (max-width: 767px) { .hero-layer.l1 { width: 80vw; height: 45vw; top: auto; bottom: -10vw; inset-inline-start: -10vw; opacity: .4; } .hero-layer.l2, .hero-layer.l3 { display: none; } }

/* 404 */
.notfound { padding-block: 72px 96px; }
.notfound .num-big { font-family: "Geist", sans-serif; font-size: clamp(72px, 12vw, 140px); line-height: 1; font-weight: 500; color: var(--brand); direction: ltr; }

/* legal */
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 24px; line-height: 32px; margin-top: 40px; }
.legal-body p { margin-top: 12px; color: var(--ink-2); }
.legal-body .updated { color: var(--ink-2); font-size: 15px; }

/* english direction */
html[dir="ltr"] .link::after { content: "\2192"; }
html[dir="ltr"] .link:hover::after { transform: translateX(4px); }
html[dir="ltr"] body { font-family: "Geist", system-ui, sans-serif; }
html[dir="ltr"] .toggle.on::after { transform: translateX(14px); }

/* integrations strip (home) */
.integrations { display: flex; flex-wrap: wrap; gap: 10px; }
.integrations li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 15px; font-weight: 500; color: var(--ink); }
.more-modules { margin-top: 16px; }

/* 2026-10-23 owner round: dropdown clarity, two-tone platform name, integrations logos, services grid, legal lists */
.dd a { height: auto; padding: 12px 14px; gap: 4px; }
.dd a strong { font-size: 16px; line-height: 24px; }
.dd a span { font-size: 14px; line-height: 21px; }
.dd-wide { min-width: 600px; }
.dd-wide .dd-grid { gap: 4px 12px; }
.pn-c { color: var(--ink); }
.footer .pn-c, .band .pn-c { color: #f8f8f8; }
.pn-w { color: #0056d2; }
:root[data-theme="dark"] .pn-w, html.dark .pn-w, .footer .pn-w, .band .pn-w { color: #70a8f8; }
.integrations li { display: inline-flex; align-items: center; gap: 10px; }
.integrations img { width: 22px; height: 22px; object-fit: contain; }
.svc-grid { counter-reset: svc; }
.svc-grid .fcard { counter-increment: svc; }
.svc-grid .fcard::before { content: counter(svc, decimal-leading-zero); width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: "Geist", system-ui, sans-serif; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.legal-body ul { margin-top: 12px; display: grid; gap: 8px; padding-inline-start: 22px; list-style: disc; color: var(--ink-2); }
.legal-body h2[id] { scroll-margin-top: 88px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 15px; line-height: 24px; }
.toc a { color: var(--brand); }
.toc a:hover { text-decoration: underline; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 24px; line-height: 32px; margin-bottom: 8px; }

/* contact page */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 7fr 4fr; gap: 64px; } }
.field.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field.check label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15px; line-height: 24px; }
.field.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.form-err { color: var(--danger, #b91c1c); font-size: 14.5px; line-height: 22px; }
[data-i="0"] { --i: 0; } [data-i="1"] { --i: 1; } [data-i="2"] { --i: 2; } [data-i="3"] { --i: 3; } [data-i="4"] { --i: 4; }
.mt-28 { margin-top: 28px; }
.steps.one-col { grid-template-columns: 1fr; }
.fs-16 { font-size: 16px; }
.split.start { align-items: start; }

/* floating WhatsApp contact */
.wa-float { position: fixed; z-index: 45; inset-inline-end: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 8px 24px -8px rgba(0,0,0,.35); transition: transform .2s var(--ease); }
.wa-float img { width: 48px; height: 48px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (max-width: 640px) { .wa-float { width: 52px; height: 52px; inset-inline-end: 16px; bottom: 16px; } .wa-float img { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* site assistant (js/chat.js) */
.cw-chat-btn { position: fixed; z-index: 46; inset-inline-end: 20px; bottom: 20px; height: 48px; padding-inline: 14px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; background: var(--brand-ink, #0b3a8c); color: #fff; font: inherit; font-weight: 700; font-size: 15px; box-shadow: 0 8px 24px -8px rgba(0,0,0,.35); cursor: pointer; border: 0; transition: transform .2s var(--ease); }
.cw-chat-btn svg { width: 22px; height: 22px; }
.cw-chat-btn:hover { transform: translateY(-2px); }
.cw-chat-btn:focus-visible, .cw-chat button:focus-visible, .cw-chat a:focus-visible, .cw-chat input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.cw-chat-open .cw-chat-btn { display: none; }
.cw-chat { position: fixed; z-index: 47; inset-inline-end: 20px; bottom: 20px; width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 120px)); display: flex; flex-direction: column; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 64px -16px rgba(0,0,0,.35); overflow: hidden; }
.cw-chat[hidden] { display: none; }
.cw-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cw-chat-title { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.cw-chat-badge { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink, var(--brand)); }
.cw-chat-x { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: transparent; border: 0; color: var(--ink-2); cursor: pointer; }
.cw-chat-x:hover { background: var(--bg-2); color: var(--ink); }
.cw-chat-x svg { width: 18px; height: 18px; }
.cw-chat-note { margin: 0; padding: 10px 16px; font-size: 12.5px; line-height: 19px; color: var(--ink-2); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.cw-chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cw-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 24px; }
.cw-msg p { margin: 0; white-space: pre-wrap; }
.cw-bot { align-self: flex-start; background: var(--bg-2); border: 1px solid var(--line); }
.cw-me { align-self: flex-end; background: var(--brand); color: #fff; }
.cw-more { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--brand); }
.cw-typing { display: flex; gap: 5px; padding: 14px; }
.cw-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); opacity: .5; animation: cwDot 1s infinite ease-in-out; }
.cw-typing span:nth-child(2) { animation-delay: .15s; } .cw-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes cwDot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: .9; } }
.cw-chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.cw-chat-chips[hidden] { display: none; }
.cw-chat-chip { font: inherit; font-size: 13.5px; line-height: 20px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.cw-chat-chip:hover { border-color: var(--brand); color: var(--brand); }
.cw-chat-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.cw-chat-form input { flex: 1; min-width: 0; height: 44px; padding-inline: 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 15px; background: var(--bg); color: var(--ink); }
.cw-chat-send { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 0; background: var(--brand); color: #fff; cursor: pointer; }
.cw-chat-send:disabled { opacity: .5; cursor: wait; }
.cw-chat-send svg { width: 20px; height: 20px; }
.cw-chat-foot { display: flex; justify-content: space-between; gap: 8px; padding: 10px 16px 14px; font-size: 13.5px; }
.cw-chat-foot a { color: var(--brand); font-weight: 700; }
@media (max-width: 640px) {
  .cw-chat-btn { inset-inline-end: 16px; bottom: 16px; }
  .cw-chat-btn-label { display: none; }
  .cw-chat-btn { width: 52px; padding: 0; justify-content: center; }
  .cw-chat { inset-inline: 8px; bottom: 8px; width: auto; height: calc(100dvh - 16px); }
}
@media (prefers-reduced-motion: reduce) { .cw-chat-btn { transition: none; } .cw-typing span { animation: none; } }
.cw-chat-pick { padding: 0 16px 10px; }
.cw-chat-select { width: 100%; height: 44px; padding-inline: 14px 36px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-2); cursor: pointer; }
.cw-chat-select:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.wa-ic { width: 22px; height: 22px; vertical-align: middle; margin-inline-end: 8px; }
.wa-icon-link { display: inline-flex; align-items: center; transition: transform .2s var(--ease); }
.wa-icon-link:hover { transform: scale(1.08); }
.wa-icon-link:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 50%; }
