/* ============================================================
   Quickie Card — landing page styles
   Theme palette mirrors the existing site:
     --bg     #F5F1E8 cream background
     --fg     #14202B dark charcoal text
     --primary #FFD166 brand yellow
     --secondary #1F3A5F deep blue
     --muted-fg gray for sub-text
   To change a theme color, edit the value in :root below
   ============================================================ */

:root {
  --bg: #F5F1E8;
  --fg: #14202B;
  --primary: #FFD166;
  --primary-fg: #14202B;
  --secondary: #1F3A5F;
  --secondary-fg: #FFFFFF;
  --card: #FFFFFF;
  --muted: #E8E4DC;
  --muted-fg: #5A6877;
  --border: #E0DCD3;
  --orange: #FF6A3D; /* Used in the Marcus Holt sample card */
  --radius: 1rem;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.centered { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover, .btn:focus { filter: brightness(1.05); outline: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.95rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); }
.btn-glow { box-shadow: 0 0 30px rgba(255, 209, 102, 0.25); }
.btn-glow:hover { box-shadow: 0 0 40px rgba(255, 209, 102, 0.4); }
.arrow { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.accent { color: var(--primary); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; }
.brand-mark { height: 32px; width: auto; }
.site-nav {
  display: none;
  gap: 2rem;
  font-weight: 600;
  color: var(--fg);
}
.site-nav a {
  position: relative;
  padding: 0.25rem 0;
}
.site-nav a:hover { color: var(--primary-fg); }
.site-nav a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--primary);
}
.header-cta { display: none; }
@media (min-width: 768px) {
  .site-nav { display: flex; }
  .header-cta { display: inline-flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 209, 102, 0.25) 0%, rgba(255, 209, 102, 0) 70%);
  opacity: 0.5;
  pointer-events: none;
}
.hero-bg-gradient-flipped { transform: rotate(180deg); }
.hero-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  padding-top: 3rem; padding-bottom: 3rem;
}
.hero-logo { height: 5rem; margin: 0 auto 2.5rem; }
@media (min-width: 768px) { .hero-logo { height: 8rem; } }
.hero-headline {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
@media (min-width: 768px) { .hero-headline { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-headline { font-size: 6rem; } }
.hero-sub {
  font-size: 1.25rem;
  color: var(--muted-fg);
  margin: 0 auto 3rem;
  max-width: 36rem;
  font-weight: 500;
  line-height: 1.5;
}
@media (min-width: 768px) { .hero-sub { font-size: 1.5rem; } }
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }

/* ===== SAMPLE CARD SECTION (phone mockup) ===== */
.sample-card-section {
  position: relative;
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
@media (min-width: 768px) { .sample-card-section { padding: 8rem 0; } }
.sample-card-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: rgba(255, 209, 102, 0.08);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.section-heading-block { text-align: center; margin-bottom: 4rem; }
@media (min-width: 768px) { .section-heading-block { margin-bottom: 6rem; } }
.section-heading {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .section-heading { font-size: 3.75rem; } }
.section-sub {
  font-size: 1.125rem;
  color: var(--muted-fg);
  max-width: 36rem;
  margin: 0 auto;
  font-weight: 500;
}
@media (min-width: 768px) { .section-sub { font-size: 1.25rem; } }
.phone-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .phone-wrap { margin-bottom: 6rem; } }
.phone {
  width: 100%;
  max-width: 380px;
  height: 780px;
  background: #000;
  border-radius: 3rem;
  border: 8px solid #2a2a2a;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
.phone-notch {
  position: absolute; top: 0; left: 0; right: 0;
  height: 1.75rem;
  background: #000;
  z-index: 20;
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  margin: 0 6rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 0.5rem;
}
.phone-notch-bar {
  width: 3rem; height: 0.375rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
}
.phone-screen {
  height: 100%;
  background: #161A22;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 2rem;
}
.phone-screen::-webkit-scrollbar { display: none; }
.sample-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  font-family: 'Barlow', sans-serif;
}
.sample-card-pfp-wrap {
  width: 9rem; height: 9rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #3B455A;
  margin-bottom: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
.sample-card-pfp { width: 100%; height: 100%; object-fit: cover; }
.sample-card-name {
  font-size: 1.875rem;
  font-weight: 800;
  color: #F7F7F5;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.sample-card-role {
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.sample-card-tagline {
  font-size: 1rem;
  color: #C8CED8;
  line-height: 1.5;
  max-width: 280px;
  margin-bottom: 2rem;
}
.sample-card-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sample-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Barlow', sans-serif;
}
.sample-btn-primary { background: var(--orange); color: #fff; }
.sample-btn-secondary { background: #2B3445; color: #F7F7F5; }
.sample-btn-outline { background: transparent; color: #C8CED8; border: 1.5px solid #3B455A; }
.sample-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0;
  text-decoration: none;
}
.sample-card-footer-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}
.sample-card-footer span {
  font-size: 0.75rem;
  color: #C8CED8;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ===== VALUE SECTION ===== */
.value-section {
  position: relative;
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
@media (min-width: 768px) { .value-section { padding: 8rem 0; } }
.value-bg-gradient {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 33%;
  background: linear-gradient(90deg, rgba(255, 209, 102, 0.12) 0%, rgba(255, 209, 102, 0) 100%);
  pointer-events: none;
}
.value-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.value-eyebrow {
  font-size: 1rem;
  color: var(--primary-fg);
  background: var(--primary);
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 99px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .value-eyebrow { font-size: 1.125rem; margin-bottom: 4rem; } }
.value-words {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 768px) { .value-words { gap: 5rem; } }
.value-word {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}
@media (min-width: 768px) { .value-word { font-size: 4.5rem; } }
.value-word-final {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 0 30px rgba(255, 106, 61, 0.3);
}
@media (min-width: 768px) { .value-word-final { font-size: 5.5rem; } }

/* ===== EXPLANATION SECTION ===== */
.explanation-section {
  padding: 6rem 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .explanation-section { padding: 8rem 0; } }
.explanation-inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}
.explanation-line {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--muted-fg);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .explanation-line { font-size: 3rem; } }
.explanation-line.strong { color: var(--fg); }
.explanation-flow {
  padding: 3rem 0;
}
.explanation-flow .explanation-line { margin-bottom: 2rem; }

/* ===== HOW SECTION ===== */
.how-section {
  padding: 6rem 0;
}
@media (min-width: 768px) { .how-section { padding: 8rem 0; } }
.how-section .container { max-width: 56rem; }
.how-step {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .how-step { flex-direction: row; gap: 4rem; padding: 4rem 0; } }
.how-step-last { border-bottom: 1px solid var(--border); }
.how-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  transition: transform 0.3s ease;
}
.how-step:hover .how-num { transform: scale(1.1); }
@media (min-width: 768px) { .how-num { font-size: 3.75rem; } }
.how-text { padding-top: 0.5rem; }
.how-text h3 {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .how-text h3 { font-size: 2.25rem; } }
.how-text p {
  font-size: 1.125rem;
  color: var(--muted-fg);
  line-height: 1.6;
}
@media (min-width: 768px) { .how-text p { font-size: 1.25rem; } }

/* ===== RIBBONS SECTION ===== */
.ribbons-section {
  padding: 6rem 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ribbons-section .section-heading-block { margin-bottom: 3rem; }
.ribbons-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ribbon { display: flex; flex-direction: column; gap: 0.5rem; }
.ribbon-title {
  width: fit-content;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 0.25rem;
  margin-bottom: 0.5rem;
}
.ribbon-row { overflow: hidden; padding: 0.5rem 0; }
.ribbon-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
}
.ribbon-track-forward { animation: scroll-forward 40s linear infinite; }
.ribbon-track-reverse { animation: scroll-reverse 45s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-item {
  display: inline-block;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(20, 32, 43, 0.85);
}
.ribbon-sep {
  color: var(--primary);
  opacity: 0.7;
  font-size: 1.25rem;
  font-weight: 300;
}
@keyframes scroll-forward {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scroll-reverse {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ===== FINAL CTA ===== */
.final-cta-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}
.final-cta-headline {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
@media (min-width: 768px) { .final-cta-headline { font-size: 3.75rem; } }
.final-cta-sub {
  font-size: 1.25rem;
  color: var(--muted-fg);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
  overflow: hidden;
}
.footer-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 209, 102, 0.6) 50%, transparent 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 1rem 0 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; } }
.footer-about p {
  color: var(--muted-fg);
  font-weight: 500;
  line-height: 1.6;
  padding-right: 1rem;
  margin-top: 1.5rem;
}
.footer-brand img { height: 3rem; width: auto; }
.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.footer-col a {
  display: block;
  color: var(--muted-fg);
  font-weight: 500;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--fg); }
.footer-social { display: flex; gap: 1rem; }
.social-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}
.social-icon:hover {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}
.footer-bottom {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.footer-bottom-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 209, 102, 0.4) 50%, transparent 100%);
}
.footer-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom-row { flex-direction: row; justify-content: space-between; }
  .footer-bottom-left { display: flex; align-items: center; gap: 1rem; }
}
.footer-bottom p { font-size: 0.875rem; color: var(--muted-fg); font-weight: 500; }
.footer-bottom-links { display: inline-flex; gap: 0.5rem; align-items: center; font-size: 0.8125rem; color: var(--muted-fg); }
.footer-bottom-links a { color: var(--muted-fg); }
.footer-bottom-links a:hover { text-decoration: underline; }


/* Initials-style profile circle for the homepage sample card (no photo dependency) */
.sample-card-pfp-initials {
  background: #2B3445;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #F7F7F5;
  letter-spacing: -0.02em;
}

/* ============================================================
   STYLES PAGE (/styles) — 5 themed sample cards
   ============================================================ */

.styles-main { padding-top: 4rem; padding-bottom: 6rem; min-height: 60vh; }

.styles-intro-section { padding: 0 0 3rem; }
.styles-intro { text-align: center; }
.styles-h1 {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-wrap: balance;
}
@media (min-width: 768px) { .styles-h1 { font-size: 3.75rem; } }
.styles-sub {
  font-size: 1.125rem;
  color: var(--muted-fg);
  max-width: 38rem;
  margin: 0 auto;
  font-weight: 500;
  line-height: 1.5;
}

.styles-grid-section { padding-top: 1rem; }
.styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.style-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-family: 'Barlow', sans-serif;
}
.style-tile {
  display: flex;
  flex-direction: column;
  background: #0B0D12;
  border: 1px solid #2B3445;
  border-radius: 14px;
  overflow: hidden;
}
.style-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.style-card {
  position: relative;
  border-radius: 16px;
  padding: 32px 24px 24px;
  max-width: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.style-card.style-card-gloss { overflow: hidden; }
.style-card.style-card-gloss::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 40%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  border-radius: 16px 16px 0 0;
}
.style-card.style-card-gloss > * { position: relative; z-index: 1; }
.style-pfp {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900;
  overflow: hidden;
}
.style-name {
  font-size: 22px; font-weight: 900;
  text-align: center;
  margin-bottom: 4px;
}
.style-role {
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}
.style-tagline {
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 260px;
}
.style-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  margin-bottom: 10px;
  border: none;
  box-sizing: border-box;
}
.style-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.style-footer img { width: 20px; height: 20px; border-radius: 4px; }
.style-footer span {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.style-meta {
  padding: 14px 18px 16px;
  border-top: 1px solid #2B3445;
  background: #161A22;
}
.style-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFD166;
  margin-bottom: 2px;
}
.style-sub {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8A92A3;
}
.style-cta {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-fg);
  font: 700 16px/1.2 'Barlow', sans-serif;
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.style-cta:hover, .style-cta:focus {
  filter: brightness(1.05);
  outline: none;
}

/* MOBILE CAROUSEL — full-width cards, swipe to advance, no peek */
@media (max-width: 767px) {
  .styles-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 12px;
    padding: 0;
    max-width: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -1rem; /* break out of container padding */
  }
  .styles-grid::-webkit-scrollbar { display: none; }
  .style-wrap {
    flex: 0 0 calc(100% - 32px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .style-wrap:first-child { margin-left: 16px; }
  .style-wrap:last-child { margin-right: 16px; }
}

/* ============================================================
   PRICING PAGE (/pricing) — two-tier comparison
   ============================================================ */

.pricing-main { padding-top: 4rem; padding-bottom: 6rem; }

.pricing-intro-section { padding: 0 0 3rem; }
.pricing-intro { text-align: center; }
.pricing-h1 {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-wrap: balance;
}
@media (min-width: 768px) { .pricing-h1 { font-size: 3.75rem; } }
.pricing-sub {
  font-size: 1.125rem;
  color: var(--muted-fg);
  max-width: 36rem;
  margin: 0 auto;
  font-weight: 500;
  line-height: 1.5;
}

.pricing-tiers-section { padding-top: 1rem; }
.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
  align-items: stretch;
}
@media (min-width: 768px) {
  .pricing-tiers { grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
}

.pricing-tier {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-tier:hover {
  box-shadow: 0 8px 30px rgba(20, 32, 43, 0.08);
}

.pricing-tier-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pricing-tier-name {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.pricing-tier-tagline {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.pricing-tier-tagline-accent { color: var(--primary-fg); position: relative; }
.pricing-tier-blurb {
  color: var(--muted-fg);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.pricing-tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.pricing-amount {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}
.pricing-period {
  font-size: 1.125rem;
  color: var(--muted-fg);
  font-weight: 600;
}
.pricing-tier-then {
  font-size: 1.125rem;
  color: var(--muted-fg);
  font-weight: 600;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.pricing-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--secondary-fg);
  font-size: 0.875rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-tier-promise {
  background: rgba(31, 58, 95, 0.05);
  border: 1px solid rgba(31, 58, 95, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 2rem;
}

.pricing-cta {
  width: 100%;
  padding: 1.25rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
}
.btn-outline-secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-outline-secondary:hover {
  background: var(--secondary);
  color: var(--secondary-fg);
}

.pricing-tier-shipping {
  font-size: 0.875rem;
  color: var(--muted-fg);
  font-weight: 500;
  text-align: center;
  margin-top: 1rem;
}

/* Featured tier (Tap Kit) — visual emphasis */
.pricing-tier-featured {
  border: 2px solid var(--primary);
  box-shadow: 0 12px 40px rgba(255, 209, 102, 0.15);
}
@media (min-width: 768px) {
  .pricing-tier-featured { transform: scale(1.04); }
  .pricing-tier-featured:hover { transform: scale(1.04); }
}
.pricing-tier-banner {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.75rem 1.5rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pricing-tier-featured .pricing-check {
  background: var(--primary);
  color: var(--primary-fg);
}

.pricing-fineprint {
  text-align: center;
  margin-top: 3rem;
  color: var(--muted-fg);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* ============================================================
   MOBILE MENU — hamburger toggle, slide-down nav panel
   ============================================================ */

/* Hamburger toggle button — hidden on desktop, shown on mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
  border-radius: 1px;
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767px) {
  /* Show the hamburger */
  .mobile-menu-toggle { display: flex; }

  /* Re-style the nav as a dropdown panel */
  .site-nav {
    display: none; /* hidden until .open class is added */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(245, 241, 232, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 8px 16px rgba(20, 32, 43, 0.06);
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 1rem 0.5rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
    font-weight: 600;
  }
  .site-nav a::after { display: none; } /* hide the desktop hover-underline pseudo */
  .site-nav .nav-cta {
    margin-top: 0.75rem;
    padding: 1rem;
    border-bottom: none;
    text-align: center;
  }
  .site-nav a:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   PRICING — 3-TIER LAYOUT + TAP KIT PRO STYLING
   ============================================================ */

/* Override the 2-column from the original pricing CSS */
@media (min-width: 768px) {
  .pricing-tiers {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    align-items: stretch;
  }
  /* Featured (Tap Kit, yellow) gets the visual scale-up; Pro stays normal scale to balance */
  .pricing-tier-tapkit-pro { transform: none; }
}

/* Tap Kit Pro visual treatment — deep blue accent, distinctly different from Tap Kit's yellow */
.pricing-tier-tapkit-pro {
  border: 2px solid var(--secondary);
  box-shadow: 0 12px 40px rgba(31, 58, 95, 0.12);
}
.pricing-tier-tapkit-pro:hover {
  box-shadow: 0 16px 50px rgba(31, 58, 95, 0.2);
}
.pricing-tier-banner-pro {
  background: var(--secondary);
  color: var(--secondary-fg);
}
.pricing-tier-tagline-secondary {
  color: var(--secondary);
  font-weight: 700;
}
/* Pro check marks use secondary color */
.pricing-check-pro {
  background: var(--secondary);
  color: var(--secondary-fg);
}

/* Secondary button variant for Tap Kit Pro CTA */
.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-fg);
  border: 2px solid var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  filter: brightness(1.1);
  outline: none;
}

/* ============================================================
   INTAKE FORM (/intake) — single card, generous space
   Reference vibe: original Step 1 of 2 (one rounded white card,
   stacked fields, lots of breathing room).
   ============================================================ */

.intake-main {
  padding-top: 3rem;
  padding-bottom: 6rem;
}

.intake-intro-section { padding: 0 0 2.5rem; }
.intake-intro { text-align: center; }
.intake-h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-wrap: balance;
}
@media (min-width: 768px) { .intake-h1 { font-size: 3.25rem; } }
.intake-sub {
  font-size: 1.0625rem;
  color: var(--muted-fg);
  max-width: 32rem;
  margin: 0 auto;
  font-weight: 500;
  line-height: 1.55;
}

/* SINGLE CARD wrapping the whole form — like the original Step 1 of 2 */
.intake-form-container { max-width: 620px; margin: 0 auto; }
.intake-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.25rem 1.5rem;
  box-shadow: 0 4px 24px rgba(20, 32, 43, 0.05);
}
@media (min-width: 600px) { .intake-form { padding: 3rem 2.5rem; } }
@media (min-width: 768px) { .intake-form { padding: 4rem 3.5rem; } }

/* Sections — no internal cards, just generous vertical breathing */
.form-section {
  margin-bottom: 3.5rem;
}
.form-section:last-of-type { margin-bottom: 0; }

.form-section-title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}
.form-section-description {
  color: var(--muted-fg);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
}

/* Fields */
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.75rem;
}
.form-field:last-child { margin-bottom: 0; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.625rem;
  color: var(--fg);
}

/* Inputs — taller, calmer, more breathing */
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="url"],
.form-field textarea {
  font-family: 'Barlow', sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  padding: 1.125rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 1.25rem;
  background: #FDFBF6;
  color: var(--fg);
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.2);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #B0AEA5;
  font-weight: 400;
}

/* Helper text — quiet, separated from input */
.form-hint {
  display: block;
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
  font-weight: 500;
  line-height: 1.55;
}
.form-hint code {
  background: var(--muted);
  padding: 0.15rem 0.45rem;
  border-radius: 0.3rem;
  font-family: 'Courier New', monospace;
  font-size: 0.825rem;
  color: var(--fg);
  font-weight: 600;
}
.form-field label .form-hint {
  display: inline;
  margin-left: 0.4rem;
  font-weight: 500;
}

/* Photo upload — calm drop zone, no boxes inside boxes */
.photo-upload { position: relative; }
.photo-upload input[type="file"] {
  position: absolute;
  width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none;
}
.photo-upload-label {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  padding: 1.5rem 1.5rem;
  border: 2px dashed var(--border);
  border-radius: 1.25rem;
  background: #FDFBF6;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.photo-upload-label:hover {
  border-color: var(--primary);
  background: rgba(255, 209, 102, 0.08);
}
.photo-upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.photo-upload-text { display: flex; flex-direction: column; gap: 0.25rem; }
.photo-upload-text strong { font-size: 1rem; font-weight: 700; }
.photo-preview {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-start;
}
.photo-preview img {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  box-shadow: 0 4px 12px rgba(20, 32, 43, 0.08);
}

/* The 3 buttons — no colored block backgrounds, just headings + indent */
.form-button-block {
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 2.5rem;
}
.form-button-block:last-child { margin-bottom: 0; }
.form-button-title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-fg);
  background: var(--primary);
  display: inline-block;
  padding: 0.4rem 0.875rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}

/* Style picker — bigger swatches, fewer-per-row, breathing room */
.style-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}
@media (min-width: 480px) {
  .style-picker { grid-template-columns: 1fr 1fr; }
}
.style-pick { display: block; position: relative; cursor: pointer; }
.style-pick input[type="radio"] {
  position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.style-pick-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 130px;
  padding: 1.125rem 1rem;
  border-radius: 1.25rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
  overflow: hidden;
}
.style-pick-card::after {
  content: '✓';
  position: absolute;
  top: 0.625rem;
  right: 0.75rem;
  width: 1.625rem;
  height: 1.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.style-pick input[type="radio"]:checked + .style-pick-card {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.3), 0 8px 20px rgba(20, 32, 43, 0.12);
  transform: translateY(-2px);
}
.style-pick input[type="radio"]:checked + .style-pick-card::after {
  opacity: 1;
  transform: scale(1);
}
.style-pick:hover .style-pick-card { transform: translateY(-2px); }

.style-pick-name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.style-pick-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 0.2rem;
}
.style-pick-serio       { background: #F5F1E8; color: #1F3A5F; border: 1.5px solid #C8D3E1; }
.style-pick-serio .style-pick-name { color: #111827; }
.style-pick-natural     { background: #F6F4EF; color: #4C7A67; border: 1.5px solid #C8D8D0; }
.style-pick-natural .style-pick-name { color: #17212B; }
.style-pick-viva        { background: linear-gradient(140deg, #161A22 0%, #0B0D12 100%); color: #FFD166; }
.style-pick-viva .style-pick-name { color: #F7F7F5; }
.style-pick-underground { background: #0F0F0F; color: #FFFFFF; border: 1.5px solid #1A1A1A; }
.style-pick-volcan      { background: linear-gradient(145deg, #1A1A1A 0%, #0A0A0A 40%, #111111 60%, #0D0D0D 100%); color: #FFFFFF; box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset; }

/* Submit — large, full-width, breathing room above */
.form-submit-section {
  margin-top: 3rem;
  text-align: center;
}
.form-submit {
  width: 100%;
  padding: 1.375rem 2rem;
  font-size: 1.125rem;
  border-radius: 1.25rem;
  margin-bottom: 1rem;
}
.form-fineprint {
  color: var(--muted-fg);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.875rem;
}


/* Each swatch shows a small "primary button" pill at the top — gives each style
   its own clear visual signal at swatch size, especially the three dark variants. */
.style-pick-card::before {
  content: '';
  position: absolute;
  top: 1.125rem;
  left: 1rem;
  width: 38%;
  height: 8px;
  border-radius: 99px;
}
.style-pick-serio::before       { background: #1F3A5F; }
.style-pick-natural::before     { background: #4C7A67; }
.style-pick-viva::before        { background: #FF6A3D; }
.style-pick-underground::before { background: #888888; }
.style-pick-volcan::before      { background: #FFFFFF; }

/* ============================================================
   LEGAL PAGES (/terms, /privacy) — long-form readable text
   ============================================================ */

.legal-main {
  padding-top: 4rem;
  padding-bottom: 6rem;
  display: flex;
  justify-content: center;
}
.legal-container {
  width: 100%;
  max-width: 720px;
  padding: 0 1.5rem;
  font-family: 'Barlow', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg);
}
.legal-h1 {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
@media (min-width: 768px) { .legal-h1 { font-size: 2.75rem; } }
.legal-meta {
  color: var(--muted-fg);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.legal-rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.legal-container h2 {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.legal-container p {
  margin-bottom: 1rem;
}
.legal-container ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.legal-container ul li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}
.legal-container a {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 600;
}
.legal-container a:hover { color: var(--fg); }
.legal-container strong { font-weight: 700; }

/* "More form factors coming soon" hint at the bottom of /pricing */
.pricing-soon {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 209, 102, 0.12);
  border: 1px dashed rgba(255, 209, 102, 0.5);
  border-radius: 0.75rem;
  color: var(--muted-fg);
  font-weight: 500;
  font-size: 0.95rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   THANKS PAGE (/thanks) — placeholder success state
   ============================================================ */
.thanks-main {
  padding-top: 5rem;
  padding-bottom: 6rem;
  min-height: 60vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.thanks-inner {
  max-width: 560px;
  text-align: center;
}
.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
}
.thanks-h1 {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-wrap: balance;
}
@media (min-width: 768px) { .thanks-h1 { font-size: 2.75rem; } }
.thanks-sub {
  font-size: 1.0625rem;
  color: var(--muted-fg);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}
.thanks-next {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.thanks-next h2 {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 0.875rem;
}
.thanks-next p {
  color: var(--fg);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.thanks-next p:last-child { margin-bottom: 0; }
.thanks-meta { color: var(--muted-fg); font-size: 0.9rem; }
.thanks-meta code {
  background: var(--muted);
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}
.thanks-actions {
  display: flex;
  justify-content: center;
}

/* ============================================================
   CHECKOUT PAGE (/checkout) — order summary + tier picker + payment
   ============================================================ */

.checkout-main { padding-top: 3rem; padding-bottom: 6rem; }
.checkout-container { max-width: 1100px; margin: 0 auto; }
.checkout-intro { text-align: center; margin-bottom: 3rem; }
.checkout-h1 {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}
@media (min-width: 768px) { .checkout-h1 { font-size: 3rem; } }
.checkout-sub {
  font-size: 1.0625rem;
  color: var(--muted-fg);
  font-weight: 500;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .checkout-grid { grid-template-columns: 360px 1fr; gap: 3rem; align-items: start; }
}
.checkout-section-title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 1.25rem;
}

.checkout-summary {}
.summary-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
}
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.625rem 0; border-bottom: 1px solid var(--border); }
.summary-row:last-child { border-bottom: none; }
.summary-label { font-size: 0.875rem; font-weight: 600; color: var(--muted-fg); flex-shrink: 0; }
.summary-val { font-size: 0.95rem; color: var(--fg); text-align: right; word-break: break-all; }
.summary-val a { color: var(--secondary); }

.checkout-payment {}
.tier-options { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2.25rem; }
.tier-option {
  display: block;
  cursor: pointer;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.25rem 1.25rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tier-option:hover { border-color: rgba(255, 209, 102, 0.5); }
.tier-option-selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.18);
}
.tier-option input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.tier-option-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.375rem; }
.tier-option-name { font-size: 1.0625rem; font-weight: 800; color: var(--fg); }
.tier-option-price { font-size: 0.95rem; font-weight: 700; color: var(--secondary); }
.tier-option-tagline { font-size: 0.875rem; color: var(--muted-fg); font-weight: 500; }

.payment-field { margin-bottom: 2rem; }
.stripe-card-mount {
  background: #FDFBF6;
  border: 1.5px dashed var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
}
.stripe-placeholder {
  color: var(--muted-fg);
  font-size: 0.95rem;
  line-height: 1.55;
}
.stripe-placeholder code {
  background: var(--muted);
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}
.stripe-errors { color: #c00; font-size: 0.875rem; font-weight: 600; margin-top: 0.5rem; }

.checkout-pay { width: 100%; padding: 1.375rem 2rem; font-size: 1.125rem; border-radius: 1rem; opacity: 0.6; cursor: not-allowed; }
.checkout-pay:disabled { background: var(--muted); color: var(--muted-fg); }
.checkout-fineprint { color: var(--muted-fg); font-size: 0.85rem; text-align: center; margin-top: 1rem; }
.checkout-fineprint a { color: var(--secondary); text-decoration: underline; font-weight: 600; }

/* ============================================================
   INTAKE FORM ERROR DISPLAY (when ?error= is set on /intake)
   ============================================================ */
.intake-error-section { padding: 0 0 1.5rem; }
.intake-error {
  max-width: 620px;
  margin: 0 auto;
  background: #fff5e6;
  border: 1.5px solid #f0c878;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: #6b3f00;
  font-weight: 500;
}
.intake-error strong { font-weight: 800; }
