/* Orrery — a product-analytics landing page. Night sky, brass instruments, ivory paper. */
:root {
  --night: #07080F;
  --night-2: #0E1020;
  --night-3: #151830;
  --ivory: #F3EEE3;
  --ivory-2: #EAE3D4;
  --card: #FBF8F1;
  --rule: #DDD5C4;
  --ink: #12131C;
  --ink-2: #4B4C58;
  --ink-3: #7C7B82;
  --brass: #E9B872;
  --brass-2: #F6D7A4;
  --brass-ink: #A8742F;
  --peri: #8EA8FF;
  --mint: #7FE0C2;
  --coral: #FF8A7A;
  --on-night: #ECE8F4;
  --on-night-2: rgb(236 232 244 / 0.62);
  --on-night-3: rgb(236 232 244 / 0.38);
  --line-night: rgb(255 255 255 / 0.08);
  --sans: var(--kit-sans);
  --head: var(--kit-grotesk);
  --mono: var(--kit-mono);
  --accent: var(--kit-oldstyle);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { background: var(--night); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { margin: 0; font: 400 17px/1.55 var(--sans); color: var(--ink); background: var(--night); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), calc(100% - 80px)); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; gap: 10px; height: var(--h); padding: 0 22px;
  border-radius: 999px; font: 550 15px/1 var(--head); letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--brass { background: var(--brass); color: #1B1406; box-shadow: 0 0 0 1px rgb(255 230 190 / 0.4) inset, 0 10px 30px -10px rgb(233 184 114 / 0.65); }
.btn--brass:hover { background: var(--brass-2); transform: translateY(-1px); }
.btn--ghost { color: var(--on-night); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.18) inset; }
.btn--ghost:hover { background: rgb(255 255 255 / 0.06); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.32) inset; }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: #262836; transform: translateY(-1px); }
.btn--line { color: var(--ink); box-shadow: 0 0 0 1px var(--rule) inset; background: var(--card); }
.btn--line:hover { box-shadow: 0 0 0 1px var(--ink) inset; }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none; }
.nav__in {
  pointer-events: auto; width: min(1240px, calc(100% - 48px)); margin-inline: auto; height: 60px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 10px 0 18px;
  border-radius: 999px; color: var(--on-night);
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-solid .nav__in { background: rgb(12 13 24 / 0.72); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08) inset, 0 20px 40px -20px rgb(0 0 0 / 0.5); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 28px; height: 28px; color: var(--on-night); }
.brand__word { font: 600 20px/1 var(--head); letter-spacing: -0.03em; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { padding: 9px 14px; border-radius: 999px; font: 500 14px/1 var(--head); color: var(--on-night-2); transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--on-night); background: rgb(255 255 255 / 0.07); }
.nav__cta { justify-self: end; display: flex; align-items: center; gap: 18px; }
.link-quiet { font: 500 14px/1 var(--head); color: var(--on-night-2); transition: color .2s; }
.link-quiet:hover { color: var(--on-night); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-night); padding-top: 104px;
  background:
    radial-gradient(900px 520px at 50% -8%, rgb(233 184 114 / 0.20), transparent 62%),
    radial-gradient(700px 480px at 88% 34%, rgb(142 168 255 / 0.13), transparent 64%),
    radial-gradient(640px 420px at 8% 46%, rgb(127 224 194 / 0.07), transparent 64%),
    var(--night);
}
.sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px 0 5px; border-radius: 999px;
  font: 500 13.5px/1 var(--head); color: var(--on-night-2);
  background: rgb(255 255 255 / 0.04); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1) inset; transition: background-color .25s, color .25s;
}
.pill:hover { background: rgb(255 255 255 / 0.08); color: var(--on-night); }
.pill__tag { height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: rgb(233 184 114 / 0.16); color: var(--brass); font-weight: 600; }
.pill svg { width: 14px; height: 14px; }
.hero__title {
  margin-top: 22px; font: 600 clamp(54px, 5.5vw, 84px)/0.98 var(--head); letter-spacing: -0.045em; color: #F7F3EA;
}
.hero__title .line { display: block; overflow: hidden; padding: 0.04em 0.06em 0.1em; }
.hero__title .line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title em, .h2 em, .cta__title em {
  font-family: var(--accent); font-style: italic; font-weight: 400; letter-spacing: -0.02em;
  color: var(--brass); padding-right: 0.04em;
}
.hero__title em { background: linear-gradient(180deg, #FBE3BC, #E2A65A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 18px; max-width: 640px; font-size: 18px; line-height: 1.55; color: var(--on-night-2); animation: fade 1s .3s var(--ease) both; }
.hero__ctas { margin-top: 28px; display: flex; gap: 12px; justify-content: center; animation: fade 1s .4s var(--ease) both; }
.hero__note { margin-top: 14px; font: 500 12px/1 var(--mono); letter-spacing: 0.02em; color: var(--on-night-3); animation: fade 1s .5s var(--ease) both; }
.hero__stage { position: relative; margin-top: 40px; padding-bottom: 64px; perspective: 2200px; animation: riseBig 1.4s .25s var(--ease) both; }
.dash-tilt { transform-origin: 50% 0; transform: rotateX(var(--tilt, 14deg)) scale(var(--tscale, 0.96)); will-change: transform; }
.dash-tilt::before {
  content: ''; position: absolute; inset: -6% 6% 30%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(233 184 114 / 0.32), rgb(142 168 255 / 0.12) 55%, transparent);
  filter: blur(40px);
}
.dash-fit { position: relative; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--night)); pointer-events: none; }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes riseBig { from { transform: translateY(80px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- dashboard (drawn at 1160 px and scaled to fit) ---------- */
.dash {
  position: absolute; left: 0; top: 0; width: 1160px; height: 724px; transform-origin: 0 0;
  display: grid; grid-template-columns: 208px 1fr; grid-template-rows: 46px 1fr;
  border-radius: 18px; overflow: hidden; color: #DCD9E6; font: 400 12px/1.35 var(--sans);
  background: linear-gradient(180deg, #11132A, #0B0D1C 60%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.09), 0 1px 0 0 rgb(255 255 255 / 0.12) inset, 0 60px 120px -40px rgb(0 0 0 / 0.9);
}
.dash::after { content: ''; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(246 215 164 / 0.9), transparent); }
.d-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid var(--line-night); background: rgb(255 255 255 / 0.015); }
.d-dots { display: flex; gap: 7px; }
.d-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2A2D44; }
.d-crumb { display: flex; align-items: center; gap: 8px; font-weight: 500; color: #C9C6D6; margin-left: 52px; }
.d-crumb b { font-weight: 600; color: #F2EEF8; }
.d-crumb .sep { color: #4C4F68; }
.d-env { padding: 3px 8px; border-radius: 6px; background: rgb(127 224 194 / 0.1); color: var(--mint); font: 500 10.5px/1.2 var(--mono); }
.d-top .sp { flex: 1; }
.d-top .d-live { margin-left: 4px; }
.d-search { margin: 0 2px 12px; height: 30px; border-radius: 8px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: rgb(255 255 255 / 0.04); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.07) inset; color: #7E8099; }
.d-search svg { width: 13px; height: 13px; }
.d-search kbd { margin-left: auto; font: 500 10px/1 var(--mono); color: #6C6F88; padding: 3px 5px; border-radius: 4px; background: rgb(255 255 255 / 0.05); }
.d-sample { padding: 4px 8px; border-radius: 6px; background: rgb(233 184 114 / 0.12); color: var(--brass); font: 600 10.5px/1.2 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.d-avs { display: flex; }
.d-avs span { width: 24px; height: 24px; border-radius: 50%; margin-left: -6px; box-shadow: 0 0 0 2px #0F1123; display: grid; place-items: center; font: 600 9.5px/1 var(--head); color: #10111C; }

.d-rail { padding: 14px 10px; border-right: 1px solid var(--line-night); display: flex; flex-direction: column; gap: 2px; background: rgb(0 0 0 / 0.12); }
.d-ws { display: flex; align-items: center; gap: 9px; padding: 6px 8px 14px; font-weight: 600; color: #F2EEF8; font-size: 13px; }
.d-ws i { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, #7FE0C2, #2E8C77); display: grid; place-items: center; font: 700 12px/1 var(--accent); font-style: italic; color: #072019; }
.d-ws svg { margin-left: auto; width: 12px; height: 12px; color: #6C6F88; }
.d-nav a { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: 8px; color: #9C9AB0; font-weight: 500; }
.d-nav a svg { width: 15px; height: 15px; flex: none; }
.d-nav a.on { background: rgb(255 255 255 / 0.06); color: #F4F0FA; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06) inset; }
.d-nav a.on svg { color: var(--brass); }
.d-nav a .cnt { margin-left: auto; font: 500 10px/1 var(--mono); color: #6C6F88; }
.d-boards { margin-top: 18px; padding: 0 10px; font: 600 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #5E6078; }
.d-boards + ul { margin-top: 8px; }
.d-boards + ul li { display: flex; align-items: center; gap: 9px; height: 28px; padding: 0 10px; color: #9C9AB0; }
.d-boards + ul li i { width: 7px; height: 7px; border-radius: 2px; }
.d-railfoot { margin-top: auto; padding: 14px 10px 6px; border-top: 1px solid var(--line-night); display: grid; gap: 10px; color: #9C9AB0; }
.d-usage { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.d-usage b { font-weight: 500; color: #B9B7C9; }
.d-usage span { font: 500 10.5px/1.3 var(--mono); color: #77798F; }
.d-railfoot .meter { height: 5px; border-radius: 3px; background: rgb(255 255 255 / 0.07); overflow: hidden; }
.d-railfoot .meter i { display: block; height: 100%; width: 64%; background: linear-gradient(90deg, var(--brass), #F2CF96); border-radius: 3px; }

.d-main { padding: 16px 18px 18px; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 304px 1fr; gap: 12px; min-height: 0; }
.d-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.d-head h4 { margin: 0; font: 600 19px/1 var(--head); letter-spacing: -0.02em; color: #F7F3FB; }
.d-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; background: rgb(127 224 194 / 0.1); color: var(--mint); font: 600 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.d-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgb(127 224 194 / 0.6); animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(127 224 194 / 0.6); } 80%, 100% { box-shadow: 0 0 0 7px rgb(127 224 194 / 0); } }
.d-head .sp { flex: 1; }
.d-chip { height: 28px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border-radius: 8px; background: rgb(255 255 255 / 0.04); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.07) inset; color: #B9B7C9; font-weight: 500; }
.d-chip svg { width: 13px; height: 13px; color: #7E8099; }
.d-chip--brass { background: var(--brass); color: #1B1406; box-shadow: none; font-weight: 600; }

.d-card { position: relative; border-radius: 12px; background: linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0.015)); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.07) inset; padding: 14px; min-width: 0; min-height: 0; }
.d-card h5 { margin: 0; font: 600 12.5px/1 var(--head); color: #E6E2EF; display: flex; align-items: center; gap: 8px; }
.d-card h5 small { font: 500 10.5px/1 var(--mono); color: #6C6F88; margin-left: auto; }
.d-chart { grid-column: span 2; padding: 14px 14px 8px; display: flex; flex-direction: column; }
.d-legend { display: flex; gap: 14px; margin-left: 18px; font: 500 11px/1 var(--sans); color: #9C9AB0; }
.d-legend span { display: inline-flex; align-items: center; gap: 6px; }
.d-legend i { width: 14px; height: 2px; border-radius: 2px; background: var(--brass); }
.d-legend i.prev { background: repeating-linear-gradient(90deg, var(--peri) 0 4px, transparent 4px 7px); }
.d-bignum { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.d-bignum b { font: 600 30px/1 var(--head); letter-spacing: -0.03em; color: #FAF6FD; font-variant-numeric: tabular-nums; }
.d-delta { font: 600 11px/1 var(--mono); padding: 4px 6px; border-radius: 6px; background: rgb(127 224 194 / 0.12); color: var(--mint); }
.d-delta.neg { background: rgb(255 138 122 / 0.12); color: var(--coral); }
.d-svgwrap { position: relative; flex: 1; margin-top: 6px; min-height: 0; }
.d-svgwrap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.d-tip { position: absolute; top: 0; left: 0; min-width: 150px; padding: 9px 11px; border-radius: 10px; background: rgb(20 22 44 / 0.94); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12) inset, 0 16px 30px -10px rgb(0 0 0 / 0.7); font-size: 11px; color: #B9B7C9; pointer-events: none; backdrop-filter: blur(6px); }
.d-tip b { display: block; font: 600 11px/1 var(--mono); color: #8A8CA6; margin-bottom: 8px; letter-spacing: .02em; }
.d-tip div { display: flex; align-items: center; gap: 7px; margin-top: 5px; }
.d-tip div i { width: 7px; height: 7px; border-radius: 2px; background: var(--brass); }
.d-tip div i.prev { background: var(--peri); }
.d-tip div span { margin-left: auto; padding-left: 12px; font: 600 12px/1 var(--head); color: #F6F2FA; font-variant-numeric: tabular-nums; }

.d-kpis { display: grid; grid-template-rows: repeat(4, 1fr); gap: 8px; }
.d-kpi { border-radius: 11px; background: rgb(255 255 255 / 0.03); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.07) inset; padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; column-gap: 10px; align-items: end; }
.d-kpi span { grid-column: 1 / -1; font-size: 11px; color: #9C9AB0; display: flex; align-items: center; gap: 6px; }
.d-kpi span .d-delta { margin-left: auto; padding: 3px 5px; font-size: 10px; }
.d-kpi b { font: 600 21px/1 var(--head); letter-spacing: -0.02em; color: #FAF6FD; font-variant-numeric: tabular-nums; }
.d-kpi svg { width: 108px; height: 26px; overflow: visible; }

.d-events { grid-row: span 1; display: flex; flex-direction: column; overflow: hidden; }
.d-feed { margin-top: 10px; display: flex; flex-direction: column; gap: 0; position: relative; flex: 1; overflow: hidden; }
.d-ev { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 10px; height: 34px; border-bottom: 1px solid rgb(255 255 255 / 0.05); }
.d-ev i { width: 8px; height: 8px; border-radius: 50%; }
.d-ev code { font: 500 11px/1 var(--mono); color: #E6E2EF; }
.d-ev small { display: block; margin-top: 4px; font-size: 10.5px; color: #77798F; }
.d-ev em { font: 500 10px/1 var(--mono); color: #6C6F88; }
.d-ev.enter { animation: evIn .55s var(--ease) both; }
.d-ev.enter i { animation: flash 1.2s ease-out both; }
@keyframes evIn { from { opacity: 0; transform: translateY(-14px); background: rgb(233 184 114 / 0.08); } to { opacity: 1; transform: none; background: transparent; } }
@keyframes flash { from { box-shadow: 0 0 0 0 currentColor; } to { box-shadow: 0 0 0 8px transparent; } }

.d-funnel .bars { display: flex; align-items: flex-end; gap: 10px; height: 236px; margin-top: 18px; }
.d-funnel .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; position: relative; }
.d-funnel .bar i { display: block; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #F2CF96, #B78243); }
.d-funnel .bar i.ghost { position: absolute; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.05) 0 4px, transparent 4px 8px); border-radius: 6px 6px 3px 3px; }
.d-funnel .bar b { font: 600 12px/1 var(--head); color: #F4F0FA; margin-bottom: 6px; position: relative; }
.d-funnel .lbls { display: flex; gap: 10px; margin-top: 8px; }
.d-funnel .lbls span { flex: 1; font-size: 10.5px; color: #8A8CA6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-ret table { width: 100%; border-collapse: separate; border-spacing: 3px; margin-top: 12px; font: 500 9.5px/1 var(--mono); color: #6C6F88; }
.d-ret td { height: 28px; border-radius: 4px; text-align: center; color: rgb(20 14 4 / 0.85); font-weight: 600; }
.d-ret th { font-weight: 500; text-align: left; padding-right: 4px; white-space: nowrap; }
.d-paths svg { width: 100%; height: 178px; margin-top: 6px; overflow: visible; }

/* ---------- logos ---------- */
.logos { background: var(--night); color: var(--on-night); padding: 18px 0 96px; position: relative; }
.logos__lead { text-align: center; font: 500 14px/1.4 var(--head); color: var(--on-night-3); letter-spacing: -0.005em; }
.logos__row { margin-top: 34px; display: grid; grid-template-columns: repeat(8, 1fr); align-items: center; gap: 12px; }
.logos__row li { display: grid; place-items: center; height: 56px; color: rgb(236 232 244 / 0.56); transition: color .3s; }
.logos__row li:hover { color: #F7F3EA; }
.logos__row svg { height: 30px; width: auto; max-width: 100%; }

/* ---------- sections on paper ---------- */
.paper { background: var(--ivory); color: var(--ink); }
.paper--2 { background: var(--ivory-2); }
.features { padding: 132px 0 120px; border-radius: 36px 36px 0 0; position: relative; margin-top: -1px; }
.sec-head { max-width: 760px; }
.sec-head--center { margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-ink); }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.h2 { margin-top: 18px; font: 600 clamp(38px, 3.7vw, 56px)/1.03 var(--head); letter-spacing: -0.04em; text-wrap: balance; }
.paper .h2 em { color: var(--brass-ink); }
.lede { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 560px; }
.lede--dark { color: var(--on-night-2); }

.bento { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--rule) inset, 0 1px 0 rgb(255 255 255 / 0.8) inset; overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #CFC5B0 inset, 0 30px 60px -30px rgb(60 40 10 / 0.25); }
.card--wide { grid-column: span 2; }
.card--full { grid-column: 1 / -1; }
.card--row { flex-direction: row; align-items: stretch; }
.card--row .card__txt { flex: 0 0 34%; padding: 40px 40px; display: flex; flex-direction: column; justify-content: center; }
.card--row .card__vis { flex: 1; margin: 14px 14px 14px 0; height: auto; min-height: 300px; }
.card--dark { background: linear-gradient(180deg, #14162C, #0C0E1C); color: var(--on-night); box-shadow: 0 0 0 1px #24263E inset; }
.card--dark .card__txt p { color: var(--on-night-2); }
.card--dark:hover { box-shadow: 0 0 0 1px #33365A inset, 0 30px 60px -30px rgb(10 10 40 / 0.6); }
.card__vis { position: relative; height: 236px; margin: 14px 14px 0; border-radius: 16px; background: #F1EBDE; overflow: hidden; }
.card--dark .card__vis { background: rgb(255 255 255 / 0.03); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06) inset; }
.card__txt { padding: 22px 26px 26px; }
.card__txt h3 { font: 600 20px/1.2 var(--head); letter-spacing: -0.02em; }
.card__txt p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ticks { margin-top: 18px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink); }
.ticks li::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.2l2.4 2.3 5-5' fill='none' stroke='%23F3EEE3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.card__vis svg { display: block; width: 100%; height: 100%; }

.vis-ask { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.ask__input { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 12px; background: rgb(255 255 255 / 0.05); box-shadow: 0 0 0 1px rgb(233 184 114 / 0.35) inset, 0 0 24px -6px rgb(233 184 114 / 0.35); font-size: 13.5px; color: #F4F0FA; }
.ask__input svg { width: 16px; height: 16px; flex: none; }
.ask__caret { width: 1.5px; height: 16px; background: var(--brass); animation: blink 1s steps(1) infinite; margin-left: -6px; }
@keyframes blink { 50% { opacity: 0; } }
.ask__ans { flex: 1; position: relative; }
.ask__ans svg { position: absolute; inset: 0; }

/* ---------- walkthrough ---------- */
.how { background: var(--night); color: var(--on-night); padding: 132px 0 110px; position: relative; overflow: clip; }
.how::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 500px at 80% 30%, rgb(142 168 255 / 0.10), transparent 60%), radial-gradient(600px 400px at 10% 80%, rgb(233 184 114 / 0.08), transparent 60%); pointer-events: none; }
.sec-head--dark .h2 { color: #F7F3EA; }
.sec-head--dark .eyebrow { color: var(--brass); }
.how__grid { position: relative; margin-top: 72px; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: 72px; }
.steps { position: relative; padding-left: 34px; }
.steps::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--line-night); }
.steps::after { content: ''; position: absolute; left: 0; top: 10px; width: 1px; height: var(--prog, 0%); background: linear-gradient(var(--brass), var(--brass-2)); box-shadow: 0 0 12px var(--brass); transition: height .5s var(--ease); }
.step { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.32; transition: opacity .5s; }
.step:first-child { min-height: 46vh; justify-content: flex-start; padding-top: 8px; }
.step:last-child { min-height: 46vh; }
.step.is-on { opacity: 1; }
.step__n { font: 600 13px/1 var(--mono); color: var(--brass); letter-spacing: 0.06em; }
.step h3 { margin-top: 14px; font: 600 30px/1.1 var(--head); letter-spacing: -0.03em; color: #F7F3EA; }
.step p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--on-night-2); max-width: 440px; }
.how__sticky { position: relative; }
.panel { position: sticky; top: 120px; height: 470px; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #14162E, #0C0E1D); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.09) inset, 0 50px 100px -40px rgb(0 0 0 / 0.8); }
.panel__bar { height: 44px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line-night); }
.panel__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A2D44; }
.panel__bar span { margin-left: 12px; font: 500 12px/1 var(--mono); color: #8A8CA6; }
.panel__body { position: absolute; inset: 44px 0 0; }
.pv { position: absolute; inset: 0; padding: 26px 28px; opacity: 0; transform: translateY(14px) scale(0.985); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.pv.is-on { opacity: 1; transform: none; }
.pv--code pre { margin: 0; font: 450 14px/1.75 var(--mono); color: #CFCBE0; white-space: pre; }
.pv--code .ln { display: inline-block; width: 26px; color: #45486A; user-select: none; }
.tk-k { color: #C9A6FF; } .tk-s { color: var(--mint); } .tk-f { color: var(--brass); } .tk-c { color: #5D6084; font-style: italic; } .tk-p { color: var(--peri); } .tk-b { color: var(--coral); }
.code-glow { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9px; background: rgb(127 224 194 / 0.08); color: var(--mint); font: 500 12.5px/1 var(--mono); }
.pv--stream ul { display: grid; gap: 8px; }
.pv--stream li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; background: rgb(255 255 255 / 0.03); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06) inset; }
.pv--stream li .ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgb(127 224 194 / 0.14); color: var(--mint); }
.pv--stream li .ok svg { width: 12px; height: 12px; }
.pv--stream li.bad { box-shadow: 0 0 0 1px rgb(255 138 122 / 0.5) inset; background: rgb(255 138 122 / 0.06); }
.pv--stream li.bad .ok { background: rgb(255 138 122 / 0.16); color: var(--coral); }
.pv--stream code { font: 500 13px/1 var(--mono); color: #F0ECF7; }
.pv--stream small { display: block; margin-top: 5px; font: 400 11.5px/1.2 var(--mono); color: #77798F; }
.pv--stream li.bad small { color: var(--coral); }
.pv--stream em { font: 500 11px/1 var(--mono); color: #6C6F88; }
.pv--board .bh { display: flex; align-items: baseline; justify-content: space-between; }
.pv--board .bh b { font: 600 15px/1 var(--head); color: #F4F0FA; }
.pv--board .bh span { font: 600 26px/1 var(--head); color: #FAF6FD; letter-spacing: -0.02em; }
.pv--board svg.bchart { width: 100%; height: 190px; margin-top: 12px; overflow: visible; }
.pv--board .alert { margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgb(255 255 255 / 0.03); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06) inset; font-size: 13px; color: #CFCBE0; }
.sw { width: 34px; height: 20px; border-radius: 999px; background: var(--brass); position: relative; flex: none; }
.sw::after { content: ''; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: #1B1406; }
.pv--board .share { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #8A8CA6; }
.pv--board .share .btn { margin-left: auto; --h: 32px; padding: 0 12px; font-size: 12.5px; }

.stats { position: relative; margin-top: 110px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-night); }
.stats div { padding: 30px 26px 6px 0; }
.stats div + div { padding-left: 26px; border-left: 1px solid var(--line-night); }
.stats b { display: block; font: 600 clamp(38px, 3.6vw, 54px)/1 var(--head); letter-spacing: -0.04em; color: #F7F3EA; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 10px; font-size: 15px; color: var(--on-night-2); }
.fine { margin-top: 26px; font: 500 11.5px/1.4 var(--mono); color: var(--ink-3); letter-spacing: 0.02em; }
.fine--dark { color: var(--on-night-3); }

/* ---------- testimonials ---------- */
.quotes { padding: 130px 0 120px; }
.quotes__grid { margin-top: 60px; display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.quote { border-radius: 24px; padding: 30px; background: var(--card); box-shadow: 0 0 0 1px var(--rule) inset; display: flex; flex-direction: column; gap: 26px; transition: transform .45s var(--ease), box-shadow .45s; }
.quote:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #CFC5B0 inset, 0 24px 50px -30px rgb(60 40 10 / 0.3); }
.quote p { font-size: 17px; line-height: 1.55; color: var(--ink); }
.quote--big { grid-row: span 2; background: var(--ink); color: var(--ivory); box-shadow: none; padding: 40px; position: relative; overflow: hidden; }
.quote--big::before { content: '“'; position: absolute; right: 30px; top: -14px; font: 400 220px/1 var(--accent); color: rgb(233 184 114 / 0.16); }
.quote--big p { font: 400 30px/1.3 var(--accent); font-style: italic; color: #F4EEDF; letter-spacing: -0.01em; position: relative; }
.quote--big:hover { box-shadow: 0 30px 60px -30px rgb(10 10 30 / 0.5); }
.who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.metric { margin-top: auto; padding-top: 26px; border-top: 1px solid rgb(243 238 227 / 0.12); display: flex; align-items: baseline; gap: 14px; }
.metric b { font: 600 40px/1 var(--head); letter-spacing: -0.04em; color: var(--brass); white-space: nowrap; }
.metric span { font-size: 14px; color: rgb(243 238 227 / 0.6); }
.metric + .who { margin-top: 0; }
.who i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--head); color: #1B1406; flex: none; box-shadow: 0 0 0 3px rgb(255 255 255 / 0.6); }
.quote--big .who i { box-shadow: 0 0 0 3px rgb(255 255 255 / 0.08); }
.who b { display: block; font: 600 15px/1.2 var(--head); }
.who span { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }
.quote--big .who span { color: rgb(243 238 227 / 0.55); }
.quote .co { height: 26px; color: var(--ink-2); display: flex; }
.quote .co svg { height: 26px; width: auto; }
.quote--wide { grid-column: span 2; }
.quote--wide p { font-size: 19px; max-width: 640px; }
.quote--big .co { color: rgb(243 238 227 / 0.7); }

/* ---------- pricing ---------- */
.pricing { padding: 120px 0 110px; }
.toggle { position: relative; margin-top: 34px; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 5px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--rule) inset; }
.toggle button { position: relative; z-index: 1; height: 40px; padding: 0 20px; border-radius: 999px; font: 550 14px/1 var(--head); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: color .3s; }
.toggle button[aria-pressed="true"] { color: var(--ivory); }
.toggle button em { font: 600 11px/1 var(--mono); padding: 4px 6px; border-radius: 6px; background: rgb(233 184 114 / 0.25); color: var(--brass-ink); transition: background-color .3s, color .3s; }
.toggle button[aria-pressed="true"] em { background: rgb(233 184 114 / 0.22); color: var(--brass); }
.toggle__knob { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ink); transition: transform .45s var(--ease); }
.toggle.is-y .toggle__knob { transform: translateX(100%); }
.tiers { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tier { position: relative; border-radius: 26px; padding: 34px 32px 32px; background: var(--card); box-shadow: 0 0 0 1px var(--rule) inset; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.tier:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #CFC5B0 inset, 0 30px 60px -30px rgb(60 40 10 / 0.3); }
.tier--hot { background: var(--night-2); color: var(--on-night); box-shadow: 0 0 0 1px #2A2D4A inset, 0 40px 80px -40px rgb(10 10 40 / 0.7); }
.tier--hot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px 200px at 70% 0%, rgb(233 184 114 / 0.22), transparent 70%); pointer-events: none; }
.tier--hot:hover { box-shadow: 0 0 0 1px #3A3D62 inset, 0 40px 80px -40px rgb(10 10 40 / 0.8); }
.tier h3 { font: 600 22px/1 var(--head); letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.tier .badge { white-space: nowrap; font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; background: var(--brass); color: #1B1406; }
.tier .blurb { margin-top: 12px; font-size: 15px; color: var(--ink-2); min-height: 46px; }
.tier--hot .blurb { color: var(--on-night-2); }
.price { margin-top: 26px; display: flex; align-items: baseline; gap: 8px; height: 60px; }
.billing { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); min-height: 20px; }
.tier--hot .billing { color: var(--on-night-3); }
.price b { font: 600 clamp(44px, 4vw, 56px)/1 var(--head); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; display: inline-block; white-space: nowrap; }
.price b.custom { font-size: clamp(38px, 3.4vw, 48px); letter-spacing: -0.04em; }
.price b.flip { animation: flip .5s var(--ease); }
@keyframes flip { 0% { transform: translateY(0); opacity: 1; } 40% { transform: translateY(-14px); opacity: 0; } 41% { transform: translateY(14px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.price span { font-size: 15px; color: var(--ink-3); line-height: 1.3; white-space: nowrap; }
.tier--hot .price span { color: var(--on-night-3); }
.tier .btn { margin-top: 24px; justify-content: center; }
.tier ul { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); display: grid; gap: 13px; }
.tier--hot ul { border-color: var(--line-night); }
.tier li { display: flex; gap: 11px; font-size: 15px; line-height: 1.35; }
.tier li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--brass-ink); }
.tier--hot li svg { color: var(--brass); }

/* ---------- FAQ ---------- */
.faq { padding: 120px 0 130px; }
.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.acc { border-top: 1px solid var(--rule); }
.qa { border-bottom: 1px solid var(--rule); }
.qa button { width: 100%; display: flex; align-items: center; gap: 20px; padding: 24px 2px; text-align: left; font: 550 19px/1.3 var(--head); letter-spacing: -0.015em; transition: color .2s; }
.qa button:hover { color: var(--brass-ink); }
.qa button i { margin-left: auto; position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px var(--rule) inset; transition: transform .45s var(--ease), background-color .3s; }
.qa button i::before, .qa button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -0.8px 0 0 -5.5px; background: currentColor; border-radius: 2px; }
.qa button i::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.qa.open button i { transform: rotate(180deg); background: var(--ink); color: var(--ivory); box-shadow: none; }
.qa.open button i::after { transform: rotate(0); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa.open .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 60px 26px 2px; font-size: 16.5px; color: var(--ink-2); line-height: 1.6; }

/* ---------- CTA + footer ---------- */
.cta { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 50% 110%, rgb(233 184 114 / 0.22), transparent 65%), var(--night); color: var(--on-night); padding: 150px 0 140px; text-align: center; }
.cta__in { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__title { font: 600 clamp(44px, 4.6vw, 70px)/1.02 var(--head); letter-spacing: -0.045em; color: #F7F3EA; max-width: 900px; text-wrap: balance; }
.cta .lede { margin-inline: auto; text-align: center; }
.cta .hero__ctas { animation: none; }
.foot { background: var(--night); color: var(--on-night-2); padding: 40px 0 34px; border-top: 1px solid var(--line-night); overflow: hidden; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 20px; }
.foot__cols h6 { margin: 0 0 16px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-3); }
.foot__cols a { display: block; padding: 6px 0; font-size: 15px; color: var(--on-night-2); transition: color .2s; }
.foot__cols a:hover { color: var(--brass); }
.foot__word { margin: 20px 0 0; font: 600 clamp(160px, 22vw, 330px)/0.8 var(--head); letter-spacing: -0.07em; text-align: center; background: linear-gradient(180deg, rgb(236 232 244 / 0.16), rgb(236 232 244 / 0.02) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot__base { margin-top: 14px; display: flex; justify-content: space-between; gap: 20px; font: 500 12px/1.4 var(--mono); color: var(--on-night-3); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.is-capturing .rv { transition-duration: .5s; }

/* ---------- responsive 1000–1600 ---------- */
@media (max-width: 1180px) {
  .nav__links a { padding: 9px 10px; }
  .how__grid { gap: 44px; }
  .quotes__grid { grid-template-columns: 1fr 1fr; }
  .quote--big { grid-column: span 2; grid-row: auto; }
  .faq__grid { gap: 48px; }
  .logos__row { grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
}
@media (max-width: 1060px) {
  .nav__links { display: none; }
  .nav__in { grid-template-columns: 1fr auto; }
  .card--row .card__txt { flex-basis: 44%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.sky .tw { animation: twinkle 4.2s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: 0.08; } }
