/* ============================================
   Feastly — Editorial / Statement Direction
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Instrument+Sans:wght@400;500;600;700&display=swap');

/* ── Design tokens ── */
:root {
  --paper:    #F2EDE2;
  --paper-2:  #EAE3D3;
  --paper-3:  #FBF8F1;
  --ink:      #161210;
  --forest:   #1C3A30;
  --muted:    #6B6557;
  --warm:     #3A342B;
  --rule:     #D8CFB9;
  --rule-2:   rgba(216,207,185,0.40);

  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'Instrument Sans', -apple-system, system-ui, sans-serif;

  --pad: 60px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 16px; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Buttons ── */
.btn-dark {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--sans);
  transition: background 0.15s, transform 0.15s;
  letter-spacing: -0.01em;
}
.btn-dark:hover { background: var(--forest); transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-dark-sm { margin-top: 32px; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(22,18,16,0.08); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.logo em {
  font-style: italic;
  color: var(--forest);
  font-size: 1.12em;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.15s;
}
.nav-links a:hover { opacity: 1; }
.nav-links .btn-dark { opacity: 1; color: var(--paper); }

/* Mobile nav */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.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); }

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 24px var(--pad);
  gap: 20px;
  z-index: 99;
}

/* ── Hero ── */
.hero {
  padding: 48px var(--pad) 64px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.eyebrow-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--forest);
}
.eyebrow-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}
.eyebrow-text { letter-spacing: 0.02em; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-copy h1 em { font-style: italic; color: var(--forest); }

/* Industry tabs */
.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.ind-tab {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.ind-tab:hover { border-color: var(--ink); color: var(--ink); }
.ind-tab.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}

.hero-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--warm);
  margin-bottom: 32px;
  max-width: 520px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-footnote {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.h-dot { color: var(--rule); }

/* Payment strip */
.payment-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pay-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid var(--rule);
  background: var(--paper-3);
  color: var(--warm);
}
.pay-mc   { color: #c0392b; }
.pay-amex { color: #0070c9; }
.pay-gpay { color: #4285F4; }

/* Statement card */
.stmt-card {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 24px 60px -20px rgba(22,18,16,0.18), 0 2px 4px rgba(22,18,16,0.04);
}
.stmt-hdr {
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.stmt-hdr-title {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.stmt-hdr-per {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  white-space: nowrap;
}
.stmt-body { padding: 20px 24px 20px; }
.stmt-big-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.stmt-big-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stmt-big-val {
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.stmt-spark {
  margin-bottom: 18px;
  height: 40px;
  overflow: hidden;
}
.stmt-spark svg { width: 100%; height: 40px; }
.stmt-lines { border-top: 1px solid var(--rule); padding-top: 12px; }
.stmt-line {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px dotted var(--rule);
}
.stmt-ll { color: var(--warm); }
.stmt-lv { font-feature-settings: "tnum"; font-weight: 500; color: var(--ink); }
.stmt-line-pos .stmt-lv { color: var(--forest); }
.stmt-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}
.stmt-total-label {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}
.stmt-total-val {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--forest);
  font-feature-settings: "tnum";
}
.stmt-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.stmt-live {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stmt-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--forest);
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ── NYC Banner ── */
.nyc-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 16px var(--pad);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.01em;
  text-align: center;
}
.nyc-flag { font-size: 22px; }

/* ── Trust Bar ── */
.trust-bar {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 16px var(--pad);
  background: var(--paper-2);
}
.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.trust-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.trust-logos span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
}

/* ── Gallery Section ── */
.gallery-section {
  background: #0F2337;
  padding-bottom: 48px;
}
.gallery-hdr {
  text-align: center;
  padding: 64px var(--pad) 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.gallery-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.40);
  margin-bottom: 16px;
}
.gallery-title {
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 14px;
}
.gallery-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.60);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Gallery track & phone frames ── */
.gallery-outer { position: relative; }
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:active { cursor: grabbing; }
.phone-frame {
  flex-shrink: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  scroll-snap-align: start;
  padding: 8px 0 24px;
}
.phone-body {
  width: 300px;
  background: #1A1A2E;
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.10);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 40px 100px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.phone-body:hover { transform: translateY(-6px); }
.phone-notch {
  width: 100px; height: 24px;
  background: #1A1A2E;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  border: 2px solid rgba(255,255,255,0.06);
  border-top: none;
}
.phone-screen {
  padding: 6px 14px 22px;
  height: 580px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Gallery controls */
.gallery-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.gallery-screen-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gallery-dots { display: flex; gap: 8px; }
.gallery-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  border: none; padding: 0; cursor: pointer;
  transition: background 0.25s, width 0.25s, border-radius 0.25s;
}
.gallery-dot.active { background: #D8CFB9; width: 28px; border-radius: 4px; }
.gallery-nav { display: flex; gap: 12px; }
.gallery-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.gallery-arrow:hover { background: rgba(216,207,185,0.15); color: #F2EDE2; transform: scale(1.08); }
.gallery-arrow:disabled { opacity: 0.2; cursor: default; transform: none; }

/* ── Prototype Screen Styles (preserved exactly) ── */
.proto-screen {
  background: #F9FAFB;
  padding: 8px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 560px;
  overflow: hidden;
}
.proto-statusbar { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; color: #1f2937; padding: 2px 0 6px; }
.proto-header { display: flex; justify-content: space-between; align-items: flex-start; }
.proto-greeting { font-size: 11px; color: #6B7280; }
.proto-biz-name { font-size: 17px; font-weight: 800; color: #111827; letter-spacing: -0.03em; }
.proto-date { font-size: 10px; color: #9CA3AF; margin-top: 1px; }
.proto-header-icons { display: flex; gap: 6px; }
.proto-icon-btn { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; position: relative; }
.orange-bg { background: #FFF7ED; }
.gray-bg   { background: #F3F4F6; }
.proto-badge { position: absolute; top: 3px; right: 3px; width: 8px; height: 8px; background: #EF4444; border-radius: 50%; border: 1px solid white; }
.proto-card { background: white; border-radius: 14px; padding: 12px; box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.proto-card-sm { flex: 1; }
.proto-card-title { font-size: 12px; font-weight: 700; color: #1f2937; margin-bottom: 8px; }
.proto-card-label { font-size: 10px; color: #6B7280; margin-bottom: 3px; }
.proto-card-val { font-size: 18px; font-weight: 800; color: #111827; letter-spacing: -0.03em; }
.proto-card-trend { font-size: 10px; font-weight: 600; margin-top: 3px; }
.proto-card-row-between { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.proto-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.proto-three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.proto-health-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.proto-health-dot { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-radius: 10px; }
.green-dot  { background: #F0FDF4; }
.yellow-dot { background: #FFFBEB; }
.red-dot    { background: #FEF2F2; }
.dot-circle { width: 10px; height: 10px; border-radius: 50%; display: block; }
.green-c  { background: #22C55E; }
.yellow-c { background: #F59E0B; }
.red-c    { background: #EF4444; }
.dot-label { font-size: 9px; font-weight: 700; color: #374151; text-align: center; }
.dot-sub   { font-size: 8px; color: #9CA3AF; text-align: center; }
.proto-profit-banner { background: linear-gradient(135deg, #F97316, #FB923C); border-radius: 14px; padding: 14px; box-shadow: 0 8px 20px rgba(249,115,22,0.35); }
.proto-profit-label { font-size: 11px; color: rgba(255,255,255,0.80); }
.proto-profit-val   { font-size: 28px; font-weight: 900; color: white; letter-spacing: -0.04em; line-height: 1.1; }
.proto-profit-sub   { font-size: 10px; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.proto-profit-tag   { background: rgba(255,255,255,0.18); border-radius: 8px; padding: 6px 8px; font-size: 10px; color: white; }
.proto-alert { border-radius: 10px; padding: 8px 10px; font-size: 10px; line-height: 1.5; }
.warning-alert { background: #FFFBEB; border: 1px solid #FCD34D; color: #92400E; }
.red-alert     { background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B; }
.proto-screen-hdr { display: flex; justify-content: space-between; align-items: center; }
.proto-screen-title { font-size: 18px; font-weight: 800; color: #111827; letter-spacing: -0.03em; }
.proto-add-btn { width: 30px; height: 30px; border-radius: 50%; background: #F97316; color: white; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 300; }
.proto-export-btn { font-size: 10px; font-weight: 700; color: #F97316; border: 1px solid #F97316; border-radius: 8px; padding: 4px 8px; }
.proto-tag { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.green-tag-light { background: #F0FDF4; color: #16A34A; }
.proto-big-num { font-size: 22px; font-weight: 900; color: #111827; letter-spacing: -0.04em; margin-bottom: 12px; }
.proto-bars { display: flex; align-items: flex-end; gap: 4px; height: 60px; margin-bottom: 6px; }
.proto-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; justify-content: flex-end; }
.proto-bar-fill { width: 100%; background: #FED7AA; border-radius: 3px 3px 0 0; }
.proto-bar-active { background: #F97316 !important; }
.proto-bar-col span { font-size: 8px; color: #6B7280; font-weight: 600; }
.proto-bar-footer { display: flex; justify-content: space-between; font-size: 10px; color: #9CA3AF; }
.proto-list-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid #F9FAFB; font-size: 12px; color: #374151; }
.proto-list-row:last-child { border-bottom: none; }
.proto-list-val { font-weight: 700; color: #111827; }
.proto-sum-box { border-radius: 10px; padding: 8px; text-align: center; }
.gray-box   { background: #F9FAFB; }
.green-box  { background: #F0FDF4; }
.orange-box { background: #FFF7ED; }
.proto-sum-val { font-size: 13px; font-weight: 800; color: #111827; }
.proto-sum-lbl { font-size: 9px; color: #9CA3AF; margin-top: 2px; }
.proto-insight-box { background: #F9FAFB; border-radius: 10px; padding: 8px; font-size: 10px; color: #374151; line-height: 1.5; margin-top: 8px; }
.proto-bill-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #F9FAFB; }
.proto-bill-row:last-child { border-bottom: none; }
.proto-bill-name { font-size: 12px; font-weight: 600; color: #111827; }
.proto-bill-due  { font-size: 10px; color: #9CA3AF; margin-top: 1px; }
.proto-bill-right { display: flex; align-items: center; gap: 8px; }
.proto-bill-amt { font-size: 12px; font-weight: 700; color: #111827; }
.proto-check-empty { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #D1D5DB; display: flex; align-items: center; justify-content: center; }
.proto-check-done { width: 22px; height: 22px; border-radius: 50%; background: #22C55E; color: white; font-size: 11px; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.proto-expense-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid #F9FAFB; }
.proto-expense-row:last-child { border-bottom: none; }
.proto-exp-emoji { font-size: 18px; width: 32px; height: 32px; background: #F9FAFB; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.proto-exp-name { font-size: 11px; font-weight: 600; color: #111827; }
.proto-exp-cat  { font-size: 10px; color: #9CA3AF; }
.proto-exp-amt  { font-size: 12px; font-weight: 700; color: #111827; margin-left: auto; }
.proto-payroll-banner { background: linear-gradient(135deg, #1E293B, #334155); border-radius: 14px; padding: 14px; box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.proto-payroll-label { font-size: 11px; color: rgba(255,255,255,0.55); }
.proto-payroll-val   { font-size: 28px; font-weight: 900; color: white; letter-spacing: -0.04em; line-height: 1.1; }
.proto-payroll-sub   { font-size: 10px; color: rgba(255,255,255,0.40); margin-bottom: 10px; }
.proto-payroll-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.proto-payroll-stat  { background: rgba(255,255,255,0.10); border-radius: 10px; padding: 8px; }
.proto-payroll-stat-label { font-size: 9px; color: rgba(255,255,255,0.50); }
.proto-payroll-stat-val   { font-size: 12px; font-weight: 700; color: white; margin-top: 2px; }
.proto-emp-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid #F9FAFB; }
.proto-emp-row:last-child { border-bottom: none; }
.proto-emp-avatar { width: 32px; height: 32px; border-radius: 50%; color: white; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.proto-emp-name { font-size: 12px; font-weight: 600; color: #111827; }
.proto-emp-role { font-size: 10px; color: #9CA3AF; }
.proto-emp-pay  { margin-left: auto; text-align: right; }
.proto-emp-total { font-size: 12px; font-weight: 700; color: #111827; }
.proto-emp-hrs   { font-size: 10px; color: #9CA3AF; }
.proto-toggle { display: flex; gap: 4px; background: #F3F4F6; border-radius: 10px; padding: 3px; }
.proto-toggle-btn { flex: 1; text-align: center; font-size: 11px; font-weight: 600; padding: 6px; border-radius: 8px; color: #6B7280; }
.active-toggle { background: white; color: #F97316; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.proto-metric { text-align: center; padding: 10px 6px !important; }
.proto-metric-val { font-size: 14px; font-weight: 800; }
.proto-pie-wrap { display: flex; align-items: center; gap: 12px; }
.proto-pie { width: 110px; height: 110px; flex-shrink: 0; }
.proto-pie-legend { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.proto-legend-row { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #374151; }
.proto-legend-row span:last-child { margin-left: auto; font-weight: 700; color: #111827; }
.proto-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.plain-english-card {}
.proto-plain-row { font-size: 10px; color: #374151; line-height: 1.6; padding: 4px 0; border-bottom: 1px solid #F9FAFB; }
.proto-plain-row:last-child { border-bottom: none; }
.proto-right-label { text-align: right; }
.orange-text { color: #F97316; }
.yellow-text { color: #F59E0B; }
.green-text  { color: #22C55E; }
.red-text    { color: #EF4444; }

/* ── Section Divider ── */
.sec-divider {
  padding: 72px var(--pad) 0;
  max-width: var(--max);
  margin: 0 auto;
}
.sec-div-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 20px;
}
.sec-div-idx {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--forest);
}
.sec-div-title {
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sec-div-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
}
.sec-div-line {
  height: 1px;
  background: var(--ink);
  margin-top: 4px;
}

/* ── Problem Section ── */
.problem-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--pad) 64px;
}
.problem-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.problem-row:last-child { border-bottom: none; }
.prob-n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--forest);
}
.prob-q {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.prob-a {
  font-size: 15px;
  line-height: 1.65;
  color: var(--warm);
}

/* ── Solution Section ── */
.solution-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--pad) 72px;
}
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

/* P&L Statement */
.pl-stmt {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-family: var(--sans);
  box-shadow: 0 24px 60px -20px rgba(22,18,16,0.18), 0 2px 4px rgba(22,18,16,0.04);
}
.pl-hdr {
  padding: 20px 28px;
  border-bottom: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.pl-title {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.pl-sub {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin-top: 2px;
}
.pl-badge {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--forest);
  font-weight: 600;
  border: 1px solid var(--forest);
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
}
.pl-body { padding: 8px 28px; }
.pl-row {
  display: grid;
  grid-template-columns: 1fr 72px 120px;
  padding: 11px 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 14px;
  align-items: baseline;
}
.pl-row-em { font-weight: 600; }
.pl-row-final {
  border-bottom: none;
  border-top: 2px solid var(--ink);
  margin-top: 6px;
  padding-top: 14px;
}
.pl-label { color: var(--warm); }
.pl-pct { font-size: 12px; color: var(--muted); text-align: right; font-feature-settings: "tnum"; }
.pl-val { text-align: right; font-feature-settings: "tnum"; font-weight: 500; }
.pl-footer {
  padding: 12px 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.solution-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--warm);
  margin-bottom: 28px;
}
.solution-lede em { font-style: italic; color: var(--forest); }
.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.check-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--warm);
}
.ck {
  color: var(--forest);
  font-weight: 700;
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}
.check-list li strong { color: var(--ink); }

/* ── Features Section ── */
.features-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--pad) 72px;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.feature-card {
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}
.feature-card:last-child { border-bottom: none; }
.feat-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 12px;
}
.feat-title {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}
.feat-desc {
  font-size: 15px;
  color: var(--warm);
  line-height: 1.6;
  margin: 0;
}

/* ── Comparison ── */
.compare-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--pad) 72px;
}
.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-family: var(--sans);
  min-width: 520px;
}
.th-feat {
  padding: 12px 0;
  text-align: left;
  border-bottom: 2px solid var(--ink);
  font-weight: 500;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 38%;
}
.th-feastly {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  color: var(--forest);
  background: var(--paper-2);
}
.th-other {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--ink);
  font-weight: 500;
  color: var(--ink);
  font-size: 14px;
}
.tr-alt { background: rgba(216,207,185,0.18); }
.td-feat { padding: 14px 0; font-size: 14px; color: var(--ink); }
.td-feastly { padding: 14px 16px; background: var(--paper-2); }
.td-other   { padding: 14px 16px; color: var(--warm); }
.td-feastly-text { font-weight: 600; color: var(--forest); font-feature-settings: "tnum"; }
.td-other-text   { font-feature-settings: "tnum"; }
.cell-yes  { color: var(--forest); font-size: 20px; line-height: 1; }
.cell-no   { color: var(--rule); font-size: 20px; line-height: 1; }
.cell-part { color: #A88340; font-size: 20px; line-height: 1; }
.cell-note { font-size: 11px; color: var(--muted); margin-left: 4px; }
.compare-note { margin-top: 16px; font-size: 12px; color: var(--muted); font-style: italic; }

/* ── Testimonials ── */
.testimonials-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--pad) 72px;
}
.test-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.testimonial {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}
.test-quote {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
}
.test-footer {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.test-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.test-biz  { font-size: 13px; color: var(--muted); font-style: italic; font-family: var(--serif); }

/* ── CTA Section ── */
.cta-section {
  background: var(--ink);
  color: var(--paper);
  padding: 80px var(--pad);
}
.cta-inner { max-width: var(--max); margin: 0 auto; }
.cta-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: #9CC2B3;
  margin-bottom: 20px;
}
.cta-head {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.03;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 20px;
}
.cta-head em { font-style: italic; }
.cta-sub {
  font-size: 17px;
  color: #C8C0AF;
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 36px;
}
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;
  margin-bottom: 16px;
}
.cta-form input {
  flex: 1;
  background: transparent;
  border: 1px solid #4A443B;
  color: var(--paper);
  padding: 15px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.cta-form input::placeholder { color: rgba(242,237,226,0.35); }
.cta-form input:focus { border-color: #9CC2B3; }
.cta-form input.invalid { border-color: #F87171; }
.cta-form button {
  background: var(--paper);
  color: var(--ink);
  border: none;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.cta-form button:hover { background: #EAE3D3; transform: translateY(-1px); }
.cta-success {
  font-family: var(--serif);
  font-size: 18px;
  color: #9CC2B3;
  margin-bottom: 8px;
}
.cta-fine {
  font-size: 13px;
  color: #8F8676;
  margin-bottom: 24px;
}
.security-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sec-badge {
  font-size: 12px;
  font-weight: 500;
  color: rgba(242,237,226,0.45);
}
.sec-sep { color: #4A443B; font-size: 16px; }

/* ── Footer ── */
.footer {
  background: #0C0908;
  color: #6B6557;
  padding: 40px var(--pad);
  border-top: 1px solid #2A251D;
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.foot-logo {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--paper);
  letter-spacing: -0.02em;
  line-height: 1;
}
.foot-logo em { font-style: italic; color: #9CC2B3; font-size: 1.12em; }
.foot-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.foot-links a {
  font-size: 13px;
  color: #6B6557;
  transition: color 0.15s;
}
.foot-links a:hover { color: var(--paper); }
.foot-copy { font-size: 12px; margin: 0; }

/* ── Responsive: Tablet ≥ 640px ── */
@media (min-width: 640px) {
  .hero-copy h1 { font-size: 72px; }
  .hero-actions { flex-direction: row; align-items: center; }
  .cta-head { font-size: 72px; }
  .cta-form { flex-direction: row; }
  .trust-inner { flex-direction: row; justify-content: space-between; }
  .test-grid { grid-template-columns: 1fr 1fr; }
  .foot-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ── Responsive: Desktop ≥ 900px ── */
@media (min-width: 900px) {
  :root { --pad: 60px; }
  .nav-links { display: flex; }
  .hamburger { display: none; }

  .hero { padding: 64px var(--pad) 80px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .hero-copy h1 { font-size: 86px; }

  .sec-div-inner { grid-template-columns: 120px 1fr 1fr; gap: 28px; align-items: baseline; }

  .problem-row { grid-template-columns: 56px 1.1fr 2fr; gap: 28px; align-items: baseline; }
  .prob-q { font-size: 26px; }

  .solution-grid { grid-template-columns: 1fr 1fr; gap: 56px; }

  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-card {
    padding: 32px 28px;
    border-bottom: none;
    border-top: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
  }
  .feature-card:nth-child(3),
  .feature-card:nth-child(6) { border-right: none; }

  .test-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-head { font-size: 80px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .stmt-live-dot { animation: none; }
}
