/* ==========================================================================
   SheGO — design tokens
   ========================================================================== */
:root {
  --background: #120B18;
  --background-2: #0C0710;
  --surface: #1D1523;
  --surface-2: #241A2C;
  --border: #33263C;
  --border-soft: #291E31;
  --text: #F6EEF2;
  --text-muted: #AA9CB5;
  --text-faint: #6F6178;
  --primary: #D98BA0;
  --accent: #E84B8A;
  --accent-2: #FF8FB4;
  --success: #5BBF8A;
  --danger: #E5604D;

  --font: 'Cabinet Grotesk', -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 14px;
  --space-4: 22px;
  --space-5: 36px;
  --space-6: 58px;
  --space-7: 94px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --shadow-glow: 0 0 0 1px rgba(232, 75, 138, 0.16), 0 20px 60px -20px rgba(232, 75, 138, 0.35);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 18px 40px -28px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--background);
  background-image: radial-gradient(60% 50% at 82% -8%, rgba(232, 75, 138, 0.16), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--text);
}

p, li { text-wrap: pretty; }

a { color: var(--primary); text-decoration-color: rgba(217, 139, 160, 0.4); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }

::selection { background: rgba(232, 75, 138, 0.32); color: #fff; }

/* ==========================================================================
   Nav
   ========================================================================== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  background: rgba(18, 11, 24, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.brand em { color: var(--accent-2); font-style: normal; }

.topbar nav { display: flex; align-items: center; gap: 22px; }
.topbar nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s var(--ease-out-quart);
}
.topbar nav a:hover { color: var(--text); }

@media (max-width: 620px) {
  .topbar { flex-wrap: wrap; row-gap: 10px; padding: 16px 20px; }
  .topbar nav { width: 100%; justify-content: space-between; gap: 12px; }
  .topbar nav a { font-size: 12.5px; }
}

/* ==========================================================================
   Shared containers
   ========================================================================== */
.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-6) 24px 100px;
}

.wrap-wide {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.6rem); margin: 0 0 10px; }
h2 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.5rem); margin: var(--space-6) 0 var(--space-3); letter-spacing: -0.02em; }
h3 { font-size: 15px; margin: var(--space-4) 0 8px; color: var(--primary); font-weight: 700; letter-spacing: -0.01em; }

p, li { color: var(--text-muted); font-size: 15.5px; max-width: 68ch; }

.updated {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: var(--space-5);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 18px 0;
  box-shadow: var(--shadow-card);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-2);
  background: rgba(232, 75, 138, 0.12);
  border: 1px solid rgba(232, 75, 138, 0.22);
  padding: 6px 13px 6px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
}
.badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
}

table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
th { color: var(--text); font-weight: 700; }

footer {
  border-top: 1px solid var(--border-soft);
  padding: 34px 24px;
  text-align: center;
  color: var(--text-faint);
  font-size: 13px;
}
footer a { color: var(--text-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #1a0f14;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 14.5px;
  box-shadow: var(--shadow-glow);
  transition: transform 0.25s var(--ease-out-quart), box-shadow 0.25s var(--ease-out-quart);
}
.btn:hover { transform: translateY(-2px); color: #1a0f14; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 14.5px;
  transition: border-color 0.25s var(--ease-out-quart), background 0.25s var(--ease-out-quart);
}
.btn-outline:hover { border-color: var(--primary); background: rgba(255, 255, 255, 0.03); color: var(--text); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(52px, 10vw, 88px) 24px clamp(40px, 8vw, 64px);
  overflow: hidden;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  align-items: center;
  gap: var(--space-6);
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero-copy h1 { text-align: left; }
.hero-copy p { max-width: 46ch; font-size: 17px; }
.hero-copy .hero-actions { justify-content: flex-start; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: var(--space-5);
}

.hero-trust {
  display: flex;
  gap: var(--space-5);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}
.hero-trust .stat b {
  display: block;
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-trust .stat span {
  font-size: 12.5px;
  color: var(--text-faint);
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1.05;
}
.hero-art svg { width: 100%; height: 100%; }

/* ==========================================================================
   Section head
   ========================================================================== */
.section {
  padding: var(--space-6) 0;
}
.section-top { border-top: 1px solid var(--border-soft); }

.section-head {
  max-width: 620px;
  margin: 0 0 var(--space-5);
}
.section-head h2 { margin-top: 0; font-size: clamp(1.5rem, 1.3rem + 1vw, 2.05rem); }
.section-head p { margin: 10px 0 0; font-size: 16px; }

/* ==========================================================================
   Bento feature grid — deliberately asymmetric, not a repeated card wall
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.bento > .feature { grid-column: span 2; }
.bento > .feature.f-lg { grid-column: span 3; }
.bento > .feature.f-wide { grid-column: span 4; }

@media (max-width: 880px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > .feature,
  .bento > .feature.f-lg,
  .bento > .feature.f-wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .bento > .feature,
  .bento > .feature.f-lg,
  .bento > .feature.f-wide { grid-column: span 1; }
}

.feature {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-quart), border-color 0.3s var(--ease-out-quart);
}
.feature:hover { transform: translateY(-3px); border-color: rgba(217, 139, 160, 0.35); }
.feature.f-lg { background: var(--surface-2); }

.feature .icon {
  width: 30px; height: 30px;
  color: var(--accent-2);
  margin-bottom: var(--space-3);
}
.feature .icon svg { width: 100%; height: 100%; }

.feature h3 { margin: 0 0 6px; color: var(--text); font-size: 16px; }
.feature p { margin: 0; font-size: 14px; max-width: 42ch; }
.feature.f-lg h3 { font-size: 19px; }
.feature.f-lg p { font-size: 15px; max-width: 34ch; }

.feature-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(232, 75, 138, 0.22), transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   Steps
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  counter-reset: step;
  position: relative;
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}

.step { position: relative; }
.step .num {
  counter-increment: step;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
  margin: 0 0 var(--space-3);
  font-variant-numeric: tabular-nums;
}
.step .num::before { content: counter(step, decimal-leading-zero); }
.step h3 { color: var(--text); font-size: 16px; margin: 0 0 6px; }
.step p { margin: 0; font-size: 14.5px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  background: linear-gradient(155deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 58px) clamp(24px, 6vw, 58px);
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-5);
  overflow: hidden;
}
@media (max-width: 640px) {
  .cta-band { grid-template-columns: 1fr; text-align: left; }
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.cta-band p { margin: 0; max-width: 46ch; }
.cta-band::after {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(232, 75, 138, 0.24), transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .feature:hover, .btn:hover { transform: none; }
}

/* ==========================================================================
   Hero art motion
   ========================================================================== */
#route {
  animation: routeDraw 1.6s var(--ease-out-expo) 0.4s forwards;
}
@keyframes routeDraw {
  to { stroke-dashoffset: 0; }
}

.pulse-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulseRing 2.6s var(--ease-out-quart) infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.7); opacity: 0.4; }
  70% { transform: scale(2); opacity: 0; }
  100% { transform: scale(2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #route { animation: none; stroke-dashoffset: 0; }
  .pulse-ring { animation: none; opacity: 0.25; }
}
