/* ============================================================
   dcmage — landing page
   Tokens · clinical dark · cyan accent
   ============================================================ */

:root {
  /* surfaces — cool near-black */
  --bg:        #07090c;
  --bg-1:      #0a0d11;
  --bg-2:      #0e1217;
  --bg-3:      #141921;
  --bg-inset:  #050608;

  /* lines */
  --line:      rgba(255,255,255,0.07);
  --line-2:    rgba(255,255,255,0.12);
  --line-3:    rgba(255,255,255,0.18);

  /* text */
  --text:      #e9edf2;
  --text-2:    #aab4c0;
  --text-3:    #6c7884;
  --text-4:    #49535e;

  /* accent — cyan */
  --accent:        lab(75.0934% -27.8279 -28.3918);
  --accent-bright: color-mix(in oklab, var(--accent), white 14%);
  --accent-dim:    color-mix(in oklab, var(--accent), var(--bg) 40%);
  --accent-ghost:  color-mix(in oklab, var(--accent), transparent 88%);
  --accent-line:   color-mix(in oklab, var(--accent), transparent 70%);
  --accent-text:   color-mix(in oklab, var(--accent), white 6%);

  /* warn — muted amber for PHI / caution */
  --warn:       oklch(0.80 0.115 72);
  --warn-ghost: color-mix(in oklab, var(--warn), transparent 88%);
  --warn-line:  color-mix(in oklab, var(--warn), transparent 66%);

  --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1200px;
  --radius: 12px;
  --radius-sm: 7px;
  --radius-xs: 4px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 16px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img, svg { display: block; }
::selection { background: var(--accent-ghost); color: var(--accent-bright); }

.scroll::-webkit-scrollbar { width: 9px; height: 9px; }
.scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 9px; border: 2px solid transparent; background-clip: content-box; }
.scroll::-webkit-scrollbar-thumb:hover { background: var(--line-3); }
.scroll::-webkit-scrollbar-track { background: transparent; }

/* ----------------------------------------------------------- layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 28px; }

section { position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  border-radius: 1px;
}
.eyebrow.muted { color: var(--text-3); }
.eyebrow.muted::before { background: var(--text-3); box-shadow: none; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }

.section-head { max-width: 720px; }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  margin: 18px 0 0;
}
.section-head p {
  color: var(--text-2);
  font-size: clamp(15px, 1.5vw, 18px);
  margin-top: 18px;
  max-width: 60ch;
  text-wrap: pretty;
}

/* ----------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.18s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--accent);
  color: #04201f;
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--accent-bright) inset, 0 8px 30px -12px var(--accent);
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); box-shadow: 0 0 0 1px var(--accent-bright) inset, 0 12px 34px -10px var(--accent); }
.btn-ghost {
  background: color-mix(in oklab, var(--bg-3), transparent 30%);
  border-color: var(--line-2);
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-3); border-color: var(--line-3); }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15.5px; }

/* ----------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: 60px;
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), backdrop-filter 0.25s;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg), transparent 22%);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav .wrap-wide { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 26px; height: 26px; }
.brand .word {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand .word b { color: var(--accent); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; color: var(--text-2);
  padding: 7px 12px; border-radius: var(--radius-xs);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ----------------------------------------------------------- hero */
.hero { padding: 76px 0 40px; position: relative; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.hero-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 460px;
  background: radial-gradient(ellipse at center, var(--accent-ghost), transparent 70%);
  filter: blur(30px); opacity: 0.6; pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(38px, 6vw, 70px);
  margin: 22px auto 0;
  max-width: 16ch;
  letter-spacing: -0.04em;
}
.hero h1 .accent { color: var(--accent); }
.hero .sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-2);
  max-width: 56ch; margin: 24px auto 0;
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--text-3);
  letter-spacing: 0.02em;
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ----------------------------------------------------------- app window mockup */
.appshot { margin: 56px auto 0; max-width: 1180px; position: relative; }
.appshot::after {
  content: ""; position: absolute; inset: -1px -1px -40px;
  background: linear-gradient(180deg, transparent, var(--bg) 96%);
  pointer-events: none; z-index: 3;
}
.window {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  box-shadow: 0 40px 120px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.02);
}
.titlebar {
  height: 38px; display: flex; align-items: center; gap: 14px;
  padding: 0 14px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border-bottom: 1px solid var(--line);
}
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.lights i:nth-child(1) { background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.titlebar .title {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-3);
  letter-spacing: 0.01em; flex: 1; text-align: center;
}
.titlebar .title b { color: var(--text-2); font-weight: 500; }

.toolbar {
  height: 44px; display: flex; align-items: center; gap: 12px;
  padding: 0 12px; border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.tabs { display: flex; gap: 2px; }
.tab {
  font-size: 12.5px; padding: 6px 12px; border-radius: var(--radius-xs);
  color: var(--text-3); display: flex; align-items: center; gap: 7px;
  transition: all 0.15s; font-weight: 500;
}
.tab .ic { width: 13px; height: 13px; opacity: 0.7; }
.tab:hover { color: var(--text-2); background: var(--bg-3); }
.tab.active { color: var(--accent-text); background: var(--accent-ghost); }
.tab.active .ic { opacity: 1; }
.tb-search {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 11px; min-width: 240px;
  border: 1px solid var(--line-2); border-radius: var(--radius-xs);
  background: var(--bg-inset);
  font-family: var(--font-mono); font-size: 12px; color: var(--text-3);
}
.tb-search svg { width: 13px; height: 13px; color: var(--text-4); }
.tb-search .cursor { width: 1px; height: 14px; background: var(--accent); margin-left: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tb-btn {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: var(--radius-xs);
  color: var(--text-3); background: var(--bg-inset);
}
.tb-btn svg { width: 14px; height: 14px; }

.app-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); height: 482px; }
.pane { display: flex; flex-direction: column; min-width: 0; }
.pane + .pane { border-left: 1px solid var(--line); }
.pane-head {
  height: 32px; display: flex; align-items: center; gap: 8px;
  padding: 0 12px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-4);
  background: var(--bg-2);
}
.pane-head .grow { flex: 1; }
.pane-head .pill {
  font-size: 10px; letter-spacing: 0.04em; text-transform: none;
  padding: 2px 7px; border-radius: 20px;
  border: 1px solid var(--accent-line); color: var(--accent-text);
  background: var(--accent-ghost);
}

.tree { flex: 1; overflow: hidden; background: var(--bg-2); position: relative; }
.tree-row {
  display: grid;
  grid-template-columns: 16px 104px 30px 1fr 130px;
  align-items: center; gap: 0;
  height: 27px; padding: 0 12px;
  font-family: var(--font-mono); font-size: 11.5px;
  border-bottom: 1px solid color-mix(in oklab, var(--line), transparent 55%);
  color: var(--text-2);
  white-space: nowrap;
}
.tree-row:hover { background: var(--bg-3); }
.tree-row .chev { color: var(--text-4); font-size: 9px; }
.tree-row .chev.none { opacity: 0; }
.tree-row .tag { color: var(--accent-text); }
.tree-row .vr { color: var(--text-4); }
.tree-row .name { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; padding-right: 12px; }
.tree-row .val { color: var(--text); text-align: right; overflow: hidden; text-overflow: ellipsis; }
.tree-row.indent .name { padding-left: 16px; }
.tree-row.sel { background: var(--accent-ghost); box-shadow: inset 2px 0 0 var(--accent); }
.tree-row.sel .name, .tree-row.sel .val { color: var(--accent-text); }
.tree-row.edited { box-shadow: inset 2px 0 0 var(--accent); }
.tree-row.edited .val { color: var(--accent-text); }
.tree-row.phi .val { color: var(--warn); }
.tree-row .val .redacted {
  color: var(--warn); border: 1px dashed var(--warn-line);
  padding: 0 5px; border-radius: 3px; font-size: 10px; background: var(--warn-ghost);
}
.tree-foot {
  height: 26px; display: flex; align-items: center; gap: 14px;
  padding: 0 12px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10.5px; color: var(--text-4);
  background: var(--bg-2);
}
.tree-foot .ok { color: var(--accent-text); }

.viewer-pane { }
.viewer { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; background: var(--line); }
.vp {
  position: relative; background: var(--bg-inset); overflow: hidden;
  display: grid; place-items: center;
}
.vp .ph {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.022) 0 10px, transparent 10px 20px);
}
.vp .vp-label {
  position: absolute; top: 8px; left: 9px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--text-3); text-transform: uppercase;
  background: color-mix(in oklab, var(--bg-inset), transparent 25%);
  padding: 2px 6px; border-radius: 3px; z-index: 2;
}
.vp .vp-hud {
  position: absolute; bottom: 7px; left: 9px; right: 9px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 9.5px; color: var(--text-4);
  z-index: 2;
}
.vp .vp-hud .r { color: var(--accent-text); }
.vp .ph-note {
  position: relative; z-index: 1;
  font-family: var(--font-mono); font-size: 10px; color: var(--text-4);
  border: 1px dashed var(--line-2); padding: 5px 10px; border-radius: 4px;
  letter-spacing: 0.04em; background: color-mix(in oklab, var(--bg-inset), transparent 40%);
}
.crosshair-h, .crosshair-v { position: absolute; background: var(--accent); opacity: 0.55; z-index: 2; box-shadow: 0 0 6px var(--accent); }
.crosshair-h { left: 0; right: 0; height: 1px; }
.crosshair-v { top: 0; bottom: 0; width: 1px; }
.vp .center-dot { position: absolute; width: 5px; height: 5px; border: 1px solid var(--accent); border-radius: 50%; z-index: 3; transform: translate(-50%,-50%); }
.vp.vp-3d .ph { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 14px), repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 14px); }

/* ----------------------------------------------------------- trust bar */
.trust { padding: 30px 0 8px; }
.trust .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.trust .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); }
.trust .item { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-3); display: inline-flex; align-items: center; gap: 7px; }
.trust .item svg { width: 14px; height: 14px; color: var(--accent); opacity: 0.8; }

/* ----------------------------------------------------------- features */
.features { padding: 96px 0 40px; }
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: 56px; align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.feature.flip .feat-copy { order: 2; }
.feature.flip .feat-visual { order: 1; }
.feat-copy h3 { font-size: clamp(24px, 2.6vw, 34px); margin: 16px 0 0; }
.feat-copy > p { color: var(--text-2); margin-top: 16px; font-size: 16.5px; max-width: 46ch; text-wrap: pretty; }
.feat-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.feat-list li { display: flex; gap: 11px; align-items: flex-start; list-style: none; font-size: 14.5px; color: var(--text-2); }
.feat-list li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.feat-list li b { color: var(--text); font-weight: 600; }
.workflow-chip {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--text-2);
}
.workflow-chip .tagk { color: var(--text-4); }
.workflow-chip .arrow { color: var(--accent); }

.feat-visual {
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  overflow: hidden; position: relative;
  box-shadow: 0 30px 80px -50px rgba(0,0,0,0.9);
}
.fv-head {
  height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 13px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.05em;
}
.fv-head .dotrow { display: flex; gap: 5px; margin-right: 4px; }
.fv-head .dotrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-3); }
.fv-body { padding: 16px; }

.profile-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.profile-row {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; background: var(--bg-2);
  font-size: 13.5px; color: var(--text-2);
}
.profile-row .chk {
  width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0;
  border: 1px solid var(--line-3); display: grid; place-items: center;
}
.profile-row.on .chk { background: var(--accent); border-color: var(--accent); }
.profile-row.on .chk svg { width: 11px; height: 11px; color: #04201f; }
.profile-row .meta { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-4); }
.profile-row.on { color: var(--text); }

.uid-map { margin-top: 13px; display: flex; flex-direction: column; gap: 7px; font-family: var(--font-mono); font-size: 11px; }
.uid-map .row { display: flex; align-items: center; gap: 10px; }
.uid-map .from { color: var(--text-4); flex: 1; overflow: hidden; text-overflow: ellipsis; }
.uid-map .arrow { color: var(--accent); }
.uid-map .to { color: var(--accent-text); flex: 1; overflow: hidden; text-overflow: ellipsis; }

.audit { font-family: var(--font-mono); font-size: 11.5px; display: flex; flex-direction: column; }
.audit-row { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.audit-row:last-child { border-bottom: none; }
.audit-row .ts { color: var(--text-4); flex-shrink: 0; }
.audit-row .act { color: var(--text); flex: 1; }
.audit-row .act b { color: var(--accent-text); font-weight: 500; }
.audit-row .hash { color: var(--text-4); }
.audit-seal {
  margin-top: 14px; display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; border: 1px solid var(--accent-line); border-radius: var(--radius-sm);
  background: var(--accent-ghost); font-family: var(--font-mono); font-size: 11px; color: var(--accent-text);
}
.audit-seal svg { width: 15px; height: 15px; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
.mini {
  background: var(--bg-1); padding: 26px 24px;
  transition: background 0.18s;
}
.mini:hover { background: var(--bg-2); }
.mini .ic-box {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--bg-3);
  display: grid; place-items: center; color: var(--accent);
}
.mini .ic-box svg { width: 17px; height: 17px; }
.mini h4 { font-size: 16px; font-weight: 600; margin: 16px 0 0; letter-spacing: -0.02em; }
.mini p { color: var(--text-3); font-size: 13.5px; margin-top: 8px; text-wrap: pretty; }

/* ----------------------------------------------------------- use cases */
.usecases { padding: 96px 0; border-top: 1px solid var(--line); }
.uc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.uc-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.uc-card {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-1); padding: 18px 18px 20px;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.uc-card:hover { border-color: var(--line-3); background: var(--bg-2); transform: translateY(-2px); }
.uc-card .uc-cat {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-text); display: flex; align-items: center; justify-content: space-between;
}
.uc-card .uc-cat .n { color: var(--text-4); }
.uc-card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.uc-card li {
  list-style: none; font-size: 13px; color: var(--text-2);
  display: flex; gap: 9px; align-items: flex-start; line-height: 1.35;
}
.uc-card li::before { content: ""; width: 4px; height: 4px; border-radius: 1px; background: var(--text-4); margin-top: 7px; flex-shrink: 0; }
.uc-card:hover li::before { background: var(--accent); }
.uc-foot { margin-top: 28px; text-align: center; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-3); }
.uc-foot b { color: var(--accent-text); }

/* ----------------------------------------------------------- pricing */
.pricing { padding: 96px 0; border-top: 1px solid var(--line); }
.price-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 820px; margin-left: auto; margin-right: auto; }
.price-card {
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--bg-1); padding: 30px 28px;
  display: flex; flex-direction: column;
}
.price-card.pro { border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-ghost), var(--bg-1) 40%); position: relative; }
.price-card .tier { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.price-card.pro .tier { color: var(--accent-text); }
.price-card .price { font-size: 42px; font-weight: 600; letter-spacing: -0.04em; margin-top: 16px; }
.price-card .price .per { font-size: 14px; font-weight: 400; color: var(--text-3); font-family: var(--font-mono); }
.price-card .blurb { color: var(--text-2); font-size: 14px; margin-top: 8px; min-height: 40px; }
.price-card .btn { margin-top: 22px; justify-content: center; }
.price-card ul { margin-top: 24px; display: flex; flex-direction: column; gap: 11px; }
.price-card li { list-style: none; font-size: 13.5px; color: var(--text-2); display: flex; gap: 10px; align-items: flex-start; }
.price-card li svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.price-card li.off { color: var(--text-4); }
.price-card li.off svg { color: var(--text-4); }
.price-badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 20px; background: var(--accent); color: #04201f; font-weight: 600;
}

/* ----------------------------------------------------------- cta */
.cta { padding: 60px 0 100px; }
.cta-box {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 18px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  padding: 64px 40px; text-align: center;
}
.cta-box .grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%);
  opacity: 0.5;
}
.cta-box .glow { position: absolute; bottom: -160px; left: 50%; transform: translateX(-50%); width: 700px; height: 360px; background: radial-gradient(ellipse, var(--accent-ghost), transparent 70%); filter: blur(20px); }
.cta-box h2 { font-size: clamp(30px, 4vw, 50px); position: relative; max-width: 18ch; margin: 0 auto; }
.cta-box p { position: relative; color: var(--text-2); margin: 18px auto 0; max-width: 50ch; font-size: 17px; }
.cta-box .hero-cta { position: relative; }

/* ----------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-1); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer .brand { margin-bottom: 16px; }
.footer .foot-blurb { color: var(--text-3); font-size: 13.5px; max-width: 32ch; }
.footer .foot-priv { margin-top: 18px; font-family: var(--font-mono); font-size: 11px; color: var(--accent-text); display: flex; align-items: center; gap: 8px; }
.footer .foot-priv svg { width: 14px; height: 14px; }
.footer-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); margin-bottom: 14px; font-weight: 500; }
.footer-col a { display: block; font-size: 13.5px; color: var(--text-2); padding: 5px 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--accent-text); }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-4);
}
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text-2); }

/* ----------------------------------------------------------- reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .tb-search .cursor { animation: none; }
}

/* ----------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feat-copy, .feature.flip .feat-visual { order: 0; }
  .mini-grid { grid-template-columns: 1fr; }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .app-body { grid-template-columns: 1fr; height: auto; }
  .pane.viewer-pane { display: none; }
  .tree-row { grid-template-columns: 14px 92px 26px 1fr; }
  .tree-row .val { display: none; }
  .price-grid { grid-template-columns: 1fr; }
  .uc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 48px 0 20px; }
}
