/* Shared palette and controls. Layout starts at 320px. */
:root {
  --surface-0: #f3f3f1;
  --surface-1: #fff;
  --surface-2: #e9e9e6;
  --text: #111;
  --text-muted: #5f5f5a;
  --text-faint: #696965;
  --line: rgb(17 17 17 / 12%);
  --brand: #e60023;
  --brand-hover: #ad081b;
  --brand-press: #8c0f21;
  --brand-ink: #fff;
  --gutter: clamp(20px, 5.3vw, 32px);
  --content: 1120px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 24px); }
body {
  background: var(--surface-0); color: var(--text);
  font-family: 'Geist Variable', Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }
img { display: block; max-width: 100%; }
::selection { background: var(--brand); color: white; }

.header { position: sticky; top: 0; z-index: 200; padding-top: env(safe-area-inset-top); background: rgb(243 243 241 / 96%); border-bottom: 1px solid var(--line); }
.header-inner { max-width: calc(var(--content) + 2 * var(--gutter)); margin: auto; height: var(--header-h); padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; }
.logo-mark, .footer-logo-mark { width: 26px; height: 26px; overflow: hidden; border-radius: 5px; flex-shrink: 0; }
.logo-mark img, .footer-logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.logo-name { font-size: 18px; font-weight: 650; letter-spacing: -.04em; }
.header-nav { display: none; }
.nav-cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); text-decoration: none; font-size: 12px; font-weight: 600; }
.nav-cta svg { width: 13px; height: 13px; }

.btn-primary, .btn-secondary { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 15px 18px; border-radius: 9px; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.35; transition: background-color 140ms ease, transform 140ms ease; }
.btn-primary { background: var(--brand); color: var(--brand-ink); border: 1px solid var(--brand); }
.btn-secondary { background: transparent; color: var(--text-muted); border: 1px solid var(--line); font-size: 14px; min-height: 48px; }
.btn-primary svg, .btn-secondary svg { flex-shrink: 0; }
.btn-primary:active { background: var(--brand-press); transform: translateY(1px); }
.btn-secondary:active { background: var(--surface-2); }
.hero-actions, .cta-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 360px; }
.hero-hint, .cta-note { font-size: 12px; line-height: 1.5; color: var(--text-faint); }
.hero-hint { margin-top: 4px; }

.hero-wrap { padding: 40px var(--gutter) 56px; max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; }
.hero-top { display: flex; flex-direction: column; align-items: flex-start; }
.hero-title { font-size: clamp(35px, 10.5vw, 54px); font-weight: 550; letter-spacing: -.055em; line-height: 1.06; }
.hero-sub { margin-top: 22px; max-width: 34ch; color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.hero-actions { margin-top: 28px; }
.hero-visual { margin-top: 36px; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); border-radius: 3px; }
.hero-visual picture, .hero-visual img { display: block; width: 100%; height: 100%; }
.hero-visual img { object-fit: cover; object-position: 50% 42%; }

.section { padding: 64px var(--gutter); }
.section-inner { max-width: var(--content); margin-inline: auto; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.section-title { font-size: clamp(28px, 7.6vw, 36px); line-height: 1.15; font-weight: 550; letter-spacing: -.045em; text-wrap: balance; }
.section-label, .cta-kicker { font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.pain-layout { display: grid; gap: 0; }
.pain-list { border-top: 1px solid var(--line); }
.pain-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pain-num { flex: 0 0 22px; color: var(--brand); font-size: 12px; line-height: 1.9; font-variant-numeric: tabular-nums; }
.pain-text { font-size: 15px; line-height: 1.65; color: var(--text-muted); }
.pain-resolve { margin-top: 32px; padding: 28px; background: var(--brand); color: white; border-radius: 3px; }
.pain-resolve-title { font-size: 28px; font-weight: 550; line-height: 1.15; letter-spacing: -.04em; }
.pain-resolve-desc { margin-top: 16px; color: rgb(255 255 255 / 90%); font-size: 14px; line-height: 1.65; max-width: 42ch; }

.steps { border-top: 1px solid var(--line); }
.step-card { display: flex; align-items: flex-start; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step-n { flex: 0 0 20px; padding-top: 2px; font-size: 13px; color: var(--brand); font-variant-numeric: tabular-nums; }
.step-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.step-title, .why-title { font-size: 18px; line-height: 1.3; font-weight: 550; letter-spacing: -.025em; }
.step-desc, .why-desc { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.step-time { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--text-faint); }
.why-grid { display: grid; }
.why-card { padding: 26px 0; border-top: 1px solid var(--line); }
.why-card:last-child { padding-bottom: 0; }
.why-desc { margin-top: 12px; max-width: 42ch; }

#pricing .section-inner { display: flex; flex-direction: column; }
.pricing-intro { margin: -12px 0 32px; max-width: 52ch; color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.pricing-grid { display: grid; gap: 12px; }
.price-card { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-1); }
.price-card.featured { border-color: var(--brand); }
.price-generations { grid-row: 1 / 3; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.price-value { font-size: 28px; font-weight: 550; letter-spacing: -.04em; line-height: 1.2; white-space: nowrap; }
.price-old { grid-column: 2; text-align: right; font-size: 12px; color: var(--text-faint); text-decoration: line-through; line-height: 1.4; margin-top: 4px; }
.price-badge { position: absolute; top: -8px; left: 16px; padding: 0 6px; color: var(--brand); background: var(--surface-1); font-size: 10px; font-weight: 600; letter-spacing: .04em; line-height: 16px; }
.pricing-note { margin-top: 24px; max-width: 80ch; color: var(--text-faint); font-size: 12px; line-height: 1.75; }
.pricing-cta { display: flex; align-items: center; gap: 10px; align-self: flex-start; min-height: 48px; margin-top: 16px; color: var(--brand); font-size: 14px; font-weight: 550; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.pricing-cta svg { flex-shrink: 0; }
.service-description { order: 1; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 80ch; }
.service-description h3 { font-size: 14px; font-weight: 550; line-height: 1.5; margin-bottom: 12px; }
.service-description p { color: var(--text-muted); font-size: 12px; line-height: 1.8; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 24px 0; background: none; border: 0; text-align: left; cursor: pointer; }
.faq-q-text { font-size: 16px; font-weight: 450; line-height: 1.5; color: var(--text); letter-spacing: -.015em; }
.faq-chevron { flex-shrink: 0; width: 16px; color: var(--text-faint); transition: transform 180ms ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--brand); }
.faq-a { display: none; max-width: 62ch; color: var(--text-muted); font-size: 14px; line-height: 1.75; padding: 0 28px 24px 0; }
.faq-item.open .faq-a { display: block; }

.final-cta { display: flex; flex-direction: column; align-items: center; padding: 72px var(--gutter); text-align: center; }
.cta-title { font-size: clamp(38px, 10.5vw, 56px); font-weight: 550; letter-spacing: -.05em; line-height: 1.08; margin-top: 24px; }
.cta-sub { margin-top: 24px; font-size: 15px; line-height: 1.65; color: var(--text-muted); max-width: 30ch; }
.cta-actions { margin-top: 32px; }
.cta-note { margin-top: 18px; }
.footer-outer { border-top: 1px solid var(--line); }
.footer { max-width: calc(var(--content) + 2 * var(--gutter)); padding: 36px var(--gutter) calc(28px + env(safe-area-inset-bottom)); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 9px; width: 100%; }
.footer-logo-name { font-size: 17px; font-weight: 600; letter-spacing: -.035em; }
.footer-tagline { font-size: 13px; line-height: 1.6; color: var(--text-faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px 36px; width: 100%; margin-top: 16px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col-title { font-size: 10px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.footer-col a { display: flex; align-items: center; min-height: 40px; color: var(--text-muted); text-decoration: none; font-size: 12px; }
.footer-divider { width: 100%; border-top: 1px solid var(--line); margin-top: 8px; }
.footer-copy { font-size: 11px; line-height: 1.5; color: var(--text-faint); }
.bottom-bar { position: fixed; inset: auto 0 0; z-index: 300; display: flex; align-items: center; gap: 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgb(243 243 241 / 98%); border-top: 1px solid var(--line); transition: opacity 180ms ease, transform 180ms ease; }
.bottom-bar-text { flex: 1; min-width: 0; }
.bottom-bar-title { font-size: 13px; font-weight: 600; }
.bottom-bar-sub { font-size: 10px; line-height: 1.5; color: var(--text-faint); margin-top: 4px; }
.bottom-bar-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; min-height: 48px; background: var(--brand); color: white; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 550; white-space: nowrap; }

/* /go: one photographic proof, followed by the messenger decision. */
.go-page { min-height: 100svh; display: flex; flex-direction: column; padding: max(20px, env(safe-area-inset-top)) var(--gutter) max(12px, env(safe-area-inset-bottom)); }
.stage { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 400px; margin-inline: auto; padding: 12px 0 24px; }
.stage-visual { width: 100%; height: clamp(136px, 25svh, 216px); overflow: hidden; border-radius: 3px; background: var(--surface-2); margin-bottom: 28px; }
.stage-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; }
.stage-content { width: 100%; }
.stage-title { max-width: 12ch; font-size: clamp(32px, 9.3vw, 40px); font-weight: 550; letter-spacing: -.045em; line-height: 1.08; text-wrap: balance; }
.stage-sub { font-size: 14px; line-height: 1.65; color: var(--text-muted); max-width: 38ch; margin-top: 16px; }
.stage-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.stage-actions .btn-primary { min-height: 56px; }
.stage-hint { display: block; margin-top: 16px; text-align: center; font-size: 12px; line-height: 1.5; color: var(--text-faint); }
.go-footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0 20px; }
.go-footer a { display: flex; align-items: center; min-height: 44px; font-size: 10px; line-height: 1.5; color: var(--text-faint); text-decoration: none; }

/* Legal pages (/pages/terms.html, /pages/privacy.html) */
body.no-bottom-bar { padding-bottom: env(safe-area-inset-bottom); }
.legal-main { padding: 48px var(--gutter) 72px; max-width: 760px; margin-inline: auto; }
.legal-main h1 { font-size: clamp(26px, 7vw, 34px); font-weight: 550; letter-spacing: -.04em; line-height: 1.2; margin-bottom: 28px; }
.legal-main h2 { font-size: 18px; font-weight: 550; letter-spacing: -.02em; margin-top: 36px; margin-bottom: 12px; }
.legal-main p, .legal-main li { color: var(--text-muted); font-size: 14px; line-height: 1.75; margin-bottom: 10px; }
.legal-main a { color: var(--brand); }
.legal-main ul { padding-left: 22px; margin-bottom: 12px; }
.legal-main strong { color: var(--text); font-weight: 600; }

@media (hover: hover) {
  .btn-primary:hover, .bottom-bar-btn:hover { background: var(--brand-hover); }
  .btn-secondary:hover, .nav-cta:hover { background: var(--surface-2); }
  .header-nav a:hover, .footer-col a:hover, .go-footer a:hover { color: var(--text); }
}
@media (min-width: 640px) {
  .hero-wrap { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; padding-block: 56px 64px; }
  .hero-title { font-size: clamp(34px, 5vw, 50px); }
  .hero-visual { margin-top: 0; aspect-ratio: 5 / 7; }
  .hero-sub { font-size: 14px; }
  .section { padding-block: 80px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .why-card:last-child { padding-bottom: 26px; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card:last-child { grid-column: 1 / -1; }
  .footer-links { gap: 48px; }
}
@media (min-width: 900px) {
  .go-page { padding: max(40px, env(safe-area-inset-top)) 48px max(20px, env(safe-area-inset-bottom)); }
  .stage { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(56px, 7vw, 100px); max-width: 1000px; padding-block: 24px 48px; }
  .stage-visual { height: auto; aspect-ratio: 5 / 7; max-height: 640px; margin: 0; }
  .stage-visual img { object-position: center; }
  .stage-title { font-size: clamp(42px, 4.2vw, 56px); }
  .stage-sub { font-size: 16px; margin-top: 24px; }
  .stage-actions { margin-top: 36px; }
  .go-footer { gap: 28px; }
  .go-footer a { font-size: 11px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 48px; --header-h: 88px; }
  body { padding-bottom: 0; }
  .header-nav { display: flex; align-items: center; gap: 32px; }
  .header-nav a { display: flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--text-muted); text-decoration: none; }
  .nav-cta { padding-inline: 20px; font-size: 13px; }
  .hero-wrap { grid-template-columns: 1.05fr 1fr; gap: 72px; padding-block: 64px 88px; }
  .hero-title { font-size: clamp(50px, 4.65vw, 64px); }
  .hero-sub { font-size: 16px; margin-top: 28px; }
  .hero-actions { margin-top: 36px; }
  .section { padding-block: 104px; }
  .section-head { margin-bottom: 44px; }
  .section-title { font-size: 42px; }
  .pain-layout { grid-template-columns: 1fr 1fr; gap: 72px; }
  .pain-resolve { padding: 36px; }
  .pain-resolve-title { font-size: 34px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); }
  .step-card { flex-direction: column; gap: 32px; padding: 32px 32px 0; border: none; border-left: 1px solid var(--line); }
  .step-card:first-child { padding-left: 0; border-left: 0; }
  .step-n { flex-basis: auto; }
  .step-body { height: 100%; }
  .step-time { margin-top: auto; padding-top: 14px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .why-card { padding-top: 28px; }
  .why-title { font-size: 18px; }
  .pricing-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .price-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .price-card:last-child { grid-column: auto; }
  .price-generations { font-size: 13px; }
  .price-value { font-size: 32px; margin-top: 28px; }
  .price-old { margin-top: 8px; }
  .pricing-note { margin-top: 28px; }
  .service-description { max-width: none; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-top: 48px; padding-top: 28px; }
  #faq .section-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; }
  .faq-q-text { font-size: 18px; }
  .final-cta { padding-block: 104px 112px; }
  .cta-title { font-size: 64px; }
  .footer { padding-block: 48px 28px; column-gap: 40px; }
  .footer-logo { width: auto; align-self: flex-start; }
  .footer-tagline { margin-top: 4px; }
  .footer-links { width: auto; margin: 0 0 8px auto; gap: 40px; }
  .footer-copy { width: 100%; }
  .bottom-bar { display: none; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .go-page { padding-top: max(12px, env(safe-area-inset-top)); }
  .stage { padding-top: 0; padding-bottom: 12px; }
  .stage-visual { height: 128px; margin-bottom: 20px; }
  .stage-title { font-size: 32px; }
  .stage-sub { margin-top: 12px; }
  .stage-actions { margin-top: 20px; }
  .stage-hint { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
