:root {
  --bg: #070b14;
  --panel: rgba(17, 25, 42, 0.72);
  --panel-solid: #111a2b;
  --line: rgba(148, 163, 184, 0.12);
  --line2: rgba(148, 163, 184, 0.22);
  --text: #e6ebf5;
  --muted: #8592a8;
  --accent: #34d399;
  --accent2: #22d3ee;
  --violet: #a78bfa;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --display: "Space Grotesk", system-ui, sans-serif;
  --radius: 18px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.bg-grid { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 65%); opacity: .45; }
.bg-glow { position: fixed; z-index: -1; top: -300px; left: 50%; width: 1200px; height: 700px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(52,211,153,.16), transparent), radial-gradient(closest-side at 72% 45%, rgba(34,211,238,.12), transparent); filter: blur(20px); }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--max); margin: 0 auto; padding: 16px 28px; transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7,11,20,.78); backdrop-filter: blur(14px); border-bottom-color: var(--line); max-width: none; padding-left: max(28px, calc((100vw - var(--max)) / 2 + 28px)); padding-right: max(28px, calc((100vw - var(--max)) / 2 + 28px)); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 20px; letter-spacing: -.02em; font-weight: 500; }
.brand b { color: var(--accent); font-weight: 700; }
.brand.small { font-size: 17px; }
.logo { width: 30px; height: 30px; color: var(--text); }
.links { display: flex; align-items: center; gap: 6px; }
.links > a, .dd-btn { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: 15px; transition: color .15s, background .15s; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.links > a:hover, .dd-btn:hover, .dd.open .dd-btn { color: var(--text); background: rgba(255,255,255,.04); }
.nav-cta { border: 1px solid var(--line2) !important; color: var(--text) !important; margin-left: 6px; }
.nav-cta:hover { border-color: var(--accent) !important; color: var(--accent) !important; }
.dd { position: relative; }
.dd-btn svg { transition: transform .2s; }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -6px); width: 320px; padding: 8px; border-radius: 14px;
  background: #0d1424; border: 1px solid var(--line2); box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); opacity: 0; visibility: hidden; transition: all .18s; }
.dd:hover .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-item { display: flex; gap: 12px; padding: 12px; border-radius: 10px; align-items: flex-start; }
.dd-item:hover { background: rgba(52,211,153,.07); }
.dd-item b { display: block; font-weight: 600; font-size: 15px; }
.dd-item small { color: var(--muted); font-size: 13px; }
.dd-ic { flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.25); color: var(--text); }
.dd-ic svg { width: 20px; height: 20px; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

main { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent2) 60%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; margin: 0; font-weight: 700; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.sub { color: var(--muted); font-size: 17px; max-width: 640px; margin: 14px 0 0; }

.btn-primary { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 13px 22px; border-radius: 12px; font-weight: 600; color: #04120c;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 10px 28px -10px rgba(52,211,153,.65); transition: transform .15s, filter .15s; }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.07); }
.btn-ghost { display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 12px; border: 1px solid var(--line2); font-weight: 500; transition: border-color .15s, color .15s; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 70px 0 90px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; margin-bottom: 22px; }
.lead { color: #b4bfd2; font-size: 17px; margin: 0 0 30px; max-width: 600px; }
.lead b { color: var(--text); font-family: var(--mono); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.fee-card { padding: 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line2); backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.04); }
.fee-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.pill { padding: 14px 12px; border-radius: 14px; background: rgba(0,0,0,.22); border: 1px solid var(--line); text-align: center; }
.pill .n { display: block; font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -.03em; }
.pill:nth-child(1) .n { color: var(--accent); } .pill:nth-child(2) .n { color: var(--accent2); } .pill:nth-child(3) .n { color: var(--violet); }
.pill .l { font-size: 12px; color: var(--muted); }
.calc-head { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); font-size: 14px; }
.calc-head output { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--text); }
input[type=range] { width: 100%; margin: 10px 0 14px; accent-color: var(--accent); height: 22px; cursor: pointer; }
.bar { display: flex; height: 12px; border-radius: 99px; background: rgba(255,255,255,.05); overflow: hidden; margin-bottom: 16px; }
.bar-you { background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .25s; }
.bar-fee { background: var(--violet); transition: width .25s; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 10px; }
.calc-grid > div { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.15); }
.calc-grid .k { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.calc-grid .v { font-family: var(--mono); font-size: 20px; font-weight: 600; }
.v.pos { color: var(--accent); } .muted-v { color: #9aa6ba; }
.fine { font-size: 11.5px; color: #5d697e; margin: 12px 0 0; }

/* sections */
.sec { padding: 90px 0; border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 40px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; color: #b4bfd2; font-size: 17px; }
.two p { margin: 0; }
.themes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.themes span { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line2); font-size: 14px; color: var(--text); background: rgba(255,255,255,.02); }
.themes span::before { content: "◆"; color: var(--accent); margin-right: 8px; font-size: 10px; vertical-align: 2px; }

.mission blockquote { margin: 0 0 44px; font-family: var(--display); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -.025em; font-weight: 500; max-width: 920px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pl { padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.pl::after { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); opacity: .7; }
.pl-n { font-family: var(--mono); color: var(--accent); font-size: 13px; }
.pl b { display: block; font-family: var(--display); font-size: 20px; margin: 8px 0 6px; letter-spacing: -.02em; }
.pl p { margin: 0; color: var(--muted); font-size: 15px; }

.product { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; align-items: start; }
.shot { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: #0b1220; box-shadow: 0 40px 90px -40px rgba(52,211,153,.35); transition: transform .25s, box-shadow .25s; }
.shot:hover { transform: translateY(-3px); box-shadow: 0 50px 100px -40px rgba(52,211,153,.5); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #0d1526; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3448; }
.shot-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.feat ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 18px; }
.feat li { color: var(--muted); font-size: 15px; padding-left: 26px; position: relative; }
.feat li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.feat li b { display: block; color: var(--text); font-size: 16px; }
.try { display: flex; gap: 8px; padding: 6px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line2); }
.try input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 8px 10px; font-family: var(--mono); text-transform: uppercase; }
.try input::placeholder { text-transform: none; color: #556178; }
.try .btn-primary { padding: 10px 18px; }

.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.person { display: flex; gap: 22px; align-items: center; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.ph { position: relative; flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(52,211,153,.25), rgba(34,211,238,.18)); border: 2px solid rgba(52,211,153,.4); }
.ph span { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--text); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: 22px; }
.person p { margin: 2px 0 10px; color: var(--accent); font-family: var(--mono); font-size: 13.5px; }
.soc { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.soc svg { width: 16px; height: 16px; }
.soc:hover { color: var(--accent); }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.c-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c-card { padding: 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: border-color .15s; }
a.c-card:hover { border-color: var(--accent); }
.c-card .k { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.c-card .v { font-size: 17px; font-weight: 500; }
.c-card:nth-child(2) { grid-row: span 2; }
.socs { display: flex; gap: 10px; margin-top: 4px; }
.socs a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line2); color: var(--muted); transition: all .15s; }
.socs a:hover { color: var(--accent); border-color: var(--accent); }
.socs svg { width: 18px; height: 18px; }

.foot { max-width: var(--max); margin: 40px auto 0; padding: 36px 28px 40px; border-top: 1px solid var(--line); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); font-size: 14px; }
.foot nav a:hover { color: var(--text); }
.disclaimer { color: #556178; font-size: 12px; line-height: 1.6; margin: 26px 0 10px; max-width: 980px; }
.copy { color: #556178; font-size: 12px; margin: 0; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 960px) {
  .hero, .product, .contact { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; gap: 40px; }
  .pillars { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .links { position: fixed; top: 64px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; padding: 12px; border-radius: 16px;
    background: #0b1220; border: 1px solid var(--line2); box-shadow: 0 30px 60px rgba(0,0,0,.6); display: none; }
  .links.open { display: flex; }
  .links > a, .dd-btn { padding: 12px 14px; width: 100%; justify-content: space-between; }
  .nav-cta { margin-left: 0; justify-content: center !important; }
  .dd-menu { position: static; transform: none; width: auto; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 8px; display: none; opacity: 1; visibility: visible; }
  .dd.open .dd-menu { display: block; }
  .dd:hover .dd-menu { transform: none; }
  .nav.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  main, .nav, .foot { padding-left: 18px; padding-right: 18px; }
  .team, .c-cards { grid-template-columns: 1fr; }
  .c-card:nth-child(2) { grid-row: auto; }
  .calc-grid { grid-template-columns: 1fr 1fr; }
  .calc-grid > div:last-child { grid-column: span 2; }
  .person { flex-direction: column; text-align: center; }
  .sec { padding: 64px 0; }
}
