/*
 * InstLane website, sign-in and sign-up (v4).
 * Calm and monochrome: white pages, mist-grey cards, black panels, one cobalt accent.
 * Large Inter Display headlines, rounded bento cards, smooth scroll and eased reveals.
 * Signature: the "lanes", five hairlines that fan out like the logo, drawn as you scroll.
 */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-var.woff2) format("woff2"); }

:root {
  --ink: #1D1D1F; --ink-2: #424245; --muted: #6E6E73; --faint: #86868B;
  --line: #E4E4E9; --line-2: #D2D2D7; --mist: #F5F5F7; --mist-2: #EBEBEF; --white: #FFFFFF; --black: #000000;
  --accent: #2563EB; --accent-ink: #1D4ED8; --accent-soft: #EEF3FE;
  --ok: #1E7F4A; --ok-soft: #E9F5EE; --warn: #9A6206; --warn-soft: #FFF4DF; --bad: #C33A2E; --bad-soft: #FCEDEB;
  --on-dark: #F5F5F7; --on-dark-2: #A1A1A6; --on-dark-line: rgba(255,255,255,.14);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-panel: 36px; --r-card: 28px; --r-md: 18px; --r-sm: 12px; --pill: 999px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --focus: 0 0 0 3px rgba(37, 99, 235, .35);
  --wrap: 1180px;
  /* names used by older inner-page markup */
  --navy: var(--ink); --text: var(--ink); --brand: var(--accent); --brand-ink: var(--accent-ink); --brand-soft: var(--accent-soft);
  --teal: var(--accent); --soft: var(--mist); --soft-2: var(--mist-2); --surface: #fff; --surface-2: var(--mist);
  --asphalt: var(--black); --on-navy: var(--on-dark); --on-navy-2: var(--on-dark-2);
  --sky: var(--mist); --mint: var(--mist); --butter: var(--mist); --rose: var(--mist); --lilac: var(--mist);
  --good: var(--ok); --good-soft: var(--ok-soft);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font: 17px/1.55 var(--font); font-optical-sizing: auto; letter-spacing: -.011em; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 10px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.muted { color: var(--muted); }
svg.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: var(--pill);
  border: 1px solid transparent; background: var(--bg); color: var(--fg); font: 500 16px/1 var(--font); letter-spacing: -.01em; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.btn:hover { color: var(--fg); background: color-mix(in srgb, var(--bg) 84%, #fff); }
.btn:active { transform: scale(.98); }
.btn .ico { width: 17px; height: 17px; }
.btn-primary, .btn-ink, .btn-navy, .btn-lane, .btn-sun { --bg: var(--ink); --fg: #fff; }
.btn-white { --bg: #fff; --fg: var(--ink); border-color: var(--line-2); }
.btn-white:hover { background: var(--mist); }
.btn-glass, .btn-ghost-dark { --bg: rgba(255,255,255,.08); --fg: #fff; border-color: rgba(255,255,255,.28); }
.btn-glass:hover, .btn-ghost-dark:hover { background: rgba(255,255,255,.16); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light:hover { background: #E8E8ED; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.text-link { font-weight: 500; color: var(--accent); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--accent); }
.link-more .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-more:hover .ico { transform: translateX(3px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.m-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.m-header.scrolled, .m-header.open { background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom-color: rgba(0,0,0,.08); }
.m-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 68px; }
.m-logo { justify-self: start; display: inline-flex; }
.m-logo img, .m-logo svg { height: 30px; width: auto; }
.lg-light { display: none; }
.m-nav { display: flex; align-items: center; gap: 4px; }
.m-nav > a, .m-drop > button { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px; white-space: nowrap; border-radius: var(--pill); color: var(--ink-2); font: 400 15px/1 var(--font); letter-spacing: -.01em; background: none; border: 0; cursor: pointer; transition: color .2s, background .2s; }
.m-nav > a:hover, .m-drop > button:hover, .m-drop[data-open] > button { color: var(--ink); background: rgba(0,0,0,.04); }
.m-nav > a[aria-current] { color: var(--ink); font-weight: 500; }
.m-drop { position: relative; }
.m-drop > button .ico { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.m-drop[data-open] > button .ico { transform: rotate(180deg); }
.m-menu { position: absolute; top: calc(100% + 14px); left: 50%; width: 400px; padding: 8px; border-radius: 24px; background: rgba(255,255,255,.96); backdrop-filter: blur(20px); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translate(-50%, -8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.m-drop[data-open] .m-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.m-menu a { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; color: var(--ink); }
.m-menu a:hover { background: var(--mist); color: var(--ink); }
.m-menu b { display: block; font-weight: 500; font-size: 15px; }
.m-menu span span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.m-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--mist); color: var(--ink); }
.m-ico .ico { width: 19px; height: 19px; }
.m-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }
.m-signin { color: var(--ink-2); font-size: 15px; padding: 0 12px; }
.m-signin:hover { color: var(--ink); }
.m-burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--ink); place-items: center; cursor: pointer; }

/* ---------- Shared section rhythm ---------- */
.sx { padding: 140px 0; }
.sx-tight { padding: 90px 0; }
.sx-head { max-width: 760px; margin-bottom: 56px; }
.sx-head.center { margin-inline: auto; text-align: center; }
.sx-head h2, .h2 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -.045em; }
.sx-head p { margin-top: 20px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); max-width: 58ch; }
.sx-head.center p { margin-inline: auto; }
.sx-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.sx-row h2 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -.045em; max-width: 17ch; }
.sx-row p { max-width: 40ch; color: var(--muted); font-size: 18px; }
.kicker, .eyebrow, .tagline { display: block; margin-bottom: 16px; font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: -.01em; }

/* Scroll reveals: slow, eased, small distance */
.reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- The lanes (signature hairlines) ---------- */
.lanes-art { width: 100%; height: auto; overflow: visible; }
.lanes-art path { fill: none; stroke: var(--line-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lanes-art.in path { animation: draw 2.6s var(--ease) forwards; }
.lanes-art.in path:nth-child(2) { animation-delay: .08s; } .lanes-art.in path:nth-child(3) { animation-delay: .16s; } .lanes-art.in path:nth-child(4) { animation-delay: .24s; } .lanes-art.in path:nth-child(5) { animation-delay: .32s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lanes-art path.a { stroke: var(--accent); stroke-width: 1.6; }
.lane-rule { display: block; width: 100%; height: 90px; margin: 0; color: var(--line-2); }

/* ---------- Home: hero ---------- */
.h-hero { position: relative; padding: 168px 0 0; text-align: center; overflow: hidden; }
.h-hero .lanes-art { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 900px; pointer-events: none; }
.h-hero .wrap { position: relative; }
.h-chip { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px 0 12px; border-radius: var(--pill); background: var(--mist); color: var(--ink-2); font-size: 14.5px; }
.h-chip:hover { color: var(--ink); background: var(--mist-2); }
.h-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,.14); }
.h-hero h1 { margin: 28px auto 0; max-width: 13ch; font-size: clamp(48px, 8vw, 104px); font-weight: 600; line-height: .98; letter-spacing: -.055em; }
.h-hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.h-hero h1 .ln > span { display: inline-block; transform: translate3d(0, 105%, 0); animation: rise 1.3s var(--ease) forwards; }
.h-hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
.h-hero h1 .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.h-hero .lede { margin: 28px auto 0; max-width: 52ch; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; color: var(--muted); opacity: 0; animation: fade 1.2s .45s var(--ease) forwards; }
.h-hero .hero-ctas { justify-content: center; margin-top: 36px; opacity: 0; animation: fade 1.2s .6s var(--ease) forwards; }
@keyframes fade { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
.h-stage { position: relative; margin: 80px auto 0; max-width: 1180px; }
.h-frame { transform: translate3d(0, calc(60px * (1 - var(--p, 0))), 0) scale(calc(.86 + .14 * var(--p, 0))); transform-origin: 50% 0; border-radius: calc(44px - 14px * var(--p, 0)); padding: 12px; background: var(--mist); will-change: transform; }
.h-frame img { border-radius: 22px; width: 100%; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 40px 80px -40px rgba(0,0,0,.35); }
.h-phone { position: absolute; right: 4%; bottom: -40px; width: clamp(150px, 17vw, 220px); padding: 7px; border-radius: 36px; background: #111; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); transform: translate3d(0, calc(80px * (1 - var(--p, 0))), 0); }
.h-phone img { border-radius: 30px; }
.h-under { height: 80px; }

/* Statement that lights up word by word */
.statement { padding: 150px 0 120px; }
.statement p { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.12; letter-spacing: -.04em; font-weight: 600; max-width: 22ch; color: var(--ink); }
.statement p .w { color: var(--line-2); transition: color .5s var(--ease); }
.statement p .w.lit { color: var(--ink); }
.statement p .w.acc.lit { color: var(--accent); }

/* ---------- Moments: tabbed panel with filling pill tabs ---------- */
.moments .tabhead { display: inline-flex; align-items: flex-end; position: relative; padding: 26px 34px 0; background: var(--mist); border-radius: var(--r-panel) var(--r-panel) 0 0; }
.moments .tabhead::after { content: ""; position: absolute; right: -36px; bottom: 0; width: 36px; height: 36px; background: radial-gradient(circle at 100% 0, transparent 35.5px, var(--mist) 36px); }
.moments .tabhead h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.04em; max-width: 16ch; padding-bottom: 6px; }
.m-panel { background: var(--mist); border-radius: 0 var(--r-panel) var(--r-panel) var(--r-panel); padding: 34px; }
.pilltabs { display: flex; flex-wrap: wrap; gap: 8px; }
.pilltabs button { position: relative; overflow: hidden; height: 44px; padding: 0 20px; border-radius: var(--pill); border: 0; background: rgba(0,0,0,.05); font: 500 15px/1 var(--font); color: var(--ink-2); cursor: pointer; isolation: isolate; transition: color .3s; }
.pilltabs button .fill { position: absolute; inset: 0; z-index: -1; background: #fff; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0); }
.pilltabs button[aria-selected="true"] { color: var(--ink); }
.pilltabs button[aria-selected="true"] .fill { animation: fillx var(--dur, 6s) linear forwards; }
.pilltabs.paused button .fill { animation-play-state: paused; }
@keyframes fillx { to { transform: scaleX(1); } }
.m-pane { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; margin-top: 34px; min-height: 420px; }
.m-pane[hidden] { display: none; }
.m-pane.enter .m-copy > *, .m-pane.enter .m-vis { animation: fade .9s var(--ease) both; }
.m-pane.enter .m-copy > *:nth-child(2) { animation-delay: .06s; } .m-pane.enter .m-copy > *:nth-child(3) { animation-delay: .12s; } .m-pane.enter .m-vis { animation-delay: .1s; }
.m-stat { font-size: clamp(64px, 9vw, 120px); font-weight: 500; line-height: .95; letter-spacing: -.06em; color: var(--ink); }
.m-stat small { font-size: .38em; letter-spacing: -.03em; font-weight: 500; margin-left: .1em; }
.m-copy h3 { margin-top: 18px; font-size: 22px; letter-spacing: -.02em; font-weight: 600; }
.m-copy p { margin-top: 10px; color: var(--muted); max-width: 42ch; }
.m-vis { position: relative; border-radius: var(--r-card); background: #fff; padding: 22px; min-height: 380px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }

/* UI snippets (mini mock-ups) */
.ui { font-size: 14.5px; }
.ui-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ui-h small { font-weight: 400; color: var(--muted); font-size: 13px; }
.ui-r { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ui-r:last-child { border-bottom: 0; }
.ui-r small { color: var(--faint); font-variant-numeric: tabular-nums; }
.ui-r b { font-weight: 600; font-variant-numeric: tabular-nums; }
.st { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; background: var(--mist); color: var(--ink); }
.st.P { background: var(--ink); color: #fff; } .st.L { background: var(--mist-2); } .st.A { background: #fff; border: 1px solid var(--line-2); color: var(--muted); }
.ui-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--pill); font-size: 12.5px; font-weight: 500; background: var(--mist); color: var(--ink-2); }
.ui-pill.ok { background: var(--accent-soft); color: var(--accent-ink); }
.ui-bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-top: 18px; }
.ui-bars i { flex: 1; border-radius: 8px 8px 4px 4px; background: var(--mist-2); height: var(--h); transform-origin: bottom; }
.ui-bars i.a { background: var(--ink); }
.in .ui-bars i, .m-pane:not([hidden]) .ui-bars i { animation: grow 1.1s var(--ease) both; }
.ui-bars i:nth-child(2) { animation-delay: .05s; } .ui-bars i:nth-child(3) { animation-delay: .1s; } .ui-bars i:nth-child(4) { animation-delay: .15s; } .ui-bars i:nth-child(5) { animation-delay: .2s; } .ui-bars i:nth-child(6) { animation-delay: .25s; }
@keyframes grow { from { transform: scaleY(.1); } to { transform: none; } }
.ui-notes { display: grid; gap: 10px; }
.ui-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--mist); }
.ui-note .ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #fff; color: var(--ink); }
.ui-note b { display: block; font-weight: 600; font-size: 15px; }
.ui-note small { display: block; color: var(--muted); font-size: 13.5px; }
.m-pane:not([hidden]) .ui-note { animation: fade .8s var(--ease) both; }
.ui-note:nth-child(2) { animation-delay: .12s !important; } .ui-note:nth-child(3) { animation-delay: .24s !important; }
.ui-receipt { text-align: center; }
.ui-receipt .big { font-size: 44px; font-weight: 600; letter-spacing: -.04em; margin: 10px 0 2px; }
.ui-receipt .tick { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.ui-receipt .tick .ico { width: 26px; height: 26px; stroke-width: 2.4; }
.ui-kv { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); text-align: left; }
.ui-kv b { color: var(--ink); font-weight: 500; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.b { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 460px; padding: 34px 34px 0; border-radius: var(--r-card); background: var(--mist); color: var(--ink); isolation: isolate; }
.b-7 { grid-column: span 7; } .b-5 { grid-column: span 5; } .b-4 { grid-column: span 4; } .b-6 { grid-column: span 6; } .b-8 { grid-column: span 8; } .b-12 { grid-column: span 12; }
.b small.k { font-size: 15px; font-weight: 500; color: var(--muted); }
.b h3 { margin-top: 8px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.035em; max-width: 16ch; }
.b > p { margin-top: 12px; color: var(--muted); max-width: 38ch; }
.b .b-art { margin-top: auto; padding-top: 28px; }
.b-dark { background: var(--black); color: var(--on-dark); }
.b-dark h3 { color: #fff; } .b-dark small.k, .b-dark > p { color: var(--on-dark-2); }
.b-white { background: #fff; border: 1px solid var(--line); }
.plus { position: absolute; right: 20px; bottom: 20px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--ink); color: #fff; transition: transform .5s var(--ease), background .3s; }
.plus .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.b-dark .plus { background: #fff; color: var(--ink); }
.b.open .plus { transform: rotate(45deg); }
.b-more { position: absolute; inset: 0; z-index: 2; padding: 34px 34px 80px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; background: rgba(245,245,247,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translate3d(0, 20px, 0); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.b-dark .b-more { background: rgba(0,0,0,.82); color: var(--on-dark); }
.b.open .b-more { opacity: 1; visibility: visible; transform: none; }
.b-more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 17px; }
.b-more li { display: flex; gap: 10px; }
.b-more li .ico { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); stroke-width: 2.2; }
.b-dark .b-more li .ico { color: #8FB3FF; }

/* bento art pieces */
.ask { display: grid; gap: 10px; padding-bottom: 34px; max-width: 520px; margin-right: 50px; }
.ask .q, .ask .a { padding: 14px 18px; border-radius: 20px; font-size: 15.5px; line-height: 1.45; max-width: 88%; }
.ask .q { justify-self: end; background: #2C2C2E; color: #fff; border-bottom-right-radius: 6px; }
.ask .a { background: #fff; color: var(--ink); border-bottom-left-radius: 6px; }
.ask .a b { font-weight: 600; }
.ask .meta { font-size: 13px; color: var(--on-dark-2); display: flex; align-items: center; gap: 8px; }
.ask .meta i { width: 6px; height: 6px; border-radius: 50%; background: #8FB3FF; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.b-phone { align-self: center; width: 230px; padding: 7px 7px 0; border-radius: 36px 36px 0 0; background: #111; }
.b-phone img { border-radius: 30px 30px 0 0; }
.dev-row { display: flex; gap: 10px; padding-bottom: 84px; flex-wrap: wrap; }
.dev { display: grid; place-items: center; gap: 8px; width: 92px; height: 92px; border-radius: 22px; background: #fff; font-size: 13px; color: var(--ink-2); }
.dev .ico { width: 26px; height: 26px; }
.marks { padding-bottom: 84px; display: grid; gap: 8px; }
.marks div { display: grid; grid-template-columns: 1fr 120px 36px; gap: 12px; align-items: center; font-size: 14.5px; }
.marks span.m { height: 6px; border-radius: 4px; background: var(--mist-2); overflow: hidden; }
.marks span.m i { display: block; height: 100%; width: var(--v); background: var(--ink); border-radius: inherit; transform-origin: 0 50%; }
.in .marks span.m i { animation: growx 1.2s var(--ease) both; }
@keyframes growx { from { transform: scaleX(0); } }
.marks b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.fee-big { padding-bottom: 84px; }
.fee-big b { display: block; font-size: 52px; letter-spacing: -.05em; font-weight: 600; line-height: 1; }
.fee-big small { color: var(--muted); }
.fee-big .meter { margin-top: 18px; height: 8px; border-radius: 6px; background: var(--mist-2); overflow: hidden; }
.fee-big .meter i { display: block; height: 100%; width: 72%; background: var(--ink); border-radius: inherit; transform-origin: 0 50%; }
.in .fee-big .meter i { animation: growx 1.4s var(--ease) both; }
.vaults { display: grid; gap: 8px; padding-bottom: 84px; }
.vaults div { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: #fff; font-size: 15px; }
.vaults div .ico { width: 18px; height: 18px; }
.vaults div em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.vaults div em .ico { width: 14px; height: 14px; }
.words-cycle { padding-bottom: 76px; display: grid; gap: 0; }
.words-cycle .wc { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.words-cycle .wc small { color: var(--muted); font-size: 14px; }
.words-cycle .wc span { position: relative; height: 1.3em; overflow: hidden; font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.words-cycle .wc span b { position: absolute; left: 0; top: 0; font-weight: 600; transition: transform .8s var(--ease), opacity .8s var(--ease); transform: translateY(110%); opacity: 0; }
.words-cycle .wc span b.on { transform: none; opacity: 1; }
.words-cycle .wc span b.out { transform: translateY(-110%); opacity: 0; }

/* ---------- Horizontal card rail (roles) ---------- */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 4px max(24px, calc((100vw - var(--wrap)) / 2)) 30px; scroll-padding-inline: max(24px, calc((100vw - var(--wrap)) / 2)); }
.rail::-webkit-scrollbar { display: none; }
.rcard { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; height: 600px; padding: 32px 30px 0; border-radius: var(--r-card); background: var(--mist); overflow: hidden; isolation: isolate; }
.rcard small.k { font-size: 15px; font-weight: 500; color: var(--muted); }
.rcard h3 { margin-top: 8px; font-size: 23px; line-height: 1.18; letter-spacing: -.03em; }
.rcard .r-art { margin-top: auto; }
.rcard.dark { background: var(--black); }
.rcard.dark h3 { color: #fff; } .rcard.dark small.k { color: var(--on-dark-2); }
.rcard.dark .plus { background: #fff; color: var(--ink); }
.rcard.open .plus { transform: rotate(45deg); }
.rcard .b-more { padding: 32px 30px 84px; }
.rcard.dark .b-more { background: rgba(0,0,0,.84); color: var(--on-dark); }
.rcard.open .b-more { opacity: 1; visibility: visible; transform: none; }
.rcard .r-art img { border-radius: 18px 18px 0 0; }
.rcard .r-art .phone-cut { width: 240px; margin: 0 auto; padding: 7px 7px 0; border-radius: 36px 36px 0 0; background: #111; }
.rcard .r-art .phone-cut img { border-radius: 30px 30px 0 0; }
.rcard .r-art .ui { background: #fff; border-radius: 20px 20px 0 0; padding: 18px 18px 6px; margin-right: 0; }
.rcard .r-art { padding-right: 0; }
.rcard .r-art .ui-r:last-child { padding-right: 46px; }
.rail-ctl { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.rail-ctl button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--mist-2); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s, opacity .2s; }
.rail-ctl button:hover { background: var(--line-2); }
.rail-ctl button:disabled { opacity: .35; cursor: default; }
.rail-ctl button .ico { width: 18px; height: 18px; }
.rail-ctl button[data-prev] .ico { transform: rotate(180deg); }

/* ---------- Institution types ---------- */
.segs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--pill); background: var(--mist); }
.segs button { height: 42px; padding: 0 20px; border: 0; border-radius: var(--pill); background: none; font: 500 15px/1 var(--font); color: var(--ink-2); cursor: pointer; transition: background .35s var(--ease), color .35s, box-shadow .35s; }
.segs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.t-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-top: 28px; }
.t-panel[hidden] { display: none; }
.t-panel > div { border-radius: var(--r-card); background: var(--mist); padding: 34px; }
.t-panel h3 { font-size: 28px; letter-spacing: -.035em; }
.t-panel p { color: var(--muted); margin-top: 8px; }
.t-levels { display: grid; gap: 8px; margin-top: 28px; }
.t-level { display: grid; grid-template-columns: 170px 1fr 70px; gap: 16px; align-items: center; font-size: 15px; }
.t-level .bar { height: 30px; border-radius: 10px; background: #fff; position: relative; overflow: hidden; }
.t-level .bar i { position: absolute; top: 0; bottom: 0; left: var(--a); width: var(--w); border-radius: 10px; background: var(--ink); transform-origin: 0 50%; }
.t-panel:not([hidden]) .t-level .bar i { animation: growx 1s var(--ease) both; }
.t-level:nth-child(2) .bar i { animation-delay: .06s; } .t-level:nth-child(3) .bar i { animation-delay: .12s; } .t-level:nth-child(4) .bar i { animation-delay: .18s; } .t-level:nth-child(5) .bar i { animation-delay: .24s; }
.t-level small { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.t-level.off { color: var(--faint); }
.t-level.off .bar { background: transparent; border: 1px dashed var(--line-2); }
.t-words { display: grid; gap: 0; margin-top: 22px; }
.t-words div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.t-words small { color: var(--muted); }
.t-words b { font-weight: 600; }

/* ---------- Builder (modules and price) ---------- */
.builder { display: grid; grid-template-columns: 1fr 360px; gap: 16px; align-items: start; }
.lanes { display: grid; gap: 10px; }
.lane { padding: 24px 26px; border-radius: var(--r-card); background: var(--mist); }
.lane-name { font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.lane-track { display: flex; flex-wrap: wrap; gap: 8px; }
.mpill { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 11px 16px; border-radius: 16px; border: 1px solid transparent; background: #fff; font: 500 15px/1.15 var(--font); color: var(--ink); cursor: pointer; text-align: left; transition: background .3s var(--ease), color .3s, transform .3s var(--ease); }
.mpill small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.mpill:hover { transform: translateY(-1px); }
.mpill.on { background: var(--ink); color: #fff; }
.mpill.on small { color: var(--on-dark-2); }
.mpill.req { background: transparent; border-color: var(--line-2); cursor: default; transform: none; color: var(--ink-2); }
.mpill.req small { color: var(--muted); }
.b-sum { position: sticky; top: 96px; padding: 32px; border-radius: var(--r-card); background: var(--black); color: var(--on-dark); }
.b-label { font-size: 15px; color: var(--on-dark-2); }
.b-price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.b-price b { font-size: 40px; font-weight: 600; letter-spacing: -.045em; color: #fff; transition: transform .2s var(--ease); display: inline-block; }
.b-price b.bump { transform: scale(1.04); }
.b-price small { color: var(--on-dark-2); }
.b-note { margin: 10px 0 24px; font-size: 14.5px; color: var(--on-dark-2); min-height: 44px; }
.b-sum .btn { --bg: #fff; --fg: var(--ink); }
.b-sum .btn:hover { background: #E8E8ED; }
.b-fine { margin-top: 16px; font-size: 13.5px; color: var(--on-dark-2); }
.b-bar { display: none; }

/* ---------- Steps (a real sequence) ---------- */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 34px; border-radius: var(--r-card); background: var(--mist); min-height: 300px; display: flex; flex-direction: column; }
.steps .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.steps li:first-child .n { background: var(--ink); color: #fff; }
.steps h3 { margin-top: auto; font-size: 24px; letter-spacing: -.03em; }
.steps p { margin-top: 10px; color: var(--muted); }

/* ---------- Security panel ---------- */
.dark-panel { position: relative; overflow: hidden; border-radius: var(--r-panel); background: var(--black); color: var(--on-dark); padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dark-panel h2 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.045em; line-height: 1.03; }
.dark-panel p { color: var(--on-dark-2); margin: 20px 0 30px; font-size: 18px; max-width: 46ch; }
.db-stack { display: grid; gap: 10px; }
.db-row { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid var(--on-dark-line); color: #fff; font-size: 16px;
  transform: translate3d(calc(var(--i) * 18px), 0, 0); }
.db-row .ico { width: 20px; height: 20px; color: var(--on-dark-2); }
.db-row em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--on-dark-2); display: inline-flex; align-items: center; gap: 6px; }
.db-row em .ico { width: 14px; height: 14px; color: #8FB3FF; }
.db-works { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.db-works span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--on-dark-line); color: var(--on-dark-2); font-size: 14px; }
.db-works .ico { width: 15px; height: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq > div:first-child { position: sticky; top: 110px; }
.faq-list { display: grid; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-weight: 500; font-size: 19px; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ico { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--mist); flex: none; transition: transform .5s var(--ease), background .3s, color .3s; }
.faq-list details[open] summary .ico { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq-list details p { padding: 0 48px 26px 0; color: var(--muted); }
.faq-list details[open] p { animation: fade .6s var(--ease); }
.talk { display: flex; gap: 14px; align-items: flex-start; margin-top: 32px; padding: 22px; border-radius: 22px; background: var(--mist); }
.talk-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; flex: none; }
.talk b { display: block; font-weight: 600; } .talk small { display: block; color: var(--muted); font-size: 14px; }
.talk p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.contact-list { display: grid; gap: 14px; margin-top: 22px; }
.contact-list a { display: flex; gap: 14px; align-items: center; color: var(--ink); }
.contact-list span.ci { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list b { font-weight: 500; }

/* ---------- Closing panel and footer ---------- */
.closing { padding: 40px 0 0; }
.closing-card { position: relative; overflow: hidden; border-radius: var(--r-panel); background: var(--black); color: #fff; text-align: center; padding: clamp(70px, 10vw, 130px) 24px clamp(150px, 14vw, 200px); }
.closing-card .lanes-art { position: absolute; left: 0; right: 0; bottom: -30px; height: 170px; }
.closing-card .lanes-art path { stroke: rgba(255,255,255,.22); }
.closing-card .lanes-art path.a { stroke: #8FB3FF; }
.closing-card h2 { position: relative; color: #fff; font-size: clamp(38px, 6vw, 76px); font-weight: 500; letter-spacing: -.055em; line-height: 1; max-width: 15ch; margin: 0 auto; }
.closing-card p { position: relative; color: var(--on-dark-2); margin: 22px auto 0; max-width: 52ch; font-size: 18px; }
.closing-card .hero-ctas { position: relative; justify-content: center; margin-top: 34px; }
.m-footer { padding: 90px 0 40px; font-size: 14px; color: var(--muted); }
.f-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.f-brand svg, .f-brand img { height: 28px; width: auto; }
.f-brand p { margin-top: 16px; max-width: 32ch; }
.m-footer h2 { color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }
.m-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.m-footer a { color: var(--muted); }
.m-footer a:hover { color: var(--ink); }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
.f-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); color: var(--ink); border: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: .4s var(--ease); pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top .ico { transform: rotate(-90deg); width: 18px; height: 18px; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 160px 0 70px; }
.page-hero h1 { font-size: clamp(42px, 6vw, 80px); letter-spacing: -.05em; line-height: 1; margin-top: 22px; max-width: 16ch; }
.page-hero .lede, .lede { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); max-width: 60ch; }
.page-hero .hero-ctas { margin-top: 32px; }
.page-hero .split { margin-top: 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--ink); }
.crumbs > * + *::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs [aria-current] { color: var(--ink); }
.section { padding: 100px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; }
.section-head > div { max-width: 640px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.045em; line-height: 1.03; }
.section-head p { margin-top: 14px; color: var(--muted); max-width: 56ch; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.side-card { position: sticky; top: 100px; padding: 32px; border-radius: var(--r-card); background: var(--mist); }
.side-card h2 { font-size: 22px; margin-bottom: 14px; letter-spacing: -.025em; }
.card { padding: 34px; border-radius: var(--r-card); background: var(--mist); }
.card h3 { font-size: 22px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trio .card[style*="asphalt"] h3 { color: #fff; }
.bullets { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.bullets li { position: relative; padding-left: 28px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 13px; height: 7px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.prose { font-size: 17.5px; color: var(--ink-2); line-height: 1.65; }
.prose p + p { margin-top: 16px; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mod-card { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 230px; padding: 26px; border-radius: 24px; background: var(--mist); color: var(--ink); transition: background .35s var(--ease), transform .5s var(--ease); }
.mod-card:hover { background: var(--mist-2); color: var(--ink); transform: translateY(-2px); }
.mod-card h3 { font-size: 19px; margin-top: 10px; letter-spacing: -.02em; }
.mod-card p { color: var(--muted); font-size: 15px; }
.mod-card .more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--accent); font-size: 14.5px; }
.mod-card .more .ico { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.mod-card:hover .more .ico { transform: translateX(3px); }
.mod-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--ink); }
.mod-ico .ico { width: 21px; height: 21px; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cat-tabs a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--pill); background: var(--mist); color: var(--ink-2) !important; font-size: 14.5px; }
.cat-tabs a:hover { background: var(--mist-2); color: var(--ink) !important; }
.cat-block { padding: 64px 0 8px; }
.cat-block h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.04em; }
.cat-block > p { color: var(--muted); margin: 10px 0 24px; }
.all-link { margin-top: 24px; }
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.who { padding: 26px; border-radius: 24px; background: var(--mist); }
.who b { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.who p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.who-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #fff !important; color: var(--ink); }
.who-ico .ico { width: 18px; height: 18px; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.benefit { padding: 28px; border-radius: 24px; background: var(--mist); }
.benefit b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.benefit span { display: block; color: var(--muted); margin-top: 8px; }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.timeline li { counter-increment: t; padding: 28px; border-radius: 24px; background: var(--mist); }
.timeline li::before { content: counter(t); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.timeline li:first-child::before { background: var(--ink); color: #fff; }
.timeline b { display: block; font-weight: 600; }
.timeline span { display: block; color: var(--muted); margin-top: 6px; font-size: 15.5px; }
.seat-meter { height: 8px; border-radius: 6px; background: #fff; overflow: hidden; margin: 18px 0 14px; }
.seat-meter i { display: block; height: 100%; width: var(--p); background: var(--ink); border-radius: inherit; }
.vault-grid { display: grid; gap: 12px; }
.vault-item { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-card); background: var(--mist); }
.vault-item .ico { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: #fff; color: var(--ink); margin-bottom: 18px; }
.vault-item b { font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.vault-item span { color: var(--muted); font-size: 15.5px; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; }
.kv span:first-child { color: var(--muted); }
.founder-av { width: 100%; aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 64px; font-weight: 600; letter-spacing: -.04em; }

/* Pricing */
.alert { padding: 14px 18px; border-radius: 16px; font-size: 15px; margin-bottom: 16px; }
.alert-bad { background: var(--bad-soft); color: var(--bad); }
.alert-good { background: var(--ok-soft); color: var(--ok); }
.alert-info { background: var(--mist); color: var(--ink); }
.billing-toggle { display: inline-flex; padding: 4px; border-radius: var(--pill); background: var(--mist); }
.billing-toggle button { height: 40px; padding: 0 18px; border: 0; border-radius: var(--pill); background: none; font: 500 15px/1 var(--font); color: var(--ink-2); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .35s var(--ease), box-shadow .35s; }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.billing-toggle em { font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-ink); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: var(--r-card); background: var(--mist); }
.plan.hl { background: var(--black); color: var(--on-dark); }
.plan.hl h2, .plan.hl .price b { color: #fff; }
.plan-badge { position: absolute; top: 26px; right: 26px; font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: var(--pill); background: rgba(255,255,255,.14); color: #fff; }
.plan-tag { color: var(--muted); margin-top: 6px; }
.plan.hl .plan-tag, .plan.hl .plan-note, .plan.hl .price small { color: var(--on-dark-2); }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 26px; }
.price b { font-size: 42px; letter-spacing: -.05em; font-weight: 600; }
.price small { color: var(--muted); }
.plan-note { color: var(--muted); font-size: 14px; min-height: 22px; margin-top: 4px; }
.plan-limits { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0; }
.plan-limits span { font-size: 13px; padding: 6px 11px; border-radius: var(--pill); background: #fff; }
.plan.hl .plan-limits span { background: rgba(255,255,255,.1); color: var(--on-dark); }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; }
.plan li .ico { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.3; margin-top: 3px; }
.plan.hl li .ico { color: #8FB3FF; }
.plan .btn { margin-top: auto; }
.plan.hl .btn { --bg: #fff; --fg: var(--ink); }
.plan.hl .btn:hover { background: #E8E8ED; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.compare thead th { color: var(--muted); font-weight: 500; font-size: 14px; border-bottom-color: var(--line-2); }
.compare .c { text-align: center; }
.compare .ico { margin: 0 auto; color: var(--ink); stroke-width: 2.2; }

/* ---------- Forms (contact, sign-up, sign-in) ---------- */
.form-card { padding: 36px; border-radius: var(--r-card); background: var(--mist); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { display: grid; gap: 8px; align-content: start; }
.f-field.wide, .form .wide { grid-column: 1 / -1; }
.f-field label, .fieldset legend { font-weight: 500; font-size: 14.5px; color: var(--ink); }
.opt { color: var(--faint); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=url], input:not([type]), select, textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 400 16px/1.4 var(--font); transition: border-color .2s, box-shadow .2s; }
textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
.f-field.err input, .f-field.err select, .f-field.err textarea, [aria-invalid="true"] { border-color: var(--bad); }
.f-hint { color: var(--muted); font-size: 13.5px; margin: 0; }
.f-error { color: var(--bad); font-size: 13.5px; margin: 0; font-weight: 500; }
.fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.fieldset legend { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 14px; padding: 0; }
.slug-field { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #fff; }
.slug-field:focus-within { border-color: var(--accent); box-shadow: var(--focus); }
.slug-field span { display: grid; place-items: center; padding: 0 14px; background: var(--mist); color: var(--muted); font-size: 14.5px; white-space: nowrap; }
.f-field .slug-field input { border: 0 !important; box-shadow: none !important; border-radius: 0; }
.slug-status { font-size: 13.5px; font-weight: 500; }
.slug-status.ok { color: var(--ok); } .slug-status.no { color: var(--bad); }
.choice-row { display: flex; gap: 8px; flex-wrap: wrap; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: var(--pill); border: 1px solid var(--line-2); background: #fff; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice input:focus-visible + span { box-shadow: var(--focus); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px; }
.pw-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.pw-btn:hover { background: var(--mist); color: var(--ink); }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 2px; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--mist-2); }
.pw-meter[data-s="1"] i:nth-child(-n+1) { background: var(--bad); }
.pw-meter[data-s="2"] i:nth-child(-n+2) { background: var(--warn); }
.pw-meter[data-s="3"] i:nth-child(-n+3) { background: var(--accent); }
.pw-meter[data-s="4"] i { background: var(--ok); }
.chip-btn { height: 36px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line-2); background: #fff; font: 500 14px/1 var(--font); color: var(--ink); cursor: pointer; }
.chip-btn:hover { background: var(--mist); }
.mod-choose { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.mod-opt { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.mod-opt[hidden] { display: none; }
.mod-opt input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.mod-opt b { display: block; font-size: 15px; font-weight: 500; }
.mod-opt small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.mod-opt em { font-style: normal; font-size: 13px; font-weight: 500; white-space: nowrap; }
.mod-opt:has(input:checked) { border-color: var(--ink); background: var(--mist); }
.mod-opt.req { cursor: default; }
.mod-opt.req em { color: var(--muted); }
.quote { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 16px; padding: 20px 22px; border-radius: 20px; background: var(--black); color: #fff; }
.quote span { font-size: 14px; color: var(--on-dark-2); }
.quote b { font-size: 30px; letter-spacing: -.04em; font-weight: 600; }
.quote small { flex-basis: 100%; color: var(--on-dark-2); font-size: 13px; }

/* Sign-in / sign-up layout */
.auth-body { background: #fff; }
.auth, .signup-grid { display: grid; grid-template-columns: minmax(380px, 44%) 1fr; min-height: 100vh; padding: 12px; gap: 12px; }
.signup-grid { grid-template-columns: minmax(340px, 36%) 1fr; }
.auth-side { position: sticky; top: 12px; height: calc(100vh - 24px); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 56px clamp(32px, 4.5vw, 64px); border-radius: var(--r-panel); background: var(--mist); }
.auth-logo { position: absolute; top: 36px; left: clamp(32px, 4.5vw, 64px); z-index: 1; }
.auth-logo svg, .auth-logo img { height: 28px; width: auto; }
.auth-side h2 { position: relative; z-index: 1; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -.05em; line-height: 1.02; max-width: 13ch; }
.auth-side > p { position: relative; z-index: 1; color: var(--muted); font-size: 18px; max-width: 42ch; }
.side-list { position: relative; z-index: 1; list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 16px; }
.side-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 15.5px; }
.side-list .ico { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 2.6; flex: none; }
.side-list span { display: block; color: var(--muted); font-weight: 400; font-size: 14.5px; margin-top: 2px; }
.auth-side .lanes-art { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; opacity: .9; z-index: 0; pointer-events: none; }
.auth-lanes { display: none; }
.auth-main { display: flex; flex-direction: column; padding: 24px clamp(16px, 4vw, 56px); }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; color: var(--muted); }
.auth-top a { font-weight: 500; }
.auth-card, .signup-card { width: min(420px, 100%); margin: auto; padding: 40px 0; }
.signup-card { width: min(760px, 100%); }
.auth-card h1, .signup-card h1 { font-size: clamp(32px, 3.2vw, 44px); letter-spacing: -.045em; }
.auth-card .sub { color: var(--muted); margin: 12px 0 28px; }
.auth-card form { display: grid; gap: 16px; }
.auth-card .btn-block { margin-top: 6px; height: 52px; }
.auth-alt { display: grid; gap: 8px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.auth-foot { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; font-size: 13px; color: var(--faint); }
.auth-foot a { color: var(--muted); }
.ws-chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--mist); margin-bottom: 22px; }
.ws-chip > span:nth-child(2) { flex: 1; }
.ws-chip b { display: block; font-weight: 600; }
.ws-chip small { display: block; color: var(--muted); font-size: 13px; }
.ws-chip a { font-size: 14px; font-weight: 500; }
.ws-av { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; flex: none; }
.ws-list { display: grid; gap: 10px; margin-top: 20px; }
.ws-pick { width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; margin: 0; transition: border-color .2s, background .2s; }
.ws-pick:hover { border-color: var(--ink); background: #fff; }
.status-steps { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.status-steps li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--mist); color: var(--muted); }
.status-steps li.ok { color: var(--ink); }
.status-steps li.ok .ico { color: var(--ok); }
.status-steps li.now { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-7, .b-5, .b-4, .b-6, .b-8 { grid-column: span 1; } .b-12 { grid-column: span 2; }
  .f-grid { grid-template-columns: repeat(3, 1fr); } .f-brand { grid-column: 1 / -1; }
  .builder { grid-template-columns: 1fr; } .b-sum { position: static; }
}
@media (max-width: 960px) {
  .m-bar { grid-template-columns: auto 1fr auto; height: 60px; }
  .m-nav { position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); display: none; }
  .m-header.open .m-nav { display: flex; animation: fade .5s var(--ease); }
  .m-nav > a, .m-drop > button { height: 52px; width: 100%; justify-content: space-between; font-size: 20px; font-weight: 500; color: var(--ink); padding: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .m-nav > a:hover, .m-drop > button:hover { background: none; }
  .m-menu { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 4px 0; display: none; opacity: 1; visibility: visible; background: none; backdrop-filter: none; }
  .m-drop[data-open] .m-menu { display: block; transform: none; }
  .m-burger { display: grid; } .m-signin { display: none; }
  .m-pane, .t-panel, .dark-panel, .faq, .split, .trio { grid-template-columns: 1fr; }
  .faq > div:first-child, .side-card { position: static; }
  .steps { grid-template-columns: 1fr; } .steps li { min-height: 0; } .steps h3 { margin-top: 26px; }
  .sx { padding: 100px 0; } .statement { padding: 110px 0 80px; }
  .sx-row { flex-direction: column; align-items: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .auth, .signup-grid { grid-template-columns: 1fr; }
  .auth-side { position: relative; top: 0; height: auto; padding: 96px 28px 120px; }
  .auth-side h2 { font-size: 34px; } .side-list { display: none; }
  .db-row { transform: none; }
  .moments .tabhead { padding: 22px 24px 0; } .m-panel { padding: 24px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  body { font-size: 16px; }
  .m-actions .btn { padding: 0 14px; }
  .h-hero { padding-top: 130px; }
  .h-stage { margin-top: 56px; } .h-phone { display: none; } .h-hero .lanes-art { display: none; }
  .h-frame { padding: 6px; } .h-frame img { border-radius: 14px; }
  .bento { grid-template-columns: 1fr; } .b-12 { grid-column: span 1; } .b { min-height: 400px; padding: 28px 26px 0; }
  .rcard { height: 540px; }
  .form { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .t-level { grid-template-columns: 110px 1fr 56px; gap: 10px; font-size: 14px; }
  .m-vis { min-height: 0; }
  .moments .tabhead::after { display: none; } .moments .tabhead { border-radius: var(--r-card) var(--r-card) 0 0; } .m-panel { border-radius: 0 0 var(--r-card) var(--r-card); }
  .faq-list summary { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .h-frame, .h-phone { transform: none; }
  .h-hero h1 .ln > span { transform: none; }
  .statement p .w { color: var(--ink); }
  .lanes-art path { stroke-dashoffset: 0; }
}
@media (max-width: 640px) {
  .t-level small { white-space: nowrap; font-size: 12.5px; }
  .db-row { padding: 14px 16px; font-size: 15px; }
  .db-row em { font-size: 0; gap: 0; }
  .db-row em .ico { width: 16px; height: 16px; }
  .statement { padding: 90px 0 60px; }
}

/* =====================================================================
 * Glass: twisted blue-violet glass ribbons with frosted panels on top.
 * ===================================================================== */
.glass { background: rgba(255,255,255,.52); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,.75); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.25), 0 24px 50px -24px rgba(36,56,170,.35); }
.glass-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.glass-art .drift { transform-box: view-box; transform-origin: 50% 50%; animation: ribbon 16s ease-in-out infinite alternate; }
@keyframes ribbon { 0% { transform: translate3d(-10px, 6px, 0) rotate(-1.5deg); } 100% { transform: translate3d(14px, -8px, 0) rotate(1.5deg) scale(1.03); } }

/* moments: ribbon stage with a frosted panel and a label chip */
.m-vis { background: #fff; padding: 0; isolation: isolate; align-items: center; }
.m-glass { position: relative; z-index: 1; width: min(400px, 82%); padding: 20px 22px; border-radius: 22px; }
.m-glass .ui-note { background: rgba(255,255,255,.6); }
.m-glass .ui-note .ico { background: rgba(255,255,255,.9); }
.m-glass .ui-r, .m-glass .ui-h, .m-glass .ui-kv { border-color: rgba(29,29,31,.08); }
.m-glass .ui-bars i { background: rgba(255,255,255,.75); }
.m-glass .ui-bars i.a { background: var(--ink); }
.glass-chip { position: absolute; z-index: 2; top: 22px; left: 22px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--ink); }
.glass-chip .ico { width: 16px; height: 16px; }

/* hero: a ribbon glows behind the product, seen through a frosted frame */
.h-stage { isolation: isolate; }
.h-glow { position: absolute; z-index: -1; left: -6%; right: -6%; top: -12%; bottom: -10%; opacity: .95; }
.h-glow .glass-art { inset: 0; }
.h-frame { background: rgba(255,255,255,.42); -webkit-backdrop-filter: blur(26px) saturate(160%); backdrop-filter: blur(26px) saturate(160%);
  border: 1px solid rgba(255,255,255,.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 50px 100px -50px rgba(36,56,170,.45); }

/* bento and rail cards with a ribbon behind frosted content */
.b-glassy > :not(.glass-art):not(.b-more):not(.plus) { position: relative; z-index: 1; }
.b-glassy .glass-art { opacity: .9; }
.b-dark.b-glassy .glass-art { opacity: .75; }
.b-dark .ask .q { background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.18); }
.b-dark .ask .a { background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.b-glassy .vaults div { background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border: 1px solid rgba(255,255,255,.75); box-shadow: inset 0 1px 0 #fff; }
.rcard.glassy > :not(.glass-art):not(.b-more):not(.plus) { position: relative; z-index: 1; }
.rcard.glassy .r-art .ui { background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); border: 1px solid rgba(255,255,255,.7); border-bottom: 0; }
.rcard.dark.glassy .r-art .ui { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.rcard.dark.glassy .ui-h, .rcard.dark.glassy .ui-r { border-color: rgba(255,255,255,.14); }
.rcard.dark.glassy .ui-r small { color: var(--on-dark-2); }

/* dark panels: ribbon glow under dark glass rows */
.dark-panel { isolation: isolate; }
.dark-panel > :not(.glass-art) { position: relative; z-index: 1; }
.dark-panel .glass-art { opacity: .7; }
.db-row { background: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); border-color: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.db-works span { background: rgba(255,255,255,.05); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.closing-card { isolation: isolate; }
.closing-card .glass-art { opacity: .75; }
.closing-card > :not(.glass-art) { position: relative; z-index: 1; }
.closing-card .btn-glass { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.closing-card { padding-bottom: clamp(70px, 10vw, 130px); }

/* plan cards and pricing summary: dark glass sheen */
.plan.hl, .b-sum { background: radial-gradient(120% 80% at 100% 0%, rgba(94,123,255,.35), transparent 55%), radial-gradient(90% 70% at 0% 100%, rgba(123,97,255,.25), transparent 60%), #000; }

@media (max-width: 640px) {
  .m-glass { width: 88%; margin: 70px auto 22px; }
  .m-vis { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) { .glass-art .drift { animation: none; } }
/* glass refinements: let the ribbon show through, keep text legible over it */
.glass { background: rgba(255,255,255,.4); }
.m-glass { width: min(360px, 70%); background: rgba(255,255,255,.36); }
.m-glass .ui-note { background: rgba(255,255,255,.45); }
.h-glow { -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 55%, transparent 100%); }
.dark-panel::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 38%, rgba(0,0,0,0) 62%); }
.closing-card::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 42% 46% at 50% 50%, rgba(0,0,0,.82), rgba(0,0,0,0) 100%); }
@media (max-width: 960px) { .dark-panel::before { background: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.2) 100%); } }
.dark-panel .glass-art, .closing-card .glass-art { z-index: -1; }
@media (max-width: 640px) { .m-glass { width: 90%; margin: 68px auto 20px; } }

/* =====================================================================
 * Smooth scrolling: glass stays still and is painted once. Frosted blur
 * (backdrop-filter) only on small fixed things; larger panels use plain
 * translucency so nothing is re-blurred on every scroll frame.
 * ===================================================================== */
.glass-art { transform: translateZ(0); backface-visibility: hidden; }
.glass-art .drift { animation: none; }
.h-frame { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,.62); }
.h-glow { transform: translateZ(0); }
.db-row, .db-works span, .b-glassy .vaults div, .rcard.glassy .r-art .ui, .b-dark .ask .q, .b-dark .ask .a, .closing-card .btn-glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
.db-row { background: rgba(22,24,34,.72); }
.b-glassy .vaults div { background: rgba(255,255,255,.78); }
.rcard.glassy .r-art .ui { background: rgba(255,255,255,.8); }
.rcard.dark.glassy .r-art .ui { background: rgba(28,30,40,.78); }
.b-dark .ask .q { background: rgba(44,44,52,.86); }
.b-dark .ask .a { background: rgba(255,255,255,.94); }
.m-glass { background: rgba(255,255,255,.5); }
.b, .rcard, .m-vis, .dark-panel, .closing-card { contain: paint; }

/* ---------- roles: the row of cards moves sideways as you scroll down ---------- */
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .roles-pin.pinned { padding: 0; height: var(--pin-h, 260vh); }
  .roles-pin.pinned .pin-inner { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .roles-pin.pinned .sx-row { margin-bottom: 32px; }
  .roles-pin.pinned .rail { overflow: visible; scroll-snap-type: none; will-change: transform; grid-auto-columns: 380px; transform: translate3d(calc(var(--x, 0) * -1px), 0, 0); }
  .roles-pin.pinned .rcard { height: min(600px, 62vh); }
}

/* ---------- extra-large screens ---------- */
@media (min-width: 1600px) {
  :root { --wrap: 1400px; }
  body { font-size: 18px; }
  .h-hero h1 { font-size: 116px; }
  .sx { padding: 170px 0; }
  .b { min-height: 520px; }
  .rail { grid-auto-columns: 420px; }
  .rcard { height: 660px; }
  .m-pane { min-height: 480px; }
  .m-vis { min-height: 440px; }
}
@media (min-width: 1920px) {
  :root { --wrap: 1600px; }
  body { font-size: 19px; }
  .h-hero h1 { font-size: 132px; }
  .sx-head h2, .h2, .sx-row h2 { font-size: 76px; }
  .statement p { font-size: 64px; }
  .b { min-height: 580px; padding: 42px 42px 0; }
  .b h3 { font-size: 36px; }
  .rail { grid-auto-columns: 460px; }
  .rcard { height: 720px; padding: 38px 36px 0; }
  .rcard h3 { font-size: 27px; }
  .m-panel { padding: 44px; }
  .m-stat { font-size: 140px; }
  .page-hero h1 { font-size: 92px; }
}
@media (min-width: 2400px) {
  :root { --wrap: 1960px; }
  body { font-size: 21px; }
  .h-hero h1 { font-size: 160px; }
  .sx-head h2, .h2, .sx-row h2 { font-size: 92px; }
  .statement p { font-size: 78px; }
  .m-head, .m-bar { height: 84px; }
  .m-logo svg { height: 36px; }
  .m-nav > a, .m-drop > button { font-size: 17px; }
  .b { min-height: 700px; }
  .rail { grid-auto-columns: 560px; }
  .rcard { height: 860px; }
  .rcard h3 { font-size: 32px; }
}
@media (min-width: 1600px) and (prefers-reduced-motion: no-preference) { .roles-pin.pinned .rail { grid-auto-columns: 420px; } }
@media (min-width: 1920px) and (prefers-reduced-motion: no-preference) { .roles-pin.pinned .rail { grid-auto-columns: 460px; } .roles-pin.pinned .rcard { height: min(720px, 64vh); } }
@media (min-width: 2400px) and (prefers-reduced-motion: no-preference) { .roles-pin.pinned .rail { grid-auto-columns: 560px; } .roles-pin.pinned .rcard { height: min(860px, 66vh); } }
img.glass-art { object-fit: cover; max-width: none; }
/* hero: the glass ribbon sweeps behind the headline; a soft white veil keeps the words crisp */
.h-ribbon { position: absolute; left: -8%; right: -8%; top: 30px; height: 860px; pointer-events: none; z-index: 0; }
.h-ribbon .glass-art { opacity: 0; animation: ribbon-in 1.8s .1s var(--ease) forwards; }
.h-ribbon::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 36% 34% at 50% 40%, rgba(255,255,255,.9), rgba(255,255,255,.55) 55%, rgba(255,255,255,0) 100%); }
@keyframes ribbon-in { from { opacity: 0; transform: translate3d(0, 24px, 0) scale(1.03); } to { opacity: .95; transform: translateZ(0); } }
.h-hero .wrap { z-index: 1; }
.h-hero .h-stage { z-index: 1; }
.pin-inner { padding-top: 70px; }
@media (max-width: 640px) { .h-ribbon { top: 260px; height: 520px; left: -60%; right: -60%; } }
@media (prefers-reduced-motion: reduce) { .h-ribbon .glass-art { opacity: .95; } }
.h-ribbon { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 98%); mask-image: linear-gradient(180deg, #000 62%, transparent 98%); }
.h-ribbon::after { background: radial-gradient(ellipse 42% 44% at 50% 48%, rgba(255,255,255,.94), rgba(255,255,255,.7) 50%, rgba(255,255,255,0) 100%); }
@media (max-width: 640px) { .h-ribbon::after { background: radial-gradient(ellipse 70% 40% at 50% 30%, rgba(255,255,255,.9), rgba(255,255,255,0) 100%); } }

/* =====================================================================
 * Inner pages: richer blocks
 * ===================================================================== */
.ph { position: relative; overflow: hidden; padding-bottom: 90px; }
.ph .wrap { position: relative; z-index: 1; }
.ph-ribbon { position: absolute; top: 0; right: -18%; width: 78%; height: 100%; min-height: 560px; pointer-events: none; opacity: .95;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.ph-ribbon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 60%); }
.ph h1, .ph .lede { position: relative; }
.ph-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.ph-meta span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--pill); background: rgba(255,255,255,.7); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.ph-meta .ico { width: 16px; height: 16px; color: var(--accent); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fact { padding: 30px; border-radius: var(--r-card); background: var(--mist); }
.fact b { display: block; font-size: clamp(40px, 4.6vw, 60px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.fact span { display: block; margin-top: 14px; font-weight: 600; }
.fact small { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.45; }

.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-col { position: relative; overflow: hidden; isolation: isolate; padding: 38px; border-radius: var(--r-card); background: var(--mist); }
.ba-col h3 { font-size: 24px; letter-spacing: -.03em; }
.ba-col ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.ba-col li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ba-col li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 2px; border-radius: 2px; background: var(--faint); }
.ba-after { background: #000; color: var(--on-dark); }
.ba-after h3 { color: #fff; }
.ba-after li { color: var(--on-dark); }
.ba-after li::before { width: 13px; height: 7px; top: 6px; background: none; border: solid #8FB3FF; border-width: 0 0 2px 2px; border-radius: 0; transform: rotate(-45deg); }
.ba-after .glass-art { z-index: -1; opacity: .55; }
.ba-after::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.92) 30%, rgba(0,0,0,.4)); }

.explain { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.explain-copy { padding: 40px; border-radius: var(--r-card); background: var(--mist); }
.explain-copy h3 { font-size: 28px; letter-spacing: -.035em; }
.explain-copy p { margin-top: 14px; color: var(--muted); }
.explain-copy ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.explain-copy li { display: flex; gap: 12px; }
.explain-copy li .ico { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; stroke-width: 2.2; }
.explain-vis { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); min-height: 420px; display: grid; place-items: center; padding: 30px; }
.explain-vis .glass-art { z-index: -1; }
.explain-vis .glass { position: relative; width: min(420px, 92%); padding: 22px 24px; border-radius: 22px; background: rgba(255,255,255,.55); }
.gl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gl-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.65); font-size: 15px; }
.gl-list li .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); stroke-width: 2.2; }
.gl-title { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 12px; display: flex; justify-content: space-between; }

.incl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.incl div { padding: 28px; border-radius: 24px; background: var(--mist); }
.incl .ico { width: 42px; height: 42px; padding: 10px; border-radius: 13px; background: #fff; color: var(--ink); }
.incl b { display: block; margin-top: 18px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.incl p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.example { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-card); background: var(--mist); }
.example h3 { font-size: 22px; letter-spacing: -.025em; }
.example > p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.example ul { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 0; }
.example li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.example li span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.example .total { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1.5px solid var(--ink); }
.example .total b { font-size: 34px; letter-spacing: -.045em; font-weight: 600; }
.example .total small { color: var(--muted); }
.example.dark { background: #000; color: var(--on-dark); }
.example.dark h3, .example.dark .total b { color: #fff; }
.example.dark > p, .example.dark .total small { color: var(--on-dark-2); }
.example.dark li { border-color: rgba(255,255,255,.14); } .example.dark li span:last-child { color: var(--on-dark); }
.example.dark .total { border-color: #fff; }

.arch { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-panel); background: #000; color: var(--on-dark); padding: clamp(32px, 5vw, 64px); }
.arch .glass-art { z-index: -1; opacity: .5; }
.arch-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.arch-box { padding: 20px 22px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.arch-box b { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.arch-box b .ico { width: 18px; height: 18px; color: #8FB3FF; }
.arch-box small { display: block; margin-top: 6px; color: var(--on-dark-2); font-size: 14px; }
.arch-mid { display: flex; justify-content: center; padding: 18px 0; color: var(--on-dark-2); font-size: 14px; gap: 10px; align-items: center; }
.arch-mid i { width: 1px; height: 30px; background: rgba(255,255,255,.3); }
.arch-gate { margin: 0 auto; max-width: 560px; text-align: center; padding: 18px 22px; border-radius: 20px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.arch-gate small { display: block; color: var(--on-dark-2); font-size: 14px; margin-top: 4px; }
.arch-dbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 0; }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.principle { padding: 34px; border-radius: var(--r-card); background: var(--mist); }
.principle b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.principle p { margin-top: 10px; color: var(--muted); }

.mini-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 34px 38px; border-radius: var(--r-card); background: var(--mist); }
.mini-cta h3 { font-size: 26px; letter-spacing: -.035em; max-width: 26ch; }
.mini-cta p { color: var(--muted); margin-top: 6px; }

.price-tag { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
.price-tag b { font-size: 44px; font-weight: 600; letter-spacing: -.05em; }
.price-tag small { color: var(--muted); }

@media (max-width: 960px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .ba, .explain, .principles { grid-template-columns: 1fr; }
  .incl, .examples { grid-template-columns: 1fr 1fr; }
  .arch-top, .arch-dbs { grid-template-columns: 1fr 1fr; }
  .ph-ribbon { width: 120%; right: -40%; opacity: .5; }
}
@media (max-width: 640px) {
  .facts, .incl, .examples, .arch-top, .arch-dbs { grid-template-columns: 1fr; }
  .ba-col, .explain-copy, .principle, .example { padding: 28px; }
}
@media (min-width: 1920px) {
  .fact b { font-size: 72px; }
  .ba-col, .explain-copy { padding: 48px; }
}
.ph-meta a.chip-link { color: inherit; }
.ph-meta a.chip-link:hover span { background: #fff; color: var(--ink); }
.h-ribbon { top: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 62%, transparent 98%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 62%, transparent 98%); }
@media (min-width: 1600px) { .h-stage { max-width: 1320px; } .h-ribbon { height: 980px; } }
@media (min-width: 1920px) { .h-stage { max-width: 1500px; } .h-ribbon { height: 1100px; } }
@media (min-width: 2400px) { .h-stage { max-width: 1800px; } .h-ribbon { height: 1320px; } .m-actions .btn { height: 46px; font-size: 16px; padding: 0 22px; } .m-signin { font-size: 17px; } }
@media (max-width: 960px) { .example { grid-column: auto !important; } }

/* Solutions menu opens on hover on desktop (click still works for touch and keyboard) */
@media (hover: hover) and (min-width: 961px) {
  .m-drop:hover .m-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .m-drop:hover > button { color: var(--ink); background: rgba(0,0,0,.04); }
  .m-drop:hover > button .ico { transform: rotate(180deg); }
  .m-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
}

/* =====================================================================
 * Header, lifemed-style: a contained, frosted bar with a hairline border
 * and small corners, plain links, a squarish black button, and dropdowns
 * with an icon list and a preview card.
 * ===================================================================== */
.m-header, .m-header.scrolled, .m-header.open { top: 16px; background: none; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.m-bar { height: 68px; padding: 0 12px 0 18px; border-radius: 6px; border: 1px solid #EDEDF0; background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.m-header.scrolled .m-bar { background: rgba(255,255,255,.86); box-shadow: 0 10px 30px -18px rgba(0,0,0,.18); }
.m-nav { gap: 6px; }
.m-nav > a, .m-drop > button { height: 40px; padding: 0 14px; border-radius: 4px; font-size: 16px; font-weight: 400; color: #1A1A1A; background: none; }
.m-nav > a:hover, .m-drop > button:hover, .m-drop[data-open] > button { background: none; color: var(--muted); }
.m-nav > a[aria-current], .m-drop > button[aria-current] { color: #1A1A1A; font-weight: 500; }
.m-drop > button .ico { width: 15px; height: 15px; margin-left: 2px; }
.m-signin { font-size: 16px; color: #1A1A1A; }
.m-cta { height: 42px !important; padding: 0 22px !important; border-radius: 4px !important; font-size: 16px !important; font-weight: 400 !important; --bg: #1A1A1A; }

.m-menu { top: calc(100% + 16px); width: 640px; padding: 10px; border-radius: 6px; border: 1px solid #EDEDF0; background: #fff; backdrop-filter: none;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); display: grid; grid-template-columns: 1fr 230px; gap: 0; }
.m-menu::before { top: -18px; height: 18px; }
.m-menu-list { display: grid; align-content: start; gap: 2px; padding: 6px 14px 6px 6px; border-right: 1px solid #EDEDF0; }
.m-menu a { padding: 12px; border-radius: 4px; align-items: flex-start; }
.m-menu a b { font-weight: 400; font-size: 15px; color: #1A1A1A; }
.m-menu a span span { font-size: 14px; margin-top: 2px; }
.m-ico { width: 34px; height: 34px; border-radius: 4px; background: #fff; border: 1px solid #E6E6EA; }
.m-ico .ico { width: 17px; height: 17px; }
.m-menu a:hover { background: var(--mist); }
.m-menu-feature { display: flex !important; flex-direction: column; gap: 6px !important; padding: 14px 12px 14px 22px !important; }
.m-menu-feature:hover { background: none !important; }
.m-menu-art { position: relative; display: grid !important; place-items: center; height: 128px; border-radius: 4px; overflow: hidden; background: var(--mist); margin-bottom: 14px; isolation: isolate; }
.m-menu-art .glass-art { z-index: -1; }
.m-menu-art .glass { display: inline-flex !important; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 6px; font-size: 13px !important; color: var(--ink) !important; margin: 0 !important; }
.m-menu-art .glass .ico { width: 14px; height: 14px; }
.m-menu-feature b { font-size: 15px; }
.m-menu-feature > span:last-child { color: var(--muted); font-size: 14px; line-height: 1.45; }
.m-menu-feature:hover .m-menu-art .glass-art { transform: scale(1.04); transition: transform .8s var(--ease); }

@media (max-width: 960px) {
  .m-header, .m-header.scrolled, .m-header.open { top: 10px; }
  .m-bar { height: 60px; }
  .m-header .wrap { width: calc(100% - 20px); }
  .m-nav { top: 66px; left: 0; right: 0; border-radius: 6px; border: 1px solid #EDEDF0; padding: 8px 18px 18px; }
  .m-menu { display: none; grid-template-columns: 1fr; width: auto; border: 0; box-shadow: none; padding: 0; }
  .m-drop[data-open] .m-menu { display: grid; }
  .m-menu-list { border: 0; padding: 0; }
  .m-menu-feature { display: none !important; }
  .m-nav > a, .m-drop > button { font-size: 18px; border-radius: 0; }
}
@media (min-width: 2400px) { .m-bar { height: 80px; } .m-nav > a, .m-drop > button { font-size: 18px; } .m-cta { height: 48px !important; font-size: 17px !important; } }
.m-menu-art { width: 100%; }
.m-menu-feature { align-items: stretch !important; }
@media (max-width: 960px) { .m-nav { background: #fff !important; box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); max-height: calc(100vh - 90px); overflow-y: auto; } }
.m-logo img, .m-logo svg { height: 26px; } .f-brand img { height: 24px; } .auth-logo img { height: 26px; }

/* Application status steps (account page) */
.status-steps { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.status-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--mist); color: var(--muted); box-shadow: none; }
.status-steps li > div { display: grid; gap: 2px; min-width: 0; }
.status-steps li b { display: block; font-weight: 600; font-size: 16px; color: var(--ink-2); }
.status-steps li > div > span { display: block; font-size: 15px; color: var(--muted); line-height: 1.45; }
.status-steps .st { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--muted); font-size: 13.5px; font-weight: 600; border: 1px solid var(--line-2); }
.status-steps .st .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.status-steps li.done { background: var(--mist); }
.status-steps li.done .st { background: var(--ok); border-color: var(--ok); color: #fff; }
.status-steps li.done b { color: var(--ink); }
.status-steps li.now { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.status-steps li.now .st { background: var(--ink); border-color: var(--ink); color: #fff; }
.status-steps li.now b { color: var(--ink); }
