/* ============================================
   FileFort
   ============================================ */

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

:root {
  /* Palette — cool neutrals */
  --bg:             oklch(0.985 0.003 240);
  --bg-elevated:    oklch(0.995 0.002 240);
  --surface:        #ffffff;
  --border:         oklch(0.915 0.008 240);
  --border-soft:    oklch(0.945 0.006 240);

  --ink:            oklch(0.24 0.018 255);
  --ink-soft:       oklch(0.44 0.018 250);
  --ink-mute:       oklch(0.60 0.014 245);
  --ink-faint:      oklch(0.74 0.010 240);

  /* Accent — rose */
  --accent:         #EF2328;
  --accent-soft:    oklch(0.95 0.035 15);
  --accent-deep:    #D73C40;

  /* Geometry */
  --width:          920px;
  --r-sm:           10px;
  --r-md:           16px;
  --r-lg:           22px;
  --r-xl:           28px;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg:             oklch(0.19 0.014 250);
  --bg-elevated:    oklch(0.23 0.016 250);
  --surface:        oklch(0.25 0.016 250);
  --border:         oklch(0.31 0.014 250);
  --border-soft:    oklch(0.27 0.012 250);

  --ink:            oklch(0.96 0.006 240);
  --ink-soft:       oklch(0.80 0.012 245);
  --ink-mute:       oklch(0.64 0.014 245);
  --ink-faint:      oklch(0.48 0.012 245);

  --accent-soft:    oklch(0.35 0.08 15);
  color-scheme: dark;
}

/* ── Base ─────────────────────────────────────── */
html {
  font-family: var(--font-sans);
  font-size: 16px;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; }

::selection {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

/* ── Container ─────────────────────────────────── */
.container {
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ── Nav ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border-soft); }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo-mark {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-link {
  font-size: 13.5px;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color .15s ease;
}
.nav-link:hover { color: var(--ink); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.005em;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: color-mix(in oklch, var(--ink) 88%, var(--accent));
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 20px color-mix(in oklch, var(--accent) 28%, transparent);
}
.btn-accent:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-elevated);
  border-color: color-mix(in oklch, var(--border) 60%, var(--ink-mute));
}

.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ── Hero ─────────────────────────────────────── */
.hero {
  padding: 80px 0 50px;
  text-align: center;
}

.hero-icon {
  width: 180px;
  margin: 0 auto 0;
  display: block;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(40px, 6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 18ch;
  margin: -16px auto 48px;
}

.hero h2 {
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 22ch;
  margin: 0 auto 16px;
  color: var(--ink);
}

.hero h2 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 0 auto 36px;
  letter-spacing: -0.005em;
}

.hero-actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  background: color-mix(in oklch, var(--ink-faint) 14%, transparent);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  margin-right: 2px;
  vertical-align: middle;
}

.hero-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: -0.005em;
}
.hero-note .dot { color: var(--ink-faint); margin: 0 6px; }

/* ── Hero preview (product shot placeholder) ──── */
.hero-preview {
  margin: 6px auto 0;
  padding-top: 50px;
  /* Full-bleed stage: the tilted scene crops at the viewport edges */
  overflow: hidden;
  height: clamp(400px, 52vw, 800px);
}
.hero-preview-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 30px 60px -20px rgba(30, 20, 10, 0.18),
    0 10px 30px -15px rgba(30, 20, 10, 0.10);
  overflow: hidden;
}
.hero-preview-frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 12px,
      oklch(0.93 0.01 245) 12px 13px
    );
  opacity: .6;
}
.hero-preview-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.hero-preview-chrome {
  position: absolute;
  top: 14px; left: 18px;
  display: flex; gap: 6px;
}
.hero-preview-chrome span {
  width: 11px; height: 11px; border-radius: 50%;
  background: oklch(0.86 0.01 250);
}

/* ── Section scaffold ─────────────────────────── */
.section {
  padding: 100px 0;
}
.section--tight { padding: 80px 0; }

.section-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  text-align: center;
}
.section-title {
  
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 22ch;
  margin: 0 auto 16px;
  color: var(--ink);
}
.section-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 56px;
}

.section-divider {
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 32px;
}
.section-divider::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--border);
}

/* ── Value props (two cards) ──────────────────── */
.pitch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pitch-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  position: relative;
}
.pitch-card-glyph {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: inline-grid;
  place-items: center;
  margin-bottom: 20px;
}
.pitch-card-glyph svg { width: 18px; height: 18px; }

.pitch-card h3 {
  
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 10px;
}
.pitch-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .pitch-grid { grid-template-columns: 1fr; }
}

/* ── Use cases ────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  counter-increment: step;
  position: relative;
}
.step-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: color-mix(in oklch, var(--ink-faint) 18%, transparent);
  padding: 4px 9px;
  border-radius: 999px;
}
.step-num {
  display: inline-flex;
  
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h4 {
  
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 820px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
}

/* ── Feature rows ─────────────────────────────── */
#features > .container { max-width: 1160px; }
#pricing > .container { max-width: 1160px; }

.features { display: flex; flex-direction: column; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 80px;
  padding: 88px 0;
  border-bottom: 1px solid var(--border-soft);
}
.features .feature-row:last-child { border-bottom: none; }
.feature-row--reverse { grid-template-columns: 1.5fr 1fr; }
.feature-row--reverse .feature-text { order: 2; }
.feature-row--reverse .feature-art { order: 1; }

.feature-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.feature-text h3 {
  font-weight: 500;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 14px;
  text-wrap: pretty;
}
.feature-text p {
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 44ch;
}

.feature-benefits {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.feature-benefits li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-mute);
  padding-left: 18px;
  position: relative;
}
.feature-benefits li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--ink-faint);
}

/* Product art */
.feature-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-art img {
  width: 100%;
  max-width: 610px;
  aspect-ratio: 610 / 381;
  border-radius: var(--r-lg);
}

@media (max-width: 820px) {
  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }
  .feature-row--reverse .feature-text,
  .feature-row--reverse .feature-art { order: initial; }
}

/* ── Pricing ──────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
  align-items: stretch;
}
.tier {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tier--paid {
  background: var(--surface);
  border-color: color-mix(in oklch, var(--accent) 35%, var(--border));
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 24px 48px -20px color-mix(in oklch, var(--accent) 24%, transparent),
    0 8px 20px -10px rgba(20, 24, 40, 0.10);
}
.tier--paid::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--accent-soft), transparent 70%);
  opacity: .55;
  pointer-events: none;
}
.tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.tier-name {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tier-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 9px;
  border-radius: 999px;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 4px;
}
.tier-price-amount {
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.tier-price-amount sup {
  font-size: 22px;
  vertical-align: top;
  margin-right: 2px;
  color: var(--ink-soft);
  top: 8px;
  position: relative;
  font-weight: 600;
}
.tier-price-suffix {
  font-size: 13px;
  color: var(--ink-mute);
}
.tier-tagline {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 22px;
  min-height: 42px;
}
.tier-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 0 0 20px;
}
.tier-featlabel {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.tier-list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 0 0 24px;
  flex: 1;
}
.tier-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
  align-items: flex-start;
}
.tier-check {
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: inline-grid;
  place-items: center;
  margin-top: 2px;
}
.tier-check svg { width: 9px; height: 9px; }
.tier--free .tier-check {
  background: color-mix(in oklch, var(--ink-faint) 22%, transparent);
  color: var(--ink-mute);
}
.tier-cta { margin-top: auto; }

.tier--coming {
  grid-column: 1 / -1;
  background: transparent;
  border-style: dashed;
  border-color: var(--border);
  padding: 32px 36px;
}
.tier-coming-headline {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.tier-coming-intro {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.5;
}
.tier-coming-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.tier-coming-plan {
  min-width: 0;
}
.tier-coming-plan strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.tier-coming-plan p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.5;
}

.tier--pro {
  background: var(--surface);
  border-color: color-mix(in oklch, #6366F1 35%, var(--border));
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 24px 48px -20px color-mix(in oklch, #6366F1 20%, transparent),
    0 8px 20px -10px rgba(20, 24, 40, 0.10);
}
.tier--pro::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at center, oklch(0.93 0.06 275), transparent 70%);
  opacity: .45;
  pointer-events: none;
}
.tier--pro .tier-badge {
  background: oklch(0.93 0.06 275);
  color: #4F46E5;
}
.tier--pro .tier-check {
  background: oklch(0.93 0.06 275);
  color: #4F46E5;
}

.pricing-roadmap {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.6;
}
.pricing-roadmap strong {
  color: var(--ink-soft);
  font-weight: 600;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .tier-coming-plans { grid-template-columns: 1fr; }
}

/* Legacy rule no-ops kept to avoid regressions */

/* ── FAQ ──────────────────────────────────────── */
.faq {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border-top: 1px solid var(--border);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 24px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
}
.faq-chevron {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  transition: transform .25s ease, background .2s ease, border-color .2s ease;
  color: var(--ink-mute);
}
.faq-chevron svg { width: 12px; height: 12px; transition: transform .25s ease; }
.faq-item.is-open .faq-chevron { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  padding: 0 4px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.faq-item.is-open .faq-a {
  max-height: 400px;
  padding: 0 4px 24px;
}

/* ── Final CTA ────────────────────────────────── */
.final-cta {
  text-align: center;
  padding: 100px 0 120px;
  position: relative;
}
.final-cta-title {
  
  font-weight: 800;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 18ch;
  margin: 0 auto 18px;
}
.final-cta-title em { font-style: normal; color: var(--accent); }
.final-cta-sub {
  font-size: 16.5px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* ── Footer ───────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  background: var(--bg-elevated);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -0.01em;
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13.5px;
  color: var(--ink-mute);
}
.footer-links a {
  color: var(--ink-mute);
  text-decoration: none;
  transition: color .15s ease;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy {
  width: 100%;
  text-align: left;
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

/* ── Release notes ────────────────────────────── */
.release-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}
.release-version {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.release-date {
  font-size: 13px;
  color: var(--ink-mute);
}
.release-lead {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.release-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 0;
}
.release-list li {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.release-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--ink-faint);
}

.release-tier-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 20px;
  margin-bottom: 10px;
}

/* ── Focus ────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Tweaks panel ─────────────────────────────── */
.tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(30,20,10,.25), 0 10px 20px -10px rgba(30,20,10,.10);
  font-size: 13px;
  display: none;
}
.tweaks-panel.is-active { display: block; }
.tweaks-panel h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
  font-weight: 600;
}
.tweak-row { margin-bottom: 14px; }
.tweak-row:last-child { margin-bottom: 0; }
.tweak-row label {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.tweak-swatches {
  display: flex;
  gap: 8px;
}
.tweak-swatch {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: transform .15s ease;
}
.tweak-swatch:hover { transform: scale(1.1); }
.tweak-swatch.is-active { border-color: var(--ink); }
.tweak-segmented {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.tweak-segmented button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--ink-soft);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}
.tweak-segmented button.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* ── Hero scene (animated app preview) ────────── */
.hero-scene {
  display: block;
  width: 100%;
  max-width: 1340px;
  height: auto;
  margin: 0 auto;
  font-family: var(--font-sans);
  filter: drop-shadow(0 20px 20px rgba(30, 20, 10, 0.25));
  /* Tweak this one number to resize the scene (≤ ~0.92 keeps left/right/top uncropped) */
  --hero-zoom: 1;
  /* Laid-back recline; self-contained perspective() avoids WebKit flattening of
     parent-perspective + filter, and vw units keep the projection identical at
     every viewport width 
  transform: perspective(165vw) rotateX(0deg) rotateY(-20deg) scale(var(--hero-zoom));
  transform-origin: 100% 10%;
  translate: -4% 8%;*/
}
.hs-sheet {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 0%;
}
/* Base state = composed static frame (also the reduced-motion frame) */
.hs-s1 { opacity: 1; }
.hs-dim { opacity: 0; pointer-events: none; }
.hs-cal-dim { opacity: 0; pointer-events: none; }

/*
 * Sheet-stack timeline — continuous 4-sheet cycle, no idle/reset gap:
 *   Calendar raised 10px. Max 2 sheets visible at a time.
 *   Each sheet runs the same 24s keyframe, staggered 6s apart:
 *     S1 +1.2s · S2 +7.2s · S3 +13.2s · S4 +19.2s
 *
 *   Per-sheet 24s cycle:
 *     0–4.17%      enter (60px → 0, spring ease)
 *     4.17–25%     at front
 *     25–29.17%    pushed back (0 → -10px, spring ease) — next sheet entering
 *     29.17–45.83% held at -10px
 *     45.83–50%    fade out (ease-in)
 *     50–100%      hidden, reset to 60px
 *
 * Assembly entrance (1.2s build prefix before loop):
 *   0s    window frame fades/rises in (0.6s)
 *   0.2s  sidebar slides in from left (0.6s)
 *   0.35s task list fades/rises in (0.6s)
 *   0.5s  calendar slides in from right (0.6s)
 */
@media (prefers-reduced-motion: no-preference) {
  .hs-window   { animation: hs-build-up    0.6s cubic-bezier(0.32, 0.72, 0, 1) 0s    both; }
  .hs-sidebar  { animation: hs-build-left  0.6s cubic-bezier(0.32, 0.72, 0, 1) 0.2s  both; }
  .hs-tasklist { animation: hs-build-up    0.6s cubic-bezier(0.32, 0.72, 0, 1) 0.35s both; }
  .hs-calendar {
    animation: hs-build-right 0.6s cubic-bezier(0.32, 0.72, 0, 1) 0.5s both,
               hs-cal-loop 30s linear 1.2s infinite;
    transform-box: fill-box;
    transform-origin: 50% 0%;
  }

  .hs-s1    { animation: hs-sheet-loop 30s linear  1.2s backwards infinite; }
  .hs-s2    { animation: hs-sheet-loop 30s linear  7.2s backwards infinite; }
  .hs-s3    { animation: hs-sheet-loop 30s linear 13.2s backwards infinite; }
  .hs-s4    { animation: hs-sheet-loop 30s linear 19.2s backwards infinite; }
  .hs-s5    { animation: hs-s5-loop   30s linear 25.2s backwards infinite; }
  .hs-dim-1 { animation: hs-dim-loop  30s linear  1.2s backwards infinite; }
  .hs-dim-2 { animation: hs-dim-loop  30s linear  7.2s backwards infinite; }
  .hs-dim-3 { animation: hs-dim-loop  30s linear 13.2s backwards infinite; }
  .hs-dim-4 { animation: hs-dim-loop  30s linear 19.2s backwards infinite; }
  .hs-cal-dim { animation: hs-cal-dim-anim 30s linear 1.2s backwards infinite; }

  @keyframes hs-build-up    { from { opacity: 0; transform: translateY(36px);  } to { opacity: 1; transform: translateY(0); } }
  @keyframes hs-build-left  { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: translateX(0); } }
  @keyframes hs-build-right { from { opacity: 0; transform: translateX(64px);  } to { opacity: 1; transform: translateX(0); } }

  /* S1–S4: enter, hold at front, push back matching calendar depth, fade when 3rd enters */
  @keyframes hs-sheet-loop {
    0%       { opacity: 0; translate: 0px 60px;  scale: 1;    animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    3.33%    { opacity: 1; translate: 0px 0px;   scale: 1;    animation-timing-function: linear; }
    20%      { opacity: 1; translate: 0px 0px;   scale: 1;    animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    23.33%   { opacity: 1; translate: 0px -18px; scale: 0.97; animation-timing-function: linear; }
    40%      { opacity: 1; translate: 0px -18px; scale: 0.97; animation-timing-function: ease-in; }
    43.33%   { opacity: 0; translate: 0px -18px; scale: 0.97; animation-timing-function: step-start; }
    43.34%   { opacity: 0; translate: 0px 60px;  scale: 1; }
    100%     { opacity: 0; translate: 0px 60px;  scale: 1; }
  }

  /* S5 (calendar clone): same enter/hold, fades immediately when pushed to avoid z-order glitch */
  @keyframes hs-s5-loop {
    0%       { opacity: 0; translate: 0px 60px;  scale: 1;    animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    3.33%    { opacity: 1; translate: 0px 0px;   scale: 1;    animation-timing-function: linear; }
    20%      { opacity: 1; translate: 0px 0px;   scale: 1;    animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    23.33%   { opacity: 0; translate: 0px -18px; scale: 0.97; animation-timing-function: step-start; }
    23.34%   { opacity: 0; translate: 0px 60px;  scale: 1; }
    100%     { opacity: 0; translate: 0px 60px;  scale: 1; }
  }

  /* Dim overlay on pushed-back sheets */
  @keyframes hs-dim-loop {
    0%, 20%      { opacity: 0; }
    23.33%       { opacity: 0.15; }
    40%          { opacity: 0.15; }
    43.33%, 100% { opacity: 0; }
  }

  /* Dim overlay on the real calendar when pushed back by S1 */
  @keyframes hs-cal-dim-anim {
    0%, 3.33%    { opacity: 0; }
    6.67%        { opacity: 0.15; }
    20%          { opacity: 0.15; }
    23.33%, 100% { opacity: 0; }
  }

  /* Real calendar: pushed back when S1 enters, held as back card until S2 enters, then fades */
  @keyframes hs-cal-loop {
    0%     { translate: 0px 0px;   scale: 1;    opacity: 1; animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    3.33%  { translate: 0px -18px; scale: 0.97; opacity: 1; animation-timing-function: linear; }
    20%    { translate: 0px -18px; scale: 0.97; opacity: 1; animation-timing-function: ease-in; }
    23.33% { translate: 0px -18px; scale: 0.97; opacity: 0; animation-timing-function: step-start; }
    23.34% { translate: 0px 0px;   scale: 1;    opacity: 0; }
    100%   { translate: 0px 0px;   scale: 1;    opacity: 0; }
  }
}

/* ── Ownership timeline (Why FileFort) ────────── */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  border-radius: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border) 48px,
    var(--border) calc(100% - 48px),
    transparent
  );
}
.timeline-item {
  position: relative;
  width: calc(50% - 52px);
  padding-bottom: 48px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item + .timeline-item { margin-top: -92px; }
.timeline-item:nth-child(odd) { text-align: right; }
.timeline-item:nth-child(even) { margin-left: auto; }
.timeline-item::before {
  content: "";
  position: absolute;
  top: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 14%, transparent);
}
.timeline-item:nth-child(odd)::before { right: -58px; }
.timeline-item:nth-child(even)::before { left: -58px; }
.timeline-item .timeline-marker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 9px;
}
.timeline-item h4 {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.timeline-item .timeline-body {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .timeline::before { left: 5px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: auto;
    margin-left: 0;
    padding-left: 34px;
  }
  .timeline-item + .timeline-item { margin-top: 0; }
  .timeline-item:nth-child(odd) { text-align: left; }
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before { left: 0; right: auto; }
}

/* ── Realtors page ────────────────────────────── */
.gift-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 64px auto 0;
  text-align: left;
}
.gift {
  border: 1px solid var(--border-soft);
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  padding: 26px 24px 22px;
}
.gift--ff {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--accent) 40%, #ffffff);
  box-shadow: 0 18px 44px -18px color-mix(in oklch, var(--accent) 35%, transparent);
}
.gift-icon {
  height: 44px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--ink-faint);
}
.gift-icon svg { width: 34px; height: 34px; }
.gift-icon img { width: 42px; height: 42px; }
.gift h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.gift-caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
  min-height: 40px;
}
.gift-bar {
  margin-top: 18px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--ink-faint) 22%, transparent);
  overflow: hidden;
}
.gift-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--ink-faint);
}
.gift--ff .gift-bar i { background: var(--accent); }
.gift-bar-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 9px;
}
.gift--ff .gift-bar-label { color: var(--accent); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  text-align: left;
}
.why-item .mono-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.why-item h4 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.why-item p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.band {
  background: oklch(0.975 0.015 275);
  padding: 100px 0;
  text-align: center;
}
.band .section-label { margin-bottom: 18px; }
.band-title {
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 19ch;
  margin: 0 auto 20px;
}
.band-title em { font-style: normal; color: var(--accent); }
.band-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 32px;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.stepper-item { position: relative; padding-top: 58px; }
.stepper-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50px;
  right: -36px;
  height: 2px;
  background: var(--border);
}
.stepper-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--bg);
  border: 2px solid color-mix(in srgb, var(--accent) 45%, #ffffff);
}
.stepper-item h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.stepper-item p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .gift-shelf { grid-template-columns: 1fr; max-width: 420px; margin-top: 48px; }
  .gift-caption { min-height: 0; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .stepper { grid-template-columns: 1fr; gap: 36px; }
  .stepper-item:not(:last-child)::after { display: none; }
}

.band-preview {
  margin-top: 56px;
  overflow: hidden;
  height: clamp(380px, 44vw, 640px);
}

/* ── Savings math (subscription comparison) ───── */
/* ── Pitch card cost comparison widget ─────────── */
.pitch-cost {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}
.pitch-cost-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pitch-cost-price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.pitch-cost-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.pitch-cost-col--ff .pitch-cost-price { color: var(--accent); }
.pitch-cost-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
}
.pitch-cost-vs {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-faint);
  flex-shrink: 0;
}
.pitch-cost-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ── Pitch card storage checklist ──────────────── */
.pitch-storage {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.pitch-storage li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.pitch-storage strong { font-weight: 600; }
.ps-check, .ps-no {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.ps-check {
  background: color-mix(in oklch, var(--accent) 14%, transparent);
  color: var(--accent-deep);
}
.ps-check svg { width: 10px; height: 10px; }
.ps-no {
  background: color-mix(in oklch, var(--ink-faint) 22%, transparent);
  color: var(--ink-mute);
}
.ps-no svg { width: 10px; height: 10px; }
.ps-row--never { color: var(--ink-soft); }
