/* ==================================================================
   Clurno — Website design (landing + help, legal, privacy, contact)
   Only black and white. Poppins. Calm, medium-weight headlines,
   small mono labels, large rounded black stages, light grey cards.
   Motion is scroll-driven and uses transform/opacity only (js/site.js).
   ================================================================== */

:root {
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --bg: #ffffff;
  --bg-2: #f4f4f4;
  --bg-3: #ebebeb;
  --ink: #000000;
  --ink-2: #5c5c5c;
  --ink-3: #8f8f8f;
  --line: #e6e6e6;
  --line-strong: #cfcfcf;
  --ease: cubic-bezier(.2, .7, 0, 1);
  --r: 10px; --r-lg: 16px; --r-xl: 24px;
  --pad: clamp(16px, 3.4vw, 40px);
  --inset: clamp(8px, 1vw, 12px);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.land-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.land-muted { color: var(--ink-2); }
.land-faint { color: var(--ink-3); }
.xs { font-size: 14px; }
.row { display: flex; align-items: center; gap: 12px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
@media (max-width: 760px) { .hide-sm { display: none !important; } }

/* ---------- Type ---------- */
.s-display, .land-display { margin: 0; font-weight: 500; font-size: clamp(40px, 5.6vw, 80px); line-height: 1.04; letter-spacing: -0.04em; }
.s-h1, .land-h1 { margin: 0; font-weight: 500; font-size: clamp(32px, 3.8vw, 54px); line-height: 1.08; letter-spacing: -0.035em; }
.s-h2 { margin: 0; font-weight: 500; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -0.025em; }
.s-label, .s-eyebrow, .land-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.s-lead { margin: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); }
.s-grey { color: var(--ink-3); }
.s-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.land-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--bg); color: var(--ink); font-weight: 500; font-size: 14.5px; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .4s var(--ease);
}
.land-btn:hover { border-color: var(--ink); }
.land-btn:active { transform: scale(.97); transition-duration: .1s; }
.land-btn-primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.land-btn-primary:hover { background: #2b2b2b; border-color: #2b2b2b; }
.land-btn-secondary { background: transparent; }
.land-btn-lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 10px; }
.land-btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; }
.land-btn-block { width: 100%; }
.land-btn-white { background: #fff; border-color: #fff; color: #000; }
.land-btn-white:hover { background: #e6e6e6; border-color: #e6e6e6; }
.land-btn-ghost-dark { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.land-btn-ghost-dark:hover { border-color: #fff; }
.arr { display: inline-block; transition: transform .4s var(--ease); }
.land-btn:hover .arr { transform: translateX(3px); }

/* ---------- Announcement + top bar ---------- */
.s-announce { display: flex; align-items: center; justify-content: center; gap: 10px; height: 38px; padding: 0 16px; background: #000; color: #fff; font-size: 13px; font-weight: 500; }
.s-announce b { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 5px; }
.s-announce:hover .arr { transform: translateX(3px); }
.land-topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.land-topbar.scrolled { border-bottom-color: var(--line); }
.land-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; max-width: none; }
.land-logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; white-space: nowrap; font-weight: 600; font-size: 21px; letter-spacing: -0.045em; }
.land-logo-mark { width: 24px; height: 24px; flex: 0 0 auto; }
.s-navl { display: flex; align-items: center; gap: 28px; margin-right: auto; margin-left: 40px; }
.land-nav { display: flex; align-items: center; gap: 10px; }
.land-nav-link, .s-navl a { font-size: 14.5px; font-weight: 500; color: var(--ink); transition: color .25s; }
.land-nav-link { margin: 0 8px; }
.land-nav-link:hover, .s-navl a:hover { color: var(--ink-3); }
.land-nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.land-lang { height: 34px; padding: 0 26px 0 10px; border: 0; border-radius: 8px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 9px center / 9px 6px; font-size: 14px; font-weight: 500; cursor: pointer; -webkit-appearance: none; appearance: none; }
.land-lang:hover { background-color: var(--bg-2); }
@media (max-width: 900px) { .s-navl { display: none; } }
@media (max-width: 760px) {
  .land-nav .land-lang, .land-nav .s-login { display: none; }
  .land-topbar-inner { height: 58px; }
  .land-topbar .land-btn .arr { display: none; }
}

/* ---------- Motion primitives ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.w { display: inline-block; max-width: 100%; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; max-width: 100%; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.js [data-split] .w > span { transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(min(var(--i, 0), 12) * 35ms + var(--d, 0s)); }
.js [data-split].in .w > span { transform: none; }

/* ---------- Black stages (rounded, inset from the window edge) ---------- */
.s-stage { position: relative; margin: 0 var(--inset); border-radius: var(--r-xl); background: #000; color: #fff; overflow: hidden; }
/* pointer light on the black stages (js/site.js sets --mx/--my) */
.s-stage::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .09), transparent 60%); transition: opacity .6s var(--ease); }
.s-stage.lit::after { opacity: 1; }
.s-stage > * { position: relative; z-index: 1; }
.s-hero > .s-hero-bg, .s-hero > .s-hero-fg { position: absolute; }
.s-hint, .s-hero-tags { position: absolute !important; z-index: 2; }
/* paragraphs fade in word by word */
.js [data-words] span { opacity: 0; transition: opacity .7s var(--ease); transition-delay: calc(min(var(--i, 0), 60) * 14ms + var(--d, 0s)); }
.js [data-words].in span, .js .in [data-words] span { opacity: 1; }
/* big wordmark: letters rise */
.js [data-chars] { overflow: hidden; padding-bottom: .04em; }
.js [data-chars] span { display: inline-block; transform: translateY(100%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-chars].in span { transform: none; }
.s-stage .s-label { color: rgba(255, 255, 255, .55); }
.s-stage .s-lead { color: rgba(255, 255, 255, .6); }
.s-shot-img { width: 100%; height: auto; filter: grayscale(1) contrast(1.05); }

/* hero: the headline sits on the stage, the product rises behind it while you scroll */
.s-hero-track { position: relative; height: 190vh; }
.s-hero { position: sticky; top: calc(64px + var(--inset)); height: calc(100vh - 64px - var(--inset) * 2); min-height: 520px; }
.s-hero-bg { position: absolute; inset: 0; display: grid; place-items: center; padding: 6vh 6vw 0; opacity: .22; transform: scale(.82) translateY(8%); will-change: transform, opacity; }
.s-hero-bg img { width: min(1100px, 100%); border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 120px -30px rgba(0, 0, 0, .9); }
.s-hero-fg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 24px; text-align: center; will-change: transform, opacity; }
.s-hero-fg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 50%, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0)); }
.s-hero-fg .s-display { max-width: 980px; }
.s-hero-fg .s-lead { max-width: 620px; margin-top: 24px; }
.s-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.s-hint { position: absolute; right: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.s-hint i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 6px; font-style: normal; font-size: 12px; }
.s-hero-tags { position: absolute; left: 24px; bottom: 22px; display: flex; gap: 8px; }
.s-chip-dark { padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
@media (max-width: 760px) { .s-hero-track { height: 150vh; } .s-hero-fg .s-display { font-size: clamp(30px, 9vw, 40px); } .s-hero-fg .s-lead { font-size: 15.5px; } .s-hero-tags { display: none; } .s-hint { right: 16px; bottom: 16px; } }

/* layers: three screens stacked in space, they fan out on scroll */
.s-layers-track { position: relative; height: 260vh; margin-top: calc(-1 * var(--inset)); }
.s-layers { position: sticky; top: calc(64px + var(--inset)); height: calc(100vh - 64px - var(--inset) * 2); min-height: 520px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 40px; padding: 0 clamp(24px, 5vw, 72px); }
.s-layers-copy { position: relative; min-height: 220px; }
.s-layer-text { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.s-layer-text.on { opacity: 1; transform: none; }
.s-layer-text h3 { margin: 0 0 14px; font-weight: 500; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -0.035em; }
.s-layer-text p { margin: 0; max-width: 440px; font-size: 17px; color: rgba(255, 255, 255, .6); }
.s-layer-nav { position: absolute; left: 0; bottom: -64px; display: flex; gap: 6px; }
.s-layer-nav i { width: 22px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .2); transition: background-color .4s; }
.s-layer-nav i.on { background: #fff; }
.s-stack { position: relative; height: 100%; perspective: 1600px; }
.s-card3d { position: absolute; left: 50%; top: 50%; width: min(620px, 92%); border-radius: 12px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28), 0 40px 90px -30px rgba(0, 0, 0, .9); transform-style: preserve-3d; will-change: transform, opacity; }
.s-card3d img { width: 100%; height: auto; filter: grayscale(1); }
.s-card3d span { position: absolute; left: 12px; top: 12px; padding: 4px 8px; border-radius: 5px; background: rgba(0, 0, 0, .75); font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
@media (max-width: 900px) {
  .s-layers-track { height: auto; margin-top: var(--inset); }
  .s-layers { position: relative; top: 0; height: auto; grid-template-columns: 1fr; padding: 64px 24px; }
  .s-layers-copy { min-height: 0; }
  .s-layer-text { position: relative; opacity: 1; transform: none; margin-bottom: 40px; }
  .s-layer-nav { display: none; }
  .s-stack { height: auto; perspective: none; display: grid; gap: 16px; }
  .s-card3d { position: relative; left: 0; top: 0; width: 100%; transform: none !important; opacity: 1 !important; }
}

/* statement: words light up from grey to white */
.s-statement-stage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: var(--inset); padding: clamp(40px, 6vw, 88px); }
.s-statement-img { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
.s-statement { margin: 0; font-weight: 500; font-size: clamp(26px, 3vw, 44px); line-height: 1.18; letter-spacing: -0.03em; }
.s-statement span { opacity: .28; }
@media (max-width: 900px) { .s-statement-stage { grid-template-columns: 1fr; } }

/* ---------- White sections ---------- */
.s-section { padding: clamp(96px, 11vw, 150px) 0 0; }
.s-head { max-width: 860px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.s-head .s-lead { margin: 18px auto 0; max-width: 620px; }
.s-head-left { text-align: left; margin-left: 0; }

/* how it works */
.s-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.s-stepcard { display: flex; flex-direction: column; min-height: 300px; padding: 28px; border-radius: var(--r-lg); background: var(--bg-2); transition: background-color .5s var(--ease), color .5s var(--ease); }
.s-stepcard .s-num { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-3); }
.s-stepcard h3 { margin: auto 0 10px; font-weight: 500; font-size: 24px; line-height: 1.2; letter-spacing: -0.03em; }
.s-stepcard p { margin: 0; font-size: 16px; color: var(--ink-2); transition: color .5s; }
.s-stepcard:hover { background: #000; color: #fff; }
.s-stepcard:hover p, .s-stepcard:hover .s-num { color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .s-steps { grid-template-columns: 1fr; } .s-stepcard { min-height: 220px; } }

/* product tabs */
.s-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; }
.s-tabs::-webkit-scrollbar { display: none; }
.s-tab { position: relative; flex: 0 0 auto; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; overflow: hidden; transition: color .3s, border-color .3s, background-color .3s; }
.s-tab:hover { border-color: var(--ink); color: var(--ink); }
.s-tab[aria-selected="true"] { background: #000; border-color: #000; color: #fff; }
.s-tab b { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.s-tab[aria-selected="true"] b { animation: s-tabbar 6s linear forwards; }
.s-tabs.paused .s-tab b { animation-play-state: paused; }
@keyframes s-tabbar { to { transform: scaleX(1); } }
.s-tabview { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 12px; }
.s-tabtext { display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; padding: 32px; border-radius: var(--r-lg); background: var(--bg-2); }
.s-tabtext h3 { margin: 0 0 12px; font-weight: 500; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -0.035em; }
.s-tabtext p { margin: 0; font-size: 17px; color: var(--ink-2); }
.s-tabshot { position: relative; border-radius: var(--r-lg); background: var(--bg-2); overflow: hidden; }
.s-tabshot img { position: absolute; left: 6%; top: 8%; width: 110%; max-width: none; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 30px 60px -24px rgba(0, 0, 0, .35); filter: grayscale(1); opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.s-tabshot img.on { opacity: 1; transform: none; }
.s-tabtext > * { transition: opacity .4s var(--ease); }
.s-tabtext.swap > * { opacity: 0; }
@media (max-width: 900px) { .s-tabview { grid-template-columns: 1fr; } .s-tabtext { min-height: 0; } .s-tabshot { aspect-ratio: 4 / 3; } }

/* numbers */
.s-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.s-stat { padding: 28px 20px 0 0; }
.s-stat-num { display: block; font-weight: 500; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.s-stat-label { display: block; margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); max-width: 220px; }
@media (max-width: 760px) { .s-stats { grid-template-columns: 1fr 1fr; row-gap: 28px; } }

/* modules: hairline grid */
.s-mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.s-mod { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease); }
.s-mod:hover { background: var(--bg-2); }
.s-mod-n { display: block; margin-bottom: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-3); }
.s-mod h3 { margin: 0 0 8px; font-weight: 500; font-size: 20px; letter-spacing: -0.02em; }
.s-mod p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 900px) { .s-mods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .s-mods { grid-template-columns: 1fr; } }

/* packs */
.s-packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.s-pack { display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); background: var(--bg-2); }
.s-pack h3 { margin: 0 0 8px; font-weight: 500; font-size: 21px; letter-spacing: -0.025em; }
.s-pack p { margin: 0 0 24px; font-size: 15px; color: var(--ink-2); }
.s-pack ul { margin: auto 0 0; padding: 0; list-style: none; }
.s-pack li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--bg-3); font-size: 14.5px; }
.s-pack li span { min-width: 48px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
@media (max-width: 1000px) { .s-packs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .s-packs { grid-template-columns: 1fr; } }

/* integrations */
.s-marquee { overflow: hidden; padding: 5px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.s-marquee-track { display: flex; gap: 10px; width: max-content; animation: s-marq 70s linear infinite; will-change: transform; }
.s-marquee-rev .s-marquee-track { animation-direction: reverse; animation-duration: 80s; }
.s-marquee:hover .s-marquee-track, .s-marquee.paused .s-marquee-track { animation-play-state: paused; }
.s-marquee-track span { display: inline-flex; align-items: center; height: 52px; padding: 0 22px; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; font-size: 16px; white-space: nowrap; }
@keyframes s-marq { to { transform: translateX(-50%); } }

/* pricing */
.s-seg { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--bg-2); }
.s-seg button { height: 36px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-2); font-weight: 500; font-size: 14px; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease); }
.s-seg button[aria-pressed="true"] { background: #000; color: #fff; }
.s-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 980px; margin: 32px auto 0; }
.s-plan { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); background: var(--bg-2); }
.s-plan-pop { background: #000; color: #fff; }
.s-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.s-plan-name { font-weight: 500; font-size: 22px; letter-spacing: -0.025em; }
.s-plan-tag { padding: 4px 9px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.s-plan-for { margin: 6px 0 28px; font-size: 15px; color: var(--ink-2); }
.s-plan-pop .s-plan-for, .s-plan-pop .s-plan-note, .s-plan-pop .s-plan-per { color: rgba(255, 255, 255, .6); }
.s-plan-price { display: flex; align-items: baseline; gap: 8px; }
.s-plan-num { font-weight: 500; font-size: clamp(44px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.05em; }
.s-plan-per { font-size: 15px; color: var(--ink-2); }
.s-plan-note { margin: 8px 0 26px; font-size: 13.5px; color: var(--ink-3); }
.s-plan-list { margin: 0 0 30px; padding: 0; list-style: none; }
.s-plan-list li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid var(--bg-3); font-size: 15px; }
.s-plan-pop .s-plan-list li { border-color: rgba(255, 255, 255, .14); }
.s-plan-list li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 10px; height: 5px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); }
.s-plan .land-btn { margin-top: auto; }
.s-fine { margin: 20px 0 0; text-align: center; font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) { .s-plans { grid-template-columns: 1fr; } .s-plan { padding: 26px 22px; } }

/* faq */
.s-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.s-qas { border-top: 1px solid var(--line); }
.s-qa { border-bottom: 1px solid var(--line); }
.s-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; list-style: none; cursor: pointer; font-weight: 500; font-size: 18px; letter-spacing: -0.015em; }
.s-qa summary::-webkit-details-marker { display: none; }
.s-qa summary i { position: relative; flex: 0 0 auto; width: 14px; height: 14px; }
.s-qa summary i::before, .s-qa summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.6px; background: var(--ink); transition: transform .5s var(--ease); }
.s-qa summary i::after { transform: rotate(90deg); }
.s-qa[open] summary i::after { transform: rotate(0); }
.s-qa-a { overflow: hidden; transition: height .45s var(--ease), opacity .45s var(--ease); }
.s-qa-a p { margin: 0; padding: 0 40px 22px 0; font-size: 16.5px; color: var(--ink-2); }
@media (max-width: 900px) { .s-faq { grid-template-columns: 1fr; } }

/* final */
.s-final { margin-top: clamp(96px, 11vw, 150px); padding: clamp(72px, 10vw, 140px) 24px; text-align: center; }
.s-final .s-display { max-width: 900px; margin: 0 auto; }
.s-final .s-hero-actions { margin-top: 36px; }

/* ---------- Footer ---------- */
.land-footer { margin-top: var(--inset); padding: 72px 0 28px; background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); }
.s-final + .land-footer, main + .land-footer { border-top: 0; }
.land-footer .land-muted { color: var(--ink-2); }
.land-footer .land-faint { color: var(--ink-3); }
.land-foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.land-foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 320px; }
.land-foot-brand p { margin: 0; font-size: 15px; }
.land-foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.land-foot-cols > div { display: flex; flex-direction: column; gap: 10px; }
.land-foot-h { margin-bottom: 6px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.land-foot-cols a { width: fit-content; max-width: 100%; overflow-wrap: anywhere; font-size: 15px; font-weight: 500; transition: color .25s; }
.land-foot-cols a:hover { color: var(--ink-3); }
.land-foot-status { display: inline-flex; align-items: center; gap: 8px; }
.s-live { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #000; box-shadow: 0 0 0 0 rgba(0, 0, 0, .35); animation: s-live 2s ease-out infinite; }
.s-live.bad, .s-live.off { animation: none; background: var(--ink-3); }
.s-announce .s-live, .s-stage .s-live { background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); }
@keyframes s-live { 70%, 100% { box-shadow: 0 0 0 7px rgba(0, 0, 0, 0); } }
.land-foot-word { margin: 72px 0 8px; font-weight: 600; font-size: clamp(72px, 17vw, 250px); line-height: .8; letter-spacing: -0.075em; color: #000; user-select: none; }
.land-foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .land-foot-top { grid-template-columns: 1fr; } .land-foot-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Content pages ---------- */
.page-hero { padding: 120px 0 64px; }
.page-hero .land-h1 { margin-top: 0; }
.page-hero p { max-width: 720px; margin: 28px 0 0; font-size: 20px; line-height: 1.55; }
.page-meta { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 80px; padding: 24px 0 160px; align-items: start; }
.doc-toc { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.doc-toc a { margin-left: -1px; padding: 7px 0 7px 18px; border-left: 2px solid transparent; font-size: 14.5px; font-weight: 500; color: var(--ink-3); transition: color .4s var(--ease), border-color .4s var(--ease); }
.doc-toc a:hover, .doc-toc a.on { color: var(--ink); border-left-color: var(--ink); }
.doc-body { max-width: 780px; font-size: 18px; line-height: 1.75; color: #2b2b2b; }
.doc-body section { scroll-margin-top: 112px; padding-bottom: 12px; }
.doc-body h2 { margin: 64px 0 16px; font-weight: 700; font-size: 32px; line-height: 1.15; letter-spacing: -0.04em; color: var(--ink); }
.doc-body section:first-child h2 { margin-top: 0; }
.doc-body h3 { margin: 32px 0 8px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.doc-body p { margin: 0 0 16px; }
.doc-body ul { margin: 0 0 18px; padding-left: 22px; }
.doc-body li { margin: 6px 0; }
.doc-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doc-body strong { color: var(--ink); font-weight: 600; }
.doc-card { margin: 0 0 28px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--bg-2); }
.doc-card dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 24px; margin: 0; }
.doc-card dt { font-size: 14px; font-weight: 600; color: var(--ink-3); padding-top: 2px; }
.doc-card dd { margin: 0; color: var(--ink); }
.doc-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15.5px; }
.doc-table th { padding: 12px 14px 12px 0; text-align: left; font-size: 14px; font-weight: 600; color: var(--ink-3); border-bottom: 1.5px solid var(--ink); }
.doc-table td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }

.help-search { position: relative; max-width: 680px; margin-top: 40px; }
.help-search input { width: 100%; height: 64px; padding: 0 22px 0 58px; border: 1.5px solid transparent; border-radius: 18px; background: var(--bg-2); font-size: 18px; outline: none; transition: border-color .3s var(--ease), background-color .3s; }
.help-search input:focus { border-color: var(--ink); background: var(--bg); }
.help-search svg { position: absolute; left: 22px; top: 22px; width: 20px; height: 20px; color: var(--ink-3); }
.help-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 96px; }
.help-cat { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--r-lg); background: var(--bg-2); transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease); }
.help-cat b { font-weight: 700; font-size: 20px; letter-spacing: -0.025em; }
.help-cat span { font-size: 15.5px; color: var(--ink-2); transition: color .5s; }
.help-cat i { display: none; }
.help-cat:hover { background: #000; color: #fff; transform: translateY(-4px); }
.help-cat:hover span { color: rgba(255, 255, 255, .6); }
.help-group { margin: 0 0 72px; scroll-margin-top: 112px; }
.help-group h2 { margin: 0 0 20px; font-weight: 700; font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.045em; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { position: relative; padding: 22px 48px 22px 0; list-style: none; cursor: pointer; font-weight: 600; font-size: 19px; letter-spacing: -0.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--ink); transition: transform .6s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0); }
.qa .a { overflow: hidden; max-width: 780px; padding: 0 0 22px; font-size: 17.5px; line-height: 1.7; color: var(--ink-2); transition: height .5s var(--ease), opacity .5s var(--ease); }
.qa .a p { margin: 0 0 10px; }
.help-empty { display: none; padding: 32px 0; color: var(--ink-3); }

.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; padding: 8px 0 160px; align-items: start; }
.c-form { display: flex; flex-direction: column; gap: 20px; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.c-field { display: flex; flex-direction: column; gap: 10px; }
.c-field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.c-field input, .c-field select, .c-field textarea { height: 56px; padding: 0 18px; border: 1.5px solid transparent; border-radius: var(--r); background: var(--bg-2); font-size: 17px; outline: none; transition: border-color .3s var(--ease), background-color .3s; color: var(--ink); -webkit-appearance: none; appearance: none; }
.c-field textarea { height: auto; min-height: 180px; padding: 16px 18px; resize: vertical; }
.c-field input:focus, .c-field select:focus, .c-field textarea:focus { border-color: var(--ink); background: var(--bg); }
.c-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c-note { font-size: 14px; color: var(--ink-3); }
.c-status { display: none; padding: 16px 18px; border-radius: var(--r); font-size: 16px; }
.c-status.ok { display: block; background: rgba(18, 146, 74, .08); color: #12924a; }
.c-status.err { display: block; background: rgba(229, 55, 43, .08); color: #c42b20; }
.c-side { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.c-side > div { padding: 26px 0; border-bottom: 1px solid var(--line); }
.c-side .h { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.c-side a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* custom select (widgets.js, contact form) */
.vw-select { position: relative; display: block; }
.vw-select > select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.vw-select-trigger > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vw-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 56px; padding: 0 18px; border: 1.5px solid transparent; border-radius: var(--r); background: var(--bg-2); font-size: 17px; font-weight: 500; cursor: pointer; transition: border-color .3s var(--ease), background-color .3s; }
.vw-select.is-open .vw-select-trigger { border-color: var(--ink); background: var(--bg); }
.vw-select-caret { width: 10px; height: 6px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%); transition: transform .5s var(--ease); }
.vw-select.is-open .vw-select-caret { transform: rotate(180deg); }
.vw-select-menu { position: absolute; z-index: 40; left: 0; right: 0; margin: 6px 0 0; padding: 6px; list-style: none; border-radius: 18px; background: var(--bg); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 30px 80px -24px rgba(0, 0, 0, .28); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s var(--ease), transform .5s var(--ease); }
.vw-select.is-open .vw-select-menu, .vw-select-menu.is-floating.is-open { opacity: 1; transform: none; pointer-events: auto; }
.vw-select-opt { padding: 12px 14px; border-radius: 12px; font-size: 16px; cursor: pointer; }
.vw-select-opt.is-active { background: var(--bg-2); }
.vw-select-opt[aria-selected="true"] { font-weight: 700; }

@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; gap: 28px; }
  .doc-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; border-left: 0; }
  .doc-toc a { padding: 4px 0; border-left: 0; }
  .help-cats { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .page-hero { padding-top: 88px; }
}
@media (max-width: 560px) {
  .help-cats, .c-row { grid-template-columns: 1fr; }
  .doc-card { padding: 22px 20px; }
  .doc-card dl { grid-template-columns: 1fr; gap: 2px; }
  .doc-card dd { margin-bottom: 10px; }
}

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

/* ---------- iPhone app ---------- */
.s-app { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.s-app-copy .s-lead { margin-top: 18px; max-width: 520px; }
.s-app-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.s-app-points li { position: relative; padding-left: 28px; font-size: 16px; }
.s-app-points li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); }
.s-app-points li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 6px; height: 3px; border-left: 1.6px solid var(--bg); border-bottom: 1.6px solid var(--bg); transform: rotate(-45deg); }
.s-app-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.s-app-note { font-size: 13.5px; }
.s-phone { justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 19; padding: 12px; border-radius: 48px; background: #000; box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); }
.s-phone-screen { height: 100%; border-radius: 38px; background: #fff; padding: 52px 18px 18px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.s-phone-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 26px; letter-spacing: -.03em; }
.s-phone-live { width: 8px; height: 8px; border-radius: 50%; background: #2bb35f; }
.s-phone-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid #f0f0f0; }
.s-phone-row i { width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -6px 12px rgba(0,0,0,.12); }
.s-phone-row div { display: flex; flex-direction: column; min-width: 0; }
.s-phone-row b { font-size: 14.5px; font-weight: 600; }
.s-phone-row span { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-phone-row em { font-style: normal; font-size: 11.5px; color: var(--ink-3); align-self: start; padding-top: 4px; }
.s-phone-bubble { position: absolute; left: 18px; right: 18px; bottom: 22px; padding: 12px 16px; border-radius: 18px; background: #000; color: #fff; font-size: 13.5px; animation: s-bub 4s var(--ease, ease) infinite; }
@keyframes s-bub { 0%, 15% { opacity: 0; transform: translateY(16px); } 25%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (max-width: 860px) { .s-app { grid-template-columns: 1fr; } .s-phone { width: min(280px, 80%); } }
.land-logo-word { height: 22px; width: auto; display: block; }
.land-logo-word { height: 32px; margin-left: -4px; }
