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

:root {
  --paper:        #ece8df;
  --paper-deep:   #e2ddd1;
  --paper-soft:   #f4f1e9;
  --ink:          #1a1614;
  --ink-soft:     #3d362f;
  --ink-mid:      #6f655a;
  --ink-dim:      #9b9388;
  --line:         #d6cfbf;
  --line-soft:    #e2dcce;

  --clay:         #c4843b;
  --clay-deep:    #a06a26;
  --clay-soft:    #e6c391;
  --clay-bg:      #f5e4c5;

  --green:        #5e8b4a;
  --red:          #c0392b;
  --terminal-bg:  #181513;

  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* ─────────── NAV ─────────── */
.nav-bar {
  position: sticky; top: 0; z-index: 100;
  height: 64px; display: flex; align-items: center; padding: 0 32px;
  background: rgba(236,232,223,0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--ink); display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--clay);
  letter-spacing: -0.05em; box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
}
.logo-wm { font-family: var(--mono); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.logo-wm span { color: var(--clay-deep); }
.nav-spacer { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--clay-deep); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 24px; }
.nav-user { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--paper-soft); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 8px 24px -4px rgba(26,22,20,0.18);
  min-width: 160px; padding: 6px; z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.15s, visibility 0.15s, transform 0.15s;
}
.nav-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd-item {
  display: block; width: 100%; text-align: left;
  padding: 8px 12px; border: none; background: none; cursor: pointer;
  font-size: 14px; color: var(--ink-soft); border-radius: 6px;
  transition: background 0.1s, color 0.1s; font-family: var(--sans);
}
.nav-dd-item:hover { background: var(--paper-deep); color: var(--ink); }
.nav-dd-danger { color: var(--red) !important; }
.nav-dd-danger:hover { background: rgba(192,57,43,0.08) !important; color: var(--red) !important; }
.nav-dd-sep { height: 1px; background: var(--line); margin: 4px 0; }
.btn-danger { background: var(--red); color: #fff; border: none; }
.btn-danger:hover { background: #a93226; }

/* ─────────── BUTTONS ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 18px; border-radius: 7px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.18s var(--ease);
  letter-spacing: -0.005em; white-space: nowrap;
}
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--ink-mid); background: var(--paper-soft); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #2a2421; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,22,20,0.25); }
.btn-clay { background: var(--clay); color: white; }
.btn-clay:hover { background: var(--clay-deep); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(196,132,59,0.4); }
.btn-lg { height: 48px; padding: 0 24px; font-size: 14.5px; border-radius: 9px; }

/* ─────────── REUSABLE BITS ─────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay-deep);
}
.eyebrow::before {
  content: ''; width: 22px; height: 1px; background: var(--clay); opacity: 0.6;
}
h2.section-h {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(30px, 4vw, 44px); line-height: 1.05;
  letter-spacing: -0.025em; color: var(--ink); text-wrap: balance;
}
.lead { font-size: 16.5px; line-height: 1.65; color: var(--ink-mid); max-width: 540px; text-wrap: pretty; }

/* ─────────── HERO ─────────── */
.hero {
  position: relative; padding: 80px 32px 60px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(196,132,59,0.08) 0%, transparent 70%),
    var(--paper);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(26,22,20,0.025) 0px, rgba(26,22,20,0.025) 1px, transparent 1px, transparent 36px),
    repeating-linear-gradient(90deg, rgba(26,22,20,0.025) 0px, rgba(26,22,20,0.025) 1px, transparent 1px, transparent 36px);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 0%, transparent 75%);
}
.hero-grid {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  padding: 5px 12px 5px 8px; border-radius: 999px;
  background: white; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--ink-soft);
  box-shadow: 0 1px 2px rgba(26,22,20,0.04);
}
.hero-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2.4s ease-in-out infinite; }
.hero-pill strong { color: var(--clay-deep); font-weight: 600; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

.hero h1 {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(40px, 5.5vw, 64px); line-height: 1; letter-spacing: -0.035em;
  color: var(--ink); margin-bottom: 22px;
}
.hero h1 .clay { color: var(--clay-deep); }
.hero h1 .quote {
  display: inline-block;
  background: var(--clay-bg);
  padding: 0 8px; border-radius: 4px;
  box-shadow: -2px 2px 0 var(--clay);
  transform: rotate(-1deg);
}
.hero-sub {
  font-size: 18px; line-height: 1.55; color: var(--ink-mid);
  margin-bottom: 36px; max-width: 480px; text-wrap: pretty;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-fineprint {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; color: var(--ink-dim);
}
.hero-fineprint .check { color: var(--green); font-weight: 700; }

/* hero product visual */
.hero-visual {
  position: relative; aspect-ratio: 5/4;
  border-radius: 16px; overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 80px -20px rgba(26,22,20,0.25),
    0 8px 24px -4px rgba(26,22,20,0.08);
}
.hv-tabbar {
  height: 32px; background: #d6d3cc; display: flex; align-items: center;
  padding: 0 10px; gap: 4px; border-bottom: 1px solid #c4c0b4;
}
.hv-dots { display: flex; gap: 5px; margin-right: 10px; }
.hv-dots div { width: 9px; height: 9px; border-radius: 50%; }
.hv-tab {
  height: 22px; padding: 0 11px; border-radius: 5px 5px 0 0;
  font-family: var(--sans); font-size: 10.5px; display: flex; align-items: center; gap: 5px;
  color: rgba(0,0,0,0.3);
}
.hv-tab.on { background: var(--paper-soft); color: var(--ink); }
.hv-tab .fav { width: 9px; height: 9px; background: var(--clay); border-radius: 2px; }

.hv-toolbar { height: 32px; background: var(--paper-soft); display: flex; align-items: center; padding: 0 10px; gap: 6px; border-bottom: 1px solid var(--line-soft); }
.hv-nav { width: 18px; text-align: center; color: rgba(0,0,0,0.25); font-size: 11px; }
.hv-url { flex: 1; height: 22px; border-radius: 11px; background: rgba(0,0,0,0.05); display: flex; align-items: center; padding: 0 11px; gap: 7px; font-family: var(--sans); font-size: 11px; color: var(--ink-mid); }
.hv-url .lock { color: var(--green); font-size: 9px; }
.hv-url .dim { color: var(--ink-dim); }
.hv-pin {
  width: 24px; height: 24px; border-radius: 5px;
  display: grid; place-items: center;
  background: rgba(196,132,59,0.18);
  border: 1px solid rgba(196,132,59,0.45);
}
.hv-pin svg { display: block; }

.hv-page { position: relative; height: calc(100% - 64px); background: white; padding: 28px 36px; }
.hv-faux { display: flex; flex-direction: column; gap: 12px; opacity: 0.45; }
.hv-line { height: 11px; background: rgba(0,0,0,0.07); border-radius: 2px; }
.hv-h { height: 22px; width: 38%; background: rgba(0,0,0,0.1); border-radius: 3px; }


/* ─── Hero v2 Popup (animated) ─── */
.hv2-popup {
  position: absolute; top: 6px; right: 6px; z-index: 10;
  width: 440px; height: 620px; border-radius: 12px; overflow: hidden;
  background: #faf7f2;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.45), 0 32px 80px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
  font-family: var(--sans); font-size: 13px; color: #1a1410;
  transform: scale(0.65); transform-origin: top right;
}
.hv2-header {
  height: 48px; padding: 0 12px; display: flex; align-items: center; gap: 8px;
  background: #faf7f2; border-bottom: 1px solid #dcd4c4; flex-shrink: 0;
}
.hv2-logo-icon { display: block; flex-shrink: 0; }
.hv2-logo-text { font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: -0.02em; color: #1a1410; }
.hv2-version { font-family: var(--mono); font-size: 10px; color: #9a8a78; margin-left: -4px; }
.hv2-spacer { flex: 1; }
.hv2-icon-btn {
  width: 28px; height: 28px; border-radius: 6px; border: 1px solid #dcd4c4;
  background: none; cursor: default; display: grid; place-items: center; color: #6a5a48;
  font-size: 14px;
}
.hv2-add-btn {
  height: 28px; padding: 0 12px; border-radius: 6px; border: none;
  background: #b05e2e; color: white; font-family: var(--mono); font-weight: 700; font-size: 18px;
  cursor: default; display: grid; place-items: center; line-height: 1;
}
.hv2-body { flex: 1; display: flex; overflow: hidden; position: relative; }

/* Sidebar */
.hv2-sidebar {
  width: 148px; flex-shrink: 0;
  border-right: 1px solid #dcd4c4; background: #f5f0e8;
  display: flex; flex-direction: column; overflow: hidden;
}
.hv2-section-label {
  padding: 10px 12px 6px; font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; color: #9a8a78; text-transform: uppercase;
}
.hv2-folder-list { flex: 1; overflow-y: auto; }
.hv2-folder {
  height: 30px; padding: 0 8px; display: flex; align-items: center; gap: 5px;
  cursor: default; border-left: 2px solid transparent; color: #6a5a48;
}
.hv2-folder-active { background: rgba(176,94,46,0.08); border-left-color: #b05e2e; color: #1a1410; }
.hv2-chevron { color: #9a8a78; flex-shrink: 0; }
.hv2-swatch { width: 6px; height: 6px; border-radius: 1px; flex-shrink: 0; }
.hv2-folder-name { flex: 1; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv2-folder-count { font-family: var(--mono); font-size: 10px; color: #9a8a78; }
.hv2-new-folder-btn {
  margin: 6px 8px 8px; height: 26px; border-radius: 6px;
  border: 1px dashed #dcd4c4; background: none; cursor: default;
  font-family: var(--sans); font-size: 11px; color: #9a8a78; text-align: left; padding: 0 10px;
}

/* Main skill list */
.hv2-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: #faf7f2; }
.hv2-search-bar {
  height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #dcd4c4; flex-shrink: 0; color: #9a8a78;
}
.hv2-search-placeholder { font-size: 12px; color: #9a8a78; }
.hv2-folder-heading {
  padding: 8px 12px; display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  border-bottom: 1px solid #e8e0d2;
}
.hv2-fh-name { font-weight: 600; font-size: 12px; }
.hv2-fh-count { font-family: var(--mono); font-size: 10px; color: #9a8a78; flex: 1; }
.hv2-generate-btn {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  color: #b05e2e; border: 1px solid #b05e2e; border-radius: 5px;
  padding: 2px 8px; cursor: default; white-space: nowrap;
  background: rgba(176,94,46,0.06);
}
.hv2-skill-list { flex: 1; overflow-y: auto; padding: 4px 0; }
.hv2-skill-item { padding: 8px 12px; border-left: 2px solid transparent; cursor: default; }
.hv2-skill-new { background: rgba(176,94,46,0.06); border-left-color: #b05e2e; animation: hv2-pulse 2s ease-out 1; }
@keyframes hv2-pulse { 0% { background: rgba(176,94,46,0.18); } 100% { background: rgba(176,94,46,0.06); } }
.hv2-skill-top { display: flex; align-items: center; gap: 5px; margin-bottom: 3px; }
.hv2-skill-name { font-size: 13px; font-weight: 500; color: #1a1410; }
.hv2-skill-ext {
  font-family: var(--mono); font-size: 10px; color: #6a5a48;
  background: #e8e0d0; padding: 1px 6px; border-radius: 4px;
}
.hv2-skill-desc { font-size: 11.5px; color: #6a5a48; line-height: 1.4; margin-bottom: 4px; }
.hv2-skill-meta { display: flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 10px; color: #9a8a78; }
.hv2-meta-dot { color: #dcd4c4; }
.hv2-skill-tag { background: #f0ebe0; padding: 0 5px; border-radius: 3px; font-size: 9.5px; color: #6a5a48; }

/* Footer */
.hv2-footer {
  height: 32px; padding: 0 12px; display: flex; align-items: center; gap: 8px;
  border-top: 1px solid #dcd4c4; background: #f5f0e8; flex-shrink: 0;
  font-family: var(--mono); font-size: 11px; color: #6a5a48;
}
.hv2-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #3a7a3a; flex-shrink: 0; }
.hv2-footer-sep { width: 1px; height: 14px; background: #dcd4c4; }
.hv2-footer-text { font-size: 11px; }
.hv2-kbd {
  height: 18px; padding: 0 6px; border-radius: 4px;
  background: #e8e0d0; border: 1px solid #dcd4c4;
  font-family: var(--mono); font-size: 10px; color: #6a5a48;
  display: flex; align-items: center;
}

/* ─── Scene 1: Save overlay ─── */
.hv2-scene-save {
  position: absolute; inset: 0; z-index: 8;
  background: #faf7f2;
  display: flex; flex-direction: column;
  animation: hv2-scn-save 15s infinite;
}
.hv2-add-header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid #e8e0d2;
  display: flex; align-items: center; gap: 10px;
}
.hv2-add-title { font-size: 14px; font-weight: 600; color: #1a1410; }
.hv2-add-close { width: 24px; height: 24px; font-size: 12px; }
.hv2-add-form {
  flex: 1; overflow-y: auto;
  padding: 16px; display: flex; flex-direction: column; gap: 14px;
}
.hv2-add-field { display: flex; flex-direction: column; gap: 5px; }
.hv2-add-label { font-size: 11px; font-weight: 500; color: #6a5a48; letter-spacing: 0.02em; }
.hv2-add-input {
  background: #f5f0e8; border: 1px solid #dcd4c4;
  border-radius: 6px; height: 34px; padding: 0 12px;
  color: #1a1410; font-family: var(--sans); font-size: 13px;
  display: flex; align-items: center;
}
.hv2-add-url {
  background: #f5f0e8; border: 1px solid #dcd4c4;
  border-radius: 6px; height: 34px; padding: 0 12px;
  color: #6a5a48; font-size: 12px;
  display: flex; align-items: center; gap: 8px;
}
.hv2-add-lock { color: #3a7a3a; font-size: 9px; }
.hv2-add-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hv2-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 6px;
  background: #f5f0e8; border: 1px solid #dcd4c4;
  font-size: 12.5px; color: #6a5a48; cursor: default;
}
.hv2-chip-sel { border-color: #b05e2e; color: #1a1410; background: rgba(176,94,46,0.1); }
.hv2-chip-dot { width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0; }
.hv2-chip-new { border-style: dashed; color: #9a8a78; }
.hv2-add-actions {
  padding: 12px 16px; border-top: 1px solid #e8e0d2;
  display: flex; gap: 8px; justify-content: flex-end;
}
.hv2-btn {
  height: 32px; padding: 0 16px; border-radius: 6px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  border: 1px solid #dcd4c4; background: #f5f0e8; color: #6a5a48;
  display: flex; align-items: center; cursor: default;
}
.hv2-btn-primary {
  background: #b05e2e; border-color: #b05e2e; color: #faf7f2; font-weight: 600;
}

/* ─── Scene 3: Generate overlay ─── */
.hv2-scene-generate {
  position: absolute; inset: 0; z-index: 8;
  background: #faf7f2;
  display: flex; flex-direction: column;
  animation: hv2-scn-generate 15s infinite;
}
.hv2-gen-header {
  height: 40px; padding: 0 14px;
  background: #b05e2e;
  display: flex; align-items: center; gap: 6px;
  color: white; font-size: 13px;
}
.hv2-gen-icon { font-size: 12px; }
.hv2-gen-title { font-weight: 600; }
.hv2-gen-dot { opacity: 0.5; }
.hv2-gen-folder { opacity: 0.85; font-size: 12px; }
.hv2-gen-close { opacity: 0.6; font-size: 14px; cursor: default; }
.hv2-gen-body {
  flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto;
}
.hv2-gen-avail { font-size: 11px; color: #9a8a78; }
.hv2-gen-field { display: flex; flex-direction: column; gap: 5px; }
.hv2-gen-label { font-size: 12px; font-weight: 600; color: #1a1410; }
.hv2-gen-input {
  height: 36px; padding: 0 12px; border-radius: 6px;
  border: 1.5px solid #b05e2e; background: white;
  font-family: var(--sans); font-size: 13px; color: #1a1410;
  display: flex; align-items: center;
}
.hv2-gen-input-type { position: relative; }
.hv2-type-ph {
  color: #9a8a78;
  animation: hv2-ph-fade 15s infinite;
}
.hv2-type-text {
  position: absolute; left: 12px; top: 0; bottom: 0;
  display: flex; align-items: center;
  overflow: hidden; white-space: nowrap; max-width: 0;
  color: #1a1410; font-family: var(--sans); font-size: 13px;
  border-right: 1.5px solid transparent;
  animation: hv2-type-w 15s steps(21, end) infinite, hv2-type-c 15s linear infinite;
}
.hv2-gen-saved {
  font-size: 12px; font-weight: 500; color: #3a3028;
  padding-top: 4px;
}
.hv2-gen-file-list { display: flex; flex-direction: column; gap: 6px; }
.hv2-gen-file {
  height: 36px; padding: 0 12px; border-radius: 6px;
  background: #f5f0e8; border: 1px solid #e8e0d2;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #3a3028;
}
.hv2-gen-file-ico { color: #9a8a78; font-size: 8px; }
.hv2-gen-file-name { font-family: var(--mono); font-size: 11.5px; }
.hv2-gen-file-act { color: #9a8a78; font-size: 12px; cursor: default; padding: 0 2px; }
.hv2-gen-footer {
  padding: 12px 16px; border-top: 1px solid #e8e0d2;
  display: flex; gap: 8px; justify-content: flex-end;
}

/* ─── Scene 4: Generate result (post-generation) ─── */
.hv2-gen-input-ph { color: #9a8a78; }
.hv2-genr-inline {
  opacity: 0; visibility: hidden;
  animation: hv2-scn-genresult 15s infinite;
}
.hv2-genr-card {
  border: 1px solid #e8e0d2; border-radius: 8px;
  overflow: hidden; background: white;
}
.hv2-genr-top {
  height: 36px; padding: 0 12px;
  display: flex; align-items: center; gap: 8px;
  background: #f5f0e8; border-bottom: 1px solid #e8e0d2;
}
.hv2-genr-zip {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  color: #6a5a48; border: 1px solid #dcd4c4; border-radius: 5px;
  padding: 2px 8px; cursor: default; white-space: nowrap;
  background: white;
}
.hv2-genr-preview {
  padding: 12px; font-family: var(--mono); font-size: 10.5px;
  line-height: 1.6; color: #3a3028; white-space: pre-wrap;
  max-height: 120px; overflow: hidden;
}

/* ─── Toast ─── */
.hv2-toast {
  position: absolute; left: 50%; bottom: 44px; z-index: 20;
  background: #f0ebe0; border: 1px solid #dcd4c4;
  border-left: 2px solid #b05e2e;
  padding: 8px 16px; border-radius: 6px;
  font-family: var(--mono); font-size: 12px; color: #3a3028;
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
  white-space: nowrap;
  animation: hv2-toast 15s infinite;
}

/* ─── Cursor ─── */
.hv2-cursor {
  position: absolute; left: 0; top: 0; z-index: 30;
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
  animation: hv2-cursor 15s infinite;
}

/* ─── Scene keyframes (15s cursor-driven loop) ─── *
 * 4 stages: save page → skill list → generate → SKILL.md
 *
 *   0–10%    list visible, cursor moves to "+"
 *   11%      click "+", save overlay in
 *   14–22%   save visible, cursor → "Save page"
 *   23%      click "Save page", overlay out
 *   26–32%   list + toast, cursor → "✦ generate" btn
 *   33%      click generate, generate overlay in
 *   36–46%   generate visible, cursor → "✦ Generate"
 *   47%      click "✦ Generate", generate out
 *   51–78%   export visible
 *   83%      export out, cursor fades
 *   100%     loop
 */
@keyframes hv2-scn-save {
  0%, 10%   { opacity: 0; visibility: hidden; }
  13%, 22%  { opacity: 1; visibility: visible; }
  26%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes hv2-scn-generate {
  0%, 33%   { opacity: 0; visibility: hidden; }
  36%, 78%  { opacity: 1; visibility: visible; }
  83%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes hv2-scn-genresult {
  0%, 52%   { opacity: 0; visibility: hidden; }
  56%, 78%  { opacity: 1; visibility: visible; }
  83%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes hv2-toast {
  0%, 24%   { opacity: 0; transform: translate(-50%, 8px); }
  27%, 33%  { opacity: 1; transform: translate(-50%, 0); }
  36%, 100% { opacity: 0; transform: translate(-50%, 8px); }
}
/* typing animations for skill name input */
@keyframes hv2-ph-fade {
  0%, 37%   { opacity: 1; }
  38%, 100% { opacity: 0; }
}
@keyframes hv2-type-w {
  0%, 38%   { max-width: 0; }
  46%       { max-width: 155px; }
  100%      { max-width: 155px; }
}
@keyframes hv2-type-c {
  0%, 37%   { border-right-color: transparent; }
  38%       { border-right-color: #b05e2e; }
  47%       { border-right-color: #b05e2e; }
  48%       { border-right-color: transparent; }
  100%      { border-right-color: transparent; }
}
@keyframes hv2-cursor {
  /* appear, move to "+" */
  0%      { transform: translate(280px, 260px); opacity: 0; }
  3%      { transform: translate(280px, 260px); opacity: 1; }
  9%      { transform: translate(412px, 20px); }
  /* click "+" */
  10%     { transform: translate(412px, 20px) scale(1); }
  11%     { transform: translate(412px, 20px) scale(0.75); }
  13%     { transform: translate(412px, 20px) scale(1); }
  /* move to "Save page" */
  17%     { transform: translate(412px, 20px); }
  22%     { transform: translate(372px, 554px); }
  /* click "Save page" */
  22.5%   { transform: translate(372px, 554px) scale(1); }
  23.5%   { transform: translate(372px, 554px) scale(0.75); }
  25%     { transform: translate(372px, 554px) scale(1); }
  /* move to "✦ generate" button in folder heading */
  28%     { transform: translate(372px, 554px); }
  32%     { transform: translate(390px, 104px); }
  /* click "✦ generate" */
  32.5%   { transform: translate(390px, 104px) scale(1); }
  33.5%   { transform: translate(390px, 104px) scale(0.75); }
  35%     { transform: translate(390px, 104px) scale(1); }
  /* move to skill name input, click it */
  36%     { transform: translate(390px, 104px); }
  37.5%   { transform: translate(220px, 171px); }
  38%     { transform: translate(220px, 171px) scale(0.85); }
  39%     { transform: translate(220px, 171px) scale(1); }
  /* stay near input while typing */
  45%     { transform: translate(220px, 171px); }
  /* move to "✦ Generate" button */
  49%     { transform: translate(371px, 560px); }
  /* click "✦ Generate" */
  49.5%   { transform: translate(371px, 560px) scale(1); }
  50.5%   { transform: translate(371px, 560px) scale(0.75); }
  52%     { transform: translate(371px, 560px) scale(1); }
  /* move to "↓ zip" button on result card */
  60%     { transform: translate(371px, 560px); }
  67%     { transform: translate(387px, 221px); }
  /* click "↓ zip" */
  68%     { transform: translate(387px, 221px) scale(1); }
  69%     { transform: translate(387px, 221px) scale(0.75); }
  71%     { transform: translate(387px, 221px) scale(1); }
  /* stay, then fade */
  78%     { transform: translate(387px, 221px); opacity: 1; }
  84%     { opacity: 0; }
  100%    { transform: translate(280px, 260px); opacity: 0; }
}

/* ─────────── LOGOS BAR ─────────── */
.logos-bar {
  padding: 32px 32px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-deep);
}
.logos-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.logos-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); margin-right: 8px; }
.logo-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 8px; background: white; border: 1px solid var(--line);
  font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink-soft);
}
.logo-pill .dot { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.logo-pill .soon { font-family: var(--mono); font-size: 9.5px; padding: 1px 6px; border-radius: 3px; background: var(--paper); color: var(--ink-dim); margin-left: 2px; letter-spacing: 0.05em; text-transform: uppercase; }
.logo-pill.muted { opacity: 0.55; }

/* ─────────── VALUE / FEATURES ─────────── */
.features {
  padding: 96px 32px;
}
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 56px; align-items: end; }
@media (max-width: 880px) { .features-head { grid-template-columns: 1fr; gap: 24px; } }
.features-head .lead { justify-self: end; }
@media (max-width: 880px) { .features-head .lead { justify-self: start; } }

.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 880px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  padding: 28px; border-radius: 14px; background: white;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.feat-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(26,22,20,0.12); border-color: var(--clay-soft); }
.feat-ico-wrap {
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--paper-deep); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; color: var(--clay-deep);
  font-size: 14px;
}
.feat-title { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.feat-desc { font-size: 14px; line-height: 1.6; color: var(--ink-mid); }
.feat-desc code {
  font-family: var(--mono); font-size: 12px; color: var(--clay-deep);
  background: var(--paper-deep); padding: 1px 5px; border-radius: 3px;
}

/* hero-feature: takes full width */
.feat-spotlight {
  grid-column: span 3;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch;
  padding: 0; background: var(--ink); color: white; border: none; border-radius: 16px; overflow: hidden;
}
.feat-spotlight:hover { transform: none; box-shadow: none; }
@media (max-width: 880px) { .feat-spotlight { grid-template-columns: 1fr; grid-column: span 1; } }
.feat-spot-copy { padding: 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.feat-spot-copy .feat-ico-wrap { background: rgba(196,132,59,0.18); border-color: rgba(196,132,59,0.4); color: var(--clay); }
.feat-spot-copy .feat-title { color: white; font-size: 22px; }
.feat-spot-copy .feat-desc { color: rgba(255,255,255,0.6); font-size: 15px; }
.feat-spot-copy .feat-desc code {
  font-family: var(--mono); background: rgba(196,132,59,0.18);
  padding: 2px 6px; border-radius: 3px; color: var(--clay-soft);
}

/* GitHub detection mockup on spotlight */
.ghm {
  background: #ffffff; border-left: 1px solid #d0d7de;
  padding: 28px 24px; display: flex; flex-direction: column; gap: 16px;
  font-family: var(--mono); font-size: 12px;
  position: relative; min-height: 240px; justify-content: center;
}
.ghm-topbar {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 13px; font-family: var(--sans);
}
.ghm-crumb { font-weight: 500; }
.ghm-crumb-dim { color: #0969da; }
.ghm-crumb-bold { color: #1f2328; font-weight: 600; }
.ghm-sep { color: #656d76; font-weight: 300; }
.ghm-table {
  border: 1px solid #d0d7de; border-radius: 6px; overflow: hidden;
}
.ghm-thead {
  display: grid; grid-template-columns: 1fr 2fr 100px;
  padding: 8px 16px; background: #f6f8fa;
  border-bottom: 1px solid #d0d7de;
  color: #656d76; font-size: 11px; font-family: var(--sans);
}
.ghm-row {
  display: grid; grid-template-columns: 1fr 2fr 100px;
  padding: 10px 16px; background: #ffffff;
  color: #1f2328; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 12px;
}
.ghm-file-name {
  display: flex; align-items: center; gap: 8px;
  color: #0969da; font-weight: 500;
}
.ghm-commit-msg { color: #656d76; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ghm-commit-date { color: #656d76; font-size: 11.5px; text-align: right; }
.ghm-toast {
  position: absolute; bottom: 20px; right: 20px;
  background: #faf7f2; border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  width: 260px; overflow: hidden;
  border: 1px solid rgba(196,132,59,0.25);
}
.ghm-toast-top {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px 6px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink);
}
.ghm-toast-icon { color: var(--clay); font-size: 12px; }
.ghm-toast-label { flex: 1; }
.ghm-toast-close { color: #9a8a78; font-size: 14px; cursor: default; line-height: 1; }
.ghm-toast-body {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px 10px;
  font-family: var(--mono); font-size: 11px;
}
.ghm-toast-path { flex: 1; color: #6a5a48; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ghm-import-btn {
  background: var(--clay); color: white; border: none; border-radius: 6px;
  padding: 5px 12px; font-family: var(--sans); font-size: 12px; font-weight: 600;
  cursor: default; white-space: nowrap; flex-shrink: 0;
}

/* terminal demo on spotlight */
.terminal {
  background: #0d0c0a; padding: 24px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7;
  border-left: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 4px;
  min-height: 240px;
}
.terminal .prompt { color: var(--clay); }
.terminal .cmd { color: #f0ead8; }
.terminal .out { color: #8d8275; }
.terminal .ok { color: #a3d678; }
.terminal .key { color: var(--clay-soft); }
.terminal .cursor { display: inline-block; width: 7px; height: 14px; background: var(--clay); vertical-align: middle; animation: blink 1s step-end infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

/* ─────────── HOW IT WORKS ─────────── */
.how {
  padding: 96px 32px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-head { text-align: center; margin-bottom: 56px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.how-head .eyebrow { justify-content: center; }
.how-head .lead { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--paper-soft); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative;
  min-width: 0;
}
.step-num {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--clay-deep); letter-spacing: 0.08em;
}
.step-title { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.step-desc { font-size: 14px; line-height: 1.6; color: var(--ink-mid); }
.step-desc code {
  font-family: var(--mono); font-size: 12px; color: var(--clay-deep);
  background: var(--paper); padding: 1px 4px; border-radius: 3px;
}
.step-vis {
  margin-top: 4px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); flex: 1;
}
/* ─── Step app mockups ─── */
.svm { background: #faf7f2; font-family: var(--sans); font-size: 12px; height: 100%; display: flex; flex-direction: column; }
.svm-two-col { flex-direction: row; }
.svm-dialog { flex-direction: column; }
.svm-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 0 12px; height: 36px; font-size: 12px; font-weight: 500;
}
.svm-bar-dark { background: #2a2421; color: white; }
.svm-bar-light { background: #f5f0e8; color: var(--ink); border-bottom: 1px solid #e8e0d2; }
.svm-ico { color: var(--clay); font-size: 11px; }
.svm-sep { color: rgba(255,255,255,0.25); }
.svm-sep-light { color: #c4b8a8; }
.svm-swatch { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.svm-folder-label { color: rgba(255,255,255,0.65); font-size: 11.5px; }
.svm-folder-label-light { color: #6a5a48; font-size: 11.5px; }
.svm-x { color: rgba(255,255,255,0.35); font-size: 13px; }
.svm-kbd {
  font-family: var(--mono); font-size: 10px; color: #9a8a78;
  border: 1px solid #dcd4c4; border-radius: 4px; padding: 1px 5px; background: white;
}
/* Step 1 – save dialog */
.svm-dialog { background: white; }
.svm-dialog-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 10px; border-bottom: 1px solid #e8e0d2;
}
.svm-dialog-title { font-size: 13px; font-weight: 600; color: #2a2421; }
.svm-dialog-close { color: #9a8a78; font-size: 13px; cursor: default; }
.svm-dialog-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.svm-field { display: flex; flex-direction: column; gap: 4px; }
.svm-label { font-size: 10px; font-weight: 600; color: #6a5a48; letter-spacing: 0.02em; }
.svm-input-row {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid #e8e0d2; border-radius: 6px;
  padding: 5px 8px; background: #faf7f2;
}
.svm-dot-green { width: 7px; height: 7px; border-radius: 50%; background: #5cb85c; flex-shrink: 0; }
.svm-input-val { font-size: 10.5px; color: #3a3028; }
.svm-truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svm-folder-pills { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.svm-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px;
  border: 1px solid #e8e0d2; background: white;
  font-size: 11px; color: #6a5a48; cursor: default;
}
.svm-pill-active { background: #faf0e4; border-color: #c4843b; color: #2a2421; font-weight: 600; }
.svm-pill-swatch { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.svm-pill-new { border-style: dashed; color: #9a8a78; }
.svm-dialog-footer {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  padding: 10px 14px; border-top: 1px solid #e8e0d2; background: #faf7f2;
}
.svm-btn-cancel {
  font-size: 12px; font-weight: 500; color: #6a5a48; cursor: default;
  padding: 5px 12px; border-radius: 6px; border: 1px solid #e8e0d2; background: white;
}
.svm-btn-primary {
  display: inline-block; background: var(--clay); color: white;
  border-radius: 6px; padding: 5px 14px; font-size: 12px; font-weight: 600; cursor: default;
}
/* Step 2 – two-column library view */
.svm-two-col { display: flex; }
.svm-sidebar {
  width: 112px; flex-shrink: 0; border-right: 1px solid #e8e0d2;
  background: #f5f0e8; padding: 10px 0; display: flex; flex-direction: column; gap: 1px;
}
.svm-lib-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #9a8a78; padding: 0 10px 6px;
}
.svm-lib-item {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 8px; font-size: 11px; color: #3a3028; cursor: default;
}
.svm-lib-active { background: rgba(196,132,59,0.12); }
.svm-lib-arrow { color: #9a8a78; font-size: 9px; }
.svm-lib-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.svm-lib-count { font-size: 10px; color: #9a8a78; font-family: var(--mono); }
.svm-panel { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.svm-search {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-bottom: 1px solid #e8e0d2;
  font-size: 11px; color: #9a8a78; background: #faf7f2;
}
.svm-search-ico { font-size: 12px; }
.svm-folder-hd {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-bottom: 1px solid #e8e0d2; background: #f5f0e8;
}
.svm-folder-caps { font-weight: 700; font-size: 10px; letter-spacing: 0.05em; color: #2a2421; }
.svm-panel-count { font-size: 10px; color: #9a8a78; font-family: var(--mono); }
.svm-gen-btn {
  font-size: 9.5px; color: var(--clay-deep);
  border: 1px solid #dcd4c4; border-radius: 5px;
  padding: 2px 6px; background: white; font-weight: 500;
  white-space: nowrap; flex-shrink: 0;
}
.svm-doc { padding: 7px 10px; border-bottom: 1px solid #f0ebe2; background: #faf7f2; }
.svm-doc:last-child { border-bottom: none; }
.svm-doc-name { font-size: 10.5px; font-weight: 600; color: #2a2421; margin-bottom: 2px; }
.svm-md {
  display: inline-block; font-family: var(--mono); font-size: 8.5px;
  border: 1px solid #dcd4c4; border-radius: 3px;
  padding: 0 3px; color: #6a5a48; background: #f5f0e8; vertical-align: middle;
}
.svm-doc-title { font-size: 10px; color: #6a5a48; margin-bottom: 3px; line-height: 1.3; }
.svm-doc-meta { font-size: 9.5px; color: #9a8a78; display: flex; align-items: center; gap: 4px; }
.svm-src {
  font-size: 9px; color: #6a5a48;
  border: 1px solid #dcd4c4; border-radius: 3px; padding: 0 4px; background: #f5f0e8;
}
/* Step 3 – result */
.svm-result-body { padding: 12px; background: #faf7f2; }
.svm-result-card { border: 1px solid #e8e0d2; border-radius: 6px; overflow: hidden; }
.svm-result-top {
  display: flex; align-items: center; gap: 6px;
  padding: 0 10px; height: 30px;
  background: #f5f0e8; border-bottom: 1px solid #e8e0d2;
  font-size: 11px; color: #3a3028;
}
.svm-zip {
  font-family: var(--mono); font-size: 9.5px; color: #6a5a48;
  border: 1px solid #dcd4c4; border-radius: 4px; padding: 2px 6px; background: white;
}
.svm-result-pre {
  padding: 8px 10px; font-family: var(--mono); font-size: 10px;
  line-height: 1.6; color: #3a3028; background: white;
}

/* ─────────── PRICING ─────────── */
.pricing { padding: 100px 32px 80px; }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-head { text-align: center; margin-bottom: 48px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.pricing-head .eyebrow { justify-content: center; }
.pricing-head .lead { text-align: center; }

.billing-toggle {
  display: inline-flex; padding: 4px; background: white;
  border: 1px solid var(--line); border-radius: 999px; gap: 4px;
  margin-bottom: 8px;
}
.billing-toggle button {
  height: 32px; padding: 0 18px; border-radius: 999px; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  background: transparent; color: var(--ink-mid);
  display: flex; align-items: center; gap: 6px;
  transition: all 0.18s var(--ease);
}
.billing-toggle button.on { background: var(--ink); color: var(--paper); }
.billing-toggle .save-tag {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.08em; padding: 2px 6px; border-radius: 3px;
  background: var(--clay); color: white;
}
.billing-toggle button:not(.on) .save-tag { background: var(--clay-bg); color: var(--clay-deep); }

.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  align-items: stretch;
}
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: white; border: 1px solid var(--line); border-radius: 16px;
  padding: 32px; display: flex; flex-direction: column; gap: 22px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.price-card:hover { transform: translateY(-2px); }
.price-card.feat {
  background: var(--ink); color: white;
  border-color: var(--ink);
  box-shadow: 0 24px 60px -10px rgba(26,22,20,0.35);
}
.price-card.feat::before {
  content: ''; position: absolute; inset: 1px; border-radius: 15px;
  background: linear-gradient(180deg, rgba(196,132,59,0.12) 0%, transparent 40%);
  pointer-events: none;
}
.price-card .price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--clay); color: white;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.price-tier {
  display: flex; align-items: baseline; gap: 8px;
}
.price-name {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay-deep);
}
.price-card.feat .price-name { color: var(--clay-soft); }
.price-card.free .price-name { color: var(--ink-mid); }

.price-tag {
  display: flex; align-items: baseline; gap: 6px; font-family: var(--mono);
}
.price-currency { font-size: 20px; color: var(--ink-mid); font-weight: 500; }
.price-card.feat .price-currency { color: rgba(255,255,255,0.5); }
.price-num { font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.price-card.feat .price-num { color: white; }
.price-per { font-size: 13px; color: var(--ink-mid); font-weight: 500; }
.price-card.feat .price-per { color: rgba(255,255,255,0.45); }

.price-billed { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); margin-top: -12px; }
.price-card.feat .price-billed { color: rgba(255,255,255,0.35); }
.price-billed s { color: var(--ink-dim); margin-right: 4px; }

.price-blurb { font-size: 14px; line-height: 1.55; color: var(--ink-mid); }
.price-card.feat .price-blurb { color: rgba(255,255,255,0.55); }

.price-feats { display: flex; flex-direction: column; gap: 11px; flex: 1; }
.pf {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; line-height: 1.5; color: var(--ink-soft);
}
.price-card.feat .pf { color: rgba(255,255,255,0.78); }
.pf-check {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px;
  border-radius: 50%; background: var(--clay-bg);
  display: grid; place-items: center; color: var(--clay-deep); font-size: 10px; font-weight: 700;
}
.price-card.feat .pf-check { background: rgba(196,132,59,0.25); color: var(--clay-soft); }
.pf.off { color: var(--ink-dim); }
.pf.off .pf-check { background: var(--paper); color: var(--ink-dim); }
.pf.off { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: var(--line); }
.price-card.feat .pf.off { color: rgba(255,255,255,0.3); }
.price-card.feat .pf.off .pf-check { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.3); }

.pf strong { color: var(--ink); font-weight: 600; }
.price-card.feat .pf strong { color: white; }

.price-cta { width: 100%; }

.pricing-foot {
  margin-top: 28px; text-align: center;
  font-family: var(--mono); font-size: 12px; color: var(--ink-mid);
}
.pricing-foot a { color: var(--clay-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ─────────── TESTIMONIALS ─────────── */
.testimonials {
  padding: 80px 32px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.test-inner { max-width: 1100px; margin: 0 auto; }
.test-head { text-align: center; margin-bottom: 40px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.test-head .eyebrow { justify-content: center; }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .test-grid { grid-template-columns: 1fr; } }
.test-card {
  background: var(--paper-soft); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; display: flex; flex-direction: column; gap: 18px;
}
.test-stars { color: var(--clay); font-size: 14px; letter-spacing: 1px; }
.test-quote { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); text-wrap: pretty; }
.test-quote::before { content: '\201C'; font-family: var(--mono); color: var(--clay); margin-right: 1px; }
.test-quote::after { content: '\201D'; font-family: var(--mono); color: var(--clay); margin-left: 1px; }
.test-quote code {
  font-family: var(--mono); background: var(--paper-deep);
  padding: 1px 5px; border-radius: 3px; color: var(--clay-deep); font-size: 12px;
}
.test-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.test-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; color: white; font-size: 12px;
}
.test-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.test-role { font-size: 11.5px; color: var(--ink-mid); font-family: var(--mono); }

/* ─────────── FAQ ─────────── */
.faq { padding: 96px 32px; }
.faq-inner { max-width: 880px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 48px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.faq-head .eyebrow { justify-content: center; }
.faq-head .lead { text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: white; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.18s;
}
.faq-item[open] { border-color: var(--clay-soft); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--paper-deep); color: var(--clay-deep);
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.faq-item[open] .plus { transform: rotate(45deg); background: var(--clay-bg); }
.faq-body {
  padding: 0 22px 22px 22px;
  font-size: 14px; line-height: 1.65; color: var(--ink-mid); text-wrap: pretty;
}
.faq-body code { font-family: var(--mono); font-size: 12.5px; background: var(--paper-deep); padding: 1px 6px; border-radius: 4px; color: var(--clay-deep); }
.faq-body a { color: var(--clay-deep); text-decoration: underline; }

/* ─────────── FINAL CTA ─────────── */
.final-cta {
  padding: 100px 32px;
  background: var(--ink); color: white;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 65% at 50% 100%, rgba(196,132,59,0.18) 0%, transparent 65%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 32px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 32px);
}
.final-inner {
  position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.final-cta h2 {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em;
  text-wrap: balance;
}
.final-cta h2 .clay { color: var(--clay); }
.final-cta p { font-size: 17px; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 480px; }
.final-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.final-cta .btn-outline { color: white; border-color: rgba(255,255,255,0.25); }
.final-cta .btn-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.5); }
.final-cta .fineprint { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 4px; }
.final-cta .fineprint .check { color: #a3d678; }

/* ─────────── FOOTER ─────────── */
footer {
  background: #0e0c0b; color: rgba(255,255,255,0.5);
  padding: 56px 32px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand .logo-wm { color: white; font-size: 18px; }
.footer-brand .logo-wm span { color: var(--clay); }
.footer-tag { font-size: 13px; color: rgba(255,255,255,0.35); margin-top: 12px; max-width: 240px; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-col a:hover { color: var(--clay-soft); }
.footer-bot {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.25);
}
.footer-bot .links { display: flex; gap: 18px; }
.footer-bot a { color: rgba(255,255,255,0.4); }
.footer-bot a:hover { color: var(--clay-soft); }

/* ─────────── MOBILE NAV ─────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* ─────────── AUTH MODAL ─────────── */
.auth-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  visibility: hidden; opacity: 0;
  transition: opacity 0.2s var(--ease), visibility 0.2s;
}
.auth-modal.open { visibility: visible; opacity: 1; }

.auth-backdrop {
  position: absolute; inset: 0;
  background: rgba(26,22,20,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.auth-dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 400px;
  background: var(--paper-soft); border: 1px solid var(--line);
  border-radius: 18px; padding: 36px 32px;
  box-shadow: 0 32px 80px -12px rgba(26,22,20,0.35);
  transform: translateY(12px);
  transition: transform 0.25s var(--ease);
}
.auth-modal.open .auth-dialog { transform: translateY(0); }

.auth-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--ink-dim);
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; transition: background 0.15s, color 0.15s;
}
.auth-close:hover { background: var(--paper-deep); color: var(--ink); }

.auth-brand {
  display: flex; align-items: center; gap: 8px; margin-bottom: 24px;
}
.auth-brand .logo-wm { font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.auth-brand .logo-wm span { color: var(--clay-deep); }

.auth-title {
  font-family: var(--mono); font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 6px;
}
.auth-sub {
  font-size: 13.5px; color: var(--ink-mid); line-height: 1.5; margin-bottom: 24px;
}

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mid);
}
.auth-field input {
  height: 42px; padding: 0 14px; border-radius: 8px;
  border: 1px solid var(--line); background: white;
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-field input:focus {
  border-color: var(--clay); box-shadow: 0 0 0 3px rgba(196,132,59,0.15);
}
.auth-field input::placeholder { color: var(--ink-dim); }

.auth-error {
  font-size: 13px; color: #c0392b; min-height: 18px;
  font-family: var(--mono);
}

.auth-submit { width: 100%; margin-top: 4px; }
.auth-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.auth-toggle {
  margin-top: 18px; text-align: center;
  font-size: 13px; color: var(--ink-mid);
}
.auth-toggle button {
  background: none; border: none; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--clay-deep);
  margin-left: 4px; text-decoration: underline; text-underline-offset: 3px;
}

/* ─── Legal modals (Privacy / Terms) ─── */
.legal-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  visibility: hidden; opacity: 0;
  transition: opacity 0.2s var(--ease), visibility 0.2s;
}
.legal-modal.open { visibility: visible; opacity: 1; }
.legal-backdrop {
  position: absolute; inset: 0;
  background: rgba(26,22,20,0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.legal-dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; max-height: 80vh;
  background: var(--paper-soft); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 32px 80px -12px rgba(26,22,20,0.35);
  transform: translateY(12px); transition: transform 0.25s var(--ease);
}
.legal-modal.open .legal-dialog { transform: translateY(0); }
.legal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px; border-bottom: 1px solid var(--line);
}
.legal-header h2 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0; }
.legal-close {
  background: none; border: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--ink-dim);
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; transition: background 0.15s, color 0.15s;
}
.legal-close:hover { background: var(--paper-deep); color: var(--ink); }
.waitlist-form-wrap { max-width: 480px; margin: 40px auto 0; text-align: center; }
.waitlist-form { display: flex; gap: 8px; }
.waitlist-form input[type="email"] {
  flex: 1; padding: 0 16px; height: 48px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--paper-soft);
  font-size: 15px; font-family: var(--sans); color: var(--ink);
  outline: none; transition: border-color 0.15s;
}
.waitlist-form input[type="email"]:focus { border-color: var(--clay); }
.waitlist-form .btn { height: 48px; white-space: nowrap; flex-shrink: 0; }
.waitlist-msg { margin-top: 12px; font-size: 14px; min-height: 20px; }
.waitlist-msg.success { color: var(--green); }
.waitlist-msg.error { color: var(--red); }

.legal-body { padding: 28px; overflow-y: auto; flex: 1; font-size: 14px; line-height: 1.7; color: var(--ink-mid); }
.legal-body h3 { font-size: 13px; font-weight: 700; color: var(--ink); margin: 24px 0 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.legal-body h3:first-of-type { margin-top: 16px; }
.legal-body p { margin: 0 0 10px; }
.legal-body ul { margin: 0 0 10px; padding-left: 20px; }
.legal-body li { margin-bottom: 4px; }
.legal-body a { color: var(--accent); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-meta { font-size: 12px; color: var(--ink-dim); border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 4px !important; }
