/* AISDA — site v3
   Mash-up of the two approved references:
   · Quiet Edit  — warm-dark editorial: serif display, cream type, hairline rules,
                   letterspaced uppercase nav, generous negative space.
   · Neuralis    — product energy: subtle constellation glow, gold rounded CTAs,
                   glassy icon cards, trust strip.
   Brand palette kept (gold #f0d35f), warmer dark base for the editorial feel. */

:root {
  --gold: #f0d35f;
  --gold-deep: #c9a83f;
  --cream: #f3ead9;
  --ink: #100f0d;          /* warm near-black */
  --ink-2: #16140f;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-solid: #1a1813;
  --line: rgba(243, 234, 217, 0.14);
  --line-soft: rgba(243, 234, 217, 0.08);
  --text: #efe9dc;
  --text-dim: #a9a294;
  --text-faint: #7b7568;
  --radius: 16px;
  --max: 1140px;
  --serif: 'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI',
          Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- constellation glow (Neuralis) ---- */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(760px 420px at 78% -6%, rgba(240, 211, 95, 0.10), transparent 65%),
    radial-gradient(620px 380px at 8% 12%, rgba(240, 211, 95, 0.05), transparent 60%),
    radial-gradient(900px 600px at 50% 108%, rgba(240, 211, 95, 0.05), transparent 70%);
}
main, header.nav, footer { position: relative; z-index: 1; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 26px; }

/* ---------------- nav ---------------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 15, 13, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between;
             height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px;
         font-weight: 600; font-size: 17px; letter-spacing: .34em; }
.brand svg { display: block; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 12.5px;
  font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 10px;
  font-weight: 600; font-size: 14.5px; text-decoration: none;
  border: 1px solid transparent; letter-spacing: .01em;
  background: transparent; color: inherit; font-family: var(--sans);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--gold); color: #14120b; }
.btn-primary:hover { transform: translateY(-2px); background: #f7e083; }
.btn-ghost { border-color: rgba(243,234,217,.28); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 11px 20px; font-size: 13.5px; }

/* ---------------- hero (editorial) ---------------- */
.hero { padding-block: 108px 64px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 11.5px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold); font-weight: 600;
  border: 1px solid rgba(240,211,95,.28); padding: 7px 16px;
  border-radius: 999px; margin-bottom: 34px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
  line-height: 1.02; letter-spacing: -.02em; font-weight: 600;
  color: var(--cream); margin: 0 auto 26px; max-width: 17ch;
}
h1 .accent { color: var(--gold); font-style: italic; }
.lede {
  font-size: clamp(1.02rem, 1.9vw, 1.22rem); color: var(--text-dim);
  max-width: 58ch; margin: 0 auto 40px;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* hairline + meta strip, echoing the journal reference */
.rule { border: 0; border-top: 1px solid var(--line); margin: 56px 0 22px; }
.meta-strip {
  display: flex; justify-content: center; gap: 26px; flex-wrap: wrap;
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-faint);
}
.meta-strip span::after { content: '·'; margin-left: 26px; color: var(--line); }
.meta-strip span:last-child::after { content: ''; }

/* trust strip */
.trust {
  display: flex; justify-content: center; gap: 34px; flex-wrap: wrap;
  padding: 26px 0 0; font-size: 13.5px; color: var(--text-faint);
}
.trust span::before { content: '◆'; color: var(--gold); margin-right: 10px;
                      font-size: 9px; vertical-align: 1px; }

/* ---------------- sections ---------------- */
section { padding: 42px 0; }
/* .wrap sets horizontal padding, which (being a class) was overriding the
   section's vertical rhythm — restore it explicitly */
section.wrap { padding-block: 48px; }
.section-head { text-align: center; margin-bottom: 48px; }
h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.015em;
  color: var(--cream); margin: 0 0 14px;
}
.sub { color: var(--text-dim); max-width: 62ch; margin: 0 auto; font-size: 16px; }

/* two-name cards */
.two-names { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .two-names { grid-template-columns: 1fr; } }
.name-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 32px; backdrop-filter: blur(6px);
}
.name-card .tag {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.name-card h3 { font-family: var(--serif); font-size: 1.5rem; margin: 10px 0 12px;
                color: var(--cream); font-weight: 600; }
.name-card p { color: var(--text-dim); margin: 0; font-size: 15.5px; }

/* problem */
.problem-list { max-width: 64ch; margin: 0 auto; display: grid; gap: 16px; }
.problem-list div { display: flex; gap: 14px; color: var(--text-dim); }
.problem-list .x { color: #e0908a; }

/* cards with gold line icons */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 30px; text-align: center;
  backdrop-filter: blur(6px);
}
.card .ico { display: inline-flex; margin-bottom: 18px; }
.card .ico svg { width: 34px; height: 34px; stroke: var(--gold);
                 fill: none; stroke-width: 1.5; }
.card h3 { font-size: 1.06rem; margin: 0 0 10px; color: var(--text); font-weight: 600; }
.card p { margin: 0; color: var(--text-dim); font-size: 14.8px; }

/* table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line-soft);
                border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
tr:last-child td { border-bottom: 0; }
th { color: var(--text-faint); font-weight: 600; font-size: 11.5px;
     letter-spacing: .14em; text-transform: uppercase; }
td:first-child { color: var(--text-dim); }
td.zenn, th.zenn { color: var(--gold); font-weight: 600; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--surface); border: 1px solid var(--line-soft);
        border-radius: var(--radius); padding: 30px; text-align: center; }
.stat .n { font-family: var(--serif); font-size: 2.3rem; font-weight: 600;
           color: var(--gold); letter-spacing: -.02em; }
.stat .l { color: var(--text-dim); font-size: 14.5px; margin-top: 8px; }

/* safety */
.safety { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.no-list { max-width: 62ch; margin: 22px auto 0; display: grid; gap: 13px; }
.no-list div { color: var(--text-dim); }
.no-list .no { color: #e0908a; margin-right: 12px; }

/* kickstarter */
.kick {
  background: linear-gradient(165deg, rgba(240,211,95,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(240,211,95,.24); border-radius: 20px; padding: 46px;
  text-align: center;
}
@media (max-width: 620px) { .kick { padding: 30px 22px; } }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
         margin-top: 34px; text-align: left; }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: rgba(255,255,255,.03); border: 1px solid var(--line-soft);
        border-radius: 12px; padding: 20px; }
.tier .price { font-family: var(--serif); color: var(--gold); font-weight: 600;
               font-size: 1.3rem; }
.tier .what { color: var(--text-dim); font-size: 13.8px; margin-top: 8px; }

/* faq */
.faq-wrap { max-width: 800px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line-soft); padding: 20px 0; }
summary { cursor: pointer; font-weight: 500; font-size: 16.5px;
          color: var(--cream); list-style: none; display: flex;
          justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--gold); font-size: 20px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--text-dim); margin: 14px 0 0; font-size: 15.5px; }

/* footer */
footer { padding: 60px 0 70px; border-top: 1px solid var(--line);
         color: var(--text-faint); font-size: 13.5px; }
.foot-inner { display: flex; justify-content: space-between; gap: 24px;
              flex-wrap: wrap; align-items: center; }
footer a { color: var(--text-dim); text-decoration: none; letter-spacing: .1em;
           text-transform: uppercase; font-size: 12px; }
footer a:hover { color: var(--gold); }
/* channels not live yet: visibly dimmed, not clickable */
footer a[data-pending] { opacity: .4; pointer-events: none; cursor: default; }

/* ---------------- mobile ---------------- */
.lbl-short { display: none; }

@media (max-width: 720px) {
  /* nav: compact, never wraps */
  .nav-inner { height: 64px; gap: 8px; }
  .brand { font-size: 15px; letter-spacing: .18em; gap: 8px; }
  .brand svg { width: 20px; height: 20px; }
  .lang-switch { gap: 2px; margin-right: 2px; }
  .lang-switch a { font-size: 11px; padding: 4px 5px; }
  .btn-sm { padding: 9px 12px; font-size: 12.5px; white-space: nowrap; }
  .lbl-full { display: none; }
  .lbl-short { display: inline; }

  /* wrapped meta strip: no trailing separator dots at line ends */
  .meta-strip { gap: 10px 18px; }
  .meta-strip span::after { content: none; }
  .trust { gap: 14px 22px; }

  /* comparison table -> stacked cards, so the ZENN column is never
     hidden behind a horizontal swipe */
  .table-scroll { overflow: visible; border: 0; background: none; }
  table { display: block; }
  table thead { display: none; }
  table tbody { display: block; }
  table tr {
    display: block; background: var(--surface);
    border: 1px solid var(--line-soft); border-radius: 14px;
    padding: 18px 18px 8px; margin-bottom: 14px;
  }
  table td { display: block; border: 0; padding: 0 0 12px; }
  table td:first-child {
    font-family: var(--serif); font-size: 1.12rem; color: var(--cream);
    font-weight: 600; padding-bottom: 10px; margin-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
  }
  table td[data-label]::before {
    content: attr(data-label);
    display: block; font-size: 10.5px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--text-faint); margin-bottom: 3px;
  }
  table td.zenn {
    color: var(--gold); font-weight: 600;
    border-left: 2px solid var(--gold); padding-left: 12px;
  }
  table td.zenn::before { color: var(--gold); opacity: .85; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(16px);
          transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- language switcher ---------------- */
.lang-switch { display: flex; align-items: center; gap: 4px; margin-right: 12px; }
.lang-switch a {
  font-size: 12px; letter-spacing: .06em; text-decoration: none;
  color: var(--text-faint); padding: 4px 8px; border-radius: 6px;
  transition: .16s ease;
}
.lang-switch a:hover { color: var(--gold); }
.lang-switch a.on { background: var(--gold); color: #14120b; font-weight: 600; }
@media (max-width: 760px) { .lang-switch { margin-right: 0; } .lang-switch a { padding: 4px 6px; } }
@media (max-width: 460px) { .lang-switch a { font-size: 11px; padding: 3px 5px; } }

/* ---------------- waitlist form (native, site-styled) ---------------- */
/* the hidden attribute must beat our display rules */
[hidden] { display: none !important; }
.form-slot {
  max-width: 740px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 34px 32px;
}
@media (max-width: 620px) { .form-slot { padding: 24px 18px; } }
.wl-form { display: grid; gap: 20px; }
.wl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .wl-row { grid-template-columns: 1fr; } }
.wl-field { display: grid; gap: 8px; }
.wl-field > span, .wl-field legend {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 600; padding: 0;
}
.wl-field em { color: var(--text-faint); font-style: normal;
               text-transform: none; letter-spacing: 0; font-weight: 400; }
.wl-set { border: 0; margin: 0; }
.wl-field input[type="text"], .wl-field input[type="email"],
.wl-field textarea {
  width: 100%; background: rgba(255,255,255,.04);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 14px; color: var(--text); font-family: var(--sans);
  font-size: 15px; transition: border-color .18s ease, background .18s ease;
}
.wl-field input::placeholder, .wl-field textarea::placeholder {
  color: var(--text-faint);
}
.wl-field input:focus, .wl-field textarea:focus {
  outline: none; border-color: var(--gold);
  background: rgba(240,211,95,.06);
}
.wl-field textarea { resize: vertical; min-height: 88px; }

/* expert chips */
.wl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-dim);
  font-size: 13.5px; cursor: pointer;
  transition: .16s ease;
}
.chip span:hover { border-color: var(--gold-soft); color: var(--text); }
.chip input:checked + span {
  background: var(--gold); color: #14120b; border-color: var(--gold);
  font-weight: 600;
}
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.wl-submit { justify-self: start; }
.wl-note { color: var(--text-faint); font-size: 12.5px; margin: 0; }

/* thank-you state */
.wl-done { text-align: center; padding: 22px 10px; }
.wl-done h3 { font-family: var(--serif); font-size: 1.7rem; margin: 14px 0 8px;
              color: var(--cream); font-weight: 600; }
.form-note { text-align: center; color: var(--text-faint);
             font-size: 13px; margin: 18px 0 0; }

/* ---------------- coming-soon modal ---------------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(6, 6, 8, 0.72); backdrop-filter: blur(6px);
}
.modal.open { display: flex; }
.modal-box {
  position: relative; max-width: 520px; width: 100%;
  background: var(--surface-solid); border: 1px solid rgba(240,211,95,.28);
  border-radius: 20px; padding: 40px 34px; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.modal-box h2 { margin: 12px 0 10px; }
.modal-box .cta-row { margin-top: 26px; }
.modal-x {
  position: absolute; top: 10px; right: 14px; background: none; border: 0;
  color: var(--text-faint); font-size: 26px; line-height: 1; cursor: pointer;
}
.modal-x:hover { color: var(--gold); }
