:root {
  --ink: #111216;
  --muted: #666b76;
  --line: #e7e8ec;
  --paper: #f7f7f4;
  --white: #ffffff;
  --lime: #d8ff65;
  --violet: #7c5cfc;
  --violet-dark: #5b3ce2;
  --green: #0f8a5f;
  --red: #c14343;
  --amber: #a66c00;
  --shadow: 0 18px 60px rgba(17,18,22,.10);
  --radius: 22px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; backdrop-filter: blur(16px);
  background: rgba(247,247,244,.84); border-bottom: 1px solid rgba(231,232,236,.7);
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.nav img { width: 164px; height: auto; }
.nav-links { display:flex; gap:26px; align-items:center; color:#34363d; font-size:14px; }
.nav-links a { text-decoration:none; }
.btn {
  border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 700;
  display:inline-flex; align-items:center; justify-content:center; gap:8px; text-decoration:none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: white; box-shadow: 0 8px 20px rgba(17,18,22,.18); }
.btn-primary:hover { background:#2a2b30; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-violet { background: var(--violet); color:white; }
.btn-ghost { background: transparent; border:1px solid var(--line); color:var(--ink); }
.btn-small { padding: 9px 14px; font-size: 13px; }
.hero { padding: 92px 0 76px; overflow:hidden; }
.hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap:64px; align-items:center; }
.eyebrow {
  display:inline-flex; gap:9px; align-items:center; padding:7px 11px; border:1px solid #d9dce2;
  border-radius:999px; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  background:rgba(255,255,255,.65);
}
.dot { width:8px; height:8px; border-radius:50%; background:var(--violet); box-shadow:0 0 0 5px rgba(124,92,252,.12); }
h1 { font-size: clamp(48px, 7vw, 82px); line-height:.98; letter-spacing:-.055em; margin:24px 0 24px; max-width:760px; }
h2 { font-size: clamp(34px, 4vw, 54px); line-height:1.03; letter-spacing:-.04em; margin:0 0 18px; }
h3 { font-size:22px; line-height:1.2; margin:0 0 10px; }
.lede { font-size:20px; color:#555a65; max-width:680px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin:30px 0 20px; }
.microcopy { font-size:13px; color:var(--muted); }
.hero-card { position:relative; min-height:480px; }
.orbit { position:absolute; inset:0; border-radius:40px; background:linear-gradient(145deg,#17181d,#292a30); box-shadow:var(--shadow); overflow:hidden; }
.orbit:before { content:""; position:absolute; width:360px; height:360px; border-radius:50%; background:rgba(124,92,252,.72); filter:blur(2px); right:-120px; top:-110px; }
.orbit:after { content:""; position:absolute; width:300px; height:300px; border-radius:50%; background:rgba(216,255,101,.72); filter:blur(1px); left:-120px; bottom:-130px; }
.app-preview { position:absolute; inset:34px; z-index:2; background:white; border-radius:24px; padding:24px; box-shadow:0 20px 70px rgba(0,0,0,.26); }
.preview-top { display:flex; align-items:center; justify-content:space-between; padding-bottom:18px; border-bottom:1px solid var(--line); }
.preview-brand { font-weight:800; }
.badge { border-radius:999px; padding:6px 9px; font-size:11px; font-weight:800; }
.badge-green { background:#e8f8f1; color:var(--green); }
.badge-purple { background:#f0ecff; color:var(--violet-dark); }
.badge-amber { background:#fff5dc; color:var(--amber); }
.preview-slot { margin:20px 0; background:#f6f3ff; border:1px solid #e3dbff; border-radius:17px; padding:17px; }
.preview-slot strong { display:block; font-size:18px; }
.candidate { display:flex; gap:12px; align-items:center; padding:13px 0; border-bottom:1px solid var(--line); }
.avatar { width:38px; height:38px; border-radius:13px; background:var(--ink); color:white; display:grid; place-items:center; font-weight:800; }
.candidate-body { flex:1; }
.candidate-body b { display:block; }
.score { color:var(--green); font-weight:800; font-size:13px; }
.preview-footer { display:flex; justify-content:space-between; align-items:center; margin-top:18px; font-size:13px; }
.logo-strip { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:22px 0; color:var(--muted); font-size:13px; }
.logo-strip .row { display:flex; justify-content:center; gap:44px; flex-wrap:wrap; font-weight:750; }
.section { padding:92px 0; }
.section-white { background:white; }
.section-dark { background:#111216; color:white; }
.section-head { max-width:720px; margin-bottom:44px; }
.section-head p { color:var(--muted); font-size:18px; }
.section-dark .section-head p { color:#b3b6c0; }
.cards-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.card { background:white; border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.section-dark .card { background:#1b1c21; border-color:#303139; }
.step-number { width:36px; height:36px; display:grid; place-items:center; border-radius:12px; background:var(--lime); color:var(--ink); font-weight:900; margin-bottom:34px; }
.card p { color:var(--muted); margin-bottom:0; }
.section-dark .card p { color:#afb2bb; }
.metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:34px; }
.metric { background:#f0f1ed; border-radius:18px; padding:22px; }
.metric strong { display:block; font-size:30px; letter-spacing:-.04em; }
.metric span { color:var(--muted); font-size:13px; }
.roi-box { display:grid; grid-template-columns:1fr 1fr; gap:42px; align-items:center; background:var(--lime); border-radius:34px; padding:42px; }
.roi-controls { background:rgba(255,255,255,.75); border-radius:22px; padding:24px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field { margin-bottom:14px; }
.field label { display:block; font-size:13px; font-weight:800; margin-bottom:7px; }
input, select, textarea {
  width:100%; border:1px solid #dfe1e6; border-radius:13px; background:white; padding:12px 13px; color:var(--ink); outline:none;
}
input:focus, select:focus, textarea:focus { border-color:var(--violet); box-shadow:0 0 0 3px rgba(124,92,252,.12); }
textarea { min-height:100px; resize:vertical; }
.roi-result strong { font-size:56px; letter-spacing:-.05em; display:block; }
.roi-result p { margin:0; color:#3f421f; }
.pricing { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; max-width:820px; }
.price-card { background:white; border:1px solid var(--line); border-radius:28px; padding:30px; position:relative; }
.price-card.featured { border:2px solid var(--violet); box-shadow:var(--shadow); }
.price { font-size:46px; font-weight:900; letter-spacing:-.05em; margin:18px 0 4px; }
.price small { font-size:16px; color:var(--muted); font-weight:600; }
.checklist { list-style:none; padding:0; margin:22px 0 28px; }
.checklist li { margin:11px 0; padding-left:27px; position:relative; }
.checklist li:before { content:"✓"; position:absolute; left:0; color:var(--green); font-weight:900; }
.faq { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
details { background:white; border:1px solid var(--line); border-radius:16px; padding:18px 20px; }
summary { font-weight:800; cursor:pointer; }
details p { color:var(--muted); }
.footer { padding:38px 0; border-top:1px solid var(--line); font-size:13px; color:var(--muted); }
.footer-inner { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.footer-links { display:flex; gap:18px; }

/* App */
.app-shell { min-height:100vh; display:grid; grid-template-columns:240px 1fr; }
.sidebar { background:#111216; color:white; padding:24px 18px; display:flex; flex-direction:column; gap:24px; }
.sidebar img { filter:brightness(0) invert(1); width:150px; }
.sidebar-nav { display:flex; flex-direction:column; gap:7px; }
.sidebar-nav button { border:0; background:transparent; color:#b8bbc4; text-align:left; padding:11px 12px; border-radius:11px; font-weight:750; }
.sidebar-nav button.active, .sidebar-nav button:hover { background:#24252b; color:white; }
.sidebar-bottom { margin-top:auto; font-size:12px; color:#8f929b; }
.main { padding:28px; min-width:0; }
.topbar { display:flex; justify-content:space-between; gap:18px; align-items:center; margin-bottom:28px; }
.topbar h1 { font-size:32px; margin:0; letter-spacing:-.035em; }
.topbar-actions { display:flex; gap:10px; align-items:center; }
.mode-pill { padding:7px 10px; border-radius:999px; font-size:12px; font-weight:850; background:#fff4d8; color:#8b5d00; }
.panel { background:white; border:1px solid var(--line); border-radius:20px; padding:22px; box-shadow:0 4px 16px rgba(17,18,22,.03); }
.stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:18px; }
.stat { background:white; border:1px solid var(--line); border-radius:18px; padding:20px; }
.stat .label { font-size:12px; color:var(--muted); font-weight:750; text-transform:uppercase; letter-spacing:.06em; }
.stat .value { font-size:31px; font-weight:900; margin:8px 0 2px; letter-spacing:-.04em; }
.stat .delta { font-size:12px; color:var(--green); }
.app-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:18px; }
.panel-head { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:18px; }
.panel-head h2 { font-size:21px; margin:0; letter-spacing:-.02em; }
.table-wrap { overflow:auto; }
table { width:100%; border-collapse:collapse; font-size:14px; }
th { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.06em; text-align:left; padding:10px 8px; }
td { padding:13px 8px; border-top:1px solid var(--line); vertical-align:middle; }
.status { display:inline-flex; padding:5px 8px; border-radius:999px; font-size:11px; font-weight:850; }
.status-claimed { background:#e8f8f1; color:var(--green); }
.status-offering { background:#f0ecff; color:var(--violet-dark); }
.status-open { background:#fff5dc; color:var(--amber); }
.empty { padding:30px; text-align:center; color:var(--muted); border:1px dashed #d4d6dd; border-radius:15px; }
.view { display:none; }
.view.active { display:block; }
.auth-wrap { min-height:100vh; display:grid; place-items:center; padding:30px; background:radial-gradient(circle at 20% 10%, rgba(216,255,101,.5), transparent 35%), radial-gradient(circle at 80% 20%, rgba(124,92,252,.28), transparent 35%), var(--paper); }
.auth-card { width:min(470px,100%); background:white; border:1px solid var(--line); border-radius:28px; padding:30px; box-shadow:var(--shadow); }
.auth-card img { width:165px; margin-bottom:25px; }
.auth-tabs { display:flex; background:#f0f1ed; padding:4px; border-radius:13px; margin:18px 0; }
.auth-tabs button { flex:1; border:0; background:transparent; padding:10px; border-radius:10px; font-weight:800; }
.auth-tabs button.active { background:white; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.alert { border-radius:13px; padding:12px 14px; margin:12px 0; font-size:13px; }
.alert-success { background:#e8f8f1; color:#0a6c4a; }
.alert-error { background:#fdecec; color:#9e3030; }
.alert-info { background:#edf1ff; color:#394ba5; }
.modal-backdrop { position:fixed; inset:0; background:rgba(17,18,22,.55); display:none; place-items:center; z-index:50; padding:20px; }
.modal-backdrop.open { display:grid; }
.modal { width:min(600px,100%); max-height:90vh; overflow:auto; background:white; border-radius:24px; padding:26px; box-shadow:var(--shadow); }
.modal-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.icon-btn { width:36px; height:36px; border-radius:11px; border:1px solid var(--line); background:white; font-size:18px; }
.codebox { background:#111216; color:#d8ff65; padding:14px; border-radius:13px; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:12px; overflow:auto; }
.copy-row { display:flex; gap:8px; align-items:center; }
.copy-row .codebox { flex:1; }
.integration { border:1px solid var(--line); border-radius:16px; padding:18px; display:flex; justify-content:space-between; gap:15px; align-items:center; margin-bottom:12px; }
.integration strong { display:block; }
.integration span { color:var(--muted); font-size:13px; }

/* Public flows */
.center-page { min-height:100vh; display:grid; place-items:center; padding:28px; background:radial-gradient(circle at 10% 15%, rgba(216,255,101,.48), transparent 36%), radial-gradient(circle at 85% 20%, rgba(124,92,252,.25), transparent 32%), var(--paper); }
.flow-card { width:min(650px,100%); background:white; border:1px solid var(--line); border-radius:30px; padding:32px; box-shadow:var(--shadow); }
.flow-card img { width:170px; }
.flow-card h1 { font-size:42px; margin:26px 0 14px; }
.slot-summary { background:#f6f3ff; border:1px solid #e3dbff; border-radius:17px; padding:18px; margin:20px 0; }
.success-icon { width:68px; height:68px; display:grid; place-items:center; border-radius:50%; background:#e8f8f1; color:var(--green); font-size:34px; font-weight:900; }
.legal { max-width:820px; margin:60px auto; padding:0 20px; }
.legal h1 { font-size:48px; }
.legal h2 { font-size:28px; margin-top:34px; }
.legal p, .legal li { color:#555a65; }

@media (max-width: 960px) {
  .hero-grid, .roi-box, .app-grid { grid-template-columns:1fr; }
  .hero-card { min-height:440px; }
  .cards-3 { grid-template-columns:1fr; }
  .metrics, .stat-grid { grid-template-columns:repeat(2,1fr); }
  .app-shell { grid-template-columns:1fr; }
  .sidebar { position:sticky; top:0; z-index:30; flex-direction:row; align-items:center; overflow:auto; padding:12px 14px; }
  .sidebar img { width:120px; }
  .sidebar-nav { flex-direction:row; }
  .sidebar-bottom { display:none; }
}
@media (max-width: 680px) {
  .container { width:min(100% - 24px,1160px); }
  .nav-links a:not(.btn) { display:none; }
  .hero { padding-top:58px; }
  h1 { font-size:50px; }
  .hero-card { min-height:390px; }
  .app-preview { inset:18px; padding:17px; }
  .metrics, .stat-grid, .form-row, .pricing, .faq { grid-template-columns:1fr; }
  .section { padding:68px 0; }
  .roi-box { padding:25px; }
  .main { padding:18px 12px; }
  .topbar { align-items:flex-start; flex-direction:column; }
  .sidebar-nav button { white-space:nowrap; }
  .flow-card { padding:24px; }
  .flow-card h1 { font-size:36px; }
}
