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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #10b981;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, .12);
}

html { scroll-behavior: smooth; }
body {
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
@media (max-width: 640px) { section { padding: 56px 0; } }

h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 252, .85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 18px; }
.logo .dot {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: grid; place-items: center; color: white; font-size: 14px; font-weight: 900;
  box-shadow: 0 6px 14px -4px rgba(37, 99, 235, .4);
}
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav-links a { color: var(--ink-2); }

/* ---------- Language switcher ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.lang-switch a {
  color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .03em;
  padding: 4px 8px; border-radius: 7px; text-decoration: none; line-height: 1;
}
.lang-switch a:hover { color: var(--primary); background: rgba(37, 99, 235, .08); text-decoration: none; }
.lang-switch a.is-active { color: var(--ink); background: var(--line); cursor: default; }
.lang-switch a.is-active:hover { background: var(--line); color: var(--ink); }
.lang-switch .sep { color: var(--line); font-size: 11px; user-select: none; }
/* In the dark footer, recolour the switcher to read on the ink background. */
footer .lang-switch a { color: #94a3b8; }
footer .lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
footer .lang-switch a.is-active { color: #fff; background: rgba(255, 255, 255, .12); }
footer .lang-switch a.is-active:hover { background: rgba(255, 255, 255, .12); }
footer .lang-switch .sep { color: #334155; }
@media (max-width: 720px) { .nav .lang-switch a { padding: 4px 6px; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: all .15s ease;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .5); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); text-decoration: none; color: var(--primary); }
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-links { gap: 10px; }
  .nav .btn { padding: 8px 14px; font-size: 13px; }
}
/* Very small phones: drop the wordmark (keep the icon) so both buttons fit. */
@media (max-width: 360px) {
  .logo span:not(.dot) { display: none; }
  .nav-links { gap: 8px; }
  .nav .btn { padding: 7px 12px; font-size: 12px; }
}

/* ---------- Promo bar (Founders Program) ---------- */
.promo-bar { background: linear-gradient(135deg, var(--ink) 0%, #1e293b 100%); color: #fff; font-size: 14px; }
.promo-bar.is-hidden { display: none; }
.promo-inner {
  max-width: 1180px; margin: 0 auto; padding: 9px 24px;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.promo-inner .promo-star { color: #fbbf24; }
.promo-inner b { color: #fff; font-weight: 700; }
a.promo-cta { color: var(--ink); background: #fff; padding: 5px 12px; border-radius: 8px; font-weight: 700; font-size: 13px; white-space: nowrap; }
a.promo-cta:hover { background: #f1f5f9; text-decoration: none; }
.promo-close { background: transparent; border: 0; color: #cbd5e1; cursor: pointer; font-size: 18px; line-height: 1; padding: 0 4px; }
.promo-close:hover { color: #fff; }
@media (max-width: 640px) { .promo-inner { gap: 8px; font-size: 13px; } .promo-close { display: none; } }

/* ---------- Founders Program section ---------- */
.founders { background: var(--ink); }
.founders .wrap { max-width: 880px; text-align: center; }
.founders .eyebrow { color: #fbbf24; }
.founders h2 { color: #fff; }
.founders p.lead { color: #cbd5e1; }
.founders-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0; text-align: left; }
@media (max-width: 720px) { .founders-perks { grid-template-columns: 1fr; } }
.founders-perk { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 20px; }
.founders-perk h3 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.founders-perk p { color: #94a3b8; font-size: 14px; margin: 0; }
.founders-give { color: #94a3b8; font-size: 14px; margin-top: 8px; }
.btn-gold { background: #fbbf24; color: var(--ink); }
.btn-gold:hover { background: #f59e0b; text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(251, 191, 36, .5); }

/* ---------- Hero ---------- */
.hero { padding-top: 64px; padding-bottom: 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto;
  width: 80vw; height: 80vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, .12) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 span.gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { color: var(--muted); margin: 18px 0 28px; font-size: 1.15rem; max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 20px; font-size: 13px; color: var(--muted);
  display: flex; gap: 18px; flex-wrap: wrap;
}
.hero-meta b { color: var(--ink); font-weight: 600; }

/* Mockup */
.mockup {
  background: var(--card); border-radius: 18px;
  box-shadow: 0 25px 50px -20px rgba(15, 23, 42, .25);
  border: 1px solid var(--line);
  padding: 18px;
}
.mockup-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mockup-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f0; }
.mockup-bar i:first-child { background: #f87171; }
.mockup-bar i:nth-child(2) { background: #fbbf24; }
.mockup-bar i:nth-child(3) { background: #34d399; }

/* ---------- Trust strip ---------- */
.trust { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust p {
  text-align: center; color: var(--muted); font-size: 14px;
  letter-spacing: .02em;
}
.trust strong { color: var(--ink); font-weight: 600; }

/* ---------- Problem/Solution ---------- */
.ps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
@media (max-width: 820px) { .ps-grid { grid-template-columns: 1fr; } }
.ps-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: all .2s ease;
}
.ps-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.ps-card .prob {
  font-size: 14px; color: #b91c1c; background: #fef2f2;
  padding: 4px 10px; border-radius: 999px; display: inline-block; margin-bottom: 14px; font-weight: 500;
}
.ps-card .sol {
  font-size: 14px; color: #047857; background: #ecfdf5;
  padding: 4px 10px; border-radius: 999px; display: inline-block; margin-top: 16px; font-weight: 500;
}
.ps-card p { color: var(--ink-2); font-size: 15px; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.feature .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12) 0%, rgba(16, 185, 129, .12) 100%);
  color: var(--primary);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature h3 { margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; position: relative; }
@media (max-width: 820px) { .how-grid { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 0 12px; }
.step .num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; display: grid; place-items: center; margin: 0 auto 16px;
  font-weight: 800; font-size: 18px;
  box-shadow: 0 10px 24px -8px rgba(37, 99, 235, .45);
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing { background: white; }
.toggle {
  display: inline-flex; background: #f1f5f9; padding: 4px; border-radius: 999px;
  margin: 24px auto 0; gap: 4px;
}
.toggle button {
  padding: 8px 18px; border: 0; background: transparent; border-radius: 999px;
  font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer;
}
.toggle button.active { background: white; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.toggle button .save { font-size: 11px; color: var(--accent); margin-left: 4px; font-weight: 700; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; position: relative;
}
.plan.popular {
  border-color: var(--primary); border-width: 2px;
  box-shadow: 0 25px 60px -20px rgba(37, 99, 235, .25);
  transform: translateY(-8px);
}
@media (max-width: 900px) { .plan.popular { transform: none; } }
.plan .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white; padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.plan h3 { font-size: 1.15rem; margin-bottom: 4px; }
.plan .desc { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.plan .price .num { font-size: 2.5rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.plan .price .per { font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; margin: 20px 0; }
.plan li { padding: 8px 0; font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.plan .btn { width: 100%; justify-content: center; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 48px auto 0; }
.faq {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px;
  font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; color: var(--muted); font-weight: 400; transition: transform .2s;
}
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 24px 22px; color: var(--ink-2); font-size: 15px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  border-radius: 24px; padding: 64px 48px; color: white; text-align: center;
  box-shadow: 0 30px 60px -24px rgba(37, 99, 235, .45);
}
.cta-banner h2 { color: white; }
.cta-banner p { margin: 16px auto 28px; max-width: 540px; opacity: .9; }
.cta-banner .btn { background: white; color: var(--primary); }
.cta-banner .btn:hover { background: #f1f5f9; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink); color: #cbd5e1; padding: 56px 0 32px; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
footer .logo { color: white; margin-bottom: 12px; }
footer h4 { color: white; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
footer ul { list-style: none; }
footer li { padding: 4px 0; }
footer a { color: #cbd5e1; font-size: 14px; }
footer a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #1e293b; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: #64748b;
}

/* --- Content-page utilities (SEO pages) --- */
.content-hero { padding-top: 72px; padding-bottom: 56px; position: relative; overflow: hidden; }
.content-hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto;
  width: 70vw; height: 70vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, .12) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}
.content-hero .inner { position: relative; z-index: 1; max-width: 820px; }
.content-hero h1 { margin-bottom: 18px; }
.content-hero h1 span.gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.content-hero p.sub { color: var(--muted); font-size: 1.2rem; max-width: 640px; margin-bottom: 28px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 8px; }
.prose p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 16px; }
.prose ul { list-style: none; margin: 8px 0 24px; }
.prose ul li {
  position: relative; padding: 6px 0 6px 30px; color: var(--ink-2); font-size: 1.02rem;
}
.prose ul li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  color: var(--accent); font-weight: 800;
}

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 820px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; transition: all .2s ease; color: var(--ink);
}
.related-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; }
.related-card h3 { color: var(--ink); margin-bottom: 6px; }
.related-card p { font-size: 14px; color: var(--muted); }
.related-card .arrow { color: var(--primary); font-weight: 700; font-size: 14px; margin-top: 12px; display: inline-block; }
