/* palette: bg=#FFFFFF fg=#16183A accent=#3A54F0 */
/* fonts: display="Poppins" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F7FE;
  --bg-tint: #EEF3FE;
  --fg: #16183A;
  --fg-soft: #33365F;
  --muted: #6B6F94;
  --accent: #3A54F0;
  --accent-deep: #2537C4;
  --accent-soft: #EAEEFE;
  --cyan: #34C6D6;
  --amber: #FBC53C;
  --ink: #10122E;
  --border: rgba(22, 24, 58, 0.12);
  --border-soft: rgba(22, 24, 58, 0.07);
  --grad-hero: linear-gradient(160deg, #6FB4F5 0%, #4C74F0 46%, #3B4FE0 100%);
  --grad-cta: linear-gradient(135deg, #3A54F0 0%, #5E4BE6 100%);
  --serif: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 4px 24px -4px rgba(22, 24, 58, 0.08);
  --shadow-hover: 0 16px 44px -10px rgba(22, 24, 58, 0.18);
  --shadow-float: 0 30px 80px -20px rgba(37, 55, 196, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--light { color: rgba(255,255,255,0.82); }

.section { padding: clamp(72px, 12vw, 150px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #EDEFFB; }
.section--dark .lead, .section--dark p { color: rgba(237,239,251,0.72); }

.lead { color: var(--muted); font-size: 18px; line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(58,84,240,0.7);
}
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(58,84,240,0.75); }
.btn--ghost { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn--ghost:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  transition: gap 0.3s var(--ease);
}
.arrow-link:hover { gap: 12px; }
.arrow-link::after { content: "\2192"; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 8px 30px -18px rgba(22,24,58,0.28);
  border-bottom-color: var(--border-soft);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; color: var(--fg); }
.brand__mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--grad-cta);
  display: grid; place-items: center;
  color: #fff; font-size: 16px; font-weight: 700;
  box-shadow: 0 6px 16px -6px rgba(58,84,240,0.6);
}
.nav { display: none; align-items: center; gap: 34px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--fg-soft); transition: color 0.25s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.header__cta { display: none; align-items: center; gap: 18px; }
.header__cta .signin { font-size: 15px; font-weight: 500; color: var(--fg-soft); }
.header__cta .signin:hover { color: var(--accent); }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: flex; }
}

.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 72px 0 0; z-index: 99;
  background: var(--bg);
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-menu[data-open="true"] { transform: none; }
.mobile-menu a { font-family: var(--serif); font-size: 26px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
  color: #fff;
  padding: 120px 0 80px;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(255,255,255,0.25), transparent 60%),
    radial-gradient(50% 40% at 12% 88%, rgba(52,198,214,0.35), transparent 60%);
  animation: heroZoom 9s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 85%);
}
.hero .container { position: relative; z-index: 2; text-align: center; }
.hero__eyebrow {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85); margin-bottom: 22px; display: inline-block;
  padding: 7px 16px; border: 1px solid rgba(255,255,255,0.28); border-radius: 999px;
  background: rgba(255,255,255,0.08);
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 15ch;
  margin: 0 auto 26px;
}
.hero h1 em { font-style: normal; font-weight: 500; color: #FBC53C; }
.hero__sub { max-width: 620px; margin: 0 auto 38px; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,0.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__visual {
  position: relative; z-index: 2;
  margin: 62px auto 0;
  max-width: 940px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(255,255,255,0.4);
}
.hero__visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Trust strip ---------- */
.trust { padding: 40px 0; border-bottom: 1px solid var(--border-soft); }
.trust__label { text-align: center; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 22px; }
.trust__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 46px; align-items: center; }
.trust__row span { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--muted); letter-spacing: -0.01em; opacity: 0.8; }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 68px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); letter-spacing: -0.025em; margin: 18px 0 20px; }
.section-head p { color: var(--muted); font-size: 18px; }
.section--dark .section-head p { color: rgba(237,239,251,0.68); }

/* ---------- Feature dashboard band ---------- */
.showcase__inner { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .showcase__inner { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.showcase__media { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-float); border: 1px solid rgba(255,255,255,0.1); }
.showcase__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.showcase__list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 20px; }
.showcase__list li { display: flex; gap: 15px; }
.showcase__list .dot { flex: none; width: 30px; height: 30px; border-radius: 9px; background: rgba(58,84,240,0.15); color: var(--accent); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 600; }
.section--dark .showcase__list .dot { background: rgba(255,255,255,0.1); color: var(--cyan); }
.showcase__list h4 { font-size: 18px; font-weight: 600; margin-bottom: 3px; }
.showcase__list p { font-size: 15.5px; }

/* ---------- Timeline (Skeleton D) ---------- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--accent), rgba(58,84,240,0.15));
}
@media (min-width: 860px) { .timeline::before { left: 50%; transform: translateX(-1px); } }
.tl-item { position: relative; padding-left: 58px; margin-bottom: 42px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-node {
  position: absolute; left: 8px; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent); z-index: 2;
}
.section--alt .tl-node { background: var(--bg-alt); }
.tl-step { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.tl-item h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 8px 0 10px; }
.tl-item p { color: var(--muted); font-size: 16.5px; max-width: 46ch; }
@media (min-width: 860px) {
  .tl-item { width: 50%; padding-left: 0; padding-right: 52px; text-align: right; margin-bottom: 20px; }
  .tl-item:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 52px; text-align: left; }
  .tl-node { left: auto; right: -12px; top: 4px; }
  .tl-item:nth-child(even) .tl-node { right: auto; left: -12px; }
  .tl-item p { margin-left: auto; }
  .tl-item:nth-child(even) p { margin-left: 0; }
}

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(58,84,240,0.25); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 20px;
  font-family: var(--mono); font-weight: 600; font-size: 17px;
}
.card--amber .card__icon { background: rgba(251,197,60,0.2); color: #B8860B; }
.card--cyan .card__icon { background: rgba(52,198,214,0.18); color: #12909E; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.card__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto__quote {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.7rem, 4.6vw, 3.4rem);
  line-height: 1.2; letter-spacing: -0.02em;
  max-width: 940px; margin: 0 auto;
}
.manifesto__quote em { font-style: normal; color: var(--cyan); font-weight: 500; }
.manifesto__mark { font-family: var(--serif); font-size: 90px; line-height: 0.4; color: rgba(52,198,214,0.4); display: block; height: 44px; }
.manifesto__by { margin-top: 34px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(237,239,251,0.55); }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.section--dark .stat__num { color: var(--cyan); }
.stat__label { margin-top: 12px; font-size: 15px; color: var(--muted); }
.section--dark .stat__label { color: rgba(237,239,251,0.6); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 26px 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.05rem, 2.6vw, 1.35rem); letter-spacing: -0.01em;
}
.faq__q .plus { flex: none; width: 26px; height: 26px; position: relative; }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform 0.35s var(--ease); }
.faq__q .plus::before { top: 12px; left: 3px; right: 3px; height: 2px; }
.faq__q .plus::after { left: 12px; top: 3px; bottom: 3px; width: 2px; }
.faq__item[data-open="true"] .plus::after { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__item[data-open="true"] .faq__a { max-height: 320px; }
.faq__a p { padding: 0 0 26px; color: var(--muted); font-size: 16.5px; max-width: 68ch; }

/* ---------- CTA ---------- */
.cta { background: var(--grad-cta); color: #fff; text-align: center; border-radius: 0; position: relative; overflow: hidden; }
.cta__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta h2 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -0.025em; margin-bottom: 20px; font-weight: 400; }
.cta p { color: rgba(255,255,255,0.86); font-size: 18px; margin-bottom: 34px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta__bg { position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 20%, rgba(251,197,60,0.3), transparent 60%), radial-gradient(45% 55% at 10% 90%, rgba(52,198,214,0.35), transparent 60%); }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.info-block { margin-bottom: 30px; }
.info-block .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 7px; }
.info-block .v { font-size: 17px; color: var(--fg-soft); line-height: 1.6; }
.form { background: var(--bg); border: 1px solid var(--border-soft); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-card); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px;
  font: inherit; font-size: 15.5px; color: var(--fg); background: var(--bg-alt);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(58,84,240,0.14); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16.5px; line-height: 1.8; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.page-top { padding-top: 130px; padding-bottom: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(237,239,251,0.72); padding: 76px 0 34px; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer__tag { font-size: 15px; max-width: 34ch; line-height: 1.6; }
.footer__col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(237,239,251,0.5); margin: 0 0 18px; font-weight: 500; }
.footer__col a, .footer__col p { display: block; font-size: 15px; color: rgba(237,239,251,0.72); padding: 5px 0; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center; font-size: 13.5px; color: rgba(237,239,251,0.5); }
.footer__bottom a { color: rgba(237,239,251,0.6); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; background: rgba(16,18,46,0.42); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 30px 32px; max-width: 460px; border-radius: 16px; box-shadow: var(--shadow-float); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 21px; font-weight: 600; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 22px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }
