/* ───────────────────────────────────────────
   Caddy Vault — refined editorial landing
   ─────────────────────────────────────────── */

:root {
  --bg:           #fdf8f5;
  --bg-soft:      #f5ede3;
  --bg-card:      #ffffff;
  --border:       #e8e0d8;
  --border-soft:  rgba(232, 224, 216, 0.6);
  --text:         #1a1410;
  --text-mid:     #4a3f37;
  --text-muted:   #7a6e66;
  --text-dim:     #b0a8a2;
  --gold:         #9a7d28;
  --gold-deep:    #6a5418;
  --gold-soft:    rgba(154, 125, 40, 0.08);
  --accent:       #9a7d28;

  --font: 'EB Garamond', 'Garamond', 'Times New Roman', Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

em {
  font-style: italic;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 720px;
}

.rule {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.rule::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--border);
}

/* ── Section eyebrow & headlines ── */
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
}

.section-headline {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.6px;
  color: var(--text);
  margin-bottom: 56px;
  max-width: 24ch;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 245, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-logo em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  flex: 1;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--text);
  padding: 7px 18px;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--text);
  color: var(--bg);
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.mobile-nav ul li a {
  display: block;
  font-size: 26px;
  color: var(--text);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.3px;
}

.mobile-nav ul li:last-child a {
  color: var(--gold);
}

/* ── Hero ── */
.hero {
  padding: 120px 32px 96px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-center {
  width: 100%;
  max-width: 760px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.hero-note {
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--text-dim);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--text);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}

.btn-primary:hover {
  background: #2e2620;
  border-color: #2e2620;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.btn-ghost:hover {
  border-color: var(--text);
  background: var(--bg-soft);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ── Demo section ── */
.demo-section {
  padding: 96px 32px;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(154, 125, 40, 0.05), transparent 70%),
    #f1e4c8;
}

.demo-section-inner {
  width: 100%;
  max-width: 560px;
  text-align: center;
}

.demo-eyebrow {
  margin-bottom: 14px;
}

.demo-section .section-headline {
  margin: 0 auto 44px;
  max-width: 18ch;
}

.demo-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.demo-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  justify-content: center;
  align-items: center;
}

.demo-arrow {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 11px;
  opacity: 0.5;
  padding: 4px 6px;
  transition: opacity 0.15s var(--ease);
  line-height: 1;
}

.demo-arrow:hover { opacity: 1; }

.demo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.demo-dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

.demo-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.18s, left 0.5s var(--ease), top 0.5s var(--ease);
}

/*
   Each stage is a flex column. The .stage-content area
   takes the available space; the bottom button is anchored
   with margin-top: auto so it's ALWAYS visible at the bottom
   of the stage, regardless of how much the inner mockup grows.
*/
.demo-stage {
  display: none;
  flex-direction: column;
  min-height: 480px;
}

.demo-stage.active {
  display: flex;
  animation: stage-in 0.45s var(--ease);
}

@keyframes stage-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stage-label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  text-align: center;
  flex-shrink: 0;
}

.stage-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.stage-content > * {
  width: 100%;
}

/* ───────────────────────────────────────────
   Demo mockups — light theme, matches real popup
   ─────────────────────────────────────────── */

/* ── Browser window (Stage 1) ── */
.browser-win {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 1px 2px rgba(26, 20, 16, 0.04),
    0 12px 32px rgba(26, 20, 16, 0.08);
}

.browser-bar {
  background: var(--bg-soft);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.bwin-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.bwin-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(26, 20, 16, 0.1);
}

.bwin-url {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

.bwin-exts {
  display: flex;
  align-items: center;
  gap: 6px;
}

.caddy-ext-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: var(--gold);
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btabs {
  display: flex;
  padding: 8px 10px 0;
  gap: 2px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.btab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px 6px 0 0;
  background: rgba(26, 20, 16, 0.04);
  font-size: 11px;
  color: var(--text-muted);
  max-width: 120px;
  transition: opacity 0.4s, transform 0.4s, max-width 0.4s, padding 0.4s;
}

.btab.btab-active {
  background: var(--bg-card);
  color: var(--text);
}

.btab.archiving-out {
  opacity: 0;
  transform: translateY(-8px);
  max-width: 0;
  padding: 6px 0;
  overflow: hidden;
}

.btab-fav {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btab-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bwin-body {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--bg-card);
}

.bwin-body-lg { height: 170px !important; }

.archive-toast {
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s;
}

.archive-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-glyph { font-size: 14px; color: var(--gold); }

/* ── Extension popup mockup (Stages 2–3) — matches real popup ── */
.ext-popup {
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow:
    0 1px 2px rgba(26, 20, 16, 0.04),
    0 12px 32px rgba(26, 20, 16, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font);
  color: var(--text);
  flex: 1;
  min-height: 0;
}

.ext-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px 9px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg);
}

.ext-wordmark { font-size: 17px; font-weight: 500; color: var(--text); letter-spacing: 0.2px; }
.ext-wordmark em { font-style: italic; font-weight: 400; color: var(--gold); }

.ext-live {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 8px 3px 7px;
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font);
}

.ext-live-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  animation: breathe 2.5s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.ext-search-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  flex-shrink: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ext-search-bar-active {
  border-color: var(--gold-line);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.ext-search-glyph { font-size: 11px; color: var(--gold); flex-shrink: 0; }

.ext-search-placeholder {
  font-size: 14px; font-style: italic;
  color: var(--text-dim);
  font-family: var(--font);
}

.ext-search-typing {
  font-size: 14px; font-style: italic;
  color: var(--text); font-family: var(--font);
}

.ext-cursor-blink {
  display: inline-block;
  width: 1.5px; height: 14px;
  background: var(--gold);
  vertical-align: middle;
  margin-left: 1px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.ext-groups-strip {
  display: flex;
  gap: 5px;
  padding: 8px 12px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  scrollbar-width: none;
}

.ext-groups-strip::-webkit-scrollbar { display: none; }

.ext-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  flex-shrink: 0;
  min-width: 52px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s, transform 0.3s, background 0.15s, border-color 0.15s;
}

.ext-chip.visible { opacity: 1; transform: translateY(0); }

.ext-chip.ext-chip-active {
  background: var(--gold-soft);
  border-color: var(--gold);
}

.ext-chip-icon  { font-size: 12px; color: var(--gold); line-height: 1; }
.ext-chip-name  { font-size: 9px; letter-spacing: 0.7px; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.ext-chip-count { font-size: 8px; color: var(--text-dim); }

.ext-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 5px;
  flex-shrink: 0;
}

.ext-divider span {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.ext-divider small {
  font-size: 9px;
  letter-spacing: 0.4px;
  color: var(--text-dim);
  white-space: nowrap;
  font-family: var(--font);
}

.ext-results-area {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  display: none;
  flex-direction: column;
}

.ext-results-area.visible { display: flex; }
.ext-results-area::-webkit-scrollbar { width: 2px; }
.ext-results-area::-webkit-scrollbar-thumb { background: var(--border); }

.ext-tab-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border-soft);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.28s, transform 0.28s, background 0.1s;
  flex-shrink: 0;
}

.ext-tab-row.visible { opacity: 1; transform: translateX(0); }
.ext-tab-row:hover   { background: var(--bg-soft); }

.ext-tab-fav {
  width: 24px; height: 24px; border-radius: 5px;
  background: var(--bg-soft); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--gold); flex-shrink: 0;
}

.ext-tab-info { flex: 1; min-width: 0; }

.ext-tab-title {
  font-size: 13px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}

.ext-tab-meta {
  font-size: 10px;
  color: var(--text-muted);
}

.ext-restore-btn {
  font-family: var(--font);
  font-size: 11px;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

.ext-restore-btn:hover { background: var(--gold-soft); }

.ext-restore-all-row {
  padding: 10px 14px 12px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}

.ext-restore-all-row.visible { opacity: 1; transform: translateY(0); }

.ext-restore-all-btn {
  width: 100%;
  padding: 9px 16px;
  background: var(--text);
  border: 1px solid var(--text);
  border-radius: 999px;
  color: var(--bg);
  font-family: var(--font);
  font-size: 13px;
  font-style: italic;
  transition: background 0.15s, border-color 0.15s;
  letter-spacing: 0.2px;
}

.ext-restore-all-btn:hover { background: #2e2620; border-color: #2e2620; }

/* ── Calendar mockup (Stage 4) — Google Calendar light ── */
.cal-mock {
  position: relative;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: visible;
  border: 1px solid var(--border);
  box-shadow:
    0 1px 2px rgba(26, 20, 16, 0.04),
    0 12px 32px rgba(26, 20, 16, 0.08);
  margin-bottom: 12px;
}

.corner-notif {
  position: absolute;
  top: 36px;
  right: 6px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 5px 10px 5px 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transform: translateY(6px) scale(0.88);
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 6px 22px rgba(26, 20, 16, 0.12);
  pointer-events: none;
  z-index: 10;
}

.corner-notif.show { opacity: 1; transform: translateY(0) scale(1); }
.corner-notif.dismiss {
  opacity: 0;
  transform: scale(0.6) translateY(6px);
  transform-origin: bottom right;
  transition: opacity 0.22s, transform 0.22s;
}

.corner-badge {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--bg);
  font-size: 7px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.corner-notif-text { min-width: 0; }

.corner-title {
  font-size: 10px;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  font-family: -apple-system, sans-serif;
}

.corner-sub {
  font-size: 9px;
  color: var(--gold-deep);
  white-space: nowrap;
  font-family: -apple-system, sans-serif;
  margin-top: 1px;
}

.cal-body { padding: 8px 0; background: var(--bg-card); }

.cal-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  min-height: 36px;
  align-items: start;
}

.cal-time {
  font-size: 11px;
  font-family: var(--font);
  color: var(--text-dim);
  padding: 4px 8px;
  text-align: right;
  padding-top: 6px;
}

.cal-slot {
  border-top: 1px solid var(--border-soft);
  height: 36px;
}

.cal-row-event { min-height: 60px; }

.cal-event-block {
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-left-width: 3px;
  border-radius: 4px;
  margin: 2px 8px 2px 0;
  padding: 6px 10px;
}

.cal-event-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-deep);
  font-family: var(--font);
}

.cal-event-sub {
  font-size: 11px;
  color: var(--gold);
  font-family: var(--font);
}

.cal-event-location {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font);
  margin-top: 1px;
}

.cal-time-now {
  color: #c0392b;
  font-weight: 600;
  font-size: 10px;
}

.cal-fav {
  background: rgba(66, 133, 244, 0.18) !important;
  color: #1a73e8 !important;
}

/* ── Caddy notification (Stage 4) — light system-style ── */
.caddy-notif {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 12px 28px rgba(26, 20, 16, 0.1);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s, transform 0.5s;
}

.caddy-notif.show { opacity: 1; transform: translateY(0); }

.notif-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.notif-badge {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--bg);
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-app {
  font-size: 12px;
  color: var(--text-muted);
  flex: 1;
}

.notif-time {
  font-size: 10px;
  color: var(--text-dim);
}

.caddy-notif .notif-title {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 4px;
}

.caddy-notif .notif-sub {
  font-size: 11px;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.notif-actions {
  display: flex;
  gap: 8px;
}

.notif-btn-primary {
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font);
}

.notif-btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-family: var(--font);
}

.notif-success {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gold-deep);
  padding-top: 4px;
}

.notif-success.show { display: flex; }

.success-check { font-size: 16px; color: var(--gold); }

/* ── Demo next button — pinned to bottom of stage ── */
.demo-next-btn {
  margin-top: auto;        /* pushes the button to the bottom */
  flex-shrink: 0;          /* never collapses */
  display: block;
  width: 100%;
  padding: 12px 22px;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease);
  opacity: 0;
  transform: translateY(4px);
}

.demo-next-btn.visible,
.demo-next-btn[data-goto] {
  opacity: 1;
  transform: translateY(0);
}

.demo-next-btn:hover {
  background: #2e2620;
  border-color: #2e2620;
}

.demo-next-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
  font-size: 13px;
  opacity: 1;
  transform: none;
}

.demo-next-ghost:hover {
  background: var(--bg-soft);
  color: var(--text);
  border-color: var(--border);
}

/* spacing between the mockup and the bottom button */
.stage-content {
  padding-bottom: 18px;
}

/* ── How it works ── */
.how {
  padding: 112px 0;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.how-card:hover {
  transform: translateY(-2px);
  border-color: rgba(154, 125, 40, 0.4);
}

.how-num {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  font-weight: 500;
}

.how-card h3 {
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.2px;
  margin-top: 4px;
}

.how-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── Editorial ── */
.editorial {
  padding: 96px 0;
  background: var(--bg-soft);
}

.editorial-body {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.3px;
}

.editorial-body em {
  font-style: italic;
  color: var(--gold);
}

/* ── Comparison ── */
.compare {
  padding: 112px 0;
}

.compare-table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font);
}

.compare-table th {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
}

.compare-table th:first-child { text-align: left; padding-left: 28px; }

.compare-table td {
  font-size: 16px;
  color: var(--text-mid);
  text-align: center;
  padding: 16px 16px;
  border-bottom: 1px solid var(--border-soft);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table td:first-child {
  text-align: left;
  padding-left: 28px;
  color: var(--text);
}

.c-yes     { color: var(--gold); font-size: 17px; }
.c-no      { color: var(--text-dim); font-size: 16px; }
.c-partial { color: var(--text-muted); font-size: 13px; font-style: italic; }

.caddyvault-row {
  background: var(--gold-soft);
}

.caddyvault-row td:first-child strong {
  font-weight: 500;
}

/* ── Pricing ── */
.pricing {
  padding: 112px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-featured {
  border-color: var(--text);
  box-shadow: 0 1px 2px rgba(26, 20, 16, 0.04), 0 16px 40px rgba(26, 20, 16, 0.08);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 36px;
  background: var(--text);
  color: var(--bg);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.plan-list li em {
  font-style: italic;
  color: var(--gold);
}

.plan-tier {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.plan-price {
  font-size: 56px;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  letter-spacing: -2px;
}

.plan-was {
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.plan-was s {
  color: var(--gold);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  margin: 0 2px;
}

.plan-interval {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
  margin-top: 8px;
}

.plan-list {
  list-style: none;
  margin-bottom: 4px;
}

.plan-list li {
  font-size: 16px;
  color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
}

.plan-list li:last-child { border-bottom: none; }

.plan-list li::before {
  content: '— ';
  color: var(--gold);
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* ── CTA ── */
.cta-section {
  padding: 128px 0;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-headline {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -1px;
  margin: 8px 0 16px;
  line-height: 1.05;
}

.cta-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 440px;
}

.cta-note {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--text-dim);
}

/* ── Footer ── */
.footer {
  padding: 48px 32px 56px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-wordmark {
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
}

.footer-wordmark em {
  color: var(--gold);
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s var(--ease);
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

/* ── Reveal animations (subtle fade-up only) ── */
.reveal,
.reveal-heading {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible,
.reveal-heading.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero {
    padding: 88px 24px 72px;
  }

  .demo-section {
    padding: 72px 24px;
  }

  .how, .compare, .pricing {
    padding: 88px 0;
  }

  .cta-section {
    padding: 96px 0;
  }
}

@media (max-width: 640px) {
  body { font-size: 17px; }

  .container { padding: 0 22px; }
  .rule { padding: 0 22px; }

  .nav-inner { padding: 0 22px; gap: 20px; }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  .hero {
    padding: 64px 22px 56px;
  }

  .hero-headline {
    font-size: clamp(34px, 9vw, 48px);
    letter-spacing: -0.5px;
  }

  .hero-sub { font-size: 17px; }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    text-align: center;
  }

  .demo-section { padding: 64px 16px; }

  .demo-stage { min-height: 460px; }

  .how { padding: 64px 0; }
  .editorial { padding: 64px 0; }
  .compare { padding: 64px 0; }
  .pricing { padding: 64px 0; }
  .cta-section { padding: 72px 0; }

  .compare-table-wrap { -webkit-overflow-scrolling: touch; }
  .compare-table th { font-size: 10px; padding: 14px 8px; letter-spacing: 0.6px; }
  .compare-table td { font-size: 14px; padding: 12px 8px; }
  .compare-table td:first-child { padding-left: 18px; font-size: 14px; white-space: nowrap; }
  .compare-table th:first-child { padding-left: 18px; }

  .pricing-card { padding: 32px 24px; }
  .plan-badge { left: 24px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 28px; }

  .footer { padding: 36px 22px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
