/* Scenyo — style.css
   Mobile-first, WCAG AA, zero-framework.
   Breakpoints: 480, 768, 1024, 1440. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0a0e1a;
  --surface:     #141a2e;
  --surface-2:   #1c2340;
  --surface-3:   #252d4f;
  --border:      rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --primary:     #ff6b35;
  --primary-hover: #ff8352;
  --secondary:   #4fc3ff;
  --text:        #f5f7fa;
  --text-muted:  #a0aec0;
  --text-dim:    #6b7280;
  --success:     #48bb78;
  --warning:     #ed8936;
  --danger:      #f56565;
  --radius:      14px;
  --radius-sm:   10px;
  --radius-lg:   20px;
  --shadow-glow: 0 0 40px rgba(255,107,53,0.18);
  --ease:        cubic-bezier(.2,.8,.2,1);
  --maxw:        1200px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }

a { color: var(--secondary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-muted); }

/* --- a11y helpers --- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

button, .btn, a.btn { cursor: pointer; }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; border-radius: 4px; }

/* --- layout --- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }

.section-dark { background: var(--surface); }
.section-darker { background: #070b15; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-eyebrow {
  display: inline-block;
  color: var(--secondary);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: .75rem;
}
.section-head p { font-size: 1.1rem; margin-top: 1rem; }

/* --- nav --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,26,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 28px; height: 28px; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.primary-nav { display: flex; align-items: center; gap: .5rem; }
.primary-nav a {
  color: var(--text-muted); font-weight: 500; font-size: .95rem;
  padding: .5rem .75rem; border-radius: 8px;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--text); background: rgba(255,255,255,0.04); }
.primary-nav a.btn-primary { color: #fff; background: var(--primary); }
.primary-nav a.btn-primary:hover { background: var(--primary-hover); color: #fff; }
@media (max-width: 640px) {
  .primary-nav a:not(.btn) { display: none; }
}

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600;
  padding: .9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: all .2s var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-3); color: var(--text); }
.btn-ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-lg { padding: 1.1rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* --- hero --- */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding: 6rem 0 7rem; min-height: calc(100vh - 72px); display: flex; align-items: center; }
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0;
}
.hero::before { width: 500px; height: 500px; top: -120px; right: -120px; background: rgba(255,107,53,0.15); }
.hero::after  { width: 500px; height: 500px; bottom: -150px; left: -100px; background: rgba(79,195,255,0.13); }
.hero > .container { position: relative; z-index: 1; display: grid; gap: 3rem; }
@media (min-width: 1024px) { .hero > .container { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 4rem; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(79,195,255,0.1);
  border: 1px solid rgba(79,195,255,0.25);
  color: var(--secondary);
  padding: .4rem .9rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .05em;
  margin-bottom: 1.25rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--primary); }
.hero-sub { font-size: 1.1rem; max-width: 560px; margin-bottom: 2rem; }
@media (min-width: 768px) { .hero-sub { font-size: 1.2rem; } }

/* --- waitlist form --- */
.waitlist-form {
  display: flex; flex-direction: column; gap: .75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .5rem;
  max-width: 520px;
}
@media (min-width: 560px) { .waitlist-form { flex-direction: row; align-items: center; padding: .4rem; } }
.waitlist-form input[type="email"] {
  flex: 1; min-width: 0;
  background: transparent; border: 0; color: var(--text);
  font: inherit; font-size: 1rem;
  padding: .9rem 1rem;
}
.waitlist-form input[type="email"]:focus { outline: none; }
.waitlist-form input[type="email"]::placeholder { color: var(--text-dim); }
.waitlist-form .btn { padding: .9rem 1.4rem; }
@media (max-width: 559px) { .waitlist-form .btn { width: 100%; } }

.hp { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }

.form-status { min-height: 1.5rem; margin-top: .75rem; font-size: .9rem; color: var(--text-muted); }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }
.trust-line { color: var(--text-dim); font-size: .9rem; margin-top: 1rem; }
.trust-line strong { color: var(--text); }

/* --- hero demo chat --- */
.demo-chat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
}
.demo-chat::before {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,107,53,0.4), rgba(79,195,255,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.demo-head {
  display: flex; align-items: center; gap: .6rem;
  padding-bottom: .75rem; border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
  font-size: .85rem; color: var(--text-muted);
}
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
.demo-msg { display: flex; gap: .75rem; margin: .9rem 0; opacity: 0; animation: msg-in .4s var(--ease) forwards; }
.demo-msg.ai { --accent: var(--secondary); }
.demo-msg.user { --accent: var(--primary); flex-direction: row-reverse; }
.demo-msg .avatar {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent); font-weight: 700; font-size: .85rem;
}
.demo-msg .bubble {
  background: var(--surface-2);
  border-radius: 14px; padding: .75rem 1rem;
  max-width: 85%; font-size: .95rem; line-height: 1.5;
  color: var(--text);
}
.demo-msg.user .bubble { background: color-mix(in srgb, var(--primary) 18%, var(--surface-2)); }
.demo-stats { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.demo-stat {
  background: rgba(255,107,53,0.1); border: 1px solid rgba(255,107,53,0.25);
  color: var(--primary); font-size: .75rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: 999px;
}
.typing::after { content: '▍'; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* --- quick answer card --- */
.answer-card {
  max-width: 820px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
}
.answer-card h2 { font-size: 1.1rem; margin-bottom: .75rem; color: var(--secondary); text-transform: uppercase; letter-spacing: .1em; }
.answer-card p { color: var(--text); font-size: 1.1rem; line-height: 1.7; }

/* --- how-it-works --- */
.steps {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.step:hover { border-color: rgba(255,107,53,0.4); transform: translateY(-3px); }
.step-num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff; font-weight: 800; font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(255,107,53,0.4);
}
.step h3 { margin-bottom: .5rem; }

/* --- scenario cards --- */
.scenario-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .scenario-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .scenario-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.scenario-card {
  border-radius: var(--radius);
  padding: 1.75rem;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative; overflow: hidden;
}
.scenario-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.scenario-card .emoji { font-size: 2.25rem; margin-bottom: .75rem; }
.scenario-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .4rem; }
.scenario-card p { color: rgba(255,255,255,0.8); font-size: .95rem; margin-bottom: 1rem; }
.scenario-card a { color: #fff; font-weight: 600; }
.scenario-card a:hover { color: #fff; opacity: .85; }
.sc-mars     { background: linear-gradient(135deg,#b53d1e,#621a0b); }
.sc-dungeon  { background: linear-gradient(135deg,#3a2f57,#1a1233); }
.sc-detective{ background: linear-gradient(135deg,#4a3222,#1f140a); }
.sc-amazon   { background: linear-gradient(135deg,#1d6e4b,#0d3325); }
.sc-royal    { background: linear-gradient(135deg,#7a3d8a,#2d1435); }
.sc-postapoc { background: linear-gradient(135deg,#555a3a,#1f2214); }

.scenario-more { text-align: center; color: var(--text-muted); margin-top: 2rem; font-size: 1rem; }
.scenario-more strong { color: var(--primary); }

/* --- features --- */
.features {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.feature-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(79,195,255,0.1);
  color: var(--secondary);
  display: grid; place-items: center;
  font-size: 1.3rem;
}
.feature h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.feature p { font-size: .95rem; }

/* --- perks --- */
.perks-section {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.perks-card {
  max-width: 720px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
@media (min-width: 768px) { .perks-card { padding: 3rem; } }
.perks-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1rem; }
.perks-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem; background: var(--surface-2); border-radius: var(--radius-sm);
}
.perks-list .emoji { font-size: 1.6rem; flex-shrink: 0; }
.perks-list strong { color: var(--text); display: block; margin-bottom: .1rem; }
.perks-list span { color: var(--text-muted); font-size: .95rem; }

/* --- testimonials --- */
.testimonials {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.testimonial .quote { color: var(--text); font-size: 1rem; line-height: 1.7; margin-bottom: 1.25rem; }
.testimonial .who { display: flex; align-items: center; gap: .75rem; }
.testimonial .who .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.testimonial .who strong { color: var(--text); font-size: .95rem; display: block; }
.testimonial .who span { color: var(--text-dim); font-size: .85rem; }

/* --- FAQ --- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600; font-size: 1.05rem; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '\002B'; color: var(--primary); font-size: 1.4rem; font-weight: 400;
  transition: transform .2s var(--ease);
}
.faq[open] summary::after { content: '\2212'; }
.faq .answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted); line-height: 1.7;
}

/* --- final CTA --- */
.final-cta {
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(255,107,53,0.18), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(79,195,255,0.14), transparent 60%),
    var(--bg);
}
.final-cta h2 { max-width: 720px; margin: 0 auto 1rem; }
.final-cta p { max-width: 620px; margin: 0 auto 2rem; font-size: 1.1rem; }
.final-cta .waitlist-form { margin: 0 auto 1.5rem; }

.share-row {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin-top: 1.5rem;
}
.share-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted);
  padding: .55rem 1rem; border-radius: 999px;
  font-size: .9rem; font-weight: 500;
}
.share-btn:hover { color: var(--text); border-color: var(--border-strong); }

/* --- footer --- */
.site-footer {
  background: #06080f;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem; margin-top: 4rem;
}
.footer-inner {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1.2fr 2fr; gap: 3rem; } }
.footer-tagline { margin-top: .75rem; font-size: .95rem; color: var(--text-dim); max-width: 320px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-nav h4 { color: var(--text); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-nav a { display: block; color: var(--text-muted); padding: .35rem 0; font-size: .95rem; }
.footer-nav a:hover { color: var(--text); }
.social-row { display: flex; gap: .75rem; }
.social-row a {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-muted);
}
.social-row a:hover { color: var(--primary); border-color: var(--primary); }
.footer-bottom {
  padding-top: 2rem; margin-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center; color: var(--text-dim); font-size: .85rem;
}

/* --- blog --- */
.blog-index {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .blog-index { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-index { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.post-card:hover { transform: translateY(-3px); border-color: rgba(255,107,53,0.4); }
.post-banner {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: grid; place-items: center;
  font-size: 3rem;
  position: relative; overflow: hidden;
}
.post-banner::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 50%);
}
.post-card .body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: .8rem; color: var(--text-dim); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .08em; }
.post-card h3 { font-size: 1.2rem; margin-bottom: .5rem; line-height: 1.3; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--primary); }
.post-card p { font-size: .95rem; margin-bottom: 1rem; flex: 1; }

/* --- article --- */
.article {
  max-width: 760px; margin: 0 auto;
}
.article-header { text-align: center; margin-bottom: 3rem; }
.article-header h1 { margin-bottom: 1rem; }
.article-meta {
  display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
  color: var(--text-dim); font-size: .9rem;
}
.article-banner {
  height: 260px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin-bottom: 2.5rem;
  display: grid; place-items: center; font-size: 5rem;
  position: relative; overflow: hidden;
}
.article-banner::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 30%, rgba(255,255,255,0.18), transparent 55%);
}

.article-body { font-size: 1.08rem; line-height: 1.8; color: var(--text); }
.article-body p { color: var(--text); margin-bottom: 1.25rem; }
.article-body h2 { margin: 2.5rem 0 1rem; font-size: 1.75rem; }
.article-body h3 { margin: 2rem 0 .75rem; font-size: 1.3rem; }
.article-body ul, .article-body ol { margin: 0 0 1.25rem 1.25rem; color: var(--text); }
.article-body li { margin-bottom: .5rem; }
.article-body a { color: var(--secondary); text-decoration: underline; text-decoration-color: rgba(79,195,255,0.35); text-underline-offset: 3px; }
.article-body a:hover { color: var(--primary); }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 0 0 0 1.25rem; margin: 1.5rem 0;
  color: var(--text-muted); font-style: italic;
}
.article-body code { background: var(--surface-2); padding: 2px 6px; border-radius: 4px; font-size: .95em; }
.article-body strong { color: var(--text); }

.author-box {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.author-box .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.3rem;
  flex-shrink: 0;
}
.author-box strong { color: var(--text); display: block; margin-bottom: .2rem; }
.author-box .creds { color: var(--text-dim); font-size: .85rem; margin-bottom: .5rem; }
.author-box p { font-size: .95rem; margin: 0; }

.inline-cta {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}
.inline-cta h3 { margin-bottom: .5rem; }
.inline-cta p { margin-bottom: 1.5rem; }
.inline-cta .waitlist-form { margin: 0 auto; }

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.toc h4 { color: var(--text-dim); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; }
.toc ol { margin: 0 0 0 1.2rem; padding: 0; }
.toc li { margin-bottom: .3rem; }
.toc a { color: var(--text-muted); font-size: .95rem; }
.toc a:hover { color: var(--primary); }

.people-also-ask {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2.5rem 0;
}
.people-also-ask h2 { font-size: 1.25rem; margin-bottom: 1rem; }

/* --- thank you --- */
.thank-you {
  max-width: 720px; margin: 4rem auto; text-align: center;
}
.position-big {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin: 1rem 0;
}
.ref-box {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex; gap: .5rem; align-items: center;
  margin: 1rem 0;
}
.ref-box code {
  flex: 1; background: transparent; color: var(--secondary);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .95rem; word-break: break-all;
  text-align: left;
}
.ref-box button {
  background: var(--primary); color: #fff; border: 0;
  padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.copied { color: var(--success); font-size: .85rem; margin-top: .5rem; }

/* --- contact --- */
.form-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-field label { color: var(--text); font-weight: 500; font-size: .95rem; }
.form-field input,
.form-field textarea,
.form-field select {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font: inherit; font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { outline: none; border-color: var(--secondary); }
.form-field textarea { resize: vertical; min-height: 140px; }

/* --- legal pages --- */
.legal {
  max-width: 820px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}
@media (min-width: 768px) { .legal { padding: 3rem; } }
.legal h1 { margin-bottom: 1.5rem; }
.legal h2 { margin: 2rem 0 .75rem; font-size: 1.35rem; }
.legal p { color: var(--text); margin-bottom: 1rem; }
.legal ul { margin: 0 0 1rem 1.25rem; color: var(--text); }
.legal .updated { color: var(--text-dim); font-size: .9rem; margin-bottom: 2rem; }

/* --- admin --- */
.admin-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 900px) { .admin-shell { grid-template-columns: 240px 1fr; } }
.admin-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.5rem 1rem;
}
.admin-sidebar .brand { margin-bottom: 2rem; }
.admin-sidebar nav a {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem 1rem; border-radius: 8px;
  color: var(--text-muted); font-size: .95rem; margin-bottom: .25rem;
}
.admin-sidebar nav a:hover, .admin-sidebar nav a.active {
  background: var(--surface-2); color: var(--text);
}
.admin-sidebar .logout {
  margin-top: 2rem; display: block; color: var(--text-dim); font-size: .85rem; padding: .5rem 1rem;
}
.admin-main { padding: 2rem 1.25rem; }
@media (min-width: 768px) { .admin-main { padding: 2.5rem; } }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.admin-head h1 { font-size: 1.6rem; }

.stat-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.stat-label { color: var(--text-dim); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.stat-value { color: var(--text); font-size: 2rem; font-weight: 800; margin-top: .25rem; }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}
.panel h2 { font-size: 1.15rem; margin-bottom: 1rem; }

table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { text-align: left; padding: .75rem .5rem; border-bottom: 1px solid var(--border); }
table.data th { color: var(--text-dim); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
table.data td { color: var(--text); }
table.data tr:last-child td { border-bottom: 0; }
table.data .muted { color: var(--text-dim); }

.flash { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; }
.flash-ok   { background: rgba(72,187,120,0.1); color: #a7f3d0; border: 1px solid rgba(72,187,120,0.3); }
.flash-err  { background: rgba(245,101,101,0.1); color: #fecaca; border: 1px solid rgba(245,101,101,0.3); }

/* --- auth --- */
.auth-shell {
  min-height: 100vh; display: grid; place-items: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(ellipse at top, rgba(255,107,53,0.15), transparent 55%),
    radial-gradient(ellipse at bottom, rgba(79,195,255,0.12), transparent 55%),
    var(--bg);
}
.auth-card {
  max-width: 420px; width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.auth-card h1 { text-align: center; font-size: 1.5rem; margin-bottom: 1.5rem; }

/* --- utility --- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
