/* 생기온 웹사이트. Tokens follow the app's liquid-glass theme (src/styles/liquid.css). */
:root {
  color-scheme: light;
  --wall: #e6ebf7;
  --ink: #1d1d1f;
  --ink-2: #43464f;
  --ink-3: #5a5e68;
  --line: rgba(40, 44, 80, 0.1);
  --accent: #0058c0;
  --accent-hover: #00449a;
  --accent-a: #2a80ec;
  --accent-b: #005bd0;
  --accent-soft: rgba(0, 98, 214, 0.1);
  --glass: rgba(255, 255, 255, 0.46);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --glass-edge: rgba(255, 255, 255, 0.9);
  --warn-soft: rgba(255, 186, 73, 0.18);
  --warn-ink: #7a4a00;
  --live: #1ea05a;
  --brand: linear-gradient(135deg, #45c8ff, #4c74ff 35%, #8a5cff 60%, #ff6fc8 82%, #ffbe6b);
  --font: 'LINE Seed KR', 'Malgun Gothic', 'Apple SD Gothic Neo', system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent-a); outline-offset: 3px; border-radius: 12px; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* The wall: the app's soft colour fields, fixed behind the page. */
.wall {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle 340px at 2% 30%, rgba(96, 150, 255, 0.34) 0 99%, transparent 100%),
    radial-gradient(circle 230px at 98% 4%, rgba(255, 150, 200, 0.28) 0 99%, transparent 100%),
    radial-gradient(ellipse 60% 55% at 6% 6%, rgba(120, 165, 255, 0.5), transparent 70%),
    radial-gradient(ellipse 55% 50% at 96% 18%, rgba(255, 165, 210, 0.4), transparent 70%),
    radial-gradient(ellipse 60% 55% at 88% 96%, rgba(130, 225, 200, 0.42), transparent 70%),
    radial-gradient(ellipse 45% 45% at 18% 92%, rgba(255, 205, 150, 0.36), transparent 70%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(190, 175, 255, 0.24), transparent 70%),
    var(--wall);
  transform: translateZ(0);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { scroll-margin-top: 96px; }
.section { padding: clamp(72px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); }
.h2 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.28; font-weight: 700; letter-spacing: -0.03em; }
.lead { margin: 16px 0 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 640px; }

/* Buttons. The light sweep crosses a primary button once on hover. */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; text-decoration: none; font-weight: 600; border-radius: 16px; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn-primary {
  overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(180deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 12px 28px rgba(0, 88, 192, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.42) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 32px rgba(0, 88, 192, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn-ghost {
  color: var(--ink); background: rgba(255, 255, 255, 0.55); border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.btn-ghost:hover { color: var(--ink); background: rgba(255, 255, 255, 0.8); }
.btn-lg { font-size: 17px; padding: 17px 28px; }
.btn-sm { font-size: 15px; padding: 11px 18px; border-radius: 14px; }

/* Header */
.header-wrap { position: sticky; top: 14px; z-index: 30; padding: 0 16px; margin-top: 20px; }
.header {
  max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 8px 8px 8px 20px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.64); border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 32px rgba(40, 60, 140, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(1.7); -webkit-backdrop-filter: blur(24px) saturate(1.7);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 10px 14px; border-radius: 12px; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.6); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 7vw, 88px); }
.hero-copy { flex: 1 1 420px; min-width: 0; max-width: 520px; }
.hero h1 { margin: 0; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.16; font-weight: 700; letter-spacing: -0.035em; }
.hero-sub { margin: 26px 0 0; font-size: 19px; line-height: 1.7; color: var(--ink-2); text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 24px; font-size: 14.5px; color: var(--ink-3); }
.counter {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.62); border: 1px solid var(--glass-edge);
}
.counter b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; display: inline-block; }
.counter[hidden] { display: none; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30, 160, 90, 0.45); } 70% { box-shadow: 0 0 0 7px rgba(30, 160, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 160, 90, 0); } }
.tick { animation: tick 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes tick { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }

/* The app window in the hero */
.hero-shot { flex: 1 1 560px; min-width: 0; display: flex; justify-content: center; }
.window {
  width: 100%; max-width: 660px; border-radius: 28px; overflow: hidden;
  background: rgba(255, 255, 255, 0.46); border: 1px solid var(--glass-edge);
  box-shadow: 0 40px 90px rgba(40, 60, 140, 0.22), inset 0 2px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(30px) saturate(1.7); -webkit-backdrop-filter: blur(30px) saturate(1.7);
}
.win-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid rgba(40, 44, 80, 0.08); }
.win-title { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; }
.win-title .muted { font-weight: 500; color: var(--ink-3); }
.win-ctl { display: flex; gap: 14px; color: var(--ink-3); }
.win-body { display: flex; min-height: 430px; }
.win-side { width: 168px; flex: none; padding: 12px 8px; border-right: 1px solid rgba(40, 44, 80, 0.08); display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.stu { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); }
.stu span:first-of-type { flex: 1; }
.stu small { font-size: 11.5px; color: var(--ink-3); }
.stu.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.stu.on small { color: var(--accent); font-weight: 500; }
.win-main { flex: 1; min-width: 0; padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; line-height: 1.6; }
.draft { padding: 14px 16px; border-radius: 18px; background: var(--glass-strong); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: 0 8px 22px rgba(40, 60, 140, 0.1); }
.draft-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.draft-head strong { font-weight: 600; }
.badge { padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; white-space: nowrap; }
.draft p { margin: 8px 0 0; }
.meter { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.meter-track { flex: 1; height: 4px; border-radius: 4px; background: rgba(40, 44, 80, 0.08); }
.meter-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #45c8ff, #4c74ff, #8a5cff); transition: width 0.5s ease; }
.bubble-ai { align-self: flex-start; max-width: 90%; padding: 10px 14px; border-radius: 16px 16px 16px 6px; background: rgba(255, 255, 255, 0.74); }
.bubble-me { align-self: flex-end; max-width: 82%; padding: 10px 14px; border-radius: 16px 16px 6px 16px; background: linear-gradient(180deg, var(--accent-a), var(--accent-b)); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(0, 88, 192, 0.3); color: var(--accent); background: rgba(255, 255, 255, 0.55); }
.status { display: flex; align-items: center; gap: 8px; padding: 2px 4px; font-size: 13px; font-weight: 500; }
.spin { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.composer { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.95); color: var(--ink-3); font-size: 13px; }
.composer span:first-child { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.model { padding: 4px 10px; border-radius: 999px; background: rgba(40, 44, 80, 0.06); font-size: 12px; white-space: nowrap; }
.send { width: 28px; height: 28px; flex: none; border-radius: 50%; background: linear-gradient(180deg, var(--accent-a), var(--accent-b)); display: flex; align-items: center; justify-content: center; }

/* The light sweep over text (the app's "working" line, and 생기 ON). */
.sweep {
  background: linear-gradient(90deg, var(--ink-3) 0%, var(--ink-3) 38%, var(--accent) 50%, var(--ink-3) 62%, var(--ink-3) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sweep 2.6s linear infinite;
}
.sweep-brand {
  background: linear-gradient(90deg, #4c74ff 0%, #8a5cff 30%, #ffffff 50%, #ff6fc8 70%, #4c74ff 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sweep 3s linear infinite;
}
@keyframes sweep { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Works-with strip */
.works {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px;
  padding: 22px 28px; border-radius: 22px; background: rgba(255, 255, 255, 0.4); border: 1px solid rgba(255, 255, 255, 0.75);
  font-size: 15px; color: var(--ink-2);
}
.works .muted { color: var(--ink-3); }
.works b { color: var(--ink); font-weight: 600; }

/* Flip cards */
.compare-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 44px; }
.card { display: block; width: 100%; height: 290px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; perspective: 1400px; border-radius: 26px; }
.card-inner { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.15, 1); }
.card[aria-pressed="true"] .card-inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: 26px; -webkit-backface-visibility: hidden; backface-visibility: hidden; display: flex; flex-direction: column; }
.face-front { padding: 28px 26px 24px; background: rgba(255, 255, 255, 0.42); border: 1px solid rgba(255, 255, 255, 0.82); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.face-back { padding: 1.5px; background: var(--brand); box-shadow: 0 22px 48px rgba(60, 80, 200, 0.22); transform: rotateY(180deg); }
.face-back > * { height: 100%; padding: 26px 25px 22px; border-radius: 24.5px; background: rgba(255, 255, 255, 0.94); display: flex; flex-direction: column; }
.face-label { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.face-back .face-label { font-weight: 700; color: var(--accent); }
.face-text { margin-top: 14px; font-size: 21px; line-height: 1.5; font-weight: 600; letter-spacing: -0.02em; color: #2c2f37; }
.face-back .face-text { font-size: 19px; line-height: 1.55; letter-spacing: -0.015em; color: var(--ink); }
.face-foot { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }
.card:hover .face-front .face-foot { color: var(--accent); }

/* Ring demo */
.panel {
  border-radius: 36px; background: rgba(255, 255, 255, 0.5); border: 1px solid var(--glass-edge);
  box-shadow: 0 30px 80px rgba(40, 60, 140, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.ring-panel { margin-top: 44px; padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.ring-box { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.ring { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1 / 1; }
.ring svg { position: absolute; inset: 9%; width: 82%; height: 82%; overflow: visible; }
.seg { opacity: 0; transition: opacity 0.55s ease; }
.seg.on { opacity: 1; }
/* 세특 is the bar: it draws down as the draft grows, then the power comes on. */
.bar { opacity: 0; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: opacity 0.3s ease, stroke-dashoffset 0.2s linear; }
.ring.charging .bar, .ring.all-on .bar { opacity: 1; }
.ring.all-on .bar { stroke-dashoffset: 0; }
.ring svg { transform-origin: 50% 50%; }
.ring.power svg { animation: power-pop 0.8s cubic-bezier(0.3, 1.4, 0.4, 1) both; }
.ring.power .bar { filter: drop-shadow(0 0 5px rgba(138, 92, 255, 0.55)); }
@keyframes power-pop { 0% { transform: scale(1); } 35% { transform: scale(1.05); } 100% { transform: scale(1); } }
.wave { position: absolute; inset: 9%; border-radius: 50%; opacity: 0; pointer-events: none; box-shadow: 0 0 0 2px rgba(76, 116, 255, 0.4), 0 0 36px 4px rgba(138, 92, 255, 0.3), inset 0 0 28px rgba(255, 111, 200, 0.18); }
.ring.power .wave { animation: wave 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) 0.1s both; }
.ring.power .wave.w2 { animation-delay: 0.38s; }
@keyframes wave { from { opacity: 0.9; transform: scale(0.94); } to { opacity: 0; transform: scale(1.32); } }
.ring-count { position: absolute; left: 0; right: 0; top: 54%; text-align: center; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink-2); }
.glint {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.95) 50%, transparent 62%); background-size: 260% 100%;
  -webkit-mask: radial-gradient(circle closest-side, transparent 0 56%, #000 57% 74%, transparent 75%);
  mask: radial-gradient(circle closest-side, transparent 0 56%, #000 57% 74%, transparent 75%);
}
.ring.power .glint { animation: glint 1.5s cubic-bezier(0.3, 0.6, 0.2, 1) 0.45s both; }
@keyframes glint { from { opacity: 1; background-position: 160% 0; } to { opacity: 1; background-position: -60% 0; } }
/* Section names ride along the ring and take the segment's color when it lights. */
.rl { font-family: var(--font); font-size: 12.5px; font-weight: 700; letter-spacing: -0.01em; fill: rgba(40, 44, 80, 0.5); transition: fill 0.5s ease; }
.rl.on { fill: url(#g-ring); }
.ring-side { flex: 1 1 440px; min-width: 0; }
.sec-list { display: flex; flex-direction: column; gap: 6px; }
.sec { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; background: transparent; text-align: left; transition: background-color 0.35s ease, color 0.35s ease; }
.js-cur-badge { transition: opacity .3s ease; }
.sec.sel { background: var(--accent-soft); color: var(--accent); }
.sec-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: rgba(40, 44, 80, 0.16); }
.sec[aria-pressed="true"] .sec-dot { background: linear-gradient(135deg, #45c8ff, #8a5cff); }
.sec-name { flex: 1; font-size: 16.5px; font-weight: 600; }
.sec-limit { font-size: 13.5px; color: var(--ink-3); }
.sec-bar { position: relative; margin-top: 12px; }
.sec-bar::before { content: ""; position: absolute; left: 16px; right: 16px; top: -9px; height: 1px; background: rgba(40, 44, 80, 0.08); }
.sec-bar .sec-dot { width: 6px; height: 15px; margin: 0 3px; border-radius: 3px; }
.sec-state { min-width: 44px; text-align: right; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.sec[aria-pressed="true"] .sec-state { color: var(--accent); }
.demo-draft { margin-top: 18px; min-height: 196px; padding: 20px 22px; border-radius: 22px; background: var(--glass-strong); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: 0 10px 26px rgba(40, 60, 140, 0.1); }
.demo-draft p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.75; }
.demo-draft .empty { margin: 0; color: var(--ink-3); }
.demo-draft .draft-head { font-size: 13px; }
.demo-draft .meter { font-size: 13px; margin-top: 14px; }
.demo-draft .meter-track { height: 5px; }
.link-btn { margin-top: 14px; padding: 8px 4px; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--accent); cursor: pointer; }

/* More features */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px 40px; margin-top: 52px; }
.feat { display: flex; gap: 18px; }
.feat-icon { width: 46px; height: 46px; flex: none; border-radius: 15px; background: rgba(255, 255, 255, 0.64); border: 1px solid rgba(255, 255, 255, 0.95); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.feat h3 { margin: 2px 0 6px; font-size: 18px; font-weight: 600; }
.feat p { margin: 0; font-size: 15.5px; line-height: 1.72; color: var(--ink-2); }

/* Install */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.step { padding: 28px 26px; border-radius: 26px; background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.88); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95); }
.step-num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: #fff; }
.step h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 600; }
.step p { margin: 0; font-size: 15.5px; line-height: 1.72; color: var(--ink-2); }
.keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 13.5px; }
.key { padding: 7px 14px; border-radius: 8px; background: #fff; border: 1px solid rgba(40, 44, 80, 0.14); }
.pick { padding: 7px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.pick.plain { background: rgba(40, 44, 80, 0.06); color: var(--ink-2); }

/* Privacy */
.privacy { display: flex; flex-wrap: wrap; gap: 40px 64px; padding: clamp(28px, 4vw, 52px); }
.privacy-copy { flex: 1 1 320px; min-width: 0; }
.privacy-copy .h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.32; }
.privacy-copy p { margin: 16px 0 0; font-size: 16.5px; line-height: 1.72; color: var(--ink-2); }
.privacy-copy a { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 600; }
.privacy-grid { flex: 1.4 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pbox { padding: 24px; border-radius: 22px; }
.pbox h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; }
.pbox p { margin: 0; font-size: 15px; line-height: 1.72; color: var(--ink-2); }
.pbox.masked { background: rgba(0, 98, 214, 0.07); }
.pbox.masked h3 { color: var(--accent); }
.pbox.plain { background: var(--warn-soft); }
.pbox.plain h3 { color: var(--warn-ink); }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.faq .h2 { flex: 1 1 280px; }
.faq-list { flex: 2.2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 20px; background: rgba(255, 255, 255, 0.52); border: 1px solid rgba(255, 255, 255, 0.88); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 17px; font-weight: 600; border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform 0.25s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }

/* Final call */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 60px); border-radius: 40px; }
.cta-copy { display: flex; align-items: center; gap: 28px; flex: 1 1 460px; min-width: 0; }
.cta-copy svg { flex: none; }
.cta-copy .h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.24; }
.cta-copy p { margin: 12px 0 0; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.cta-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--ink-3); }
.cta-meta .counter { padding: 0; background: none; border: 0; gap: 7px; }
.cta-meta .live-dot { width: 7px; height: 7px; }

/* Footer */
.footer { padding: 32px 0 48px; border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-brand span:last-child { font-size: 14px; color: var(--ink-3); }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.footer nav a { color: var(--ink-2); text-decoration: none; }
.footer nav a:hover { color: var(--ink); text-decoration: underline; }
.footer p { margin: 22px 0 0; max-width: 720px; font-size: 13px; line-height: 1.75; color: var(--ink-3); }
.footer p + p { margin-top: 8px; }

/* Long pages (privacy) */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 20px 64px; }
.doc h1 { margin: 0; font-size: clamp(32px, 4vw, 44px); line-height: 1.25; letter-spacing: -0.03em; }
.doc .updated { margin: 12px 0 0; font-size: 14px; color: var(--ink-3); }
.doc h2 { margin: 44px 0 0; font-size: 20px; letter-spacing: -0.02em; }
.doc p, .doc li { font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.doc ul { padding-left: 20px; }
.doc code { font-family: Consolas, 'Cascadia Mono', 'Courier New', monospace; font-size: 14px; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.7); }
.doc-card { margin-top: 32px; padding: clamp(24px, 4vw, 40px); }

@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 600px) {
  .win-side { display: none; }
  .hero-sub { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .card { height: 230px; }
  .face-text { font-size: 19px; }
  .sec { gap: 10px; padding: 12px; }
  .sec-limit, .wide-only { display: none; }
  .rl { font-size: 14.5px; }
  .cta-copy { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .sweep, .sweep-brand { background: none; color: var(--accent); }
  .glint, .wave { display: none; }
}
