/* Ultimate YT Genius: startup home + simple pages (/faq/, /contact/, /terms/, /privacy/). 27/11/2026.
   Dark navy, brand gradient (gold → mint → cyan) as light, yellow for the one action. Inter + JetBrains Mono. No libraries. */
@font-face { font-family: "Inter"; font-weight: 400; src: url("../fonts/inter-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 600; src: url("../fonts/inter-600.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 800; src: url("../fonts/inter-800.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Mono"; font-weight: 700; src: url("../fonts/JetBrainsMono-700.woff2") format("woff2"); font-display: swap; }

:root {
  --bg: #070a18; --night: #0d1022; --navy: #26306a; --panel: #0f1433; --panel-2: #121842; --line: rgba(255, 255, 255, .09);
  --fg: #eef0ff; --mute: #a3abd2; --dim: #7d86ad; --yel: #ffd23f; --ink: #0b0b14;
  --gold: #f5c76a; --mint: #b8f0c8; --cyan: #1fe8f0;
  --brand: linear-gradient(90deg, #f5c76a 0%, #b8f0c8 52%, #1fe8f0 100%);
  --r: 22px; --max: 1180px; --gut: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.04; }
:focus-visible { outline: 2px solid var(--yel); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yel); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); position: relative; }
@media (min-width: 960px) { :root { --gut: 28px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 "Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2.1vw, 20px); line-height: 1.55; color: var(--mute); max-width: 36em; }
.mono { font: 700 12.5px/1.3 "Mono", ui-monospace, monospace; letter-spacing: .04em; }
.fine { font-size: 13px; color: var(--dim); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 800 16px/1 "Inter", system-ui, sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.btn-primary { background: var(--yel); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 210, 63, .65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 5px rgba(255, 210, 63, .16), 0 16px 36px -12px rgba(255, 210, 63, .8); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .2); }
.btn-ghost:hover { border-color: rgba(31, 232, 240, .7); background: rgba(31, 232, 240, .08); transform: translateY(-2px); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

section { position: relative; padding: 72px 0; }
@media (min-width: 960px) { section { padding: 112px 0; } }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(32px, 5.4vw, 54px); margin-top: 16px; }
.sec-head .lead { margin-top: 16px; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 64px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background: radial-gradient(48% 40% at 72% 38%, rgba(43, 60, 150, .55), transparent 70%), radial-gradient(36% 30% at 18% 12%, rgba(31, 232, 240, .10), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(40px, 10.5vw, 84px); margin: 18px 0 20px; }
.hero .lead { margin-bottom: 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; max-width: 560px; margin: 0 auto; width: 100%; }
.hero-art img { width: 100%; animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 44px; border-radius: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.stat { background: rgba(13, 16, 40, .92); padding: 18px 18px 16px; }
.stat b { display: block; font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.stat span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--mute); line-height: 1.4; }
.stats-note { margin-top: 10px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
}

/* ---------- stack ---------- */
.stack { display: grid; gap: 18px; }
@media (min-width: 760px) { .stack { grid-template-columns: 1fr 1fr; gap: 22px; } }
.card { position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s ease, box-shadow .35s ease; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--brand); opacity: 0; transition: opacity .35s ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(31, 232, 240, .35); }
.card:hover::before { opacity: .8; }
.card figure { margin: 0; border-bottom: 1px solid var(--line); background: #0a0d24; }
.card figure img { width: 100%; aspect-ratio: 7 / 4; object-fit: cover; }
.card .body { padding: 22px 22px 24px; }
.card h3 { font-size: 22px; }
.card p { margin-top: 10px; color: var(--mute); font-size: 15.5px; line-height: 1.55; }
.card .metric { display: inline-block; margin-top: 16px; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(31, 232, 240, .28); color: var(--mint); background: rgba(31, 232, 240, .06); }
.card .idx { position: absolute; top: 14px; left: 16px; z-index: 1; font: 700 11px "Mono", monospace; letter-spacing: .14em; color: var(--mute); background: rgba(7, 10, 24, .7); padding: 6px 9px; border-radius: 8px; border: 1px solid var(--line); }

/* ---------- vertical ---------- */
.vertical { background: radial-gradient(60% 50% at 80% 40%, rgba(31, 232, 240, .07), transparent 70%), var(--night); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .v-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.specs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs li { display: grid; grid-template-columns: 132px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.specs .mono { color: var(--cyan); }
.specs span:last-child { color: var(--mute); font-size: 15.5px; }
.specs b { color: #fff; font-weight: 600; }
.feeds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.feeds span { font-size: 13px; font-weight: 600; color: #fff; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.device { position: relative; width: min(280px, 72vw); margin: 0 auto; }
.device::before { content: ""; position: absolute; inset: 10% -18%; background: radial-gradient(closest-side, rgba(31, 232, 240, .28), transparent); filter: blur(10px); z-index: 0; }
.device-frame { position: relative; z-index: 1; padding: 10px; border-radius: 40px; background: linear-gradient(145deg, #3a4590, #151a3c 50%, #2b3470); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.device-screen { position: relative; border-radius: 31px; overflow: hidden; aspect-ratio: 9 / 16; background: #000; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; }
.device-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(7, 10, 24, .7)); }
.device .badge { position: absolute; z-index: 2; font: 700 11px "Mono", monospace; letter-spacing: .1em; color: #fff; background: rgba(15, 20, 51, .92); border: 1px solid rgba(255, 255, 255, .14); padding: 8px 11px; border-radius: 10px; backdrop-filter: blur(8px); white-space: nowrap; }
.device .b1 { top: 18%; left: -14%; } .device .b2 { bottom: 20%; right: -16%; color: var(--yel); }
.device .tl { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.device .tl i { position: absolute; inset: 0 40% 0 0; background: var(--brand); border-radius: 4px; }
.device figcaption { text-align: center; margin-top: 16px; }
@media (max-width: 420px) { .device .b1 { left: -6%; } .device .b2 { right: -6%; } }

/* ---------- tools ---------- */
.tools { display: grid; gap: 16px; }
@media (min-width: 860px) { .tools { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tool { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; text-decoration: none; color: var(--fg); min-height: 220px; }
.tool .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(31, 232, 240, .08); border: 1px solid rgba(31, 232, 240, .25); color: var(--cyan); }
.tool .ic svg { width: 22px; height: 22px; }
.tool .chip { align-self: flex-start; font: 700 11px "Mono", monospace; letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 8px; color: var(--ink); background: var(--brand); }
.tool .chip.y { background: var(--yel); }
.tool .chip.w { background: rgba(255, 255, 255, .9); }
.tool h3 { font-size: 21px; }
.tool p { margin: 0; }
.tool .go { margin-top: auto; font-weight: 800; font-size: 15px; color: #fff; display: inline-flex; gap: 8px; align-items: center; }
.tool:hover .go { color: var(--yel); }

/* ---------- final ---------- */
.final { text-align: center; padding: 88px 0 96px; }
.final h2 { font-size: clamp(32px, 6vw, 60px); }
.final .lead { margin: 16px auto 28px; }
.final .ctas { justify-content: center; }
.final .fine { margin-top: 18px; }
.final::before { content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 100%); height: 1px; transform: translateX(-50%); background: var(--brand); opacity: .4; }

/* ---------- simple pages (FAQ, contact, legal) ---------- */
.doc { padding: 56px 0 88px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(36px, 7vw, 60px); margin: 16px 0 18px; }
.doc h2 { font-size: 22px; letter-spacing: -.015em; margin: 38px 0 10px; }
.doc p, .doc li { color: var(--mute); font-size: 16.5px; line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 10px 0 0; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--cyan); text-underline-offset: 3px; }
.doc strong { color: #fff; font-weight: 600; }
.doc .updated { margin-top: 6px; }
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: border-color .25s ease; }
.faq details[open] { border-color: rgba(31, 232, 240, .35); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; position: relative; font-weight: 600; font-size: 17px; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 20px; margin: 0; }
.contact-card { margin-top: 32px; padding: 30px 26px; }
.contact-card .mail { display: inline-block; margin: 8px 0 18px; font-size: clamp(19px, 4.4vw, 28px); font-weight: 800; letter-spacing: -.02em; color: #fff; text-decoration: none; word-break: break-all; }
.contact-card .mail:hover { color: var(--yel); }
.contact-list { list-style: none; padding: 0 !important; margin: 26px 0 0 !important; display: grid; gap: 10px; }
.contact-list li { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }

/* ---------- reveal (only when JS + motion allowed) ---------- */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
