/* ============================================================
   PLAN PULL — DESIGN SYSTEM
   An editorial-industrial aesthetic for contractors.
   Precise. Confident. Built to be read at a job site.
   ============================================================ */

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---- TOKENS ---- */
:root {
  /* Color */
  --red:         #D41F26;
  --red-deep:    #A8181E;
  --red-bright:  #E8252C;
  --red-soft:    #FCE9EA;
  --ink:         #0A0A0A;
  --ink-80:      #1F1F1F;
  --ink-60:      #4A4A4A;
  --ink-40:      #787878;
  --ink-20:      #B8B8B8;
  --paper:       #FFFFFF;
  --paper-warm:  #FAFAF7;
  --paper-cool:  #F5F5F3;
  --line:        #E8E8E4;
  --line-dark:   #2A2A2A;

  /* Font */
  --font-sans:  'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-mono:  'JetBrains Mono', 'Menlo', monospace;

  /* Spacing (8pt grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 160px;

  /* Container */
  --container: 1280px;
  --container-narrow: 960px;
  --container-text: 720px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10,10,10,0.04), 0 2px 4px rgba(10,10,10,0.04);
  --shadow-md: 0 4px 12px rgba(10,10,10,0.06), 0 12px 24px rgba(10,10,10,0.06);
  --shadow-lg: 0 8px 24px rgba(10,10,10,0.08), 0 24px 48px rgba(10,10,10,0.08);
  --shadow-red: 0 8px 24px rgba(212,31,38,0.18), 0 4px 8px rgba(212,31,38,0.12);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 160ms;
  --med: 300ms;
  --slow: 600ms;
}

/* ---- BASE ---- */
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

::selection { background: var(--red); color: var(--paper); }

/* Grain overlay — subtle tactile texture across the whole page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---- TYPOGRAPHY ---- */
.display-xl { font-size: clamp(3rem, 8vw, 6.5rem); line-height: 0.95; letter-spacing: -0.035em; font-weight: 500; }
.display-lg { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.0; letter-spacing: -0.03em; font-weight: 500; }
.display-md { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.05; letter-spacing: -0.025em; font-weight: 500; }
.display-sm { font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; }

.lead { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.55; color: var(--ink-60); font-weight: 400; letter-spacing: -0.005em; }
.body-lg { font-size: 1.125rem; line-height: 1.6; color: var(--ink-60); }
.body { font-size: 1rem; line-height: 1.6; color: var(--ink-60); }
.body-sm { font-size: 0.9375rem; line-height: 1.55; color: var(--ink-60); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow-ink { color: var(--ink); }

.italic-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.num-display {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ---- CONTAINER ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.container-narrow { max-width: var(--container-narrow); }
.container-text { max-width: var(--container-text); }

/* ---- SECTIONS ---- */
.section { padding: clamp(4rem, 10vw, 8rem) 0; }
.section-sm { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.divider-red { width: 48px; height: 2px; background: var(--red); margin: 0 0 var(--space-5); border: none; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(232,232,228,0);
  transition: border-color var(--fast) var(--ease), padding var(--med) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); padding: var(--space-3) 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }

.nav-brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--ink); }
.nav-brand-mark { width: 32px; height: 32px; }
.nav-brand-text { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em; }
.nav-brand-text .dot { color: var(--red); }

.nav-links { display: flex; align-items: center; gap: var(--space-6); }
.nav-link { font-size: 0.9375rem; font-weight: 500; color: var(--ink-80); transition: color var(--fast) var(--ease); position: relative; }
.nav-link:hover { color: var(--red); }
.nav-link.active { color: var(--red); }

.nav-actions { display: flex; align-items: center; gap: var(--space-3); }

.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; transition: all var(--fast) var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 22px; height: 1.5px; background: var(--ink); transition: all var(--fast) var(--ease); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: all var(--fast) var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}
.btn-primary { background: var(--red); color: var(--paper); border-color: var(--red); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); box-shadow: var(--shadow-red); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-80); }
.btn-link { background: transparent; color: var(--ink); padding: 8px 0; border: none; border-radius: 0; position: relative; }
.btn-link::after { content: ''; position: absolute; left: 0; bottom: 4px; width: 100%; height: 1.5px; background: currentColor; transform-origin: left; transition: transform var(--med) var(--ease); }
.btn-link:hover::after { transform: scaleX(0.6); }
.btn-link .arrow { transition: transform var(--fast) var(--ease); }
.btn-link:hover .arrow { transform: translateX(4px); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* ---- FORMS ---- */
.field { margin-bottom: var(--space-5); }
.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: var(--space-2);
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(10,10,10,0.06);
}
.field-error { color: var(--red); font-size: 0.8125rem; margin-top: var(--space-2); }

/* ---- CARDS ---- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--med) var(--ease);
}
.card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); }
.card-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card-dark .card-title, .card-dark .card-text { color: var(--paper); }
.card-warm { background: var(--paper-warm); border-color: transparent; }
.card-warm:hover { border-color: var(--line); }

.card-title { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: var(--space-3); color: var(--ink); }
.card-text { color: var(--ink-60); line-height: 1.6; }

/* ---- TAGS ---- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-60);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.tag-red { color: var(--red); background: var(--red-soft); border-color: transparent; }
.tag-dot::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---- FOOTER ---- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-9) 0 var(--space-6);
  margin-top: var(--space-9);
}
.footer a { color: var(--ink-20); transition: color var(--fast) var(--ease); }
.footer a:hover { color: var(--paper); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}
.footer-brand-mark { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); color: var(--paper); }
.footer-brand-mark .nav-brand-text { color: var(--paper); }
.footer-tagline { color: var(--ink-20); margin-bottom: var(--space-5); max-width: 380px; line-height: 1.6; }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: var(--space-4);
}
.footer-col ul li { margin-bottom: var(--space-3); font-size: 0.9375rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.875rem;
  color: var(--ink-20);
}
.footer-parent { font-size: 0.8125rem; color: var(--ink-40); margin-top: var(--space-2); }
.footer-parent .wolf-mark { color: var(--red); font-weight: 600; }

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 100ms; }
.reveal.d2 { transition-delay: 200ms; }
.reveal.d3 { transition-delay: 300ms; }
.reveal.d4 { transition-delay: 400ms; }

/* ---- UTILITY ---- */
.text-red { color: var(--red); }
.text-ink { color: var(--ink); }
.text-muted { color: var(--ink-60); }
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-7 { margin-bottom: var(--space-7); }
.mb-8 { margin-bottom: var(--space-8); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }

/* Skip link for accessibility */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--ink); color: var(--paper); padding: 8px 16px; z-index: 1000; }
.skip-link:focus { top: 0; }

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

/* ---- HERO ---- */
.hero { padding: 160px 0 var(--space-9); position: relative; overflow: hidden; }
.hero::after {
  content: '';
  position: absolute;
  top: 120px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,31,38,0.08) 0%, rgba(212,31,38,0) 70%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-8); align-items: center; }
.hero-headline { margin: var(--space-5) 0 var(--space-6); }
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-6); }

/* Demo widget — blueprint visualization */
.demo-widget {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.demo-chrome {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 0 var(--space-4);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-4);
}
.demo-chrome .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.demo-chrome .dot:nth-child(1) { background: #FF5F57; }
.demo-chrome .dot:nth-child(2) { background: #FEBC2E; }
.demo-chrome .dot:nth-child(3) { background: #28C840; }
.demo-chrome .path { margin-left: auto; font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-40); }

.demo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9375rem;
}
.demo-row:last-child { border-bottom: none; }
.demo-row-label { display: flex; align-items: center; gap: var(--space-3); color: var(--ink); font-weight: 500; }
.demo-row-label .swatch { width: 16px; height: 16px; border-radius: 4px; }
.demo-row-value { font-family: var(--font-mono); font-weight: 500; color: var(--ink); }

.demo-summary {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.demo-summary-label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-20); }
.demo-summary-value { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 400; letter-spacing: -0.01em; }

/* Blueprint badge that floats */
.blueprint-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--red);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-red);
  transform: rotate(4deg);
}

/* ---- STATS ROW ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); padding: var(--space-7) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { }
.stat-value { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; margin-bottom: var(--space-2); }
.stat-value .unit { font-size: 0.5em; color: var(--ink-40); margin-left: 4px; }
.stat-label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-40); }

/* ---- FEATURE BLOCK ---- */
.feature-alt { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; margin-bottom: var(--space-10); }
.feature-alt:nth-child(even) .feature-alt-text { order: 2; }
.feature-alt:last-child { margin-bottom: 0; }

.feature-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); }
.feature-icon svg { width: 28px; height: 28px; }

/* Trade grid */
.trade-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.trade-card {
  padding: var(--space-6) var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all var(--fast) var(--ease);
  cursor: pointer;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.trade-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  opacity: 0;
  transition: opacity var(--fast) var(--ease);
  z-index: 0;
}
.trade-card:hover::before { opacity: 1; }
.trade-card > * { position: relative; z-index: 1; transition: color var(--fast) var(--ease); }
.trade-card:hover > * { color: var(--paper); }
.trade-card .trade-icon { width: 36px; height: 36px; color: var(--red); margin-bottom: var(--space-4); transition: color var(--fast) var(--ease); }
.trade-card:hover .trade-icon { color: var(--paper); }
.trade-card h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: var(--space-2); }
.trade-card p { font-size: 0.875rem; color: var(--ink-60); line-height: 1.5; }
.trade-card:hover p { color: rgba(255,255,255,0.85); }

/* ---- STEPS ---- */
.steps { position: relative; }
.steps::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.step-row { display: grid; grid-template-columns: 1fr 80px 1fr; gap: var(--space-5); margin-bottom: var(--space-9); align-items: center; }
.step-row:last-child { margin-bottom: 0; }
.step-num {
  width: 64px; height: 64px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}
.step-row:nth-child(even) .step-text { order: -1; text-align: right; }
.step-row:nth-child(even) .step-visual { order: 3; }

/* ---- PRICING ---- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.price-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--med) var(--ease);
}
.price-card.featured { border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-12px); }
.price-card:hover:not(.featured) { border-color: var(--ink); }
.price-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--paper);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.price-name { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-40); margin-bottom: var(--space-4); }
.price-amount { display: flex; align-items: baseline; gap: var(--space-2); margin-bottom: var(--space-2); }
.price-amount .curr { font-size: 1.5rem; color: var(--ink-60); font-weight: 400; }
.price-amount .num { font-family: var(--font-serif); font-size: 4rem; font-weight: 300; line-height: 1; letter-spacing: -0.03em; }
.price-amount .per { font-size: 0.875rem; color: var(--ink-40); }
.price-desc { color: var(--ink-60); font-size: 0.9375rem; margin-bottom: var(--space-5); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.price-features { list-style: none; padding: 0; margin: 0 0 var(--space-6); flex-grow: 1; }
.price-features li { padding: 8px 0; font-size: 0.9375rem; display: flex; gap: 10px; color: var(--ink-80); }
.price-features li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--red); margin-top: 2px; }

/* ---- BIG CTA ---- */
.big-cta {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.big-cta::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,31,38,0.4) 0%, rgba(212,31,38,0) 70%);
  border-radius: 50%;
}
.big-cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-6); align-items: end; }
.big-cta .display-md { color: var(--paper); }
.big-cta .lead { color: rgba(255,255,255,0.72); }

/* ---- TESTIMONIAL ---- */
.testimonial {
  background: var(--paper-warm);
  padding: var(--space-7);
  border-radius: var(--radius-lg);
}
.testimonial-quote { font-family: var(--font-serif); font-size: clamp(1.25rem, 2.5vw, 1.75rem); line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); margin-bottom: var(--space-5); font-weight: 400; font-style: italic; }
.testimonial-quote::before { content: '\201C'; color: var(--red); font-size: 1.5em; }
.testimonial-meta { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 1.125rem; font-weight: 500; }
.testimonial-name { font-weight: 600; font-size: 0.9375rem; }
.testimonial-role { font-size: 0.8125rem; color: var(--ink-60); }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--line); padding: var(--space-5) 0; }
.faq-q { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; font-size: 1.125rem; font-weight: 500; color: var(--ink); padding: 0; }
.faq-q .plus { width: 24px; height: 24px; position: relative; flex-shrink: 0; transition: transform var(--med) var(--ease); }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform var(--med) var(--ease); }
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[aria-expanded="true"] .faq-q .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--med) var(--ease); }
.faq-item[aria-expanded="true"] .faq-a { max-height: 500px; }
.faq-a-inner { padding-top: var(--space-4); color: var(--ink-60); line-height: 1.65; font-size: 1rem; }

/* ---- DEMO UPLOADER (demo page) ---- */
.uploader {
  border: 2px dashed var(--line);
  border-radius: var(--radius-xl);
  padding: var(--space-9) var(--space-6);
  text-align: center;
  transition: all var(--fast) var(--ease);
  background: var(--paper-warm);
}
.uploader.dragover { border-color: var(--red); background: var(--red-soft); }
.uploader-icon { width: 64px; height: 64px; margin: 0 auto var(--space-4); color: var(--ink-40); }
.uploader-title { font-size: 1.375rem; font-weight: 500; margin-bottom: var(--space-2); }
.uploader-hint { color: var(--ink-60); font-size: 0.9375rem; }

/* Chips — for trade selection on demo */
.chip-group { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-80);
  cursor: pointer;
  transition: all var(--fast) var(--ease);
  background: var(--paper);
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.red.active { background: var(--red); border-color: var(--red); }

/* Report preview */
.report-preview {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  aspect-ratio: 0.77 / 1;
  position: relative;
  overflow: hidden;
}
.report-preview::before {
  content: 'PLAN PULL';
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  color: var(--red);
  font-weight: 600;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .feature-alt { grid-template-columns: 1fr; gap: var(--space-5); margin-bottom: var(--space-7); }
  .feature-alt:nth-child(even) .feature-alt-text { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .trade-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .steps::before { display: none; }
  .step-row { grid-template-columns: 1fr; gap: var(--space-4); text-align: left; }
  .step-row:nth-child(even) .step-text { order: 0; text-align: left; }
  .step-row:nth-child(even) .step-visual { order: 0; }
  .step-num { margin: 0; }
  .big-cta-inner { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--paper);
    padding: var(--space-6);
    gap: var(--space-5);
    font-size: 1.25rem;
    border-top: 1px solid var(--line);
  }
  .trade-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 120px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
