/* GENVID SaaS. Visual tokens inherited from genvid.qrasf.com, not a new brand.
   App components extend the original dark-grid studio identity. */

:root {
  --bg: #0A0A0F;
  --surface: #12121A;
  --surface-2: #1A1A25;
  --text: #EDEDF2;
  --muted: #9A9AAE;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --cyan: #22D3EE;
  --blue: #3B82F6;
  --purple: #A855F7;
  --gradient: linear-gradient(105deg, #22D3EE 0%, #3B82F6 52%, #A855F7 100%);
  --font-head: Poppins, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1120px;
  --gutter: 24px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 14px 40px rgba(0, 0, 0, .24);
  /* Existing app utilities retain their semantic names. */
  --font: var(--font-body);
  --mono: var(--font-mono);
  --ink: var(--text);
  --ink-2: #C4C4D2;
  --line: var(--border);
  --accent: var(--cyan);
  --accent-ink: #67E8F9;
  --accent-soft: #112D37;
  --ok: #73D7A5;
  --ok-soft: #14352B;
  --warn: #FCD34D;
  --warn-soft: #302810;
  --danger: #FDA4AF;
  --danger-soft: #351E27;
  --info: #93C5FD;
  --info-soft: #182840;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  background-image: linear-gradient(to right, rgba(255, 255, 255, .03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 48px 48px;
  background-attachment: fixed;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--cyan); color: var(--bg); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 4px;
}
img, video { max-width: 100%; display: block; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.mono { font-family: var(--font-mono); font-size: .86em; }
.nowrap { white-space: nowrap; }
.text-gradient { color: transparent; background: var(--gradient); background-clip: text; -webkit-background-clip: text; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
/* Anchored sections must clear the sticky header, or a jump hides the heading. */
section[id], [id]:target { scroll-margin-top: 112px; }
@media (max-width: 720px) { section[id], [id]:target { scroll-margin-top: 148px; } }
.skip-link {
  position: absolute; top: -80px; left: 16px; z-index: 100;
  padding: 12px 16px; background: var(--gradient); color: var(--bg);
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--bg); }
#main-content { scroll-margin-top: 140px; }

/* The same lowercase g + Poppins wordmark as the original GENVID site. */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 10, 15, .78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 80px; padding-top: 10px; padding-bottom: 10px; }
.brand-lockup { flex: 0 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 36px; height: 36px; border-radius: 8px; flex: 0 0 auto; }
.brand-word { font: 700 1rem/1.2 var(--font-head); letter-spacing: .04em; color: var(--text); }
.brand-parent {
  display: block; margin: 2px 0 0 46px; color: var(--muted);
  font: 400 10px/1.5 var(--font-mono); text-decoration: none;
}
.brand-parent:hover { color: var(--cyan); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-left: auto; flex: 1; }
.site-nav a { min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; font-size: .9rem; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--cyan); }
.site-nav .nav-login { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

/* Native details menus preserve keyboard access and avoid a JS dependency. */
.menu { position: relative; min-width: 0; }
.menu summary { list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-trigger {
  border: 1px solid var(--border-strong); background: var(--surface); border-radius: 10px;
  padding: 10px 12px; font: 500 .82rem/1.5 var(--font-body); color: var(--text);
  min-height: 44px; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.menu-label { display: block; font: 400 .59rem/1.4 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.menu-label::after { content: "⌄"; float: right; color: var(--cyan); }
.menu-value { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu[open] .menu-trigger { border-color: var(--cyan); }
.menu-body {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px;
  max-width: calc(100vw - 48px); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 6px; z-index: 60;
}
.menu-body form { margin: 0; }
.menu-item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; text-align: left; background: none; border: 0;
  font: 400 .85rem/1.5 var(--font-body); color: var(--ink-2);
  padding: 10px; border-radius: 8px; cursor: pointer; text-decoration: none;
}
.menu-item:hover { background: var(--surface-2); color: var(--text); }
.menu-item.is-current { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.menu-item-kind { font: 400 .68rem/1.5 var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* Shared application layout: public pages, auth, wallets and both workspace kinds. */
.site-main { min-height: 62vh; padding: 44px 0 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.page-head > div { min-width: 0; }
.page-head .sub { color: var(--muted); margin: 6px 0 0; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-side { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.grid > *, .feature-grid > * { min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card + .card { margin-top: 20px; }
.grid > .card + .card, .feature-grid > .card + .card, .gallery > .card + .card { margin-top: 0; }
.card h2, .card h3 { margin-top: 0; }
.card .card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-flush { padding: 0; overflow: hidden; }
.section-label {
  font: 500 .71rem/1.6 var(--font-mono); text-transform: uppercase;
  letter-spacing: .09em; color: var(--muted); margin: 0 0 14px;
}

/* Original GENVID gradient CTAs, with ink rather than low-contrast white labels. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .93rem/1.2 var(--font-body); padding: 13px 20px; min-height: 44px;
  border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: filter .15s ease, border-color .15s ease, background-color .15s ease;
}
.btn-primary, .btn-accent { background: var(--gradient); color: var(--bg); }
.btn-primary:hover, .btn-accent:hover { filter: brightness(1.08); color: var(--bg); }
.btn:active { filter: brightness(.94); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .3); color: var(--text); }
.btn-danger-ghost { background: transparent; border-color: transparent; color: var(--danger); }
.btn-small { padding: 10px 14px; font-size: .82rem; }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 .67rem/1.5 var(--font-mono); letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px; text-transform: uppercase;
}
.badge-queued, .badge-pending, .badge-personal { background: var(--surface-2); color: var(--ink-2); }
.badge-submitting, .badge-processing { background: var(--info-soft); color: var(--info); }
.badge-succeeded, .badge-paid { background: var(--ok-soft); color: var(--ok); }
.badge-failed { background: var(--danger-soft); color: var(--danger); }
.badge-review { background: var(--warn-soft); color: var(--warn); }
.badge-expired, .badge-canceled { background: var(--surface-2); color: var(--muted); }
.badge-business { background: var(--accent-soft); color: var(--accent-ink); }

.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 8px; }
.form-field .help { color: var(--muted); font-size: .81rem; margin-top: 7px; }
.form-field .errorlist { list-style: none; padding: 0; margin: 8px 0 0; color: var(--danger); font-size: .85rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"],
input[type="number"], input[type="tel"], input[type="file"], select, textarea {
  width: 100%; max-width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--border-strong); border-radius: 10px; padding: 12px 14px;
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--cyan); outline-offset: 2px; border-color: var(--cyan); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--cyan); }
textarea { min-height: 120px; resize: vertical; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-row label {
  flex: 1; min-width: 150px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 14px; cursor: pointer; font-weight: 500; background: var(--bg);
}
.radio-row input { margin-right: 8px; }
.radio-row label:has(input:checked) { border-color: var(--cyan); background: var(--accent-soft); }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
form.inline { display: inline; }

.banner { border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 18px; border: 1px solid var(--border); background: var(--info-soft); color: var(--info); font-size: .9rem; }
.banner-success { background: var(--ok-soft); color: var(--ok); }
.banner-error, .banner-danger { background: var(--danger-soft); color: var(--danger); }
.banner-warning { background: var(--warn-soft); color: var(--warn); }
.banner-info { background: var(--info-soft); color: var(--info); }

.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th { text-align: left; font: 500 .68rem/1.5 var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--border); }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; max-width: 100%; }

.wallet-card { background: linear-gradient(135deg, rgba(34, 211, 238, .09), rgba(168, 85, 247, .06)), var(--surface); color: var(--text); border-color: rgba(34, 211, 238, .24); }
.wallet-card .section-label { color: var(--cyan); }
.wallet-balance { font: 700 2.6rem/1.15 var(--font-head); letter-spacing: -.03em; }
.wallet-balance .unit { font: 500 .85rem/1.5 var(--font-body); color: var(--muted); margin-left: 8px; }
.ledger-delta { font-weight: 600; font-variant-numeric: tabular-nums; }
.ledger-delta.pos { color: var(--ok); }
.ledger-delta.neg { color: var(--danger); }

.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 18px; }
.pack { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pack.is-featured { border-color: rgba(34, 211, 238, .55); background: linear-gradient(150deg, rgba(34, 211, 238, .045), rgba(168, 85, 247, .045)), var(--surface); }
.pack-name { font: 600 1rem/1.4 var(--font-head); }
.pack-price { font: 700 2rem/1.3 var(--font-head); letter-spacing: -.025em; }
.pack-price .cur { font: 500 .9rem/1.4 var(--font-body); color: var(--muted); margin-right: 4px; }
.pack-meta { color: var(--muted); font-size: .85rem; min-height: 2.5em; }
.pack form { margin-top: auto; padding-top: 8px; }
.pack .btn { width: 100%; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 22px; border-left: 1px solid var(--border-strong); margin-left: 5px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); border: 2px solid var(--surface); }
.timeline .t-when { color: var(--muted); font: 400 .73rem/1.5 var(--font-mono); }
.timeline .t-what { font-weight: 500; }
.artifact video { border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: #000; }
.copy-block { background: var(--bg); border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); padding: 16px; font-size: .9rem; white-space: pre-wrap; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; font-size: .9rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }

.empty-state { text-align: center; padding: 44px 24px; }
.empty-state .es-title { font: 600 1.1rem/1.4 var(--font-head); margin-bottom: 10px; }
.empty-state .es-body { color: var(--muted); max-width: 420px; margin: 0 auto 20px; }
.steps { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 20px 0 0; padding: 0; list-style: none; }
.steps li { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font: 400 .7rem/1.5 var(--font-mono); color: var(--ink-2); }

/* Marketing follows the original studio's spacious type, grid and single gradient. */
.hero { padding: 38px 0 40px; }
.hero-mark { width: 64px; height: 64px; border-radius: 12px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2rem, 4.1vw, 3.25rem); max-width: 19ch; line-height: 1.1; letter-spacing: -.03em; }
.hero .lead { font-size: 1.0625rem; color: var(--muted); max-width: 56ch; line-height: 1.7; }
.hero .btn-row { margin-top: 28px; }
.hero-badge { display: block; font: 500 .73rem/1.6 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); margin-bottom: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.feature .f-icon { width: 30px; height: 30px; color: var(--cyan); margin-bottom: 18px; }
.feature h3 { min-height: 2.4em; }
.feature p { margin-bottom: 0; }
.price-note { font-size: .85rem; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 9px 0 9px 26px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 600; }

/* The family connection is explicit, as on antisyc and independentmindlabs.com. */
.site-footer { border-top: 1px solid var(--border-strong); padding: 36px 0 28px; margin-top: 32px; background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 28px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
.footer-description { color: var(--muted); font-size: .85rem; margin: 12px 0 0; }
.family-attribution { font: 400 .72rem/1.7 var(--font-mono); color: var(--muted); margin: 14px 0 0; }
.family-attribution a { color: var(--text); }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: var(--muted); font-size: .83rem; text-decoration: none; }
.footer-nav a:hover { color: var(--text); }
.footer-family { max-width: var(--container); margin: 24px auto 0; padding: 20px var(--gutter) 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font: 400 .65rem/1.7 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.footer-family a { color: var(--muted); }

@media (max-width: 1000px) {
  .header-inner { gap: 16px; }
  .site-nav { gap: 14px; }
  .menu-trigger { max-width: 135px; }
}
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-side, .feature-grid { grid-template-columns: 1fr; }
  .feature h3 { min-height: 0; }
  .hero { padding-top: 24px; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding-top: 12px; padding-bottom: 8px; }
  .brand-lockup { grid-column: 1; grid-row: 1; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-word { font-size: .93rem; }
  .brand-parent { margin-left: 40px; font-size: 9px; }
  .header-actions { grid-column: 2; grid-row: 1; margin-left: auto; }
  .header-login { display: none; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-left: 0; gap: 20px; }
  .site-nav a { font-size: .82rem; min-height: 36px; }
  .site-nav .nav-login { display: inline-flex; }
  .site-header.is-authenticated .header-actions { grid-row: 3; grid-column: 1 / -1; width: 100%; margin: 4px 0 0; }
  .site-header.is-authenticated .header-actions .menu { flex: 1; }
  .menu-trigger { width: 100%; max-width: none; }
  .menu-body { min-width: 0; width: min(280px, calc(100vw - 40px)); }
  .header-actions .menu:first-child .menu-body { left: 0; right: auto; }
  .site-main { padding-top: 30px; padding-bottom: 44px; }
  .page-head { align-items: start; }
  .page-head h1 { font-size: 1.7rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); max-width: 19ch; }
  .hero-mark { width: 48px; height: 48px; margin-bottom: 20px; }
  .hero .lead { font-size: 1rem; }
  .feature-grid { margin-top: 36px; gap: 18px; }
  .card, .pack { padding: 20px; }
  .card-flush { padding: 0; }
  .footer-inner { gap: 24px; }
  .footer-family { margin-top: 22px; }
}
@media (max-width: 380px) {
  .brand { gap: 8px; }
  .brand-parent { margin-left: 38px; font-size: 8.5px; }
  .header-actions > .btn-small { padding-left: 12px; padding-right: 12px; font-size: .76rem; }
  .site-nav { gap: 16px; }
  .btn { padding-left: 15px; padding-right: 15px; }
  .kv { gap: 8px 12px; }
}
/* Homepage showcase: migrated from the published GENVID site. */

.section-head { max-width: 52ch; margin-bottom: 32px; }
.section-head h2 { margin-bottom: 12px; }
.section-head .lead { margin-bottom: 0; }
.section-tight { padding-top: 24px; padding-bottom: 32px; }
.gallery-note { margin: 18px 0 0; }
.gallery-cta { margin-top: 26px; text-align: center; }

.hero-logo { width: 96px; height: 96px; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 22px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 38px 0 0; padding: 22px 0 0; border-top: 1px solid var(--border); }
.hero-stats li { margin: 0; font: 400 .75rem/1.5 var(--font-mono); letter-spacing: .04em; color: var(--muted); }
.stat-value { display: block; margin-bottom: 4px; font: 500 1.125rem/1.2 var(--font-mono); color: var(--text); letter-spacing: .02em; }

.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.how-grid .card { position: relative; padding-top: 56px; }
.how-grid .card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 36px; pointer-events: none;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  background-color: rgba(255, 255, 255, .03);
  background-image: radial-gradient(circle, #7A7A8C 3px, transparent 3.25px),
                    radial-gradient(circle, #7A7A8C 3px, transparent 3.25px),
                    radial-gradient(circle, #7A7A8C 3px, transparent 3.25px);
  background-size: 7px 7px;
  background-position: 16px 50%, 28px 50%, 40px 50%;
  background-repeat: no-repeat;
}
.how-step { position: absolute; top: 0; right: 14px; height: 36px; font: 400 .6875rem/36px var(--font-mono); letter-spacing: .08em; color: var(--muted); pointer-events: none; }
.how-note { margin: 22px 0 0; font: 400 .8125rem/1.6 var(--font-mono); letter-spacing: .02em; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.clip-card { padding: 0; overflow: hidden; }
.clip-media { position: relative; aspect-ratio: 9 / 16; background: #000; overflow: hidden; }
.clip-video, .clip-poster { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.clip-play { position: absolute; inset: 0; width: 100%; height: 100%; text-decoration: none; }
.clip-play-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .24); background: rgba(10, 10, 15, .72); color: var(--text);
}
.clip-play:hover .clip-play-icon { border-color: rgba(255, 255, 255, .4); }
.clip-play:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--cyan); }
.clip-rank { position: absolute; top: 10px; left: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(10, 10, 15, .72); border: 1px solid var(--border-strong); font: 400 .8125rem/1.5 var(--font-mono); color: var(--text); pointer-events: none; }
.clip-disclosure { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(10, 10, 15, .78); border: 1px solid var(--border-strong); font: 400 .6875rem/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); pointer-events: none; }
.clip-body { padding: 16px 18px 18px; }
.clip-title { margin: 0 0 6px; font: 600 1.02rem/1.35 var(--font-head); letter-spacing: -.015em; }
.clip-hook { margin: 0 0 8px; font-size: .92rem; color: var(--ink-2); }
.clip-stats { margin: 0; font: 400 .8125rem/1.6 var(--font-mono); color: var(--muted); }
.clip-likes { color: var(--text); }

.featured-clip { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 28px; align-items: center; }
.featured-media { position: relative; aspect-ratio: 9 / 16; background: #000; border-radius: var(--radius-sm); overflow: hidden; }
.featured-body .section-label { color: var(--cyan); margin-bottom: 10px; }
.gallery-note { margin: 18px 0 0; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 0 18px; }
.faq-list summary { cursor: pointer; padding: 16px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--cyan); font: 500 1.25rem/1 var(--font-mono); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 18px; color: var(--muted); max-width: 72ch; }

.cta-band {
  margin: 20px 0 0;
  padding: 54px var(--gutter);
  border-radius: var(--radius);
  background: linear-gradient(105deg, rgba(34, 211, 238, .12), rgba(59, 130, 246, .1), rgba(168, 85, 247, .12));
  border: 1px solid var(--border-strong);
}
.cta-band .lead { max-width: 58ch; }
.cta-band .btn-row { margin-top: 22px; }

@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; }
  .featured-clip { grid-template-columns: 1fr; }
  .featured-media { max-width: 340px; }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
  .hero-logo { width: 72px; height: 72px; }
  .cta-band { padding: 38px 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
