:root {
  --bg: #0d0f1a; --bg2: #131627; --card: #171a2c; --line: #262a42; --text: #eef0f7; --muted: #9aa0b8;
  --gold: #ffc65c; --gold-ink: #1d1404; --violet: #8f7dff; --teal: #45d6c4;
  --serif: "Fraunces", Georgia, serif; --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
em { font-style: italic; font-weight: 400; color: var(--gold); }

.nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 16px clamp(16px, 5vw, 64px); background: #0d0f1acc; backdrop-filter: blur(12px); border-bottom: 1px solid #ffffff0a; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; font-weight: 600; text-decoration: none; color: var(--gold); }
.brand { color: var(--text); } .brand svg { color: var(--gold); }
.nav nav { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.nav nav a { text-decoration: none; color: var(--muted); } .nav nav a:hover { color: var(--text); }
.nav .pill { color: var(--gold-ink) !important; background: var(--gold); padding: 7px 14px; border-radius: 99px; font-weight: 600; }

section { padding: 0 clamp(16px, 5vw, 64px); max-width: 1180px; margin: 0 auto; }

.hero { position: relative; text-align: center; padding-top: clamp(70px, 12vh, 130px); padding-bottom: 120px; max-width: none; overflow: hidden; }
.hero > *:not(.waves) { position: relative; max-width: 820px; margin-left: auto; margin-right: auto; }
.waves { position: absolute; inset: auto 0 0 0; width: 100%; height: 420px; opacity: .9; }
.w { fill: none; stroke-width: 2; stroke-linecap: round; animation: drift 9s ease-in-out infinite alternate; }
.w1 { stroke: #ffc65c55; } .w2 { stroke: #8f7dff44; animation-duration: 11s; } .w3 { stroke: #45d6c433; animation-duration: 13s; }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(30px); } }
@media (prefers-reduced-motion: reduce) { .w { animation: none; } html { scroll-behavior: auto; } }
.eyebrow { color: var(--muted); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; margin: 0 0 18px; }
.hero h1 { font-size: clamp(44px, 8vw, 92px); letter-spacing: -.02em; }
.lede { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 620px !important; margin: 24px auto 34px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; text-decoration: none; padding: 13px 22px; border-radius: 99px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--gold); color: var(--gold-ink); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { border-color: var(--line); color: var(--text); background: #ffffff06; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

.products { padding-top: 40px; padding-bottom: 80px; }
.products > h2 { font-size: clamp(28px, 4vw, 44px); max-width: 760px; margin-bottom: 40px; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 36px); }
.product h3 { font-size: 34px; margin: 12px 0 4px; }
.product .sub { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 19px; margin: 0 0 12px; }
.product p { color: #c7cbdc; }
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; margin-bottom: 18px;
  background: radial-gradient(120% 140% at 100% 0%, #2a2350 0%, var(--card) 55%); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; scroll-margin-top: 90px; }
.grid2 .btn { margin-top: 6px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.tag.gold { background: #ffc65c22; color: var(--gold); } .tag.green { background: #45d6c41f; color: var(--teal); }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; }
.ticks li { padding-left: 26px; position: relative; margin: 6px 0; color: #dfe2ee; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

.meter { background: #0f1120; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.mrow { display: grid; grid-template-columns: 70px 1fr 34px; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.mrow i { height: 8px; border-radius: 99px; background: #23263d; position: relative; overflow: hidden; }
.mrow i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 99px; background: linear-gradient(90deg, var(--violet), var(--gold)); }
.mrow b { color: var(--text); text-align: right; }
.trace { width: 100%; height: 80px; margin: 6px 0 8px; }
.trace path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; }
.trace .target { stroke: #ffffff30; stroke-dasharray: 4 5; stroke-width: 2; }
.tip { font-size: 13px; color: #c7cbdc !important; background: #ffc65c12; border-left: 3px solid var(--gold); padding: 10px 12px; border-radius: 6px; margin: 0; }

.story { text-align: center; padding-top: 50px; padding-bottom: 80px; }
.quote { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); font-style: italic; max-width: 780px; margin: 0 auto 16px; line-height: 1.35; }
.who { color: var(--muted); }

.join { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; padding-top: 60px; padding-bottom: 100px; scroll-margin-top: 70px; }
.join h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 14px; }
.join .jtext p { color: var(--muted); max-width: 420px; }
form { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 16px; }
form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #cfd3e3; }
form small { color: var(--muted); }
input, textarea { font: inherit; color: var(--text); background: #0f1120; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
input:focus, textarea:focus { outline: 2px solid #ffc65c66; border-color: var(--gold); }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
legend { font-size: 14px; color: #cfd3e3; margin-bottom: 8px; }
.opt { flex-direction: row !important; align-items: center; gap: 8px !important; background: #0f1120; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--gold); background: #ffc65c14; }
.opt input { accent-color: var(--gold); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#formMsg { margin: 0; font-size: 14px; min-height: 1.4em; }
#formMsg.ok { color: var(--teal); } #formMsg.err { color: #ff8a8a; }

footer { display: flex; justify-content: space-between; padding: 24px clamp(16px, 5vw, 64px); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 820px) {
  .nav nav a:not(.pill) { display: none; }
  .feature, .grid2, .join { grid-template-columns: 1fr; }
  .hero { padding-bottom: 90px; }
  .product h3 { font-size: 28px; }
}
