/* ===================== TOKENS ===================== */
:root {
  --blue: #3e55f4;
  --blue-link: #3b5bfd;
  --ink: #1a1f33;
  --muted: #5a607a;
  --light-bg: #f4f5f9;
  --hero-bg: #0f1123;
  --how-bg: #10162b;
  --footer-bg: #0b0f1e;
  --how-label: #5d78ff;
  --how-head: #f5f6fb;
  --how-muted: #9aa1bf;
  --card-shadow: 0 8px 28px rgba(11, 15, 30, 0.05), 0 1px 2px rgba(11, 15, 30, 0.05);
  --container: 1080px;
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--light-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-wide { width: 100%; max-width: 1282px; margin-inline: auto; padding-inline: 24px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  height: 48px; padding: 0 16px; border-radius: 16px;
  font-weight: 600; font-size: 15px; line-height: 1.4;
  cursor: pointer; transition: background-color .18s ease, transform .18s ease;
}
.btn .material-symbols-rounded { font-size: 20px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #3346d8; transform: translateY(-1px); }

/* ===================== BRAND ===================== */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 26px; height: auto; }
.brand-name {
  font-family: 'Clash Grotesk', sans-serif; font-weight: 400;
  font-size: 25px; color: #fff; letter-spacing: 0.4px;
}

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-bg);
  min-height: 890px;
  display: flex; flex-direction: column;
  padding: 40px 0;
}
.hero-glow {
  position: absolute; left: 50%; top: 62%;
  width: 1200px; height: 620px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(62, 85, 244, 0.55) 0%, rgba(62, 85, 244, 0.18) 38%, rgba(15, 17, 35, 0) 70%);
  pointer-events: none;
}
.nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
}
.hero-content {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 32px; text-align: center; padding: 24px;
}
.hero-title {
  font-family: 'Clash Grotesk', sans-serif; font-weight: 400;
  font-size: 72px; line-height: 1.15; color: #fff;
  letter-spacing: -0.5px;
}
.hero-title .accent { color: var(--blue); }
.hero-sub {
  max-width: 595px; font-size: 19px; line-height: 1.45; color: #f5f5f5; font-weight: 400;
}

/* ===================== SECTION HEAD ===================== */
.section-head {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center; max-width: 600px; margin: 0 auto;
}
.eyebrow { font-weight: 600; font-size: 11px; letter-spacing: 3px; }
.eyebrow-light { color: var(--blue-link); }
.eyebrow-bright { color: var(--how-label); }
.section-title {
  font-family: 'Clash Grotesk', sans-serif; font-weight: 400;
  font-size: 42px; line-height: 1.12; color: var(--ink);
}
.section-title-light { color: var(--how-head); }
.section-desc { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.section-desc-light { color: var(--how-muted); }

/* ===================== GRID ===================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }

/* ===================== PRODUCTS ===================== */
.products { background: var(--light-bg); padding: 96px 0 104px; }
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; min-height: 236px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(11, 15, 30, 0.09), 0 1px 2px rgba(11, 15, 30, 0.05); }
.icon-box {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(59, 91, 253, 0.1);
  display: flex; align-items: center; justify-content: center;
}
.icon-box img { width: 22px; height: 22px; }
.head-row { display: flex; align-items: center; gap: 10px; }
.card-name { font-weight: 600; font-size: 19px; color: var(--ink); }
.status { font-weight: 600; font-size: 10.5px; letter-spacing: 0.63px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.status-accent { background: rgba(59, 91, 253, 0.12); color: var(--blue-link); }
.status-muted { background: rgba(26, 31, 51, 0.07); color: var(--muted); }
.card-tagline { font-weight: 500; font-size: 13px; color: var(--blue-link); }
.card-desc { font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* ===================== HOW WE BUILD ===================== */
.how { background: var(--how-bg); padding: 96px 0 104px; }
.principle {
  border: 1px solid rgba(245, 246, 251, 0.1); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 8px;
  transition: border-color .2s ease, background-color .2s ease;
}
.principle:hover { border-color: rgba(93, 120, 255, 0.4); background: rgba(93, 120, 255, 0.04); }
.principle-icon { width: 26px; height: 26px; }
.principle-name { font-weight: 600; font-size: 17px; color: var(--how-head); }
.principle-desc { font-size: 13.5px; line-height: 1.55; color: var(--how-muted); }

/* ===================== CONTACT ===================== */
.contact { background: var(--light-bg); padding: 96px 0 48px; }
.contact-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; min-height: 170px;
}
.step-num {
  width: 30px; height: 30px; border-radius: 999px; background: var(--blue-link);
  color: #fff; font-weight: 600; font-size: 13px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.contact-name { font-weight: 600; font-size: 16.5px; color: var(--ink); }
.contact-desc { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.contact-mail { font-weight: 500; font-size: 13.5px; color: var(--blue-link); margin-top: 2px; }
.contact-mail:hover { text-decoration: underline; }

/* ===================== FAQ ===================== */
.faq-section { background: var(--light-bg); padding: 0 0 110px; }
.faq { display: flex; flex-direction: column; }
.faq-title { font-weight: 600; font-size: 26px; color: var(--ink); margin-bottom: 24px; }
.faq-item { border-bottom: 1px solid rgba(26, 31, 51, 0.08); }
.faq-item:first-of-type { border-top: 1px solid rgba(26, 31, 51, 0.08); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px; font-weight: 500; font-size: 15px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { width: 20px; height: 20px; transition: transform .25s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item p { padding: 0 4px 20px; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 760px; }
.faq-item a { color: var(--blue-link); }

/* ===================== FOOTER ===================== */
.footer { background: var(--footer-bg); padding: 64px 0 36px; }
.footer-top {
  display: grid; grid-template-columns: 380px 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 44px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.brand-name-footer { font-size: 22px; }
.footer-blurb { max-width: 240px; font-size: 13px; line-height: 1.6; color: var(--how-muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-weight: 600; font-size: 11px; letter-spacing: 2.4px; color: var(--how-muted); margin-bottom: 6px; }
.footer-col a { font-size: 13.5px; color: var(--how-muted); transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid rgba(245, 246, 251, 0.1); padding-top: 24px;
  font-size: 12px; color: var(--how-muted);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 920px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 54px; }
}
@media (max-width: 640px) {
  .hero { min-height: auto; padding-bottom: 80px; }
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 17px; }
  .section-title { font-size: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .products, .how, .contact { padding: 64px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
