@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Sora:wght@400;600;700&display=swap");

:root {
  --brand-500: #059669;
  --brand-400: #10b981;
  --brand-300: #34d399;
  --accent-500: #6366f1;

  --bg: #f0fdf9;
  --surface: rgba(255, 255, 255, 0.80);
  --surface-solid: #ffffff;

  --text: #1f2937;
  --muted: #6b7280;
  --border: rgba(31, 41, 55, 0.10);

  --shadow-lg: 0 22px 55px rgba(5, 150, 105, 0.10);
  --shadow-md: 0 10px 24px rgba(5, 150, 105, 0.07);

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 720px at 12% -10%, rgba(5, 150, 105, 0.22), transparent 60%),
    radial-gradient(900px 620px at 110% 0%, rgba(99, 102, 241, 0.12), transparent 55%),
    radial-gradient(900px 620px at 60% 120%, rgba(16, 185, 129, 0.18), transparent 60%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1020px; margin: 0 auto; padding: 0 18px; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(240, 253, 249, 0.70);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbarInner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.02em; }

.logoMark {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-300));
  box-shadow: 0 14px 26px rgba(5, 150, 105, 0.30);
  position: relative; overflow: hidden; flex-shrink: 0;
}
.logoMark svg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.nav a { font-size: 13px; padding: 10px 12px; border-radius: 999px; color: var(--muted); }
.nav a:hover { background: rgba(5, 150, 105, 0.10); color: var(--text); }
.nav a[aria-current="page"] { background: rgba(5, 150, 105, 0.14); color: var(--text); border: 1px solid rgba(5, 150, 105, 0.24); }

.hero { padding: 46px 0 18px; }
.heroGrid {
  display: grid; grid-template-columns: 1.25fr 0.75fr;
  gap: 16px; align-items: stretch;
}
@media (max-width: 860px) { .heroGrid { grid-template-columns: 1fr; } }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  position: relative; overflow: hidden;
  animation: rise 520ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
.panel::before {
  content: ""; position: absolute;
  width: 440px; height: 440px; left: -220px; top: -250px;
  background: radial-gradient(circle at 30% 30%, rgba(5, 150, 105, 0.35), transparent 60%);
  filter: blur(4px);
}
.panel::after {
  content: ""; position: absolute;
  width: 380px; height: 380px; right: -200px; bottom: -260px;
  background: radial-gradient(circle at 70% 40%, rgba(99, 102, 241, 0.18), transparent 60%);
  filter: blur(6px);
}
.panel > * { position: relative; }

h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02; letter-spacing: -0.04em;
  font-family: "Space Grotesk", "Sora", ui-sans-serif, system-ui, sans-serif;
}

.lede { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.eyebrow { margin: 0 0 12px; font-size: 11px; letter-spacing: 0.18em; font-weight: 700; color: rgba(5, 150, 105, 0.80); }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.badge {
  font-size: 12px; padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(5, 150, 105, 0.20);
  background: rgba(255, 255, 255, 0.62); color: rgba(31, 41, 55, 0.82);
}

.ctaRow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(31, 41, 55, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
  transition: transform 120ms ease, filter 120ms ease;
  font-weight: 600; font-size: 14px; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); filter: saturate(1.02); }
.btn:active { transform: translateY(0); }

.btnPrimary {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  box-shadow: 0 16px 28px rgba(5, 150, 105, 0.28);
}
.btnGhost { background: rgba(255, 255, 255, 0.60); }

.stack { display: grid; gap: 14px; }

.miniPanel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 18px;
  animation: rise 520ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
.miniPanel:nth-child(1) { animation-delay: 70ms; }
.miniPanel:nth-child(2) { animation-delay: 140ms; }
.miniPanel:nth-child(3) { animation-delay: 210ms; }
.isFloating { animation: rise 520ms cubic-bezier(0.2, 0.9, 0.2, 1) both, floatY 6s ease-in-out infinite; }
.delay2 { animation-delay: 140ms, 0ms; }
.delay3 { animation-delay: 210ms, 0ms; }

.miniTitle { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.miniTitle h2 { margin: 0; font-size: 14px; letter-spacing: -0.02em; }

.pill {
  font-size: 12px; padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(5, 150, 105, 0.26);
  color: rgba(5, 150, 105, 0.90);
  background: rgba(5, 150, 105, 0.10);
  white-space: nowrap;
}
.pillPurple {
  border-color: rgba(99, 102, 241, 0.26);
  color: rgba(99, 102, 241, 0.90);
  background: rgba(99, 102, 241, 0.10);
}

.note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.content { padding: 10px 0 34px; }

.statsStrip { padding: 10px 0 8px; }
.statsGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 780px) { .statsGrid { grid-template-columns: 1fr; } }

.statItem {
  padding: 18px; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
}
.statValue {
  margin: 0; font-size: 34px; letter-spacing: -0.03em; line-height: 1;
  color: var(--brand-500);
  font-family: "Space Grotesk", "Sora", ui-sans-serif, system-ui, sans-serif;
}
.statLabel { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.sectionBlock { padding: 12px 0 16px; }
.sectionHead { display: grid; gap: 6px; margin-bottom: 14px; }
.sectionHead h2 {
  margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em;
  font-family: "Space Grotesk", "Sora", ui-sans-serif, system-ui, sans-serif;
}

.featureGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 960px) { .featureGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .featureGrid { grid-template-columns: 1fr; } }

.featureCard {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 16px; min-height: 160px;
  transition: transform 140ms ease, box-shadow 140ms ease;
  display: grid; align-content: start; gap: 8px;
}
.featureCard:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(5, 150, 105, 0.11); }
.featureTag { margin: 0; font-size: 11px; letter-spacing: 0.14em; font-weight: 700; color: rgba(5, 150, 105, 0.72); }
.featureCard h3 { margin: 0; font-size: 18px; letter-spacing: -0.02em; font-family: "Space Grotesk", "Sora", ui-sans-serif, system-ui, sans-serif; }
.featureCard p { margin: 0; font-size: 13px; color: rgba(31, 41, 55, 0.78); line-height: 1.6; }

.featureIcon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-300));
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.featureIcon svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.flowGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .flowGrid { grid-template-columns: 1fr; } }

.flowCard {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, rgba(255,255,255,0.80), rgba(255,255,255,0.70));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 16px;
}
.flowCard::before {
  content: ""; position: absolute;
  width: 220px; height: 220px; right: -140px; top: -120px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.18), transparent 68%);
}
.flowIndex { margin: 0 0 8px; font-size: 32px; line-height: 1; color: rgba(5, 150, 105, 0.28); font-family: "Space Grotesk", "Sora", ui-sans-serif, system-ui, sans-serif; }
.flowCard h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.02em; font-family: "Space Grotesk", "Sora", ui-sans-serif, system-ui, sans-serif; }
.flowCard p { margin: 0; font-size: 13px; line-height: 1.6; color: rgba(31, 41, 55, 0.78); }

.faqList { display: grid; gap: 10px; }
.faqItem {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: rgba(255,255,255,0.76); box-shadow: var(--shadow-md); padding: 12px 14px;
}
.faqItem summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 14px; position: relative; padding-right: 26px; }
.faqItem summary::-webkit-details-marker { display: none; }
.faqItem summary::after { content: "+"; position: absolute; right: 0; top: -1px; color: rgba(5, 150, 105, 0.85); font-size: 18px; }
.faqItem[open] summary::after { content: "−"; }
.faqItem p { margin: 8px 0 2px; color: rgba(31, 41, 55, 0.78); font-size: 13px; line-height: 1.65; }

.finalCallout {
  padding: 24px; border-radius: 20px;
  border: 1px solid rgba(5, 150, 105, 0.20);
  background:
    radial-gradient(circle at 80% -10%, rgba(99, 102, 241, 0.14), transparent 55%),
    radial-gradient(circle at 0% 120%, rgba(5, 150, 105, 0.20), transparent 58%),
    rgba(255,255,255,0.80);
  box-shadow: var(--shadow-lg);
}
.finalCallout h2 { margin: 0; font-size: clamp(24px, 3.2vw, 36px); letter-spacing: -0.03em; font-family: "Space Grotesk", "Sora", ui-sans-serif, system-ui, sans-serif; }
.finalCallout p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

article {
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
article h2 { margin: 22px 0 8px; font-size: 18px; letter-spacing: -0.03em; }
article h2:first-child { margin-top: 0; }
article p, article li { color: rgba(31, 41, 55, 0.82); line-height: 1.75; font-size: 14px; }
article ul { padding-left: 20px; }
.metaLine { margin: 0 0 18px; color: var(--muted); font-size: 13px; }

.footer { padding: 26px 0 44px; color: rgba(107, 114, 128, 0.92); font-size: 13px; }
.footerInner {
  display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 14px;
}
.footer a { color: rgba(5, 150, 105, 0.92); text-decoration: underline; text-underline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(14px); transition: transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 520ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@keyframes rise { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.playBadge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1f2937; color: white; border-radius: 10px;
  padding: 10px 16px; font-size: 13px; border: none;
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.25);
  transition: transform 120ms ease, box-shadow 120ms ease;
  text-decoration: none;
}
.playBadge:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(31, 41, 55, 0.30); }
.playBadge .playTop { font-size: 10px; opacity: 0.72; display: block; }
.playBadge .playName { font-weight: 700; font-size: 15px; display: block; letter-spacing: -0.01em; }
