:root {
  color-scheme: light;
  --ink: #171622;
  --muted: #746f7d;
  --surface: #ffffff;
  --canvas: #f7f4ef;
  --line: #e9e3dc;
  --blue: #1d8fff;
  --purple: #6c4de8;
  --dark: #211d31;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--purple); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: #4d32c6; }

.shell { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}

.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: inset 0 1px 0 #ffffff80, 0 8px 18px #1d8fff30; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-size: 1.08rem; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: .94rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.hero { padding: 104px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.eyebrow { color: var(--purple); text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 800; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
h1 { max-width: 650px; margin: 18px 0 22px; font-size: clamp(2.7rem, 6vw, 5.2rem); }
h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { margin: 0 0 8px; font-size: 1.16rem; }
.lead { max-width: 590px; color: var(--muted); font-size: 1.16rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 15px; color: white; background: var(--purple); text-decoration: none; font-weight: 750; box-shadow: 0 12px 24px #6c4de82e; }
.button.secondary { color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
.button:hover { color: white; transform: translateY(-1px); }
.button.secondary:hover { color: var(--ink); }

.hero-card { position: relative; min-height: 390px; padding: 28px; overflow: hidden; border-radius: 38px; color: white; background: radial-gradient(circle at 90% 10%, #7562e4, transparent 34%), linear-gradient(145deg, #2d2846, #161520 72%); box-shadow: 0 26px 60px #211d3133; }
.hero-card::after { content: ""; position: absolute; right: -90px; bottom: -110px; width: 290px; height: 290px; border: 45px solid #ffffff12; border-radius: 50%; }
.hero-card-top { display: flex; justify-content: space-between; align-items: center; color: #bbb6c9; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.hero-amount { margin-top: 74px; font-size: clamp(3rem, 7vw, 5rem); font-weight: 850; letter-spacing: -.06em; }
.hero-card small { color: #bbb6c9; }
.meter { height: 10px; margin: 34px 0 14px; border-radius: 999px; background: #ffffff20; overflow: hidden; }
.meter span { display: block; width: 64%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7fe2cc, #62d3bf); }
.legend { display: flex; justify-content: space-between; gap: 12px; color: #c4bfcb; font-size: .9rem; }

.section { padding: 82px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { max-width: 650px; margin-bottom: 34px; }
.section-heading p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.card p { margin: 0; color: var(--muted); }
.icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 14px; color: var(--purple); background: #eeeaff; font-weight: 850; }
.privacy-callout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.privacy-callout .card { background: var(--dark); color: white; border: 0; }
.privacy-callout .card p { color: #c4bfce; }

.legal { padding: 74px 0 100px; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 60px; align-items: start; }
.legal-nav { position: sticky; top: 100px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.legal-nav strong { display: block; margin-bottom: 10px; }
.legal-nav a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: .9rem; }
.legal-nav a:hover { color: var(--ink); }
.legal-content { min-width: 0; }
.legal-content .updated { margin-top: -8px; color: var(--muted); }
.legal-content section { padding-top: 30px; }
.legal-content p, .legal-content li { color: #4f4a58; }
.legal-content ul { padding-left: 1.3rem; }
.legal-content strong { color: var(--ink); }
.notice { padding: 18px 20px; border-left: 4px solid var(--purple); border-radius: 12px; background: #eeeaff; color: #423a68; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); }
.contact-card p { color: var(--muted); }
.contact-form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; color: var(--ink); font-size: .9rem; font-weight: 700; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: var(--ink); background: #fbfaf8; font: inherit; }
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid #6c4de82e; border-color: var(--purple); }
.contact-form button { border: 0; cursor: pointer; font: inherit; }

.site-footer { padding: 30px 0 44px; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); }

@media (max-width: 800px) {
  .shell { width: min(100% - 28px, 680px); }
  .nav { min-height: 66px; }
  .nav-links { gap: 13px; font-size: .84rem; }
  .hero { padding: 70px 0 56px; }
  .hero-grid, .legal-layout, .privacy-callout, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-card { min-height: 330px; }
  .cards { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .section { padding: 60px 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: transform .18s ease, box-shadow .18s ease; }
}
