:root {
  --ink: #0b0f1a;
  --ink-soft: #384457;
  --muted: #6b7688;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --gradient: linear-gradient(100deg, var(--cyan), var(--violet), var(--pink));
  --maxw: 1080px;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 15, 26, 0.04), 0 8px 24px rgba(11, 15, 26, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
a { color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: #7c3aed; color: #fff; box-shadow: 0 4px 12px rgba(124, 58, 237, 0.28); }
.btn-primary:hover { background: #6d28d9; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(124, 58, 237, 0.36); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.logo svg { display: block; height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav .btn { padding: 9px 18px; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(139, 92, 246, 0.35), transparent 60%),
    radial-gradient(700px 500px at 0% 10%, rgba(34, 211, 238, 0.22), transparent 55%),
    var(--ink);
  color: #fff;
  padding: 96px 0 104px;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a9b6cc;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  max-width: 18ch;
  margin-bottom: 22px;
}
.hero .lede { font-size: clamp(17px, 2vw, 20px); color: #c6cfdd; max-width: 62ch; margin-bottom: 34px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Sections */
section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
}
.section h2 { font-size: clamp(26px, 3.4vw, 38px); max-width: 20ch; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--ink-soft); max-width: 68ch; }
.narrow { max-width: 760px; }

/* Cards grid */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 21px; }
.card p:last-child { margin-bottom: 0; }
.card .tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
  display: block;
}

/* Feature list (how it works) */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
.feature { padding-left: 56px; position: relative; }
.feature .num {
  position: absolute;
  left: 0;
  top: 2px;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
}
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { color: var(--ink-soft); margin-bottom: 0; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink-soft); font-size: 16px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Founder */
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: start; }
.founder .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 800;
}
.founder .role { color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.founder .links { margin-top: 4px; }
.founder .links a { color: var(--violet); text-decoration: none; font-weight: 600; margin-right: 18px; }
.founder .links a:hover { text-decoration: underline; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(236, 72, 153, 0.3), transparent 60%),
    var(--ink);
  color: #fff;
  text-align: center;
  border-radius: 24px;
  padding: 64px 32px;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); max-width: none; margin: 0 auto 14px; }
.cta-band p { color: #c6cfdd; max-width: 52ch; margin: 0 auto 30px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: #93a1b8; padding: 56px 0 40px; font-size: 14px; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.site-footer .logo svg { height: 34px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a { color: #c6cfdd; text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.site-footer .company-details { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 24px; margin-bottom: 18px; max-width: 92ch; line-height: 1.7; }
.site-footer .company-details p { margin: 0 0 6px; }
.site-footer .company-details a { color: #c6cfdd; }
.site-footer .company-details a:hover { color: #fff; }
.site-footer .disclaimer { max-width: 92ch; line-height: 1.7; margin: 0; }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); }
.legal h2 { font-size: 24px; margin-top: 40px; }
.legal h3 { font-size: 18px; margin-top: 28px; }
.legal .updated { color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.legal hr { border: none; border-top: 1px solid var(--line); margin: 48px 0; }
.legal .intro { font-size: 17px; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--violet); text-decoration: none; font-weight: 600; }
.back-link:hover { text-decoration: underline; }

/* Placeholder token in legal pages - visible, hard to ship by accident */
.ph {
  background: #fff3cd;
  color: #8a6100;
  border: 1px dashed #e0a800;
  border-radius: 5px;
  padding: 0 6px;
  font-weight: 600;
  font-size: 0.92em;
  white-space: nowrap;
}
.ph-note {
  background: #fff8e6;
  border: 1px solid #ffe08a;
  border-radius: 10px;
  padding: 14px 18px;
  color: #7a5900;
  font-size: 14px;
  margin-bottom: 28px;
}

@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  section { padding: 60px 0; }
  .hero { padding: 72px 0 80px; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    padding: 0 10px;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
  .site-footer .top { flex-direction: column; }
  .legal table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cta-band { padding: 48px 22px; }
  .founder .avatar { width: 88px; height: 88px; font-size: 30px; }
}
