/* ListingProse — landing page styles
   Restyled to the Pinterest design-system spec (see ../PINTEREST_DESIGN.md):
   Inter geometric sans (Pin Sans substitute), warm-cream/off-white/ink
   neutral chrome, Pinterest Red reserved strictly for primary CTAs + brand
   wordmark, 16px/32px/pill radius vocabulary, flat cards with hairline
   borders instead of shadows, 8px-based spacing on a 64px section rhythm.
   HTML structure, section order, and all copy are unchanged from the
   original — this file only restyles the existing markup. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Color tokens — PINTEREST_DESIGN.md `colors` */
  --primary: #e60023;
  --on-primary: #ffffff;
  --primary-pressed: #cc001f;
  --ink: #000000;
  --ink-soft: #211922;
  --body-c: #33332e;
  --charcoal: #262622;
  --mute: #62625b;
  --ash: #91918c;
  --stone: #c8c8c1;
  --hairline: #dadad3;
  --hairline-soft: #e5e5e0;
  --secondary-bg: #e5e5e0;
  --secondary-pressed: #c8c8c1;
  --canvas: #ffffff;
  --surface-soft: #fbfbf9;
  --surface-card: #f6f6f3;
  --surface-dark: #262622;
  --on-dark: #ffffff;
  --on-dark-mute: rgba(255, 255, 255, 0.7);
  --focus-outer: #435ee5;

  /* Type family — Inter substitutes Pin Sans per spec's own recommendation */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Shape vocabulary — {rounded.*} */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  /* Spacing scale — {spacing.*} */
  --space-xxs: 4px;
  --space-xs: 6px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
  --space-section: 64px;

  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body-c);
  background: var(--surface-soft);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ---------- Scroll-progress bar: thin red rule fixed to the very top of
   the viewport, width driven by scroll position via JS. A quiet, on-brand
   way to reinforce forward motion through the page — red stays scarce
   (a 3px line) but reappears as a live signal rather than a static accent. ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--primary);
  z-index: 3000;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ---------- Background texture: fixed film-grain overlay, sits above every
   surface at very low opacity. SVG feTurbulence noise, no external image
   file. Subtle enough to read as "paper texture," never as visual noise. ---------- */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Soft dot-grid texture on light sections — barely-there, reads as material
   not decoration. Applied per-section below rather than globally so it
   never competes with photography or text blocks. */
.texture-dots {
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1.6px);
  background-size: 22px 22px;
}

.texture-dots-dark {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1.6px);
  background-size: 22px 22px;
}

/* ---------- Scroll-reveal: fade + rise, IntersectionObserver-driven ----------
   .reveal starts state is defined here; JS toggles .is-visible on entry.
   Respect prefers-reduced-motion by short-circuiting to the visible state. */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.03s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.11s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.27s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.43s; }

/* Hero elements animate in immediately on load rather than waiting for a
   scroll trigger — the JS adds .is-visible to .reveal-hero on DOMContentLoaded. */
.reveal-hero {
  transition-duration: 0.8s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

h1, h2, h3 {
  font-family: var(--font);
  color: var(--ink);
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
  font-size: 1rem;
  line-height: 1.4;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ---------- Rule motif (recurring section divider — hairline, not gold) ---------- */

.rule-motif {
  width: 64px;
  height: 1px;
  margin: 0 auto;
  background: var(--hairline);
}

/* ---------- Brand wordmark (nav + footer) ----------
   Red is reserved for CTAs, active indicators, and the brand wordmark
   per spec — this is the wordmark use. */

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.brand-word {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.brand-listing {
  font-weight: 700;
  color: var(--ink);
}

.brand-prose {
  font-weight: 700;
  color: var(--primary);
  transition: color 0.2s ease;
}

.brand:hover .brand-prose {
  color: var(--primary-pressed);
}

.footer-brand .brand-listing {
  color: var(--ink);
}

.footer-brand .brand-prose {
  color: var(--primary);
}

/* ---------- Top nav — primary-nav component: canvas bg, hairline rule ---------- */

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.25s ease;
}

/* .scrolled toggled by JS once the page scrolls past the hero — a quiet
   depth cue that the nav has "detached" from the page content. */
.topnav.scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 10px 24px rgba(0, 0, 0, 0.05);
}

.topnav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--body-c);
}

.nav-links a {
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after {
  width: 100%;
}

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

/* nav-cta uses {component.button-primary}: red fill, white text, 16px radius */
.nav-cta {
  font-family: var(--font);
  background: var(--primary);
  color: var(--on-primary);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease, transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  position: relative;
  animation: cta-attention-ring 1.8s ease-out 1.4s 2;
}

/* One-time (x2) attention ripple on load — draws the eye to the primary
   CTA without looping forever and becoming annoying. Purely a box-shadow
   pulse so it never shifts layout. */
@keyframes cta-attention-ring {
  0% { box-shadow: 0 0 0 0 rgba(230, 0, 35, 0.38); }
  70% { box-shadow: 0 0 0 14px rgba(230, 0, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 0, 35, 0); }
}

.nav-cta:hover {
  transform: translateY(-1px);
  animation-play-state: paused;
}

.nav-cta:hover {
  background: var(--primary-pressed);
}

/* ---------- Shared type helpers — caption-md (12px/500) uppercase label ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
  border-radius: var(--radius-full);
}

.eyebrow-dark {
  color: var(--on-dark-mute);
}

.eyebrow-dark::before {
  background: var(--primary);
}

/* ---------- Hero — display-xl headline, flat pin-card-large style hero card ---------- */

.hero {
  padding: 100px 0 88px;
  background:
    radial-gradient(circle, rgba(230, 0, 35, 0.05) 1px, transparent 1.6px) 0 0 / 22px 22px,
    var(--surface-soft);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -220px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 0, 35, 0.06), transparent 70%);
  animation: drift 16s ease-in-out infinite;
  pointer-events: none;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.08); }
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-section);
  align-items: center;
}

/* display-xl: 70px / 600 / 1.1 / -1.2px, scaled down responsively */
.hero h1 {
  font-family: var(--font);
  font-size: 4.375rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin: 20px 0 22px;
}

.hero .subhead {
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--mute);
  max-width: 480px;
  margin-bottom: var(--space-xxl);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* button-md typography: 14px / 700 / 1 / 0; rounded-md (16px); no shadow */
.btn {
  font-family: var(--font);
  display: inline-block;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.16s ease;
  transform: translateY(0);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
  transition-duration: 0.06s;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 1px 2px rgba(230, 0, 35, 0.15);
}

.btn-primary:hover {
  background: var(--primary-pressed);
  box-shadow: 0 6px 16px rgba(230, 0, 35, 0.28);
}

/* Secondary buttons: secondary-bg gray-cream fill, not an outline — per spec */
.btn-outline {
  background: var(--secondary-bg);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--secondary-pressed);
}

.hero-note {
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--mute);
  margin-top: var(--space-lg);
}

/* hero-card: flat surface-card, rounded-lg (32px, large feature card), hairline border, no shadow */
.hero-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  animation: hero-card-float 7s ease-in-out infinite;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  animation-play-state: paused;
}

@keyframes hero-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-card .tag {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.hero-card h3 {
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
}

.hero-card .addr {
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--mute);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--hairline);
}

.hero-card p.copy {
  font-size: 1rem;
  color: var(--body-c);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.hero-card .chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* chips map to {component.filter-chip}: surface-card fill, pill radius, small red dot for a touch of color */
.chip {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--body-c);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: var(--stone);
}

.chip::before {
  animation: chip-pulse 2.4s ease-in-out infinite;
}

.chip:nth-of-type(2)::before { animation-delay: 0.4s; }
.chip:nth-of-type(3)::before { animation-delay: 0.8s; }
.chip:nth-of-type(4)::before { animation-delay: 1.2s; }

@keyframes chip-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

.chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--primary);
  flex-shrink: 0;
}

/* ---------- Sections ---------- */

section {
  padding: var(--space-section) 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.section-head .eyebrow {
  margin-bottom: var(--space-lg);
  justify-content: center;
}

/* heading-xl: 28px / 700 / 1.2 / -1.2px */
.section-head h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin-bottom: var(--space-md);
}

.section-head p {
  font-family: var(--font);
  color: var(--mute);
  font-size: 1.0625rem;
  line-height: 1.4;
}

/* Positioning strip — surface-dark per spec's dark-CTA-strip surface */

.positioning {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.045) 1px, transparent 1.6px) 0 0 / 24px 24px,
    var(--surface-dark);
  color: var(--on-dark);
  padding: 96px 0;
}

.positioning-head {
  max-width: 640px;
  margin-bottom: var(--space-xxl);
}

.positioning h2 {
  color: var(--on-dark);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin-top: var(--space-lg);
}

.positioning .lede {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--on-dark-mute);
  max-width: 760px;
  margin-bottom: 52px;
}

.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.compare-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.16);
}

.compare-heading {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.compare-heading.bad {
  color: var(--on-dark-mute);
}

.compare-heading.good {
  color: var(--on-dark);
}

.compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.4;
}

.compare-col li {
  padding: var(--space-md) 0 var(--space-md) 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  color: var(--on-dark-mute);
  transition: padding-left 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.22s ease;
}

.compare-col li:first-child {
  border-top: none;
}

.compare-col li:hover {
  padding-left: 32px;
}

.compare-col li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.3);
  transition: left 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.compare-col li:hover::before {
  left: 6px;
}

.compare-col.good li {
  color: var(--on-dark);
}

.compare-col.good li:hover {
  color: #ffffff;
}

.compare-col.good li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--primary);
  top: 19px;
  left: 0;
}

/* How it works — process rule with hairline dividers (elevation level 1) */

.process-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
}

.process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-xl);
  padding: 34px 0;
  border-top: 1px solid var(--hairline);
  align-items: baseline;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-item:last-child {
  border-bottom: 1px solid var(--hairline);
}

.process-item:hover {
  transform: translateX(8px);
}

.process-num {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -1.2px;
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-item:hover .process-num {
  color: var(--primary-pressed);
  transform: scale(1.1);
}

/* heading-md: 18px / 600 / 1.3 */
.process-copy h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

.process-copy p {
  font-family: var(--font);
  color: var(--mute);
  font-size: 0.975rem;
  line-height: 1.4;
  margin-bottom: 0;
  max-width: 480px;
}

/* Before / after — editorial spreads, flat cards + hairline dividers */

.before-after {
  background: var(--surface-soft);
}

.ba-spread {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-xl);
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--hairline);
}

.ba-spread:first-of-type {
  padding-top: var(--space-sm);
}

.ba-spread.reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.ba-heading {
  grid-column: 1 / -1;
  margin-bottom: var(--space-xxs);
}

.ba-heading h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-xxs);
}

.ba-heading .ba-meta {
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--mute);
}

.ba-before {
  font-family: var(--font);
}

.ba-label {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--hairline);
}

.ba-before p {
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.4;
  margin-bottom: 0;
}

.ba-spread.reverse .ba-before {
  grid-row: 2;
  grid-column: 2;
}

.ba-spread.reverse .ba-after {
  grid-row: 2;
  grid-column: 1;
}

/* ba-after: flat feature-card-soft treatment — surface-card fill, 16px radius, red accent rule to catch the eye on the finished copy */
.ba-after {
  margin: 0;
  background: var(--surface-card);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border-left: 3px solid var(--primary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-left-width 0.3s ease;
}

.ba-after:hover {
  transform: translateX(3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border-left-width: 5px;
}

.ba-after p {
  font-size: 1.0625rem;
  color: var(--body-c);
  margin-bottom: 0;
  line-height: 1.5;
}

.samples-footnote {
  text-align: center;
  font-family: var(--font);
  color: var(--mute);
  font-size: 0.9rem;
  margin-top: var(--space-xxl);
  margin-bottom: 0;
}

.samples-footnote code {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.85em;
}

/* Pricing — flat connected table, hairline rules instead of shadow */

.pricing-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--canvas);
  overflow: hidden;
}

.price-col {
  padding: 40px var(--space-xxl);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--hairline);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, z-index 0s;
}

.price-col:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.price-col:first-child {
  border-left: none;
}

.price-col.featured {
  background: var(--surface-card);
}

.price-col.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  animation: featured-pulse 2.6s ease-in-out infinite;
}

/* Gentle top-bar breathing glow on the featured/founding-member column —
   the one place on the page allowed a looping animation beyond hover,
   since it's the plan we most want an agent's eye to land on. */
@keyframes featured-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.price-col .badge {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--secondary-bg);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  margin-bottom: var(--space-md);
}

.price-col h3 {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mute);
  margin-bottom: var(--space-sm);
}

/* pricing amount reads as display-lg (44px / 700 / -0.8px) — the most prominent number on the page */
.price-col .amount {
  font-family: var(--font);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--space-xxs);
  transition: color 0.25s ease;
}

.price-col:hover .amount {
  color: var(--primary);
}

.price-col .amount span {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--mute);
}

.price-col .desc {
  font-family: var(--font);
  color: var(--mute);
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: var(--space-xl);
  min-height: 40px;
}

.price-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  font-family: var(--font);
  font-size: 0.88rem;
  line-height: 1.4;
  flex: 1;
}

.price-col li {
  padding: 9px 0;
  border-top: 1px solid var(--hairline);
  color: var(--body-c);
}

.price-col li:first-child {
  border-top: none;
}

.price-col .btn {
  text-align: center;
  width: 100%;
}

/* Intake form — surface-card section wrapping a canvas modal-card (32px radius); surface-dark stays reserved for the single positioning strip per spec */

.intake {
  background: var(--surface-card);
  color: var(--ink);
}

.intake .section-head p {
  color: var(--mute);
}

.intake .section-head h2 {
  color: var(--ink);
}

.intake-form {
  background: var(--canvas);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--hairline);
  max-width: 760px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

/* text-input component: canvas fill, 1px ash border, rounded-md, double-ring focus */
input[type="text"],
input[type="number"],
input[type="email"],
textarea,
select {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 11px 15px;
  border: 1px solid var(--ash);
  border-radius: var(--radius-md);
  background: var(--canvas);
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 4px var(--focus-outer);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.file-drop {
  border: 1.5px dashed var(--hairline);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--mute);
  background: var(--surface-card);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.file-drop:hover {
  border-color: var(--ash);
  background: var(--surface-soft);
}

.file-drop strong {
  color: var(--ink);
}

.form-row-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.form-submit {
  margin-top: var(--space-xl);
  text-align: center;
}

.form-submit .btn {
  width: 100%;
}

.form-fineprint {
  font-family: var(--font);
  font-size: 0.78rem;
  color: var(--mute);
  text-align: center;
  margin-top: var(--space-lg);
}

/* Final CTA */

.final-cta {
  text-align: center;
}

.final-cta .eyebrow {
  justify-content: center;
}

.final-cta h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin-top: var(--space-lg);
}

.final-cta p {
  font-family: var(--font);
  color: var(--mute);
  max-width: 480px;
  margin: 0 auto var(--space-xxl);
}

/* Footer — footer-section component: canvas bg, mute text, hairline top rule */

footer {
  background: var(--canvas);
  color: var(--mute);
  padding: var(--space-xxl) 0;
  border-top: 1px solid var(--hairline);
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-tagline,
.footer-copy {
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--mute);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero h1 br {
    display: none;
  }

  .compare {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .compare-divider {
    display: none;
  }

  .pricing-table {
    grid-template-columns: 1fr;
  }

  .price-col {
    border-left: none;
    border-top: 1px solid var(--hairline);
  }

  .price-col:first-child {
    border-top: none;
  }

  .ba-spread,
  .ba-spread.reverse {
    grid-template-columns: 1fr;
  }

  .ba-spread.reverse .ba-before,
  .ba-spread.reverse .ba-after {
    grid-row: auto;
    grid-column: auto;
  }

  .ba-after {
    order: -1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-row-inline {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .process-item {
    grid-template-columns: 48px 1fr;
    gap: var(--space-lg);
  }

  .process-num {
    font-size: 1.375rem;
  }

  section {
    padding: 48px 0;
  }
}

@media (max-width: 520px) {
  section {
    padding: 32px 0;
  }

  .hero {
    padding: 60px 0 48px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .section-head h2,
  .positioning h2,
  .final-cta h2 {
    font-size: 1.5rem;
  }

  .intake-form {
    padding: 28px 20px;
  }

  .brand-word {
    font-size: 1.05rem;
  }
}
