
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("/assets/fonts/dm-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #F7F5F0;
  --ground-tint: #F0EDF3;
  --surface: #FFFFFF;
  --ink: #242338;
  --ink-soft: #686577;
  --ink-faint: #A8A1B8;
  --line: #DDD8E4;
  --red: #6550A3;
  --red-deep: #46356F;
  --red-tint: #EDE8F6;
  --kicker: #6550A3;
  
  --success: #34785F;
  --warning: #D8A743;
  --error: #B64949;
  
  --disp: "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --editorial: "DM Serif Display", serif;
  
  --r-pill: 999px;
  --r-card-lg: 32px;
  --r-card: 24px;
  --r-media: 16px;
  --r-control: 12px;
  
  --sh-card: 0 2px 4px rgba(36,35,56,0.04), 0 24px 48px -12px rgba(36,35,56,0.10);
  --sh-float: 0 8px 16px rgba(36,35,56,0.08), 0 32px 64px -16px rgba(36,35,56,0.18);
  --sh-cta: 0 4px 12px rgba(101, 80, 163, 0.2);
  
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --reveal-dur: 400ms;
  --stagger: 80ms;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  background: var(--ground); 
  color: var(--ink); 
  font-family: var(--body); 
  font-size: 17px; 
  line-height: 1.6; 
  -webkit-font-smoothing: antialiased; 
  overflow-x: clip; 
}
::selection { background: var(--red); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: 0.2s; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 64px); }
section { padding: clamp(80px, 12vh, 160px) 0; }

/* --- Typography --- */
.kicker { 
  font-size: 13px; 
  font-weight: 700; 
  letter-spacing: 0.14em; 
  text-transform: uppercase; 
  color: var(--kicker); 
  display: block; 
  margin-bottom: 22px; 
}
h1, .h-xl { 
  font-family: var(--disp); 
  font-weight: 800; 
  font-size: clamp(48px, 7vw, 96px); 
  line-height: 0.95; 
  letter-spacing: -0.04em; 
}
.h-lg { 
  font-family: var(--disp); 
  font-weight: 800; 
  font-size: clamp(36px, 5vw, 68px); 
  line-height: 1.05; 
  letter-spacing: -0.03em; 
}
.h-md { 
  font-family: var(--disp); 
  font-weight: 800; 
  font-size: clamp(26px, 3vw, 42px); 
  line-height: 1.1; 
  letter-spacing: -0.02em; 
}
.editorial { font-family: var(--editorial); }
.rd { color: var(--red); }
.sub { 
  font-size: clamp(18px, 1.5vw, 21px); 
  color: var(--ink-soft); 
  max-width: 60ch; 
  margin-top: 24px; 
}
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* --- Components --- */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  gap: 12px; 
  font-family: var(--body); 
  font-size: 16px; 
  font-weight: 600; 
  padding: 18px 32px; 
  border-radius: var(--r-pill); 
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s; 
  cursor: pointer;
  border: none;
}
.btn-red { background: var(--red); color: #fff; box-shadow: var(--sh-cta); }
.btn-red:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--sh-float); }

/* --- Nav --- */
.navwrap { position: fixed; top: 20px; left: 0; right: 0; z-index: 100; padding: 0 20px; }
nav.bar { 
  max-width: 1300px; 
  margin: 0 auto; 
  height: 72px; 
  border-radius: var(--r-pill); 
  background: rgba(255,255,255,0.8); 
  backdrop-filter: blur(16px); 
  -webkit-backdrop-filter: blur(16px); 
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 12px 32px -8px rgba(0,0,0,0.1); 
  display: flex; 
  align-items: center; 
  gap: 24px; 
  padding: 0 16px 0 24px; 
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand .word { font-family: var(--disp); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand .word b { color: var(--red); }
.navlinks { display: flex; gap: 8px; }
.navlinks a { font-size: 15px; font-weight: 500; color: var(--ink-soft); padding: 10px 16px; border-radius: var(--r-pill); }
.navlinks a:hover { color: var(--ink); background: rgba(0,0,0,0.04); }
.nav-cta { background: var(--red); color: #fff; font-size: 15px; font-weight: 600; padding: 14px 24px; border-radius: var(--r-pill); }
.nav-cta:hover { background: var(--red-deep); }

@media (max-width: 920px) { .navlinks { display: none; } }

/* --- Hero --- */
.hero { padding-top: clamp(140px, 18vh, 200px); }
.hero-grid { 
  display: grid; 
  grid-template-columns: 1.1fr 0.9fr; 
  gap: clamp(40px, 6vw, 80px); 
  align-items: center; 
}
.hero-content { z-index: 2; }
.hero .sub { margin-bottom: 40px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.chip { 
  background: var(--surface); 
  border-radius: var(--r-control); 
  padding: 10px 16px; 
  font-size: 14px; 
  font-weight: 600; 
  box-shadow: var(--sh-card); 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  border: 1px solid var(--line);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.hero-image { position: relative; }
.hero-image img { 
  width: 100%; 
  border-radius: var(--r-card-lg); 
  box-shadow: var(--sh-float); 
}

@media (max-width: 980px) { 
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-chips { justify-content: center; }
}

/* --- Sections --- */
.tint { background: var(--red-tint); }
.night-sec { background: var(--ink); color: var(--surface); }
.night-sec .h-lg, .night-sec .h-md { color: var(--surface); }
.night-sec .sub { color: var(--red-tint); }
.night-sec .btn-ghost { background: var(--red-tint); color: var(--ink); border-color: var(--red-tint); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr; } }

.card { 
  background: var(--surface); 
  padding: 40px; 
  border-radius: var(--r-card); 
  box-shadow: var(--sh-card); 
  transition: transform 0.3s var(--ease), box-shadow 0.3s; 
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--sh-float); }
.card img { width: 100%; border-radius: var(--r-media); margin-bottom: 24px; }
.card h3 { font-family: var(--disp); font-weight: 700; font-size: 24px; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 16px; }

/* --- Split Section --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-img img { width: 100%; border-radius: var(--r-card-lg); box-shadow: var(--sh-float); }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; text-align: center; } .split .sub { margin-left: auto; margin-right: auto; } }

/* --- Stats --- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.stat-item { text-align: center; padding: 40px; background: var(--surface); border-radius: var(--r-card); border: 1px solid var(--line); }
.stat-num { font-family: var(--disp); font-weight: 800; font-size: 48px; color: var(--red); display: block; }
.stat-label { font-size: 16px; color: var(--ink-soft); font-weight: 500; }
@media (max-width: 600px) { .stats-grid { grid-template-columns: 1fr; } }

/* --- Manifesto --- */
.manifesto { text-align: center; max-width: 900px; margin: 0 auto; }
.manifesto p { 
  font-family: var(--editorial); 
  font-size: clamp(24px, 4vw, 42px); 
  line-height: 1.3; 
  font-weight: 400; 
}

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 900px; margin: 64px auto 0; }
.plan { 
  background: var(--surface); 
  padding: 60px 40px; 
  border-radius: var(--r-card-lg); 
  border: 1px solid var(--line); 
  text-align: center; 
  position: relative; 
  transition: 0.3s;
}
.plan.featured { border: 2px solid var(--red); transform: scale(1.05); box-shadow: var(--sh-float); }
.plan .badge { 
  position: absolute; top: 20px; right: 20px; 
  background: var(--red); color: #fff; 
  font-size: 12px; font-weight: 700; 
  padding: 4px 12px; border-radius: var(--r-pill); 
}
.plan .price { font-family: var(--disp); font-weight: 800; font-size: 48px; margin: 24px 0; }
.plan .price span { font-size: 18px; color: var(--ink-soft); font-weight: 400; }
.plan-feats { list-style: none; margin-bottom: 40px; text-align: left; display: inline-block; }
.plan-feats li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.plan-feats li::before { content: "✓"; color: var(--red); font-weight: 800; }

@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } .plan.featured { transform: none; } }

/* --- CTA Card --- */
.cta-card { 
  background: var(--red); 
  color: #fff; 
  padding: 80px 40px; 
  border-radius: var(--r-card-lg); 
  text-align: center; 
  box-shadow: var(--sh-float); 
}
.cta-card h2 { font-family: var(--disp); font-weight: 800; font-size: clamp(32px, 5vw, 56px); line-height: 1.1; margin-bottom: 24px; }
.cta-card .sub { color: rgba(255,255,255,0.8); margin-bottom: 40px; }
.cta-card .btn-white { background: #fff; color: var(--red); }

/* --- Footer --- */
footer { padding: 60px 0; border-top: 1px solid var(--line); background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.foot-col h4 { font-family: var(--disp); font-weight: 700; font-size: 16px; margin-bottom: 24px; }
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 12px; }
.foot-col ul a { color: var(--ink-soft); font-size: 15px; }
.foot-col ul a:hover { color: var(--red); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }

@media (max-width: 920px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; } .foot-bottom { flex-direction: column; gap: 20px; text-align: center; } }

/* --- Legal Pages --- */
.legal-wrap { max-width: 800px; margin: 0 auto; padding: 120px 0 80px; }
.legal-header { text-align: center; margin-bottom: 60px; }
.legal-content { background: var(--surface); padding: 60px; border-radius: var(--r-card); border: 1px solid var(--line); }
.legal-content h3 { font-family: var(--disp); font-weight: 700; margin: 40px 0 16px; }
.legal-content p, .legal-content li { color: var(--ink-soft); margin-bottom: 20px; }
.legal-content ul { padding-left: 20px; margin-bottom: 20px; }

/* --- Forms --- */
.form-card { max-width: 600px; margin: 0 auto; background: var(--surface); padding: 60px; border-radius: var(--r-card); border: 1px solid var(--line); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.form-group input, .form-group textarea { 
  width: 100%; padding: 14px; border-radius: var(--r-control); 
  border: 1px solid var(--line); font-family: var(--body); font-size: 16px;
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--red); border-color: transparent; }

