/* ==========================================================================
   ChatNox — site.css  (landing, auth, legal, sitemap)
   Clean white, Apple-inspired: system type, generous space, layered radii,
   one warm accent (brand yellow) used only in light touches.
   ========================================================================== */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); }
:root {
    --bg: #fff;
    --canvas: #f5f5f7;
    --ink: #1d1d1f;
    --ink2: #424245;
    --ink3: #6e6e73;
    --line: #d2d2d7;
    --line2: #e8e8ed;
    --yellow: #ffd60a;
    --yellow-soft: #fff6c7;
    --blue: #0071e3;
    --link: #0066cc;
    --red: #d70015;
    --green: #248a3d;
    /* radius scale: small controls, inner surfaces, cards, stages */
    --r-s: 12px;
    --r-m: 20px;
    --r-l: 28px;
    --r-xl: 40px;
    --pill: 980px;
    --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { max-width: 100%; }
a { color: inherit; }
.s-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
[hidden] { display: none !important; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(0,113,227,.55); outline-offset: 3px; border-radius: 8px; }

/* ---- nav ---- */
.s-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.s-nav__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; }
.s-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -.02em; justify-self: start; }
.s-brand b { font-weight: 600; color: var(--ink3); }
.s-brand__mark { width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; }
.s-brand__mark img { width: 44px; height: 44px; max-width: none; margin: -6px; display: block; }
.s-nav__links { display: flex; gap: 2px; height: 60px; align-items: stretch; }
.s-nav__links > a, .s-dd__btn { display: inline-flex; align-items: center; gap: 5px; color: var(--ink2); text-decoration: none; font: 400 14px var(--font); padding: 0 14px; border: 0; background: none; cursor: pointer; transition: color .2s; }
.s-nav__links > a:hover, .s-dd__btn:hover, .s-dd:hover .s-dd__btn, .s-dd.is-open .s-dd__btn { color: var(--ink); }
.s-nav__links > a, .s-dd__btn { position: relative; isolation: isolate; }
.s-nav__links > a::before, .s-dd__btn::before { content: ""; position: absolute; inset: 12px 2px; border-radius: var(--pill); background: var(--ink); opacity: 0; transform: scale(.88); transition: opacity .25s, transform .3s cubic-bezier(.2,.7,.2,1); z-index: -1; }
.s-nav__links > a.is-active::before, .s-dd__btn.is-active::before, .s-nav__links > a:hover::before, .s-dd:hover .s-dd__btn::before, .s-dd.is-open .s-dd__btn::before { opacity: 1; transform: none; }
.s-nav__links > a.is-active, .s-dd__btn.is-active { color: var(--ink); }
.s-dd__btn svg { transition: transform .25s; opacity: .55; }
.s-dd:hover .s-dd__btn svg, .s-dd.is-open .s-dd__btn svg { transform: rotate(180deg); }
.s-dd { display: flex; align-items: stretch; }
.s-dd--rel { position: relative; }
.s-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid rgba(0,0,0,.08); box-shadow: 0 40px 60px -30px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .22s, transform .22s, visibility .22s; }
.s-dd:hover > .s-panel, .s-dd.is-open > .s-panel { opacity: 1; visibility: visible; transform: none; }
.s-panel__in { display: grid; grid-template-columns: 1fr 300px; gap: 28px; padding-top: 28px; padding-bottom: 32px; }
.s-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; align-content: start; }
.s-mi { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--r-m); text-decoration: none; transition: background .18s; }
.s-mi:hover { background: var(--canvas); }
.s-mi__ico { width: 38px; height: 38px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 6px 14px -8px rgba(0,0,0,.25); display: grid; place-items: center; flex-shrink: 0; color: var(--ink); }
.s-mi b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.s-mi small { display: block; color: var(--ink3); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.s-panel__feat { border-radius: var(--r-l); padding: 24px; text-decoration: none; display: flex; flex-direction: column; justify-content: center; gap: 20px; background: radial-gradient(260px 200px at 0% 0%, #ffe7a0 0%, rgba(255,231,160,0) 70%), radial-gradient(260px 200px at 100% 100%, #d9d3ff 0%, rgba(217,211,255,0) 70%), #faf7f2; }
.s-panel__mark { width: 44px; height: 44px; display: block; }
.s-panel__mark img { width: 60px; height: 60px; max-width: none; margin: -8px 0 0 -11px; display: block; }
.s-panel__feat b { display: block; font-size: 22px; letter-spacing: -.03em; font-weight: 600; line-height: 1.2; text-wrap: balance; }
.s-panel__feat small { display: block; color: var(--ink3); font-size: 14px; line-height: 1.4; margin: 6px 0 18px; }
.s-panel__feat span { display: inline-block; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500; padding: 9px 18px; border-radius: var(--pill); transition: background .2s; }
.s-panel__feat:hover span { background: #000; }
.s-panel--mega { left: 50%; right: auto; width: min(960px, calc(100vw - 32px)); top: calc(100% - 4px); padding: 10px; border: 0; border-radius: var(--r-l); transform: translate(-50%, -6px); box-shadow: 0 40px 80px -24px rgba(0,0,0,.3), 0 0 0 1px rgba(0,0,0,.06); }
.s-dd:hover > .s-panel--mega, .s-dd.is-open > .s-panel--mega { transform: translate(-50%, 0); }
.s-mega { display: grid; grid-template-columns: 1fr 270px; gap: 10px; }
.s-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.s-mega__grid .s-mi { flex-direction: column; gap: 14px; padding: 18px; }
.s-panel--sm { border-radius: var(--r-m); left: 0; right: auto; width: 320px; top: calc(100% - 4px); border-radius: var(--r-m); padding: 8px; border: 0; box-shadow: 0 30px 60px -20px rgba(0,0,0,.3), 0 0 0 1px rgba(0,0,0,.06); }
.s-panel--sm > a:not(.s-mi) { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-size: 14px; color: var(--ink); }
.s-panel--sm > a:not(.s-mi):hover { background: var(--canvas); }
.s-panel--sm > a:not(.s-mi) small { display: block; color: var(--ink3); font-size: 12.5px; }
.s-burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--canvas); cursor: pointer; place-items: center; color: var(--ink); }
.s-mobile { display: none; }
.s-nav__cta { display: flex; align-items: center; gap: 18px; justify-self: end; }
.s-link { color: var(--ink2); text-decoration: none; font-weight: 500; font-size: 14px; }
.s-link:hover { color: var(--ink); }

/* ---- buttons ---- */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--pill); padding: 13px 26px; font: 500 16px/1.1 var(--font); letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; }
.s-btn:active { transform: scale(.98); }
.s-btn--sm { padding: 8px 16px; font-size: 14px; }
.s-btn--primary, .s-btn--yellow, .s-btn--dark { background: var(--ink); color: #fff; }
.s-btn--primary:hover, .s-btn--yellow:hover, .s-btn--dark:hover { background: #000; box-shadow: 0 8px 24px -8px rgba(0,0,0,.45); }
.s-btn--ghost { background: rgba(255,255,255,.7); color: var(--ink); border-color: var(--line); }
.s-btn--ghost:hover { background: #fff; border-color: var(--ink3); }
.s-btn--light { background: #fff; color: var(--ink); }
.s-btn--light:hover { box-shadow: 0 8px 24px -8px rgba(0,0,0,.3); }
.s-btn--block { width: 100%; }
.s-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---- hero ---- */
.s-hero { position: relative; overflow: hidden; background: radial-gradient(900px 380px at 50% -8%, #fff6cf 0%, rgba(255,246,207,0) 70%), #fff; }
.s-hero__top { text-align: center; padding: 88px 24px 56px; }
.s-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--canvas); color: var(--ink2); font-size: 13px; padding: 5px 14px 5px 5px; border-radius: var(--pill); margin-bottom: 28px; }
.s-pill i { background: var(--yellow); color: var(--ink); font-style: normal; font-weight: 600; font-size: 12px; padding: 3px 10px; border-radius: var(--pill); }
.s-hero h1 { font-size: clamp(40px, 7.2vw, 80px); line-height: 1.04; letter-spacing: -.045em; margin: 0 auto 22px; font-weight: 600; max-width: 13em; text-wrap: balance; }
.s-hero p.lead { font-size: clamp(17px, 2vw, 21px); line-height: 1.45; color: var(--ink3); max-width: 600px; margin: 0 auto 34px; text-wrap: pretty; }
.s-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.s-hero__cta .s-btn { padding: 15px 30px; font-size: 17px; }
.s-hero__note { margin-top: 22px; color: var(--ink3); font-size: 14px; display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; }
.s-hero__note span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); margin-right: 8px; vertical-align: 2px; }

/* product stage: soft colour field with a cropped chat window */
.s-stage { position: relative; height: 560px; border-radius: var(--r-xl); overflow: hidden; display: flex; justify-content: center; padding-top: 56px;
    background:
        radial-gradient(520px 360px at 12% 18%, #ffe7a0 0%, rgba(255,231,160,0) 70%),
        radial-gradient(520px 380px at 90% 12%, #ffd0c2 0%, rgba(255,208,194,0) 70%),
        radial-gradient(560px 420px at 78% 100%, #d9d3ff 0%, rgba(217,211,255,0) 70%),
        radial-gradient(520px 380px at 8% 100%, #cfe6ff 0%, rgba(207,230,255,0) 70%),
        #faf7f2; }
.s-win { width: 392px; max-width: calc(100% - 40px); align-self: flex-start; background: #fff; border-radius: var(--r-l); box-shadow: 0 50px 90px -30px rgba(40,30,0,.35), 0 0 0 1px rgba(0,0,0,.05); overflow: hidden; }
.s-win__top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line2); }
.s-win__av { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-weight: 600; }
.s-win__top b { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.s-win__top small { color: var(--ink3); font-size: 12.5px; }
.s-dot { width: 7px; height: 7px; border-radius: 50%; background: #30d158; display: inline-block; margin-right: 6px; vertical-align: 1px; }
.s-win__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; background: #fff; min-height: 330px; }
.s-msg { max-width: 82%; padding: 10px 15px; border-radius: 20px; font-size: 14.5px; line-height: 1.42; }
.s-msg small { display: block; font-size: 12px; color: var(--ink3); font-weight: 600; margin-bottom: 2px; }
.s-msg--me { background: var(--ink); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.s-msg--ai, .s-msg--them { background: var(--canvas); border-bottom-left-radius: 6px; align-self: flex-start; }
.s-win__in { display: flex; gap: 10px; padding: 12px 16px 16px; }
.s-win__in span { flex: 1; background: var(--canvas); border-radius: var(--pill); padding: 10px 16px; color: var(--ink3); font-size: 14.5px; }
.s-win__in i { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }

.s-glass { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: var(--r-m); background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 18px 40px -18px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.7) inset; font-size: 13.5px; line-height: 1.3; }
.s-glass b { display: block; font-weight: 600; font-size: 14px; }
.s-glass small { color: var(--ink3); font-size: 12.5px; }
.s-glass__ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); flex-shrink: 0; }
.s-glass__ico--y { background: var(--yellow); color: var(--ink); }
.s-glass--l1 { left: 5%; top: 120px; }
.s-glass--l2 { left: 9%; top: 250px; }
.s-glass--r1 { right: 5%; top: 150px; }
.s-glass--r2 { right: 9%; top: 280px; }

/* the one orchestrated moment: the conversation plays once on load */
.s-stage .s-msg, .s-stage .s-glass { animation: s-in .6s cubic-bezier(.2,.7,.2,1) both; }
.s-stage .s-msg:nth-child(1) { animation-delay: .5s; }
.s-stage .s-msg:nth-child(2) { animation-delay: 1.5s; }
.s-stage .s-msg:nth-child(3) { animation-delay: 2.7s; }
.s-stage .s-msg:nth-child(4) { animation-delay: 3.7s; }
.s-stage .s-glass--l1 { animation-delay: .9s; }
.s-stage .s-glass--l2 { animation-delay: 2s; }
.s-stage .s-glass--r1 { animation-delay: 4.1s; }
.s-stage .s-glass--r2 { animation-delay: 3.2s; }
@keyframes s-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .s-stage .s-msg, .s-stage .s-glass { animation: none; } html { scroll-behavior: auto; } }

.s-facts { display: grid; grid-template-columns: repeat(4, 1fr); padding: 64px 24px 72px; }
.s-facts div { text-align: center; padding: 0 12px; border-left: 1px solid var(--line2); }
.s-facts div:first-child { border-left: 0; }
.s-facts b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.s-facts span { color: var(--ink3); font-size: 15px; }

/* ---- sections ---- */
.s-sec { padding: 110px 0; }
.s-sec--gray { background: var(--canvas); }
.s-title { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.07; letter-spacing: -.04em; margin: 0 0 16px; font-weight: 600; text-wrap: balance; }
.s-sub { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.45; color: var(--ink3); max-width: 600px; margin: 0; text-wrap: pretty; }
.s-head { margin-bottom: 56px; }
.s-head--c { text-align: center; }
.s-head--c .s-sub, .s-head--c .s-title { margin-left: auto; margin-right: auto; }

/* features: bento */
.s-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.s-b2 { grid-column: span 2; } .s-b3 { grid-column: span 3; } .s-b4 { grid-column: span 4; }
.s-card { min-width: 0; background: var(--canvas); border-radius: var(--r-l); padding: 36px; display: flex; flex-direction: column; overflow: hidden; }
.s-sec--gray .s-card { background: #fff; }
.s-card__ico { width: 44px; height: 44px; border-radius: 13px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 6px 14px -8px rgba(0,0,0,.25); display: grid; place-items: center; margin-bottom: 22px; }
.s-card h3 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.025em; font-weight: 600; line-height: 1.2; }
.s-card p { margin: 0; color: var(--ink3); font-size: 16.5px; line-height: 1.5; max-width: 440px; }
.s-card--split { flex-direction: row; align-items: center; gap: 28px; }
.s-card--split > div:first-child { flex: 1 1 0; min-width: 0; }
.s-viz { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.s-viz .s-msg { max-width: 100%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05); font-size: 14px; animation: none; }
.s-viz .s-msg--me { background: var(--ink); align-self: flex-end; max-width: 85%; }
.s-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.s-chips span { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06); border-radius: var(--pill); padding: 5px 12px; font-size: 12.5px; color: var(--ink2); }
.s-viz--theme { align-items: center; justify-content: center; gap: 22px; background: #fff; border-radius: var(--r-m); padding: 26px 20px; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.s-launcher { width: 76px; height: 76px; border-radius: 26px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 18px 36px -14px rgba(0,0,0,.4), 0 0 0 1px rgba(0,0,0,.06); transition: background .35s, transform .35s cubic-bezier(.2,.7,.2,1); }
.s-launcher img { width: 64px; height: 64px; max-width: none; display: block; }
.s-viz--theme:hover .s-launcher { transform: translateY(-3px) scale(1.04); }
.s-swatches { display: flex; gap: 12px; align-items: center; }
.s-swatches button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); cursor: pointer; transition: transform .2s; }
.s-swatches button:hover { transform: scale(1.12); }
.s-swatches button.is-on { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
/* steps */
.s-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.s-step { min-width: 0; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-l); padding: 36px; }
.s-step::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 24px; }
.s-step h3 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.025em; font-weight: 600; line-height: 1.2; }
.s-step p { margin: 0; color: var(--ink3); font-size: 16.5px; }

/* pricing */
.s-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 16px; justify-content: center; }
.s-plan { background: var(--canvas); border-radius: var(--r-l); padding: 40px; display: flex; flex-direction: column; position: relative; }
.s-plan--hot { background: var(--ink); color: #fff; }
.s-plan__tag { position: absolute; top: 22px; right: 22px; background: var(--yellow); color: var(--ink); font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: var(--pill); }
.s-plan h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.s-plan__price { font-size: 56px; font-weight: 600; letter-spacing: -.045em; margin: 14px 0 2px; line-height: 1.05; }
.s-plan__price small { font-size: 16px; font-weight: 400; color: var(--ink3); letter-spacing: 0; }
.s-plan--hot .s-plan__price small { color: #a1a1a6; }
.s-plan ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 13px; flex: 1; border-top: 1px solid var(--line); padding-top: 28px; }
.s-plan--hot ul { border-top-color: #3a3a3c; }
.s-plan li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.4; }
.s-plan li::before { content: "✓"; color: var(--green); font-weight: 700; }
.s-plan--hot li::before { color: var(--yellow); }
.s-plan--hot .s-btn--dark { background: #fff; color: var(--ink); }
.s-plan--hot .s-btn--primary { background: #fff; color: var(--ink); }
.s-plan--hot .s-btn--primary:hover { background: #f5f5f7; }

/* faq */
.s-faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line2); }
.s-faq details { border-bottom: 1px solid var(--line2); }
.s-faq summary { cursor: pointer; padding: 24px 4px; font-weight: 600; font-size: 19px; letter-spacing: -.015em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary { transition: color .2s; }
.s-faq summary:hover { color: #000; }
.s-faq details { overflow: hidden; }
.s-faq summary::after { content: ""; width: 12px; height: 12px; flex-shrink: 0; background: linear-gradient(var(--ink3), var(--ink3)) center/100% 1.5px no-repeat, linear-gradient(var(--ink3), var(--ink3)) center/1.5px 100% no-repeat; transition: transform .25s; }
.s-faq details.is-open summary::after { transform: rotate(45deg); }
html:not(.js) .s-faq details[open] summary::after { transform: rotate(45deg); }
.s-faq p { margin: 0; padding: 0 40px 26px 4px; color: var(--ink3); font-size: 17px; line-height: 1.55; }
.s-faq a { color: var(--link); text-decoration: none; }
.s-faq a:hover { text-decoration: underline; }

/* closing call to action */
.s-cta { padding: 100px 0 110px; }
.s-cta__in { border-radius: var(--r-xl); text-align: center; padding: 84px 24px;
    background:
        radial-gradient(480px 320px at 10% 0%, #ffe7a0 0%, rgba(255,231,160,0) 70%),
        radial-gradient(480px 320px at 92% 100%, #d9d3ff 0%, rgba(217,211,255,0) 70%),
        radial-gradient(420px 300px at 90% 0%, #ffd0c2 0%, rgba(255,208,194,0) 70%),
        #faf7f2; }
.s-cta h2 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.04em; margin: 0 0 14px; font-weight: 600; line-height: 1.07; text-wrap: balance; }
.s-cta p { margin: 0 auto 32px; font-size: clamp(17px, 1.8vw, 21px); color: var(--ink3); max-width: 520px; }
.s-cta .s-btn { padding: 15px 30px; font-size: 17px; }

/* ---- footer ---- */
.s-foot { background: var(--canvas); color: var(--ink3); padding-top: 64px; font-size: 13px; }
.s-foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.s-foot h4 { color: var(--ink); margin: 0 0 12px; font-size: 13px; font-weight: 600; }
.s-foot a { display: block; color: var(--ink3); text-decoration: none; font-size: 13.5px; padding: 4px 0; }
.s-foot a:hover { color: var(--ink); text-decoration: underline; }
.s-foot .s-brand { color: var(--ink); display: inline-flex; padding: 0; font-size: 17px; }
.s-foot__brand p { max-width: 280px; font-size: 13.5px; margin: 14px 0 0; }
.s-foot__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 20px; padding-bottom: 28px; font-size: 12.5px; }
.s-foot__bar nav { display: flex; gap: 18px; flex-wrap: wrap; }
.s-foot__bar a { display: inline; font-size: 12.5px; padding: 0; }

.s-cookie { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); max-width: 760px; margin: 0 auto; z-index: 90; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); color: var(--ink2); border-radius: var(--r-m); padding: 16px 18px 16px 22px; display: flex; gap: 18px; align-items: center; justify-content: space-between; box-shadow: 0 24px 60px -16px rgba(0,0,0,.3), 0 0 0 1px rgba(0,0,0,.06); }
.s-cookie p { margin: 0; font-size: 13.5px; }
.s-cookie a { color: var(--link); }
.s-cookie div { display: flex; gap: 8px; flex-shrink: 0; }

/* ---- auth ---- */
.s-auth { min-height: calc(100vh - 60px); min-height: calc(100dvh - 60px); display: grid; grid-template-columns: 1fr 1fr; }
.s-auth__side { background:
        radial-gradient(480px 360px at 12% 8%, #ffe7a0 0%, rgba(255,231,160,0) 70%),
        radial-gradient(480px 360px at 92% 96%, #d9d3ff 0%, rgba(217,211,255,0) 70%),
        radial-gradient(420px 320px at 96% 8%, #ffd0c2 0%, rgba(255,208,194,0) 70%),
        #faf7f2;
    color: var(--ink); padding: 72px 56px; display: flex; flex-direction: column; justify-content: center; }
.s-auth__side h2 { font-size: 40px; letter-spacing: -.04em; line-height: 1.08; margin: 0 0 16px; font-weight: 600; }
.s-auth__side h2 mark { background: none; color: inherit; }
.s-auth__side p { color: var(--ink2); font-size: 18px; max-width: 440px; margin: 0 0 30px; }
.s-auth__side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.s-auth__side li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15.5px; }
.s-auth__side li::before { content: "✓"; background: var(--ink); color: var(--yellow); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.s-auth__main { display: grid; place-items: center; padding: 48px 24px; background: #fff; }
.s-auth__card { width: 100%; max-width: 400px; }
.s-auth__card h1 { margin: 0 0 8px; font-size: 32px; letter-spacing: -.035em; font-weight: 600; }
.s-auth__card > p.s-auth__lead { margin: 0 0 28px; color: var(--ink3); font-size: 17px; }
.s-field { margin-bottom: 16px; }
.s-field label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; color: var(--ink2); }
.s-field input { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-s); font: 16px var(--font); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.s-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.18); }
.s-field small { display: block; color: var(--ink3); font-size: 12.5px; margin-top: 6px; }
.s-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.s-pw { position: relative; }
.s-pw input { padding-right: 66px; }
.s-pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: var(--canvas); border-radius: 8px; padding: 6px 11px; font: 500 12.5px var(--font); cursor: pointer; color: var(--ink); }
.s-meter { height: 6px; background: var(--line2); border-radius: 999px; overflow: hidden; margin-top: 10px; }
.s-meter i { display: block; height: 100%; width: 0; background: var(--red); border-radius: 999px; transition: width .2s, background .2s; }
.s-meter__txt { font-size: 12.5px; margin-top: 6px; color: var(--ink3); display: flex; justify-content: space-between; }
.s-rules { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--ink3); }
.s-rules li::before { content: "○ "; }
.s-rules li.ok { color: var(--green); }
.s-rules li.ok::before { content: "● "; }
.s-site { display: flex; align-items: center; gap: 10px; background: var(--yellow-soft); border-radius: var(--r-s); padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.s-site[hidden] { display: none; }
.s-alert { border-radius: var(--r-s); padding: 12px 14px; font-size: 14px; margin-bottom: 18px; border: 1px solid; }
.s-alert--err { background: #fff1f0; border-color: #ffd0cc; color: #a8071a; }
.s-alert--ok { background: #effaf2; border-color: #c4ecd0; color: #1d6b32; }
.s-alert--dev { background: var(--ink); border-color: var(--ink); color: #f5f5f7; }
.s-alert--dev b { font-size: 20px; letter-spacing: 6px; color: var(--yellow); }
.s-switch { margin-top: 24px; text-align: center; font-size: 15px; color: var(--ink3); }
.s-switch a { color: var(--link); font-weight: 500; text-decoration: none; }
.s-switch a:hover { text-decoration: underline; }
.s-forgot { display: block; text-align: right; font-size: 13px; margin-top: -6px; margin-bottom: 18px; color: var(--ink3); }
.s-forgot a { color: var(--link); font-weight: 500; text-decoration: none; }
.s-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 18px; }
.s-otp input { text-align: center; font: 600 26px var(--font); padding: 14px 0; border: 1px solid var(--line); border-radius: var(--r-s); width: 100%; }
.s-otp input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.18); }
.s-resend { text-align: center; margin-top: 16px; font-size: 14px; color: var(--ink3); }
.s-resend button { border: 0; background: none; font: 500 14px var(--font); color: var(--link); cursor: pointer; padding: 0; }
.s-resend button[disabled] { color: var(--ink3); cursor: default; }

/* ---- legal + sitemap ---- */
.s-legal-hero { text-align: center; padding: 76px 0 0; background: radial-gradient(700px 300px at 50% -10%, #fff6cf 0%, rgba(255,246,207,0) 70%), #fff; }
.s-pill--plain { padding: 6px 16px; margin-bottom: 22px; color: var(--ink3); }
.s-legal-hero h1 { margin: 0 0 14px; font-size: clamp(38px, 6vw, 64px); letter-spacing: -.045em; font-weight: 600; line-height: 1.05; }
.s-legal-hero p { margin: 0 auto; color: var(--ink3); font-size: clamp(17px, 2vw, 21px); max-width: 560px; text-wrap: balance; }
.s-legal__sw { display: inline-flex; gap: 4px; padding: 4px; margin-top: 36px; background: var(--canvas); border-radius: var(--pill); }
.s-legal__sw a { text-decoration: none; padding: 9px 20px; border-radius: var(--pill); font-size: 14.5px; font-weight: 500; color: var(--ink2); transition: background .2s, color .2s; }
.s-legal__sw a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04); }
.s-legal__sw a:not(.on):hover { color: var(--ink); }
.s-legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; padding: 64px 24px 110px; }
.s-legal__toc { position: sticky; top: 84px; align-self: start; font-size: 14px; max-height: calc(100vh - 110px); overflow-y: auto; }
.s-legal__toc b { display: block; margin: 0 0 14px; padding-left: 20px; font-size: 13px; font-weight: 600; }
.s-legal__toc a { display: block; text-decoration: none; color: var(--ink3); padding: 7px 0 7px 16px; margin-left: 2px; border-left: 2px solid var(--line2); line-height: 1.4; transition: color .15s, border-color .15s; }
.s-legal__toc a:hover { color: var(--ink); }
.s-legal__toc a.on { color: var(--ink); font-weight: 500; border-left-color: var(--ink); }
.s-legal__body { max-width: 720px; }
.s-legal__sec { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line2); scroll-margin-top: 84px; }
.s-legal__sec h2 { font-size: 28px; letter-spacing: -.035em; font-weight: 600; margin: 0 0 14px; line-height: 1.2; }
.s-legal__body p, .s-legal__body li { color: var(--ink2); font-size: 17px; line-height: 1.65; }
.s-legal__body p { margin: 0 0 14px; }
.s-legal__body ul { padding-left: 0; list-style: none; margin: 0 0 14px; display: grid; gap: 10px; }
.s-legal__body li { position: relative; padding-left: 22px; }
.s-legal__body li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.s-legal__body b { color: var(--ink); font-weight: 600; }
.s-legal__body a { color: var(--link); text-decoration: none; }
.s-legal__body a:hover { text-decoration: underline; }
.s-legal__more h3 { font-size: 21px; letter-spacing: -.025em; font-weight: 600; margin: 0 0 16px; }
.s-legal__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.s-legal__body .s-legal__cards a { display: block; background: var(--canvas); border-radius: var(--r-m); padding: 20px 22px; color: var(--ink); transition: background .2s; }
.s-legal__body .s-legal__cards a:hover { background: var(--line2); text-decoration: none; }
.s-legal__cards b { display: block; font-size: 15.5px; }
.s-legal__cards small { color: var(--ink3); font-size: 13.5px; }
.s-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 56px 24px 100px; }
.s-map h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--ink3); }
.s-map a { display: block; padding: 11px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line2); }
.s-map a:hover { color: var(--link); }
.s-404 { text-align: center; padding: 140px 24px; }
.s-404 h1 { font-size: clamp(80px, 14vw, 140px); margin: 0; letter-spacing: -.06em; font-weight: 600; line-height: 1; }
.s-404 h1 span { color: var(--yellow); }

/* ---- responsive ---- */
@media (min-width: 1600px) { .s-wrap { max-width: 1240px; } }
@media (min-width: 2100px) { .s-wrap { max-width: 1360px; } html { font-size: 112.5%; } }

/* laptops and small desktops: tighter nav so everything fits */
@media (max-width: 1100px) {
    .s-nav__links > a, .s-dd__btn { padding: 0 10px; font-size: 13.5px; }
    .s-nav__cta { gap: 12px; }
}
@media (max-width: 1000px) {
    .s-mega { grid-template-columns: 1fr; }
    .s-panel__feat { display: none; }
    .s-glass--l1, .s-glass--r1 { display: none; }
    .s-glass--l2 { left: 3%; } .s-glass--r2 { right: 3%; }
    /* tablet bento: wide cards full row, small cards in pairs */
    .s-b4 { grid-column: span 6; }
    .s-b2, .s-b3 { grid-column: span 3; }
    .s-sec { padding: 92px 0; }
}

/* tablets (portrait) and phones: mobile navigation and single-column layouts */
@media (max-width: 860px) {
    .s-nav__links { display: none; }
    .s-nav__in { display: flex; justify-content: space-between; }
    .s-burger { display: grid; }

    .s-glass { display: none; }
    .s-stage { height: 500px; border-radius: var(--r-l); padding-top: 32px; }
    .s-hero__top { padding: 56px 20px 40px; }
    .s-facts { grid-template-columns: repeat(2, 1fr); row-gap: 32px; padding: 48px 20px; }
    .s-facts div:nth-child(3) { border-left: 0; }
    .s-sec { padding: 72px 0; }
    .s-head { margin-bottom: 40px; }
    .s-steps { grid-template-columns: minmax(0, 1fr); }
    .s-card, .s-step, .s-plan { padding: 28px; }
    .s-plans { grid-template-columns: minmax(0, 480px); }
    .s-cta { padding: 56px 0 72px; }
    .s-cta__in { border-radius: var(--r-l); padding: 56px 20px; }
    .s-foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .s-foot__brand { grid-column: 1 / -1; }
    .s-cookie { flex-direction: column; align-items: stretch; gap: 12px; }
    .s-cookie div { width: 100%; }
    .s-cookie div .s-btn { flex: 1; }

    .s-auth { grid-template-columns: minmax(0, 1fr); }
    .s-auth__side { display: none; }
    .s-auth__main { align-items: start; padding: 40px 20px 56px; background: radial-gradient(520px 260px at 50% 0%, #fff6cf 0%, rgba(255,246,207,0) 70%), #fff; }
    .s-auth__card { max-width: 440px; margin: 0 auto; }

    .s-legal-hero { padding: 52px 0 0; }
    .s-legal { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 0; padding-bottom: 72px; }
    .s-legal__toc { position: sticky; top: 59px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; max-height: none; margin: 0 calc(-1 * max(24px, env(safe-area-inset-left, 0px))); padding: 12px max(24px, env(safe-area-inset-left, 0px)); background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line2); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .s-legal__toc::-webkit-scrollbar { display: none; }
    .s-legal__toc b { display: none; }
    .s-legal__toc a { flex-shrink: 0; white-space: nowrap; padding: 8px 15px; margin: 0; border: 0; border-radius: var(--pill); background: var(--canvas); font-size: 13.5px; }
    .s-legal__toc a.on { background: var(--ink); color: #fff; }
    .s-legal__sec { scroll-margin-top: 130px; }
    .s-legal__sec h2 { font-size: 24px; }
    .s-legal__cards { grid-template-columns: 1fr; }
    .s-map { grid-template-columns: 1fr 1fr; padding-top: 40px; padding-bottom: 72px; }
}

/* large phones */
@media (max-width: 600px) {
    .s-hero__top { padding: 44px 20px 32px; }
    .s-pill { font-size: 12.5px; margin-bottom: 22px; max-width: 100%; }
    .s-hero__cta { flex-direction: column; align-items: stretch; max-width: 360px; margin: 0 auto; }
    .s-hero__cta .s-btn { width: 100%; }
    .s-hero__note { gap: 6px 18px; font-size: 13.5px; }
    .s-stage { height: 440px; border-radius: 24px; padding-top: 24px; }
    .s-win__body { min-height: 300px; padding: 16px; }
    .s-msg { font-size: 14px; max-width: 86%; }
    .s-facts b { font-size: 26px; }
    .s-facts span { font-size: 14px; }
    .s-bento { grid-template-columns: minmax(0, 1fr); }
    .s-b2, .s-b3, .s-b4 { grid-column: auto; }
    .s-card--split { flex-direction: column; align-items: stretch; }
    .s-card, .s-step, .s-plan { padding: 24px; border-radius: 24px; }
    .s-card h3, .s-step h3 { font-size: 21px; }
    .s-card p, .s-step p { font-size: 16px; }
    .s-plan__price { font-size: 48px; }
    .s-faq summary { font-size: 17px; padding: 20px 2px; }
    .s-faq p { padding-right: 8px; font-size: 16px; }
    .s-cta__in { padding: 48px 20px; border-radius: 24px; }
    .s-cta .s-btn { width: 100%; max-width: 360px; }
    .s-viz--theme { padding: 22px 16px; }
    .s-map { grid-template-columns: 1fr; }
    .s-legal__sw { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
    .s-legal__sw::-webkit-scrollbar { display: none; }
    .s-legal__sw a { padding: 9px 15px; font-size: 14px; white-space: nowrap; }
    .s-legal__body p, .s-legal__body li { font-size: 16px; }
    .s-legal__sec { padding-bottom: 32px; margin-bottom: 32px; }
}

/* phones */
@media (max-width: 480px) {
    .s-link { display: none; }
    .s-wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
    .s-row2 { grid-template-columns: 1fr; gap: 0; }
    .s-otp { gap: 6px; }
    .s-otp input { font-size: 22px; padding: 12px 0; }
    .s-auth__card h1 { font-size: 28px; }
    .s-foot__bar { flex-direction: column; align-items: flex-start; }
    .s-plan__tag { top: 18px; right: 18px; }
    .s-legal__toc { margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
    .s-legal__sw { display: flex; justify-content: flex-start; }
}
/* very small phones (320px) */
@media (max-width: 360px) {
    .s-brand { font-size: 17px; gap: 8px; }
    .s-nav__cta { gap: 8px; }
    .s-nav__cta .s-btn--sm { padding: 8px 13px; font-size: 13px; }
    .s-hero h1 { letter-spacing: -.04em; }
    .s-stage { height: 420px; }
    .s-foot__grid { grid-template-columns: 1fr; }
    .s-plan li { font-size: 15px; }
}
/* short landscape screens (phones turned sideways) */
@media (max-height: 520px) and (orientation: landscape) {
    .s-hero__top { padding-top: 32px; padding-bottom: 28px; }
    .s-sec { padding: 56px 0; }
    .s-auth__main { align-items: start; padding-top: 28px; }
}

/* touch devices: no sticky hover states, comfortable tap targets */
@media (hover: none) {
    .s-dd:not(.is-open):hover > .s-panel { opacity: 0; visibility: hidden; transform: translateY(-6px); }
    .s-dd:not(.is-open):hover > .s-panel--mega { transform: translate(-50%, -6px); }
    .s-dd:not(.is-open):hover .s-dd__btn:not(.is-active)::before, .s-nav__links > a:not(.is-active):hover::before { opacity: 0; transform: scale(.88); }
    .s-dd:not(.is-open):hover .s-dd__btn:not(.is-active), .s-nav__links > a:not(.is-active):hover { color: var(--ink2); }
    .s-dd:not(.is-open):hover .s-dd__btn svg { transform: none; }
    html.js .s-card.is-in:hover, html.js .s-plan.is-in:hover, html.js .s-step.is-in:hover { transform: none; }
    .s-card:hover, .s-step:hover { box-shadow: none; }
    .s-viz--theme:hover .s-launcher { transform: none; }
}
@media (pointer: coarse) {
    .s-btn--sm { min-height: 44px; padding-left: 18px; padding-right: 18px; }
    .s-burger { width: 44px; height: 44px; }
    .s-swatches { gap: 8px; }
    .s-swatches button { width: 34px; height: 34px; }
    .s-legal__sw a { padding: 11px 18px; }
    .s-foot a { padding: 8px 0; }
    .s-foot__bar a { padding: 8px 0; }
    .s-pw button { padding: 9px 13px; }
}
@keyframes s-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---- motion ---- */
section[id] { scroll-margin-top: 59px; }
.s-hero__top > * { animation: s-up .9s cubic-bezier(.2,.7,.2,1) both; }
.s-hero__top > :nth-child(2) { animation-delay: .08s; } .s-hero__top > :nth-child(3) { animation-delay: .16s; }
.s-hero__top > :nth-child(4) { animation-delay: .24s; } .s-hero__top > :nth-child(5) { animation-delay: .32s; }
.s-stage { animation: s-up 1s .3s cubic-bezier(.2,.7,.2,1) both; }
@keyframes s-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
html.js .s-rv { opacity: 0; transform: translateY(28px); }
html.js .s-rv.is-in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
html.js .s-card.is-in:hover, html.js .s-plan.is-in:hover, html.js .s-step.is-in:hover { transform: translateY(-4px); transition-delay: 0ms !important; transition-duration: .4s; }
.s-card, .s-plan, .s-step { transition: box-shadow .4s; }
.s-card:hover, .s-step:hover { box-shadow: 0 24px 40px -28px rgba(0,0,0,.25); }
@media (prefers-reduced-motion: reduce) {
    .s-hero__top > *, .s-stage { animation: none; }
    html.js .s-rv { opacity: 1; transform: none; }
}

/* nav pill: near-black with white text */
.s-nav__links > a.is-active, .s-dd__btn.is-active, .s-nav__links > a:hover, .s-dd:hover .s-dd__btn, .s-dd.is-open .s-dd__btn { color: #fff; }
.s-dd__btn.is-active svg, .s-dd:hover .s-dd__btn svg, .s-dd.is-open .s-dd__btn svg { opacity: .8; }

/* ---- mobile menu: full-screen sheet ---- */
.s-burger__ico { position: relative; display: block; width: 18px; height: 12px; }
.s-burger__ico::before, .s-burger__ico::after { content: ""; position: absolute; left: 0; right: 0; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.2,.7,.2,1), top .35s cubic-bezier(.2,.7,.2,1); }
.s-burger__ico::before { top: 1px; } .s-burger__ico::after { top: 9px; }
.s-burger.is-open .s-burger__ico::before { top: 5px; transform: rotate(45deg); }
.s-burger.is-open .s-burger__ico::after { top: 5px; transform: rotate(-45deg); }
@media (max-width: 860px) {
    html.menu-open { overflow: hidden; }
    .s-mobile.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 60px); height: calc(100dvh - 60px); background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 6px max(24px, env(safe-area-inset-right, 0px)) 0 max(24px, env(safe-area-inset-left, 0px)); animation: s-fade .25s ease both; }
    .s-mobile__nav { display: flex; flex-direction: column; }
    .s-m-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line2); background: none; color: var(--ink); font: 500 16.5px/1.25 var(--font); letter-spacing: -.01em; text-align: left; text-decoration: none; cursor: pointer; transition: opacity .15s; -webkit-tap-highlight-color: transparent; }
    .s-m-row:active { opacity: .55; }
    .s-m-txt { flex: 1; }
    .s-m-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--canvas); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, color .3s; }
    .s-m-row.is-active .s-m-ico { background: var(--ink); color: var(--yellow); }
    .s-m-row.is-active .s-m-txt::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1px rgba(0,0,0,.15); vertical-align: 1px; }
    .s-m-arrow { color: var(--ink3); flex-shrink: 0; }
    .s-m-chev { transition: transform .3s cubic-bezier(.2,.7,.2,1); color: var(--ink3); flex-shrink: 0; }
    .s-m-grp.is-open > .s-m-row .s-m-chev { transform: rotate(180deg); }
    .s-m-acc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.2,.7,.2,1); }
    .s-m-grp.is-open > .s-m-acc { grid-template-rows: 1fr; }
    .s-m-acc__in { min-height: 0; overflow: hidden; }
    .s-m-item { display: flex; gap: 14px; align-items: center; padding: 12px 0 12px 4px; text-decoration: none; color: var(--ink); }
    .s-m-item__ico { width: 40px; height: 40px; border-radius: 12px; background: var(--canvas); display: grid; place-items: center; flex-shrink: 0; }
    .s-m-item b { display: block; font-size: 16px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
    .s-m-item small { display: block; color: var(--ink3); font-size: 13.5px; line-height: 1.35; }
    .s-m-grp.is-open > .s-m-acc .s-m-acc__in { padding: 8px 0 12px; }
    .s-m-link { display: block; padding: 10px 4px 10px 52px; font-size: 15.5px; font-weight: 400; letter-spacing: -.005em; color: var(--ink2); text-decoration: none; }
    .s-mobile__cta { display: grid; gap: 10px; margin-top: auto; position: sticky; bottom: 0; padding: 18px 0 max(20px, env(safe-area-inset-bottom, 0px)); background: linear-gradient(rgba(255,255,255,0), #fff 22%); }
    .s-mobile__cta .s-btn { padding: 16px 24px; font-size: 17px; }
    .s-mobile.is-open .s-mobile__nav > * { animation: s-rise .55s cubic-bezier(.2,.7,.2,1) both; }
    .s-mobile.is-open .s-mobile__nav > :nth-child(2) { animation-delay: .05s; } .s-mobile.is-open .s-mobile__nav > :nth-child(3) { animation-delay: .1s; }
    .s-mobile.is-open .s-mobile__nav > :nth-child(4) { animation-delay: .15s; } .s-mobile.is-open .s-mobile__nav > :nth-child(5) { animation-delay: .2s; }
    .s-mobile.is-open .s-mobile__cta { animation: s-rise .55s .25s cubic-bezier(.2,.7,.2,1) both; }
}
@media (max-width: 360px) { .s-m-row { font-size: 16px; gap: 12px; } .s-m-link { padding-left: 50px; } }
@keyframes s-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes s-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .s-mobile.is-open, .s-mobile.is-open * { animation: none !important; } .s-m-acc, .s-m-chev { transition: none; } }

/* ---- stats ---- */
.s-stats-wrap { padding-top: 56px; padding-bottom: 72px; }
.s-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--canvas); border-radius: var(--r-xl); padding: 44px 12px; }
.s-stat { text-align: center; padding: 0 14px; border-left: 1px solid var(--line); }
.s-stat:first-child { border-left: 0; }
.s-stat b { display: flex; align-items: baseline; justify-content: center; gap: 6px; font-size: clamp(40px, 5.2vw, 68px); font-weight: 700; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #1d1d1f 25%, #7a7a80 135%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.s-stat b em { font-style: normal; font-size: .38em; font-weight: 600; letter-spacing: -.02em; -webkit-text-fill-color: var(--ink3); color: var(--ink3); }
.s-stat > span { display: block; margin-top: 16px; color: var(--ink3); font-size: 15px; font-weight: 500; }
@media (max-width: 860px) {
    .s-stats-wrap { padding-top: 40px; padding-bottom: 56px; }
    .s-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; border-radius: var(--r-l); padding: 40px 8px; }
    .s-stat:nth-child(odd) { border-left: 0; }
}
@media (max-width: 600px) { .s-stat b { font-size: 42px; } .s-stat > span { font-size: 14px; } }

/* ---- steps visuals ---- */
.s-step p { max-width: 340px; }
.s-vis { margin-top: auto; padding-top: 28px; }
.s-vbox { background: var(--canvas); border-radius: var(--r-m); padding: 16px; display: grid; gap: 10px; min-height: 168px; align-content: center; }
.s-vfield { background: #fff; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--ink2); box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 0 0 4px rgba(0,113,227,.14); border: 0; }
.s-vdetect { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink3); padding: 0 2px; }
.s-vdetect i { width: 16px; height: 16px; border-radius: 50%; background: #30d158 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; flex-shrink: 0; }
.s-vbtn { background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; padding: 11px 16px; border-radius: var(--pill); }
.s-vbtn--sm { font-size: 12.5px; padding: 7px 14px; white-space: nowrap; }
.s-vmsg { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.s-vmsg b { display: block; font-size: 13.5px; font-weight: 600; }
.s-vmsg small { display: block; font-size: 13px; color: var(--ink3); }
.s-vav { width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.s-vrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.s-vchip { display: inline-flex; align-items: center; gap: 7px; background: #fff; border-radius: var(--pill); padding: 6px 12px; font-size: 12.5px; color: var(--ink2); box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.s-vchip i { width: 7px; height: 7px; border-radius: 50%; background: #30d158; }
.s-codebox { background: #1d1d1f; border-radius: var(--r-m); overflow: hidden; box-shadow: 0 24px 40px -24px rgba(0,0,0,.5); min-height: 168px; }
.s-codebox__bar { display: flex; align-items: center; gap: 12px; padding: 11px 12px 11px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.s-dots { display: inline-flex; gap: 6px; }
.s-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3c; }
.s-dots i:nth-child(1) { background: #ff5f57; } .s-dots i:nth-child(2) { background: #febc2e; } .s-dots i:nth-child(3) { background: #28c840; }
.s-codebox__file { flex: 1; font: 500 12px var(--font); color: #8e8e93; }
.s-copy { border: 0; border-radius: var(--pill); background: rgba(255,255,255,.12); color: #f5f5f7; font: 600 12px var(--font); padding: 6px 13px; cursor: pointer; transition: background .2s, color .2s; }
.s-copy:hover { background: rgba(255,255,255,.2); }
.s-copy.is-done { background: var(--yellow); color: var(--ink); }
.s-codebox pre { margin: 0; padding: 16px 16px 18px; font: 13px/1.75 var(--mono); color: #e5e5ea; white-space: pre-wrap; overflow-wrap: anywhere; }
.s-codebox code { font: inherit; }
.s-codebox b { font-weight: 400; }
.s-codebox .t { color: #8fc7ff; } .s-codebox .a { color: #ffd60a; } .s-codebox .v { color: #7ee2a8; }
@media (max-width: 860px) { .s-vis { padding-top: 24px; } .s-vbox, .s-codebox { min-height: 0; } }

/* ================= auth pages v2 ================= */
.s-nav--auth .s-nav__links, .s-nav--auth .s-burger, .s-nav--auth .s-mobile { display: none !important; }
.s-nav--auth .s-nav__in { display: flex; justify-content: space-between; }
.s-nav__hint { color: var(--ink3); font-size: 14px; }

.s-auth { min-height: calc(100vh - 60px); min-height: calc(100dvh - 60px); }
.s-auth__side { position: sticky; top: 60px; height: calc(100vh - 60px); height: calc(100dvh - 60px); padding: 0 56px; display: flex; align-items: center; overflow: hidden; }
.s-auth__sidein { width: 100%; max-width: 470px; margin: 0 auto; }
.s-auth__side h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -.04em; margin: 0 0 14px; text-wrap: balance; }
.s-auth__side p { font-size: 17px; line-height: 1.5; margin: 0 0 26px; }
.s-auth__side ul { gap: 12px; }
.s-demo { position: relative; margin-top: 40px; height: 190px; }
.s-demo__card { width: 330px; max-width: 100%; background: #fff; border-radius: var(--r-l); box-shadow: 0 40px 70px -30px rgba(40,30,0,.35), 0 0 0 1px rgba(0,0,0,.05); overflow: hidden; }
.s-demo__top { display: flex; align-items: center; gap: 11px; padding: 13px 16px; border-bottom: 1px solid var(--line2); }
.s-demo__av { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.s-demo__top b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.s-demo__top small { color: var(--ink3); font-size: 12px; }
.s-demo__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.s-demo__body .s-msg { font-size: 13.5px; padding: 9px 13px; animation: s-in .6s cubic-bezier(.2,.7,.2,1) both; }
.s-demo__body .s-msg:nth-child(1) { animation-delay: .6s; } .s-demo__body .s-msg:nth-child(2) { animation-delay: 1.6s; }
.s-demo__glass { right: 0; bottom: 6px; animation: s-in .6s 2.4s cubic-bezier(.2,.7,.2,1) both; }

.s-auth__main { padding: 22px 24px 28px; }
.s-auth__card { max-width: 420px; animation: s-up .7s cubic-bezier(.2,.7,.2,1) both; }
.s-stepper { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.s-stepper i { width: 28px; height: 5px; border-radius: 5px; background: var(--line2); }
.s-stepper i.on { background: var(--ink); }
.s-stepper span { margin-left: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink3); }
.s-auth__card h1 { font-size: 30px; margin-bottom: 6px; }
.s-auth__card > p.s-auth__lead { font-size: 15px; margin-bottom: 18px; line-height: 1.4; }
.s-field { margin-bottom: 11px; }
.s-field label { margin-bottom: 5px; font-size: 13px; }
.s-field input { padding: 10px 14px; font-size: 15.5px; }
.s-row2 { gap: 12px; }
.s-site { padding: 8px 12px; font-size: 13px; margin-bottom: 11px; border-radius: 10px; transition: background .2s; }
.s-site.is-bad { background: #fff1f0; color: #a8071a; }
.s-strength { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.s-strength .s-meter { flex: 1; margin: 0; height: 5px; }
.s-strength .s-meter i { transition: width .35s cubic-bezier(.2,.7,.2,1), background .25s; }
.s-strength .s-meter__txt { margin: 0; min-width: 96px; text-align: right; font-size: 12.5px; font-weight: 500; }
.s-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 14px; margin-top: 9px; font-size: 12.5px; }
.s-match { display: block; min-height: 18px; margin-top: 6px; font-size: 12.5px; font-weight: 500; }
.s-match.is-ok { color: var(--green); } .s-match.is-bad { color: var(--red); }
.s-btn--block { padding: 13px 24px; font-size: 16px; }
.s-perks { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; padding: 0; font-size: 12.5px; color: var(--ink3); }
.s-perks li::before { content: "\2713"; color: var(--green); font-weight: 700; margin-right: 6px; }
.s-fine { margin: 16px 0 0; text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--ink3); }
.s-fine a { color: var(--ink2); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.s-switch { margin-top: 18px; font-size: 14.5px; }
.s-alert { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; animation: s-in .35s cubic-bezier(.2,.7,.2,1) both; }
.s-alert--err::before, .s-alert--ok::before { content: "!"; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--red); }
.s-alert--ok::before { content: "\2713"; background: var(--green); }
.s-alert--dev { display: block; }
.s-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset; }
@media (max-width: 1100px) { .s-auth__side { padding: 0 36px; } .s-demo { display: none; } }
@media (max-width: 860px) {
    .s-auth__side { display: none; }
    .s-auth__main { padding: 28px 20px 48px; }
    .s-nav__hint { display: none; }
}
@media (max-width: 480px) { .s-rules { grid-template-columns: 1fr 1fr; } .s-auth__card h1 { font-size: 27px; } }
@media (max-height: 760px) and (min-width: 861px) { .s-demo { display: none; } .s-auth__side ul { gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .s-auth__card, .s-demo__body .s-msg, .s-demo__glass, .s-alert { animation: none; } }

/* ---- posts (/post, /post/{slug}) ---- */
.s-post-hero { text-align: center; padding: 56px 0 0; background: radial-gradient(700px 300px at 50% -10%, #fff6cf 0%, rgba(255,246,207,0) 70%), #fff; }
.s-post-hero h1 { margin: 0 auto 16px; max-width: 880px; font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -.04em; font-weight: 600; line-height: 1.08; text-wrap: balance; }
.s-post-lead { margin: 0 auto; max-width: 680px; color: var(--ink3); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; text-wrap: balance; }
.s-post-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 24px; color: var(--ink3); font-size: 14px; }
.s-crumbs { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; font-size: 13.5px; color: var(--ink3); }
.s-crumbs a { color: var(--ink3); text-decoration: none; } .s-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.s-post { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 56px; justify-content: center; padding: 52px 24px 40px; }
.s-post .s-legal__toc { top: 84px; }
.s-post__body h2 { margin: 48px 0 14px; font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -.03em; font-weight: 600; line-height: 1.15; scroll-margin-top: 90px; }
.s-post__body > h2:first-child { margin-top: 0; }
.s-post__body h3 { margin: 30px 0 10px; font-size: 20px; letter-spacing: -.02em; font-weight: 600; }
.s-post__body p, .s-post__body li { color: var(--ink2); font-size: 17.5px; line-height: 1.7; }
.s-post__body p { margin: 0 0 16px; }
.s-post__body ul, .s-post__body ol { margin: 0 0 18px; padding-left: 24px; display: grid; gap: 10px; }
.s-post__body ul { list-style: none; padding-left: 0; }
.s-post__body ul li { position: relative; padding-left: 22px; }
.s-post__body ul li::before { content: ""; position: absolute; left: 4px; top: .76em; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.s-post__body ol li::marker { color: var(--ink); font-weight: 600; }
.s-post__body a { color: var(--link); text-underline-offset: 3px; }
.s-post__body strong { color: var(--ink); font-weight: 600; }
.s-post__body code { font-family: var(--mono); font-size: .88em; background: var(--canvas); padding: 2px 6px; border-radius: 6px; color: var(--ink); }
.s-post__body pre { margin: 0 0 20px; padding: 18px 20px; background: #1d1d1f; border-radius: var(--r-s); overflow-x: auto; }
.s-post__body pre code { background: none; padding: 0; color: #f5f5f7; font-size: 13.5px; line-height: 1.7; white-space: pre; }
.s-post__note { margin: 22px 0 8px; padding: 18px 20px; background: var(--yellow-soft); border-radius: var(--r-m); color: var(--ink2); font-size: 16px; line-height: 1.6; }
.s-post__note b { color: var(--ink); }
.s-post__faq { display: grid; gap: 10px; }
.s-post__faq details { border: 1px solid var(--line2); border-radius: var(--r-s); background: #fff; }
.s-post__faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.s-post__faq summary::-webkit-details-marker { display: none; }
.s-post__faq summary::after { content: "+"; font-size: 22px; font-weight: 300; line-height: 1; color: var(--ink3); }
.s-post__faq details[open] summary::after { content: "\2212"; }
.s-post__faq details p { margin: 0; padding: 0 20px 18px; }
.s-post__cta { margin: 48px 0 8px; padding: 34px 30px; border-radius: var(--r-l); background: #1d1d1f; color: #fff; text-align: center; }
.s-post__cta h3 { margin: 0 0 10px; font-size: 26px; letter-spacing: -.03em; font-weight: 600; color: #fff; }
.s-post__cta p { margin: 0 auto 22px; max-width: 460px; color: rgba(255,255,255,.72); font-size: 16px; }
.s-post__cta .s-btn { background: var(--yellow); color: #1d1d1f; }
.s-post__more-h { font-size: 24px !important; }
.s-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; padding-top: 44px; padding-bottom: 72px; }
.s-posts--in { padding: 0; }
.s-postcard { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line2); border-radius: var(--r-m); background: #fff; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.s-postcard:hover { transform: translateY(-2px); border-color: var(--line); box-shadow: 0 18px 36px -24px rgba(0,0,0,.3); }
.s-postcard__cat { align-self: flex-start; padding: 3px 11px; border-radius: var(--pill); background: var(--yellow-soft); font-size: 12px; font-weight: 600; color: var(--ink2); }
.s-postcard b { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; font-weight: 600; }
.s-postcard p { margin: 0; color: var(--ink3); font-size: 15px; line-height: 1.55; }
.s-postcard small { margin-top: auto; padding-top: 6px; color: var(--ink3); font-size: 13px; }
.s-post-empty { color: var(--ink3); }
@media (max-width: 900px) { .s-post { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 32px; } .s-post .s-legal__toc { position: static; max-height: none; display: none; } }