/* ============================================================================
   JOHNNYAI QUOTE — Marketing site styles
   ============================================================================

   ─── BRAND ──────────────────────────────────────────────────────────────────
   Aesthetic: architectural lighting. Dark, sophisticated, warm-cool.
   Mark:      Aperture-style geometric mark — outer ring (fixture rim),
              luminous inner core, crescent highlight, cardinal registration
              ticks. Suggests a precision lighting instrument viewed straight on.

   ─── COLOR SYSTEM ──────────────────────────────────────────────────────────

   PRIMARY — Warm 2700K Amber
     Lumen     #F4B860   ← primary accent, CTAs, hero accent text
     Lumen-lo  #FCD9A3   ← highlight, hover states
     Lumen-dim #8B5A1B   ← deep shadow / pressed states

   SECONDARY — Cool 6500K Cyan
     Cool      #67E8F9   ← technical accents, file labels
     Cool-dim  #155E75

   NEUTRALS — Charcoal Scale
     Bg        #0A0A0B   ← deep base
     Bg-elev   #121215   ← elevated surface
     Bg-elev-2 #1A1A1F   ← cards / inputs
     Line      #27272A   ← borders, dividers
     Line-str  #3F3F46   ← stronger borders
     Text      #F4F4F5   ← primary
     Text-mute #A1A1AA   ← secondary
     Text-fnt  #71717A   ← tertiary / labels

   ─── TYPOGRAPHY ────────────────────────────────────────────────────────────

   DISPLAY  Fraunces (variable, opsz + SOFT axis)
              · Hero:           opsz 144, weight 400, SOFT 30/100 (italic accent)
              · Section title:  opsz 96,  weight 400
              · Card title:     opsz 36,  weight 500
              · Italic + warm = signature accent treatment

   BODY     Manrope (300/400/500/600/700)
              · Hero sub:       weight 300, 1.05–1.35rem
              · Body copy:      weight 400, 1rem
              · Strong:         weight 500

   MONO     JetBrains Mono (400/500)
              · Section markers, labels, fixture codes, fine print
              · Always tracked +0.14–0.18em, often uppercase

   ─── MOTION ────────────────────────────────────────────────────────────────
   Hero:     staggered reveal (0/120/280/420/600ms), 0.9s ease-out
   Sections: scroll-triggered fade-up, 0.8s ease-out
   Hover:    250ms ease-out lifts, color transitions, glow shadows
   Ambient:  14s/18s ease pulse on background gradient blobs
   All animations respect prefers-reduced-motion.

   ============================================================================ */

/* ─── Tokens ────────────────────────────────────────────────────────────── */
:root {
  /* Colors — calibrated to the lighting metaphor */
  --bg:           #0A0A0B;          /* deep charcoal base */
  --bg-elev:     #121215;          /* elevated surface */
  --bg-elev-2:   #1A1A1F;          /* card / input */
  --line:        #27272A;          /* subtle borders */
  --line-strong: #3F3F46;
  --text:        #F4F4F5;          /* off-white body */
  --text-muted:  #A1A1AA;
  --text-faint:  #71717A;

  /* Accents */
  --warm:        #F4B860;          /* 2700K amber */
  --warm-dim:    #8B5A1B;
  --warm-glow:   rgba(244, 184, 96, 0.18);
  --cool:        #67E8F9;          /* 6500K cool daylight */
  --cool-dim:    #155E75;
  --cool-glow:   rgba(103, 232, 249, 0.10);

  /* Typography */
  --display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --body:    'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container: 1180px;
  --container-narrow: 720px;
  --radius: 6px;
  --radius-lg: 10px;

  /* Easing & timing */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset / base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

::selection { background: var(--warm); color: var(--bg); }

/* ─── Ambient background (lives behind everything) ──────────────────────── */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient__warm {
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 900px;
  background: radial-gradient(ellipse at center,
    var(--warm-glow) 0%,
    rgba(244, 184, 96, 0.06) 30%,
    transparent 70%);
  filter: blur(40px);
  animation: ambient-pulse 14s var(--ease) infinite;
}
.ambient__cool {
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle at center,
    var(--cool-glow) 0%,
    rgba(103, 232, 249, 0.04) 40%,
    transparent 70%);
  filter: blur(60px);
  animation: ambient-pulse 18s var(--ease) infinite reverse;
}
.ambient__grain {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.96 0 0 0 0 0.96 0 0 0 0 0.96 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.03;
  mix-blend-mode: overlay;
}
@keyframes ambient-pulse {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;    transform: translateX(-50%) scale(1.05); }
}
.ambient__cool { animation-name: ambient-pulse-cool; }
@keyframes ambient-pulse-cool {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.1); }
}

/* Make sure all real content sits above ambient */
.nav, main, .footer { position: relative; z-index: 1; }

/* ─── Container ─────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-8);
}
.container--narrow { max-width: var(--container-narrow); }

@media (max-width: 720px) {
  .container { padding: 0 var(--space-6); }
}

/* ─── Markers (technical labels) ────────────────────────────────────────── */
.marker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--warm);
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(244, 184, 96, 0.04);
}

/* ─── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-8);
  max-width: var(--container);
  margin: 0 auto;
  gap: var(--space-8);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--text);
}
.nav__mark { color: var(--warm); }
.nav__wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  font-variation-settings: 'opsz' 14;
}
.nav__wordmark em {
  font-style: italic;
  color: var(--text-muted);
  font-weight: 300;
  margin-left: 0.15em;
}

.nav__links {
  display: flex;
  gap: var(--space-8);
  font-size: 0.92rem;
}
.nav__links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { white-space: nowrap; }

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav { padding: var(--space-4) var(--space-6); }
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: var(--warm);
  color: var(--bg);
  border-color: var(--warm);
}
.btn--primary:hover {
  background: #FACA85;
  border-color: #FACA85;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px -4px var(--warm-glow), 0 0 0 1px var(--warm);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--warm);
  color: var(--warm);
}
.btn--text {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  padding: 0.85rem 0.5rem;
}
.btn--text:hover {
  color: var(--warm);
}
.btn--full { width: 100%; padding: 1rem 1.4rem; font-size: 1rem; }

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  padding: var(--space-16) 0 var(--space-24);
}
.hero__marker { margin-bottom: var(--space-8); }

.hero__headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-8);
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  max-width: 12ch;
}
.hero__headline span { display: block; }
.hero__accent {
  font-style: italic;
  color: var(--warm);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 0 var(--space-12);
  font-weight: 300;
}
.hero__sub-emph {
  color: var(--text);
  font-weight: 500;
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

.hero__readout {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: var(--space-6);
}
.readout__cell {
  display: flex;
  flex-direction: column;
  padding: 0 var(--space-8) 0 0;
  margin-right: var(--space-8);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.readout__cell:last-child { border-right: none; margin-right: 0; }
.readout__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.readout__value {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--text);
}

@media (max-width: 720px) {
  .readout__cell {
    border-right: none;
    border-bottom: 1px solid var(--line);
    margin-right: 0;
    padding: var(--space-3) 0;
    width: 100%;
  }
  .readout__cell:first-child { padding-top: 0; }
}

/* ─── Reveal animation ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.9s var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered reveals */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .scroll-reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .ambient__warm, .ambient__cool { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ─── Section base ──────────────────────────────────────────────────────── */
.section {
  padding: var(--space-24) 0;
  position: relative;
}
.section--accent {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(244, 184, 96, 0.025) 50%,
    transparent 100%);
}
.section--quiet {
  padding: var(--space-16) 0;
  text-align: center;
}
.section--cta {
  padding: var(--space-24) 0 var(--space-32);
}

.section__head {
  margin-bottom: var(--space-16);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.section__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  font-variation-settings: 'opsz' 96, 'SOFT' 50;
  max-width: 18ch;
}
.section__title em {
  font-style: italic;
  color: var(--warm);
  font-variation-settings: 'opsz' 96, 'SOFT' 100;
}
.section__title--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 55ch;
  margin: 0;
  font-weight: 300;
}

/* ─── Problem section ───────────────────────────────────────────────────── */
.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.problem__copy .lede {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.6;
  margin-top: 0;
}
.problem__copy p {
  color: var(--text-muted);
}
.problem__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border-left: 1px solid var(--line);
  padding-left: var(--space-8);
}
.problem__list li {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--text-muted);
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
  padding: var(--space-3) 0;
  border-bottom: 1px dashed var(--line);
}
.problem__list li:last-child { border-bottom: none; }
.problem__num {
  font-family: var(--mono);
  color: var(--warm);
  font-size: 0.85rem;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .problem { grid-template-columns: 1fr; gap: var(--space-8); }
  .problem__list { padding-left: var(--space-6); }
}

/* ─── Steps (How it works) ──────────────────────────────────────────────── */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-2) var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step__num {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--warm);
  letter-spacing: 0.05em;
  padding-top: 0.35rem;
}
.step__title,
.step p,
.step__file {
  grid-column: 2;
}
.step__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
  font-variation-settings: 'opsz' 48;
}
.step p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-4);
  max-width: 60ch;
}
.step__file {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--cool);
  background: rgba(103, 232, 249, 0.06);
  padding: 0.4rem 0.7rem;
  border-radius: 3px;
  border: 1px solid rgba(103, 232, 249, 0.15);
  display: inline-block;
}

@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; gap: var(--space-3); }
  .step__title { font-size: 1.5rem; }
}

/* ─── Features grid ─────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  background: var(--bg);
  padding: var(--space-8);
  transition: background 0.3s var(--ease);
  position: relative;
}
.feature:hover { background: var(--bg-elev); }
.feature:hover .feature__icon {
  color: var(--warm);
  border-color: var(--warm);
}
.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  transition: all 0.3s var(--ease);
}
.feature h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
  font-variation-settings: 'opsz' 36;
}
.feature p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── Quiet section ─────────────────────────────────────────────────────── */
.quiet__copy {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 60ch;
  margin: var(--space-8) auto 0;
  text-align: center;
}

/* ─── CTA / Waitlist ────────────────────────────────────────────────────── */
.section--cta .marker {
  display: block;
  text-align: center;
  margin-bottom: var(--space-6);
}
.cta__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 50ch;
  margin: var(--space-6) auto var(--space-12);
  text-align: center;
}

.waitlist {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.waitlist__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.waitlist__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.waitlist__label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.waitlist__field input,
.waitlist__field select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease);
}
.waitlist__field input:focus,
.waitlist__field select:focus {
  outline: none;
  border-color: var(--warm);
  box-shadow: 0 0 0 3px rgba(244, 184, 96, 0.12);
}
.waitlist__field input::placeholder { color: var(--text-faint); }
.waitlist__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%23A1A1AA' fill='none' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.waitlist__fineprint {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  text-align: center;
  margin: 0;
}

.waitlist__success,
.waitlist__error {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-12);
  text-align: center;
}
.waitlist__success .marker { margin-bottom: var(--space-4); border-color: var(--warm); }
.waitlist__success h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
  font-variation-settings: 'opsz' 48;
}
.waitlist__success em { font-style: italic; color: var(--warm); }
.waitlist__success p {
  color: var(--text-muted);
  max-width: 45ch;
  margin: 0 auto;
}
.waitlist__error p {
  color: #fca5a5;
  margin: 0;
}

@media (max-width: 720px) {
  .waitlist__row { grid-template-columns: 1fr; }
  .waitlist { padding: var(--space-6); }
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: var(--space-12) 0;
  margin-top: var(--space-16);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.footer__tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  margin: 0.4rem 0 0;
  letter-spacing: 0.05em;
}
.footer__meta {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.footer__meta a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer__meta a:hover { color: var(--warm); }
.footer__sep { opacity: 0.5; }

/* ─── Pricing ───────────────────────────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.tier {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: relative;
  transition: border-color 0.3s var(--ease);
}
.tier:hover { border-color: var(--line-strong); }
.tier--featured {
  border-color: var(--warm);
  background: linear-gradient(180deg,
    rgba(244, 184, 96, 0.04) 0%,
    var(--bg-elev) 60%);
  box-shadow: 0 0 0 1px var(--warm), 0 24px 60px -20px var(--warm-glow);
}
.tier--featured:hover { border-color: var(--warm); }

.tier__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--warm);
  padding: 0.35rem 0.8rem;
  border-radius: 3px;
  white-space: nowrap;
}

.tier__head { display: flex; flex-direction: column; gap: var(--space-2); }
.tier__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  margin: 0;
  font-variation-settings: 'opsz' 36;
}
.tier__tag {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin: 0;
}

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tier__currency {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--text-muted);
  font-variation-settings: 'opsz' 36;
}
.tier__amount {
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
}
.tier__amount--custom {
  font-size: 2.2rem;
  font-style: italic;
  color: var(--warm);
}
.tier__period {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.15rem;
}

.tier__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
}
.tier__features li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: var(--space-6);
  position: relative;
  line-height: 1.5;
}
.tier__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 1px;
  background: var(--warm);
}
.tier__features strong {
  color: var(--text);
  font-weight: 500;
}

.pricing__note {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  text-align: center;
  margin: var(--space-12) auto 0;
  max-width: 60ch;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; gap: var(--space-6); }
  .tier--featured { order: -1; }
}

/* ─── Contact ───────────────────────────────────────────────────────────── */
.section--contact {
  padding: var(--space-16) 0 var(--space-24);
  border-top: 1px solid var(--line);
}
.contact { display: flex; flex-direction: column; gap: var(--space-12); }
.contact__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact__head .marker { align-self: center; }
.contact__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 50ch;
  margin: var(--space-2) auto 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.contact__card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: all 0.3s var(--ease-out);
}
.contact__card:hover {
  border-color: var(--warm);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -12px var(--warm-glow);
}
.contact__card--cta {
  background: linear-gradient(180deg,
    rgba(244, 184, 96, 0.05) 0%,
    var(--bg-elev) 100%);
  border-color: rgba(244, 184, 96, 0.25);
}
.contact__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm);
}
.contact__value {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--text);
  font-variation-settings: 'opsz' 36;
}
.contact__hint {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__card { padding: var(--space-6); }
}

/* ─── Testimonials ──────────────────────────────────────────────────────────
   Reuses .feature card chrome; quote uses signature italic-warm Fraunces.   */
.testimonial { display: flex; flex-direction: column; gap: var(--space-4); }
.testimonial__quote {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--warm);
  font-variation-settings: 'opsz' 36, 'SOFT' 30;
  letter-spacing: -0.005em;
}
.testimonial__cite {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-style: normal;
  margin-top: auto;
}

/* ─── FAQ ───────────────────────────────────────────────────────────────────
   Native <details>/<summary>; CSS-only chevron rotates on open.            */
.faq { display: flex; flex-direction: column; gap: var(--space-3); }
.faq__item {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-elev);
  transition: border-color 220ms ease, background-color 220ms ease;
  overflow: hidden;
}
.faq__item[open] { border-color: var(--warm); }
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 200ms ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--warm); }
.faq__q::after {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 220ms ease, border-color 220ms ease;
  opacity: 0.7;
}
.faq__item[open] .faq__q::after {
  transform: rotate(225deg) translate(-2px, -2px);
  opacity: 1;
}
.faq__a {
  margin: 0;
  padding: 0 var(--space-6) var(--space-5);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── About ─────────────────────────────────────────────────────────────────
   Two-column: copy on left, stat strip grid on right.                      */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: start;
}
.about__copy { display: flex; flex-direction: column; gap: var(--space-5); }
.about__copy .marker { margin-bottom: var(--space-3); }
.about__copy .section__title { margin: 0; }
.about__copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 56ch;
}
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat {
  padding: var(--space-6);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: var(--bg-elev);
}
.stat__value {
  font-family: var(--mono);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--warm);
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 36;
}
.stat__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Static / legal pages — privacy.html, terms.html */
.legal { padding: var(--space-12) 0 var(--space-24); }
.legal h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-6);
  color: var(--text);
}
.legal h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  margin: var(--space-10) 0 var(--space-3);
  color: var(--text);
}
.legal p, .legal li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.legal p { margin: 0 0 var(--space-4); }
.legal ul { margin: 0 0 var(--space-4); padding-left: var(--space-6); }
.legal__updated {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: var(--space-8); }
}
