@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.css");

:root {
  color-scheme: dark;
  --bg: #07080a;
  --bg-2: #0b0d11;
  --bg-3: #101218;
  --card: #0e1014;
  --line: rgba(255, 255, 255, .075);
  --line-strong: rgba(255, 255, 255, .12);
  --text: #f3f4f6;
  --muted: #8b919c;
  --faint: #5c616a;
  --accent: #3182f6;
  --accent-2: #6ba6ff;
  --accent-ink: #0b1d38;
  --live: #f5b942;
  --live-2: #3ee0c5;
  --ok: #3ecf8e;
  --warn: #f1a10d;
  --danger: #eb5757;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 0 0 1px rgba(255,255,255,.05), 0 24px 64px rgba(0,0,0,.5);
  --sans: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, sans-serif;
  --max: 1120px;
  font-family: var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--text); word-break: keep-all; overflow-wrap: anywhere; overflow-x: clip; }
body {
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 86% -8%, rgba(49, 130, 246, .16), transparent 58%),
    radial-gradient(640px 320px at 0% 18%, rgba(245, 185, 66, .045), transparent 52%),
    radial-gradient(520px 240px at 50% 100%, rgba(62, 224, 197, .03), transparent 48%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed; inset: -20%;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(42% 32% at 18% 12%, rgba(49,130,246,.22), transparent 70%),
    radial-gradient(36% 28% at 88% 18%, rgba(62,224,197,.12), transparent 72%),
    radial-gradient(40% 30% at 70% 88%, rgba(245,185,66,.08), transparent 70%);
  animation: aurora 18s ease-in-out infinite alternate;
  filter: blur(8px);
}
@keyframes aurora {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); }
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .22;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
body > * { position: relative; z-index: 2; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(1.5) blur(22px);
  -webkit-backdrop-filter: saturate(1.5) blur(22px);
  background: rgba(7, 8, 10, .68);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner,
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav { padding: 0; }
.nav-inner { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; min-height: 64px; padding: 10px 0; flex-wrap: nowrap; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -.04em; text-decoration: none; font-size: 15px;
  flex: 0 0 auto; white-space: nowrap;
}
.brand img.logo,
.logo {
  width: 28px; height: 28px; display: block; border-radius: 7px; flex: 0 0 auto;
}
.wordmark { font-weight: 800; letter-spacing: -.05em; }
.wordmark span { color: #3d7bff; }
.auth-tabs { display: flex; gap: 6px; margin: 0 0 18px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.04); }
.auth-tab {
  flex: 1; border: 0; background: transparent; color: var(--muted);
  padding: 10px 12px; border-radius: 9px; font: inherit; font-weight: 650; cursor: pointer;
}
.auth-tab.on { background: #161a22; color: var(--text); }
.profile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.profile-mark {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: #12203d; color: #6ba6ff; font-weight: 800; font-size: 20px;
}
#profileBox h3 { margin: 22px 0 10px; font-size: 16px; }
#profileBox .btn, #profileBox .ghost { margin-top: 10px; }
.faint-row { opacity: .55; }
.recover-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 0; font-size: 13px; }
.recover-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.recover-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.recover-list li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-family: ui-monospace, monospace; }
.mark {
  width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 7px; background: #11141a;
  border: 1px solid rgba(255,255,255,.1);
  color: #fff; font-weight: 800; font-size: 12px; letter-spacing: -.06em;
  box-shadow: inset 0 0 0 1px rgba(49,130,246,.35);
  position: relative;
}
.mark::after {
  content: ""; position: absolute; top: 3px; right: 3px;
  width: 5px; height: 5px; border-radius: 99px; background: var(--live);
  box-shadow: 0 0 0 2px rgba(245,185,66,.18);
}
.nav-links { margin-left: auto; display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: 13.5px; flex: 0 0 auto; flex-wrap: nowrap; }
.nav-links a, .nav-links button, .nav-more summary {
  text-decoration: none; white-space: nowrap; overflow-wrap: normal; word-break: keep-all; flex-shrink: 0;
}
.nav-links a:hover { color: var(--text); }
#uiLocale { width: auto; min-width: 88px; max-width: 120px; flex: 0 0 auto; }
.nav-more { display: none; }
.nav-more summary {
  list-style: none; cursor: pointer; color: var(--muted); font-size: 13px;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px;
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more { position: relative; }
.nav-more > div {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 160px; padding: 8px;
  background: rgba(12,14,18,.96); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow);
  display: grid; gap: 2px;
}
.nav-more a { display: block; padding: 8px 10px; text-decoration: none; color: var(--muted); border-radius: 8px; }
.nav-more a:hover { color: var(--text); background: rgba(255,255,255,.04); }

select, input, button, textarea { font: inherit; }
.btn, .ghost, .chip {
  border: 0; border-radius: 10px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; flex-shrink: 0;
}
.btn {
  padding: 11px 18px; color: #fff; font-weight: 680; font-size: 14px;
  background: #3182f6;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px rgba(49, 130, 246, .22);
}
.btn span, .nav-cta span { white-space: nowrap; display: inline; }
.btn { position: relative; overflow: hidden; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { background: #3b8bf7; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 28px rgba(49, 130, 246, .32); }
.btn::after {
  content: ""; position: absolute; inset: 0 auto 0 -40%;
  width: 36%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg); animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -40%; } 80%, 100% { left: 130%; } }
.btn em {
  font-style: normal; font-weight: 560; font-size: 11px;
  padding: 2px 6px; border-radius: 999px;
  background: rgba(255,255,255,.16); color: #eaf2ff;
}
.ghost {
  padding: 10px 14px; background: transparent;
  border: 1px solid var(--line-strong); color: var(--text); font-size: 14px; font-weight: 560;
}
.ghost { transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.ghost:hover { background: rgba(255,255,255,.04); transform: translateY(-1px); }
.chip { padding: 6px 10px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.nav-cta { padding: 8px 14px; font-size: 13px; min-width: max-content; }

.hero { padding: 88px 0 48px; }
.hero-copy { animation: rise .8s ease both; }
.yt-stage { animation: rise .9s ease .12s both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.trust-band { margin: 72px 0 8px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-grid b { display: block; margin-bottom: 6px; }
.trust-grid span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 68px);
  letter-spacing: -.06em; margin: 0 0 18px; line-height: 1.04; font-weight: 730;
}
.hero h1 span { display: block; }
.hero p { max-width: 540px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 20px; padding: 5px 11px 5px 9px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--muted); font-size: 12px; letter-spacing: .01em;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--live);
  box-shadow: 0 0 0 4px rgba(245,185,66,.12);
  animation: live 1.8s ease-in-out infinite;
}
@keyframes live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,185,66,.0); }
  50% { box-shadow: 0 0 0 5px rgba(245,185,66,.16); }
}
.section-kicker {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 16px; color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.section-kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--live);
}

.grid { display: grid; gap: 12px; }
.plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 8px 0 48px; align-items: stretch; gap: 14px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; min-width: 0; overflow: visible;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.card.featured {
  box-shadow: var(--shadow), 0 0 0 1px rgba(49, 130, 246, .7);
  background: linear-gradient(180deg, #121722, #0e1014);
  position: relative;
}
.card h2 { margin: 0 0 6px; font-size: 16px; letter-spacing: -.02em; font-weight: 650; }
.badge {
  display: inline-flex; margin: 0 0 10px; padding: 3px 8px; border-radius: 999px;
  background: rgba(49, 130, 246, .16);
  color: #c5dbff; font-size: 11px; font-weight: 700;
}
.billing-toggle {
  display: inline-flex; gap: 2px; margin: 8px 0 8px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px; padding: 3px;
}
.billing-toggle .chip { border: 0; background: transparent; border-radius: 8px; padding: 7px 12px; }
.billing-toggle .chip.on { background: #fff; color: #111; font-weight: 650; }
.trust-line { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.usage.warn > span { background: var(--warn); }
.usage.critical > span { background: var(--danger); }
.price { font-size: clamp(26px, 3.4vw, 36px); font-weight: 720; margin: 14px 0 6px; letter-spacing: -.05em; line-height: 1.15; }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-local { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.card ul { margin: 0 0 22px; padding-left: 18px; color: var(--muted); }
.card li { margin: 8px 0; }
.features { grid-template-columns: repeat(3, 1fr); padding-bottom: 72px; }
.features .card h3 { margin: 0 0 8px; font-size: 15px; letter-spacing: -.02em; font-weight: 650; }
.muted { color: var(--muted); }
.ok { color: var(--ok); }
.lock { color: var(--faint); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); font-weight: 560; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
label[hidden], [hidden] { display: none !important; }
input, select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: rgba(49, 130, 246, .7);
  box-shadow: 0 0 0 3px rgba(49, 130, 246, .18);
}
.notice { padding: 10px 12px; border-radius: 10px; background: rgba(241,161,13,.1); color: #f1d592; font-size: 13px; }
.notice.err { background: rgba(235,87,87,.12); color: #f3b4b4; }
.notice.ok { background: rgba(62,207,142,.12); color: #b6e6cf; }
.usage { height: 4px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.usage > span { display: block; height: 100%; background: var(--accent); }
.steps { display: grid; gap: 12px; }
.guide-toc { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 0 0 20px; }
.guide-toc a { color: var(--muted); text-decoration: none; font-size: 13px; }
.guide-toc a:hover { color: var(--text); }
.guide-doc { max-width: none; margin: 0 0 14px; }
.guide-doc h2 { margin-top: 0; }
.guide-doc h3 { font-size: 16px; margin: 22px 0 8px; color: var(--text); }
.guide-doc ol, .guide-doc ul { margin: 8px 0 14px; padding-left: 22px; color: var(--muted); line-height: 1.7; }
.guide-doc li { margin: 4px 0; }
.guide-doc li b { color: var(--text); }
.guide-doc pre {
  padding: 12px 14px; border-radius: 10px; overflow: auto;
  background: #0b0d12; border: 1px solid var(--line);
  color: #c5dbff; font-size: 12px; line-height: 1.55;
}
.guide-doc code { font-size: 12px; color: #c5dbff; }
.steps.guide { grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: 28px; }
.steps.guide .step:last-child { grid-column: 1 / -1; }
.step { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.step h3 { margin: 0 0 6px; letter-spacing: -.03em; }
.num {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(49,130,246,.14); color: var(--accent-2); font-weight: 750; font-size: 13px;
}
.account-grid { grid-template-columns: 1fr 1fr; padding-bottom: 24px; }
.account-grid.logged { grid-template-columns: 1fr; }
.cancel-preview {
  margin: 0 0 12px; padding: 12px 14px; border-radius: 10px;
  background: rgba(49,130,246,.12); color: #c5dbff; font-size: 13px;
}
.cancel-preview b { color: #fff; }
#billingBox { max-width: 640px; margin: 0 0 48px; display: grid; gap: 10px; }
#billingBox[hidden] { display: none; }
#cancelDetail.need { border-color: var(--danger); }
.page-hero { padding: 48px 0 12px; }
.page-hero h1 { font-size: clamp(28px, 4.5vw, 44px); letter-spacing: -.05em; margin: 0 0 10px; font-weight: 720; }
.page-hero p { max-width: 560px; }

.hero.landing {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px;
  align-items: center; padding: 92px 0 28px;
}

.product-frame, .yt-stage {
  position: relative;
}
.yt-stage {
  min-height: 420px;
}
.yt-player {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: #0a0b0e; box-shadow: var(--shadow);
}
.yt-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: #121316; border-bottom: 1px solid #1c1d21;
}
.yt-dots { display: flex; gap: 5px; }
.yt-dots i { width: 8px; height: 8px; border-radius: 99px; background: #2a2d33; display: block; }
.yt-url {
  flex: 1; height: 22px; border-radius: 6px; background: #1a1c20;
  color: #7d828c; font-size: 11px; display: flex; align-items: center; padding: 0 10px;
  letter-spacing: -.01em;
}
.yt-scene {
  position: relative; aspect-ratio: 16 / 10.2;
  background:
    linear-gradient(180deg, transparent 42%, rgba(0,0,0,.72)),
    radial-gradient(80% 70% at 70% 20%, rgba(49,130,246,.18), transparent 50%),
    linear-gradient(135deg, #1a2230 0%, #0d1016 48%, #1b1610 100%);
}
.yt-scene::before {
  content: ""; position: absolute; inset: 18% 12% 38% 12%;
  border-radius: 8px;
  background: linear-gradient(160deg, #2a3344, #151922 60%, #3a2a18);
  opacity: .55;
}
.yt-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.55);
  font-size: 10px; letter-spacing: .08em; color: #f3f4f6;
}
.yt-badge b { color: #ff4d4d; font-weight: 800; animation: pulse 1.4s ease-in-out infinite; }
.yt-title {
  position: absolute; left: 16px; right: 16px; bottom: 42px;
  margin: 0; font-size: 13px; font-weight: 650; letter-spacing: -.02em;
}
.yt-caption {
  position: absolute; left: 50%; bottom: 54px; transform: translateX(-50%);
  width: min(86%, 360px); text-align: center;
  padding: 7px 12px; border-radius: 6px;
  background: rgba(8, 9, 12, .78);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 13px; letter-spacing: -.02em; line-height: 1.35;
}
.yt-caption small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; font-weight: 500; }
.yt-caption.karaoke span { color: #6b7280; }
.yt-caption.karaoke span.on { color: #fff; text-shadow: 0 0 12px rgba(49,130,246,.55); }
.screens { margin: 72px 0 8px; }
.screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.screen-card { margin: 0; }
.screen-frame {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: #0a0b0e; min-height: 168px;
}
.yt-scene.compact { aspect-ratio: 16 / 9; min-height: 168px; }
.yt-scene.compact .yt-caption { bottom: 36px; }
.panel-mini { padding: 14px; display: grid; gap: 10px; }
.mini-head { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.mini-head i { width: 18px; height: 18px; border-radius: 5px; background: #07153a; border: 1px solid #3d7bff; }
.mini-head small { margin-left: auto; color: #6ba6ff; font-size: 10px; font-weight: 800; }
.mini-tabs { display: flex; gap: 6px; font-size: 11px; color: var(--faint); }
.mini-tabs .on { color: #fff; }
.mini-usage { height: 6px; border-radius: 99px; background: #1a1c20; overflow: hidden; }
.mini-usage i { display: block; height: 100%; background: #3182f6; }
.mini-line { margin: 0; color: var(--muted); font-size: 12px; }
.mini-go {
  border: 0; border-radius: 8px; padding: 8px 10px; background: #3182f6; color: #fff;
  font: inherit; font-size: 12px; font-weight: 700;
}
.script-mini { padding: 14px; display: grid; gap: 10px; }
.script-mini p { margin: 0; display: grid; gap: 2px; padding: 8px; border-radius: 8px; background: rgba(255,255,255,.03); }
.script-mini p.on { background: rgba(49,130,246,.12); }
.script-mini small { color: var(--faint); font-size: 10px; }
.script-mini b { font-size: 13px; }
.script-mini span { color: var(--muted); font-size: 12px; }
.screen-card figcaption { padding: 12px 4px 0; display: grid; gap: 4px; }
.screen-card figcaption b { font-size: 15px; }
.screen-card figcaption span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.settings-mini { padding: 14px; display: grid; gap: 8px; }
.set-row { margin: 0; display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.03); font-size: 12px; }
.set-row span { color: var(--muted); }
.set-row.on { background: rgba(49,130,246,.12); }
.yt-bar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; height: 3px;
  border-radius: 99px; background: rgba(255,255,255,.16);
}
.yt-bar > i {
  display: block; width: 38%; height: 100%; border-radius: inherit; background: #f33;
  animation: playbar 8s linear infinite;
}
@keyframes playbar { from { width: 8%; } to { width: 86%; } }
@keyframes pulse { 50% { opacity: .35; } }
.wave i { animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; }
.wave i:nth-child(3) { animation-delay: .2s; }
.wave i:nth-child(4) { animation-delay: .3s; }
.wave i:nth-child(5) { animation-delay: .4s; }
.wave i:nth-child(6) { animation-delay: .5s; }
.wave i:nth-child(7) { animation-delay: .6s; }
@keyframes wave { 50% { transform: scaleY(1.8); } }
.dock { animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.mini-usage i { animation: playbar 6s linear infinite; }
.yt-caption.karaoke span { transition: color .35s ease, text-shadow .35s ease; }

.dock {
  position: absolute; right: 10px; bottom: -28px;
  width: min(292px, 86%);
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: rgba(12, 14, 18, .92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 12px;
}
.dock-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dock-top strong { font-size: 12px; letter-spacing: -.03em; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: .08em; color: var(--live); font-weight: 700;
}
.live-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--live);
  animation: live 1.8s ease-in-out infinite;
}
.pipe { display: flex; gap: 4px; margin-bottom: 10px; flex-wrap: wrap; }
.pipe span {
  font-size: 10px; padding: 3px 7px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}
.pipe span.on { border-color: rgba(62,224,197,.35); color: var(--live-2); background: rgba(62,224,197,.08); }
.wave { display: flex; align-items: end; gap: 3px; height: 28px; margin: 8px 0 10px; }
.wave i {
  flex: 1; border-radius: 2px; background: linear-gradient(180deg, var(--accent-2), var(--accent));
  animation: wave 1.1s ease-in-out infinite;
}
.wave i:nth-child(2) { animation-delay: .1s; }
.wave i:nth-child(3) { animation-delay: .18s; }
.wave i:nth-child(4) { animation-delay: .05s; }
.wave i:nth-child(5) { animation-delay: .22s; }
.wave i:nth-child(6) { animation-delay: .12s; }
.wave i:nth-child(7) { animation-delay: .28s; }
.wave i:nth-child(8) { animation-delay: .08s; }
.wave i:nth-child(9) { animation-delay: .16s; }
.wave i:nth-child(1) { height: 40%; }
.wave i:nth-child(2) { height: 70%; }
.wave i:nth-child(3) { height: 52%; }
.wave i:nth-child(4) { height: 88%; }
.wave i:nth-child(5) { height: 36%; }
.wave i:nth-child(6) { height: 64%; }
.wave i:nth-child(7) { height: 80%; }
.wave i:nth-child(8) { height: 44%; }
.wave i:nth-child(9) { height: 60%; }
@keyframes wave {
  0%, 100% { transform: scaleY(.72); opacity: .75; }
  50% { transform: scaleY(1); opacity: 1; }
}
.dock-line { margin: 0; font-size: 12px; letter-spacing: -.02em; }
.dock-sub { margin: 4px 0 0; font-size: 11px; color: var(--muted); }

.proof {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin: 72px 0 8px;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: rgba(255,255,255,.015);
}
.proof div { padding: 22px 18px; border-right: 1px solid var(--line); }
.proof div:last-child { border-right: 0; }
.proof b { display: block; font-size: 18px; letter-spacing: -.04em; font-weight: 700; margin-bottom: 4px; }
.proof span { color: var(--muted); font-size: 12px; line-height: 1.4; }

.trust-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: 14px; margin: 0 0 48px; overflow: hidden;
}
.trust-bar div { padding: 22px 12px; text-align: center; border-right: 1px solid var(--line); }
.trust-bar div:last-child { border-right: 0; }
.trust-bar b { display: block; font-size: 28px; letter-spacing: -.04em; font-weight: 700; }
.trust-bar span { color: var(--muted); font-size: 12px; }

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 8px 0 80px;
}
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; min-height: 168px; overflow: hidden; position: relative;
}
.tile h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.03em; font-weight: 680; }
.tile p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.tile-lg { grid-column: span 2; grid-row: span 2; min-height: 348px; }
.tile-wide { grid-column: span 2; }
.tile-path {
  display: flex; flex-direction: column; gap: 10px; margin-top: 22px;
}
.tile-path li {
  list-style: none; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.tile-path b { font-size: 13px; letter-spacing: -.02em; }
.tile-path span { margin-left: auto; font-size: 11px; color: var(--faint); }
.idx {
  width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  background: rgba(49,130,246,.16); color: var(--accent-2); font-size: 11px; font-weight: 750;
}
.lang-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.lang-row i {
  font-style: normal; font-size: 11px; padding: 4px 8px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}
.stat-num { font-size: 44px; font-weight: 750; letter-spacing: -.06em; line-height: 1; margin: 18px 0 8px; }
.stat-num small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }

.consent { display: grid; gap: 10px; margin: 14px 0; }
.consent .check {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.consent .check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--accent);
}
.consent .check span { min-width: 0; }
.consent a { color: var(--accent-2); }
.promo { margin: 72px 0 8px; }
.promo-title { margin: 0 0 12px; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.04em; font-weight: 700; }
.promo-lead { margin: 0 0 22px; max-width: 720px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.promo-grid article {
  padding: 22px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card);
  display: flex; flex-direction: column; gap: 8px; min-height: 200px;
}
.promo-grid em {
  display: inline-flex; width: fit-content; margin: 0 0 4px;
  padding: 3px 8px; border-radius: 999px; font-style: normal;
  font-size: 11px; font-weight: 700; letter-spacing: -.01em;
  background: rgba(49,130,246,.14); color: #c5dbff;
}
.promo-grid b, .promo-grid span { display: block; }
.promo-grid b { font-size: 17px; letter-spacing: -.03em; line-height: 1.3; }
.promo-grid span { color: var(--muted); font-size: 13.5px; line-height: 1.6; word-break: keep-all; }
.proof div { display: flex; flex-direction: column; gap: 6px; }
.proof b, .proof span { display: block; }
.viz-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; flex-wrap: wrap; }
.viz-head h2, #usageViz h3 { margin: 16px 0 8px; }
.viz-top { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; margin: 8px 0 8px; }
.viz-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.viz-kpi { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #0b0d12; }
.viz-kpi b { display: block; font-size: 22px; letter-spacing: -.04em; }
.viz-kpi span { color: var(--muted); font-size: 12px; }
.usage-ring {
  width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(#3182f6 calc(var(--pct) * 1%), #1a1d24 0);
}
.usage-ring b, .usage-ring span { display: block; text-align: center; }
.usage-ring::after {
  content: ""; position: absolute; width: 86px; height: 86px; border-radius: 50%; background: var(--card);
}
.usage-ring { position: relative; }
.usage-ring b, .usage-ring span { position: relative; z-index: 1; }
.usage-ring b { font-size: 22px; }
.usage-ring span { color: var(--muted); font-size: 11px; }
.grass-wrap { display: grid; grid-template-columns: 18px 1fr; gap: 6px; overflow: auto; }
.grass-days { display: grid; grid-template-rows: repeat(7, 11px); gap: 3px; color: var(--faint); font-size: 9px; }
.grass {
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 11px);
  gap: 3px;
}
.grass i { width: 11px; height: 11px; border-radius: 2px; display: block; }
.grass .g0 { background: #16181d; }
.grass .g1 { background: #163a2a; }
.grass .g2 { background: #1f7a4a; }
.grass .g3 { background: #2ee59d; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; margin: 12px 0; }
.bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; }
.bar span { width: 100%; border-radius: 6px 6px 2px 2px; background: #3182f6; min-height: 4px; }
.bar small { color: var(--faint); font-size: 10px; }
.site-notice {
  position: sticky; top: 0; z-index: 40;
  display: grid; gap: 8px;
  padding: 12px 16px 14px;
  background: linear-gradient(180deg, #3a2308 0%, #2a1606 100%);
  color: #ffe7b3;
  border-bottom: 2px solid #f1a10d;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.site-notice-item { display: grid; gap: 4px; text-align: center; }
.site-notice-item b {
  font-size: 16px; font-weight: 800; letter-spacing: -.02em; color: #ffd36a;
}
.site-notice-item p { margin: 0; font-size: 14px; line-height: 1.45; color: #ffe7b3; }
.notice-admin-row { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.notice-admin-row p { margin: 4px 0 0; }
.user-row { display: grid; grid-template-columns: 2fr 1fr .6fr .5fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; align-items: center; }
.user-row.manage { grid-template-columns: minmax(0,2fr) minmax(0,.9fr) 88px 56px 96px; }
.user-row.manage .admin-more {
  min-width: 88px; padding: 8px 12px; font-size: 13px; font-weight: 700;
  background: #fff; color: #0b0d10; border: 0;
}
.user-row.manage .admin-more:hover { background: #dbe8ff; }
.inbox-item { display: grid; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.admin-sheet {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  padding: 24px; background: rgba(0,0,0,.62);
}
.admin-sheet[hidden] { display: none; }
.admin-sheet .sheet {
  width: min(920px, 100%); max-height: 90vh; overflow: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
}
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-field { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 12px 0 20px; }
.rank-list { display: grid; gap: 6px; }
.rank-row { display: grid; grid-template-columns: 72px 1fr 56px; gap: 8px; align-items: center; font-size: 12px; }
.rank-row b { font-weight: 600; color: var(--text); }
.rank-row i { display: block; height: 8px; border-radius: 99px; background: #3182f6; min-width: 4px; }
.rank-row span { color: var(--faint); text-align: right; }
.rec-list { display: grid; gap: 10px; padding: 0; margin: 8px 0 0; list-style: none; }
.rec-list li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: rgba(255,255,255,.02); }
.rec-list b { display: block; margin-bottom: 4px; }
.error-log { border-bottom: 1px solid var(--line); padding: 10px 0; }
.error-log pre { white-space: pre-wrap; color: var(--muted); font-size: 12px; margin: 6px 0 0; }
.inbox-item textarea { width: 100%; }
.user-row.head { color: var(--faint); font-size: 11px; }

.versus { margin: 72px 0 8px; }
.versus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.versus-grid article {
  padding: 28px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--card);
}
.versus-grid h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.03em; }
.versus-grid p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }
.versus-grid em { font-style: normal; color: var(--text); }
.versus-us {
  border-color: rgba(49,130,246,.45);
  background: linear-gradient(180deg, rgba(49,130,246,.08), var(--card));
}

.cta-band {
  text-align: center; padding: 64px 24px; border: 1px solid var(--line);
  border-radius: 20px; margin: 8px 0 24px;
  background:
    radial-gradient(500px 160px at 50% 0%, rgba(49,130,246,.14), transparent 70%),
    var(--card);
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; font-weight: 700; }
.cta-band .hero-actions { justify-content: center; }

.wallet { display: grid; gap: 8px; margin-top: 8px; }
.pay-card {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
}
.pay-card.on { border-color: rgba(49, 130, 246, .5); }
.pay-chip {
  width: 44px; height: 28px; border-radius: 6px; flex: 0 0 auto;
  background: linear-gradient(135deg, #1b3f73, #3182f6);
}
.faq { display: grid; gap: 8px; margin: 12px 0 40px; }
.faq details {
  border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 16px 18px;
}
.faq summary { cursor: pointer; font-weight: 650; letter-spacing: -.02em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; float: right; color: var(--muted); font-weight: 500;
}
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.proof-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.proof-strip span {
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-size: 12px; background: rgba(255,255,255,.02);
}
.pay-meta { flex: 1; min-width: 0; }
.pay-meta b { display: block; font-size: 13px; font-weight: 650; }
.pay-meta span { color: var(--muted); font-size: 12px; }
.pay-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-actions .ghost, .pay-actions .btn { padding: 6px 10px; font-size: 12px; flex: 0 0 auto; }
.settings-row { max-width: 420px; margin: 8px 0 20px; }
#walletBox { max-width: 640px; margin: 0 0 20px; }
#walletBox[hidden] { display: none; }

.legal { max-width: 720px; margin: 12px 0 48px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.05em; margin: 0 0 16px; }
.legal h2 { font-size: 18px; letter-spacing: -.03em; margin: 28px 0 8px; }
.legal p { color: var(--muted); line-height: 1.7; }
.legal a { color: var(--accent-2); text-decoration: none; }
.legal a:hover { text-decoration: underline; }

.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 40px 0 48px;
  color: var(--faint);
  font-size: 13px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px;
  padding-bottom: 28px;
}
.foot-grid p { margin: 10px 0 0; color: var(--muted); max-width: 260px; line-height: 1.5; }
.foot-label { margin: 0 0 10px !important; color: var(--faint); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.foot-grid a { display: block; text-decoration: none; color: var(--muted); margin: 7px 0; }
.foot-grid a:hover { color: var(--text); }
.foot-legal {
  padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.foot-legal p { margin: 0; line-height: 1.6; }
.foot-legal a { color: var(--muted); text-decoration: none; }
.foot-legal a:hover { color: var(--text); }
footer:not(.site-foot) { padding: 36px 0 56px; color: #5c616a; font-size: 12px; border-top: 1px solid var(--line); margin-top: 24px; }
footer:not(.site-foot) a { color: var(--muted); text-decoration: none; }
footer:not(.site-foot) a:hover { color: var(--text); }

.compare { margin: 0 0 36px; overflow: auto; }

.pay-box { max-width: 560px; margin: 24px 0 48px; }
.pay-box ul { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .eyebrow::before, .live-pill::before, .wave i, .dock, .yt-bar > i, .mini-usage i, body::after, .btn::after { animation: none; }
  .reveal, .hero-copy, .yt-stage { opacity: 1; transform: none; animation: none; }
}

img, svg, video, canvas { max-width: 100%; height: auto; }
input, select, textarea { max-width: 100%; }
label { min-width: 0; }
.card, .legal, .compare { max-width: 100%; }
.compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { min-width: 720px; }
.cmp-sec td { color: var(--faint); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding-top: 16px; border-bottom-color: transparent; }
#trendRange { flex-wrap: wrap; }
.nav-logout, #navLogout, #navLogoutMenu {
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  background: rgba(255,255,255,.06);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}
.nav-logout:hover { background: rgba(255,255,255,.12); }

@media (max-width: 1100px) {
  .hero.landing { gap: 36px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .screen-grid { grid-template-columns: 1fr 1fr; }
  .nav-links .hide-sm { display: none; }
  .nav-more { display: block; }
}

@media (max-width: 860px) {
  .wrap, .nav-inner { width: min(var(--max), calc(100% - 28px)); }
  .nav-inner { min-height: 56px; gap: 10px; flex-wrap: nowrap; }
  .nav-links { gap: 8px; flex-wrap: nowrap; justify-content: flex-end; }
  .nav-cta { padding: 8px 12px; font-size: 12px; }
  #uiLocale { max-width: 96px; }
  .plans, .features, .steps.guide, .account-grid, .bento, .proof, .foot-grid, .versus-grid, .promo-grid, .screen-grid, .viz-top, .viz-kpis, .trust-grid { grid-template-columns: 1fr; }
  .tile-lg, .tile-wide { grid-column: auto; grid-row: auto; min-height: 0; }
  .hero.landing { grid-template-columns: 1fr; padding: 36px 0 28px; gap: 28px; }
  .hero h1 { font-size: clamp(30px, 9vw, 44px); }
  .hero-actions { margin-top: 20px; }
  .hero-actions .btn, .hero-actions .ghost { width: 100%; }
  .card.featured { transform: none; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-bar div, .proof div { border-right: 0; border-bottom: 1px solid var(--line); }
  .dock { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -16px; animation: none; }
  .yt-stage { min-height: 0; }
  .user-row.manage { grid-template-columns: 1fr; gap: 6px; }
  .admin-grid, .insight-grid { grid-template-columns: 1fr; }
  .auth-tabs { flex-wrap: wrap; }
  .auth-tab { flex: 1 1 30%; min-width: 88px; }
  .page-hero { padding: 28px 0 8px; }
  .cta-band { padding: 28px 18px; }
  .foot-legal { flex-direction: column; }
  .pay-card { flex-wrap: wrap; }
  #billingBox, #walletBox, #profileBox, #usageViz { max-width: 100%; }
}

@media (max-width: 520px) {
  .wrap, .nav-inner { width: calc(100% - 20px); }
  .wordmark { font-size: 14px; }
  .hero h1 { font-size: clamp(26px, 8.4vw, 36px); }
  .btn, .ghost { width: 100%; }
  .nav-cta { width: auto; }
  .promo-grid article, .screen-frame { min-height: 0; }
  .grass-wrap { grid-template-columns: 14px 1fr; }
  .bars { height: 110px; gap: 3px; }
  .bar small { font-size: 8px; }
  table { font-size: 12px; }
  .guide-toc { gap: 8px 12px; }
  .steps.guide .step:last-child { grid-column: auto; }
  .foot-legal { flex-direction: column; }
}
