/* ============================================================
   CIRKLEUP — styles.css
   Design: Deep Purple / Twitch-Discord style
   Fonts: Syne (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'DM Sans', sans-serif; background: #fff; color: #0e0e12; overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:        #ffffff;
  --bg-soft:   #f7f7fa;
  --bg-dark:   #0e0e12;
  --bg-dark2:  #13131a;
  --bg-dark3:  #1a1a26;

  --ink:       #0e0e12;
  --ink-soft:  #5a5a72;
  --ink-muted: #9696ab;
  --ink-w:     #ffffff;
  --ink-ws:    rgba(255,255,255,0.70);
  --ink-wm:    rgba(255,255,255,0.35);

  --accent:    #9147ff;
  --accent-lt: #ede9ff;
  --accent-dk: #7c3aed;
  --accent-gl: rgba(145,71,255,0.28);

  --border:    #e4e4ef;
  --border-d:  rgba(255,255,255,0.08);
  --border-dh: rgba(255,255,255,0.16);

  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 100px;

  --shadow-sm: 0 2px 12px rgba(14,14,18,0.06);
  --shadow-md: 0 4px 32px rgba(14,14,18,0.08);

  --container: 1160px;
  --px: 5%;
}

/* ── Layout ─────────────────────────────────────────────── */
.wrap        { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--px); }
.section     { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); }
.sr-only     { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.section-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.01em;
}
.section-header h2 em       { font-style: normal; }
.section-header h2 em.on-dark { font-style: normal; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; border-radius: var(--r-pill);
  transition: all 0.22s ease; white-space: nowrap; cursor: pointer;
}
.btn:active { transform: scale(0.97) !important; }
.btn .arr   { display: inline-block; transition: transform 0.18s ease; }
.btn:hover .arr { transform: translateX(3px); }

.btn-sm  { font-size: 0.82rem; padding: 9px 20px; }
.btn-md  { font-size: 0.9rem;  padding: 13px 28px; }
.btn-lg  { font-size: 1rem;    padding: 15px 34px; }

.btn-primary       { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 8px 28px var(--accent-gl); }
.btn-outline-w       { background: transparent; border: 1.5px solid var(--border-d); color: #fff; }
.btn-outline-w:hover { border-color: var(--border-dh); transform: translateY(-1px); }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px; display: flex; align-items: center;
  background: rgba(14,14,18,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-d);
}
.nav-inner  { display: flex; align-items: center; justify-content: space-between; }
.nav-logo   {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700;
  color: #fff; letter-spacing: -0.01em;
}
.logo-mark     { width: 32px; height: 32px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.logo-mark svg { width: 16px; height: 16px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: var(--bg-dark);
  padding: 96px var(--px) 72px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-bg   { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 30%, transparent 100%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(100px); }
.hero-orb-1 { width: 700px; height: 700px; background: radial-gradient(circle, rgba(145,71,255,0.18) 0%, transparent 70%); top: -200px; left: -200px; }
.hero-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(145,71,255,0.12) 0%, transparent 70%); bottom: -100px; right: -100px; }
.hero-orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(100,50,255,0.10) 0%, transparent 70%); top: 30%; right: 18%; }

.hero-content {
  position: relative; z-index: 2;
  max-width: 680px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid var(--border-d);
  border-radius: var(--r-pill); padding: 6px 16px;
  font-size: 0.8rem; font-weight: 600; color: var(--ink-ws);
  margin-bottom: 22px;
  animation: fadeUp 0.6s ease 0.05s both;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}

/* H1 */
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.012em;
  color: #fff; margin-bottom: 14px;
  animation: fadeUp 0.7s ease 0.12s both;
}
.hero h1 .accent { color: var(--accent); }

/* Mechanism line */
.hero-mechanism {
  font-size: 1rem; font-weight: 600; color: var(--accent);
  letter-spacing: 0.01em; margin-bottom: 20px;
  animation: fadeUp 0.6s ease 0.2s both;
}

/* Bullet list */
.hero-bullets {
  list-style: none; display: flex; flex-direction: column; gap: 11px;
  text-align: left; width: 100%; max-width: 400px; margin-bottom: 24px;
  animation: fadeUp 0.7s ease 0.26s both;
}
.hero-bullets li {
  display: flex; align-items: center; gap: 12px;
  font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.75);
}
.hb-icon {
  font-size: 0.85rem; flex-shrink: 0; color: var(--accent);
  font-weight: 700; width: 20px; text-align: center;
  font-family: 'Space Grotesk', sans-serif;
}

/* Lineage callout */
.lineage-callout {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(145,71,255,0.10); border: 1px solid rgba(145,71,255,0.28);
  border-radius: var(--r-md); padding: 14px 18px;
  max-width: 480px; width: 100%; margin-bottom: 28px;
  text-align: left;
  animation: fadeUp 0.7s ease 0.32s both;
}
.lineage-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.lineage-callout p {
  font-size: 0.88rem; font-weight: 600;
  color: rgba(255,255,255,0.9); line-height: 1.5;
}

/* Form */
.hero-form-wrap { width: 100%; max-width: 480px; animation: fadeUp 0.7s ease 0.38s both; }
.hero-form      { display: flex; gap: 8px; width: 100%; }

.hero-input {
  flex: 1; background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-d); border-radius: var(--r-pill);
  padding: 13px 22px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  color: #fff; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.hero-input::placeholder { color: var(--ink-wm); }
.hero-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-gl); background: rgba(255,255,255,0.12); }
.hero-input.err  { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }

.input-err       { font-size: 0.78rem; color: #ef4444; margin-top: 6px; padding-left: 4px; display: none; }
.input-err.show  { display: block; }

.invite-note {
  margin-top: 10px; font-size: 0.78rem; color: var(--ink-wm);
  text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.invite-note::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  display: inline-block; flex-shrink: 0; animation: pulseDot 2s ease-in-out infinite;
}
.what-next {
  margin-top: 7px; font-size: 0.76rem; color: rgba(255,255,255,0.30);
  text-align: center; line-height: 1.4;
}

/* Social proof avatars */
.social-proof {
  margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: fadeUp 0.7s ease 0.5s both;
}
.avatar-stack { display: flex; align-items: center; }
.av {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 700; color: #fff;
  border: 2.5px solid var(--bg-dark); margin-left: -12px; position: relative;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: inset -4px -4px 8px rgba(0,0,0,0.35), inset 3px 3px 6px rgba(255,255,255,0.18), 0 4px 16px rgba(0,0,0,0.3);
}
.av:first-child { margin-left: 0; }
.av:hover       { transform: translateY(-7px) scale(1.13); z-index: 10; }
.av-1 { background: linear-gradient(135deg,#7c3aed,#4f46e5); }
.av-2 { background: linear-gradient(135deg,#0ea5e9,#06b6d4); }
.av-3 { background: linear-gradient(135deg,#9147ff,#7c3aed); }
.av-4 { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.av-5 { background: linear-gradient(135deg,#ec4899,#f43f5e); }

.proof-text        { font-size: 0.88rem; color: var(--ink-ws); text-align: center; }
.proof-text strong { color: #fff; font-weight: 600; }

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-section { background: var(--bg); padding: 0 var(--px); }
.stats-inner {
  max-width: var(--container); margin: -52px auto 0;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px 48px;
  display: grid; grid-template-columns: repeat(3,1fr);
  box-shadow: var(--shadow-md); position: relative; z-index: 10;
}
.stat { text-align: center; border-right: 1px solid var(--border); padding: 0 32px; }
.stat:first-child { padding-left: 0; }
.stat:last-child  { border-right: none; padding-right: 0; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem; font-weight: 700; letter-spacing: -0.012em;
  color: var(--ink); line-height: 1; margin-bottom: 6px;
}
.stat-label { font-size: 0.83rem; color: var(--ink-soft); line-height: 1.45; }

/* ── Problem Section ─────────────────────────────────────── */
.problem-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.problem-card {
  background: var(--bg-dark2); border: 1px solid var(--border-d);
  border-radius: var(--r-lg); padding: 28px 24px; color: #fff;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.problem-card:hover {
  border-color: rgba(239,68,68,0.35);
  box-shadow: 0 8px 40px rgba(239,68,68,0.09);
  transform: translateY(-4px);
}
.prob-icon { font-size: 1.6rem; display: block; margin-bottom: 14px; }
.problem-card h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 700;
  margin-bottom: 8px; color: #fff;
}
.problem-card p { font-size: 0.855rem; color: var(--ink-ws); line-height: 1.62; }

/* ── Features Grid ───────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border);
}
.feat-card {
  background: #fff; padding: 32px 26px;
  transition: background 0.2s; position: relative; overflow: hidden;
}
.feat-card:not(:nth-child(3n))::after  { content: ''; position: absolute; top: 16px; right: 0; bottom: 16px; width: 1px; background: var(--border); }
.feat-card:not(:nth-child(n+4))::before { content: ''; position: absolute; bottom: 0; left: 16px; right: 16px; height: 1px; background: var(--border); }
.feat-card:hover { background: var(--accent-lt); }

.feat-icon {
  font-size: 1.3rem; width: 42px; height: 42px;
  border-radius: var(--r-sm); background: var(--bg-soft);
  display: grid; place-items: center; margin-bottom: 16px; flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), background 0.2s;
  line-height: 1;
}
.feat-card:hover .feat-icon { transform: scale(1.1) rotate(-4deg); background: rgba(145,71,255,0.15); }

.feat-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 0.98rem; font-weight: 700; margin-bottom: 8px; }
.feat-card p  { font-size: 0.855rem; color: var(--ink-soft); line-height: 1.65; }

.feat-card--highlight                { background: var(--accent-lt) !important; }
.feat-card--highlight .feat-icon     { background: rgba(145,71,255,0.15); }
.feat-card--highlight h3             { color: var(--accent-dk); }
.feat-highlight-line {
  margin-top: 12px; font-size: 0.8rem; font-weight: 600;
  color: var(--accent-dk); font-style: italic;
  border-top: 1px solid rgba(145,71,255,0.2); padding-top: 10px;
}

/* ── How It Works ────────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: ''; position: absolute;
  top: 27px; left: calc(16.67% + 28px); right: calc(16.67% + 28px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 6px, transparent 6px, transparent 12px);
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700;
  display: grid; place-items: center; margin: 0 auto 20px;
  box-shadow: 0 0 0 8px rgba(145,71,255,0.15), 0 8px 24px var(--accent-gl);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.step:hover .step-num { transform: scale(1.08); }
.step h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p  { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.65; max-width: 260px; margin: 0 auto; }

/* ── Comparison Table ────────────────────────────────────── */
.table-wrap   { overflow-x: auto; border-radius: var(--r-xl); border: 1px solid var(--border-d); }
.cmp-table    { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.cmp-table thead { background: var(--bg-dark2); }
.cmp-table th {
  padding: 16px 22px; font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem; font-weight: 700; color: #fff; text-align: left;
  border-bottom: 1px solid var(--border-d);
}
.cmp-table th.col-us { color: var(--accent); }
.cmp-table th.col-us::after {
  content: '✦ Us'; font-size: 0.62rem; background: var(--accent); color: #fff;
  border-radius: 100px; padding: 2px 7px; margin-left: 7px; vertical-align: middle;
}
.cmp-table td {
  padding: 14px 22px; border-bottom: 1px solid var(--border-d);
  color: var(--ink-ws); vertical-align: middle;
}
.cmp-table tr:last-child td                 { border-bottom: none; }
.cmp-table tr:nth-child(odd) td             { background: rgba(255,255,255,0.018); }
.cmp-table td.col-feat                      { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.cmp-table td.col-us                        { color: #fff; font-weight: 600; }
.ck { color: var(--accent); font-size: 1.05rem; }
.cx { color: #444455; font-size: 0.95rem; }

/* ── Final CTA ───────────────────────────────────────────── */
.cta-section { background: var(--bg-dark); position: relative; overflow: hidden; padding: 100px var(--px); text-align: center; }
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 20% 50%, rgba(145,71,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 65% at 80% 50%, rgba(100,50,255,0.09) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner     { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }
.cta-eyebrow {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.cta-inner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem,4vw,3.1rem); font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.12; color: #fff; margin-bottom: 16px;
}
.cta-inner p { font-size: 1rem; color: var(--ink-ws); line-height: 1.68; margin-bottom: 28px; }
.cta-checks  { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 32px; }
.cta-check   { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--ink-ws); }
.cta-dot     { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #fff; font-size: 0.6rem; font-weight: 900; flex-shrink: 0; }
.cta-form    { display: flex; gap: 8px; max-width: 430px; margin: 0 auto; }

/* ── Contact / Investor Section ──────────────────────────── */
.contact-section { background: var(--bg-soft); padding: 88px 0; border-top: 1px solid var(--border); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.contact-left { padding-top: 8px; }
.contact-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700; line-height: 1.35; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 16px; margin-top: 10px;
}
.contact-sub { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.7; max-width: 340px; }

.contact-form   { display: flex; flex-direction: column; gap: 0; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.cfield         { display: flex; flex-direction: column; gap: 5px; }
.cfield--full   { grid-column: 1/-1; }
.cfield-label   {
  font-size: 0.75rem; font-weight: 600; color: var(--ink-soft);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.cfield-optional { font-weight: 400; text-transform: none; color: var(--ink-muted); font-size: 0.72rem; }

.cinput {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 11px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  color: var(--ink); outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cinput::placeholder { color: var(--ink-muted); }
.cinput:focus        { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-gl); }

.cselect {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%239696ab' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.ctextarea       { resize: vertical; min-height: 80px; line-height: 1.5; }
.contact-submit  { width: 100%; justify-content: center; border-radius: var(--r-sm); }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--bg-dark); border-top: 1px solid var(--border-d); padding: 28px var(--px); }
.footer-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  max-width: var(--container); margin: 0 auto;
}
.footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.footer-nav a    { font-size: 0.875rem; color: var(--ink-ws); transition: color 0.15s; }
.footer-nav a:hover { color: #fff; }
.footer-sep  { color: var(--ink-wm); font-size: 0.75rem; user-select: none; }
.footer-copy { font-size: 0.8rem; color: var(--ink-wm); }

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14,14,18,0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--bg-dark2); border: 1px solid var(--border-d);
  border-radius: var(--r-xl); padding: 48px 40px;
  max-width: 420px; width: 100%; text-align: center; position: relative;
  transform: scale(0.9) translateY(16px);
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-ico {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent-lt); border: 1px solid rgba(145,71,255,0.25);
  display: grid; place-items: center; font-size: 2rem; margin: 0 auto 20px;
}
.modal h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.55rem; font-weight: 700;
  letter-spacing: -0.012em; color: #fff; margin-bottom: 10px;
}
.modal p { font-size: 0.9rem; color: var(--ink-ws); line-height: 1.65; margin-bottom: 20px; }
.modal-ref {
  font-size: 0.75rem; color: var(--ink-wm);
  padding: 8px 16px; background: var(--bg-dark3); border-radius: var(--r-sm);
  display: inline-block; margin-bottom: 24px;
  font-family: 'Courier New', monospace; letter-spacing: 0.05em;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-d);
  display: grid; place-items: center;
  color: var(--ink-ws); font-size: 1.1rem; line-height: 1;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,0.13); color: #fff; }

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal { opacity: 1; transform: none; transition: opacity 0.65s ease, transform 0.65s ease; }
.js-loaded .reveal         { opacity: 0; transform: translateY(24px); }
.js-loaded .reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }
@keyframes spin     { to { transform: rotate(360deg); } }
.spin { animation: spin 0.75s linear infinite; display: inline-block; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .problem-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .stats-inner { padding: 28px; }
}
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-sub   { max-width: 100%; }
}
@media (max-width: 768px) {
  :root { --px: 6%; }
  .hero { padding: 88px var(--px) 56px; }
  .stats-section { padding: 0 var(--px); }
  .stats-inner {
    grid-template-columns: 1fr; margin-top: -32px;
    padding: 24px; gap: 0; border-radius: var(--r-lg);
  }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding: 16px 0; }
  .stat:last-child  { border-bottom: none; padding-bottom: 0; }
  .stat:first-child { padding-top: 0; }
  .problem-grid  { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; gap: 28px; }
  .steps-grid::before { display: none; }
  .hero-form  { flex-direction: column; }
  .cta-form   { flex-direction: column; max-width: 100%; }
  .footer-bar { flex-direction: column; text-align: center; }
  .modal      { padding: 32px 24px; }
  .section    { padding: 64px 0; }
  .cta-section { padding: 72px var(--px); }
}
@media (max-width: 600px) {
  .contact-fields { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .av { width: 38px; height: 38px; font-size: 0.65rem; margin-left: -10px; }
  .cta-checks { flex-direction: column; align-items: center; gap: 12px; }
  .stats-inner { margin-top: -20px; }
}
