/* Local preview additions. The production visual tokens remain in pill.css. */
:root { --muted: #71665a; --terracotta: #b8340a; --terracotta-dark: #992c09; }
body { font-weight: 400; }
[hidden] { display: none !important; }
.preview-strip { padding: .55rem 1rem; background: var(--paper); text-align: center; font-size: .78rem; color: var(--ink-soft); border-bottom: 1px solid var(--rule); }
.preview-strip a { text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: relative; }
.footer { color: var(--ink-soft); }
.hero-card .label, .hero-card p, .hero-card .chip, .quote-band p, .quote-band .label { color: #fff; }
.hero-note { color: var(--ink-soft); }
.hero h1 { text-wrap: balance; }
.hero-tagline { margin: -.25rem 0 1.4rem; color: var(--ink); font-size: 1.08rem; font-weight: 500; }
.phone-screen { min-height: 0; }
.media-example .card-title { font-size: 2.35rem; margin: .8rem 0 .55rem; line-height: 1.02; }
.media-example .example-context { margin: .6rem 0 0; font-size: .84rem; color: #f0dca4; }
.media-example .performance-title { font-size: .76rem; line-height: 1.5; }
.sound-bars { height: 64px; display: flex; gap: 6px; align-items: center; padding: 8px 0; margin: .6rem 0; }
.sound-bars i { display: block; flex: 1; height: 30%; border-radius: 4px; background: #f0dca4; }
.sound-bars i:nth-child(3n) { height: 82%; }
.sound-bars i:nth-child(4n+1) { height: 48%; }
.sound-bars i:nth-child(5n+2) { height: 100%; }
.media-example > p, .example-why p { font-size: .94rem; line-height: 1.55; }
.media-example .card-chip-row { gap: .3rem; margin-top: .9rem; }
.media-example .chip { font-size: .7rem; padding: .35rem .5rem; }
.btn-light { background: var(--cream); color: var(--ink); border-color: var(--cream); box-shadow: none; }
.btn-light:hover { background: var(--paper); border-color: var(--paper); }
.btn-light:focus-visible { outline-color: var(--cream); outline-offset: 4px; }
.example-action { width: 100%; margin-top: 1rem; padding: .8rem .5rem; font-size: .84rem; }
.media-example .example-source { margin: .55rem 0 0; font-size: .66rem; line-height: 1.45; }
.example-why { margin-bottom: .6rem; }
.example-why p { margin: .6rem 0 0; }
.example-why .example-content-note { font-size: .73rem; line-height: 1.5; margin-top: .85rem; }
.example-footnote { margin: .65rem .2rem 0; color: var(--ink-soft); font-size: .75rem; line-height: 1.5; }
.quote-band { grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); align-items: center; gap: clamp(1.5rem,3vw,2.75rem); padding: clamp(1.5rem,3.3vw,2.75rem); }
.quote-band h2 { margin-top: .65rem; font-size: clamp(1.65rem,4vw,3.35rem); line-height: 1.07; }
.quote-line { display: block; }
.quote-phrase { white-space: nowrap; }
.quote-band p { font-size: 1rem; line-height: 1.6; }
.quote-copy .btn { margin-top: 1.1rem; }
@media (max-width: 900px) { .quote-band { grid-template-columns: 1fr; gap: 1.25rem; } .quote-copy { max-width: 38rem; } .quote-band h2 { font-size: clamp(1.65rem,7vw,3.35rem); } }
.flow-layout { width: min(1000px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 4rem; }
.flow-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.text-button { color: var(--ink-soft); background: transparent; border: 0; padding: .6rem .2rem; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.steps { display: flex; list-style: none; padding: 0; gap: .8rem; margin: 0 0 1.5rem; }
.steps li { flex: 1; border-top: 3px solid var(--rule); padding-top: .6rem; font-size: .78rem; color: var(--ink-soft); }
.steps li[aria-current] { border-color: var(--terracotta); color: var(--terracotta); font-weight: 600; }
.flow-surface { padding: clamp(1.25rem, 4vw, 2.75rem); border: 1px solid var(--rule); background: var(--cream-2); border-radius: 28px; box-shadow: var(--shadow); }
.flow-surface h1 { font-size: clamp(2rem, 5.2vw, 3.65rem); line-height: 1.04; letter-spacing: -.045em; margin: .55rem 0 1rem; font-weight: 500; text-wrap: balance; }
.flow-surface .intro { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; margin: 0 0 1.5rem; max-width: 680px; }
.flow-surface fieldset { border: 0; margin: 1.5rem 0; padding: 0; min-width: 0; }
.flow-surface legend { font-weight: 600; font-size: .95rem; margin-bottom: .7rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
.choice-grid.compact { grid-template-columns: repeat(3,minmax(0,1fr)); }
.choice-option { position: relative; display: flex; align-items: flex-start; gap: .65rem; border: 1px solid #b9ad9d; border-radius: 16px; padding: .9rem; min-height: 60px; cursor: pointer; background: var(--cream); }
.choice-option:has(input:checked) { border-color: var(--terracotta); background: var(--terracotta-soft); box-shadow: inset 0 0 0 1px var(--terracotta); }
.choice-option:focus-within { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.choice-option input { width: 18px; height: 18px; accent-color: var(--terracotta); margin: .15rem 0 0; flex: 0 0 18px; }
.choice-option input:focus-visible { outline: 0; }
.choice-emoji { flex: 0 0 1.75rem; font-size: 1.55rem; line-height: 1.3; text-align: center; }
.choice-copy { min-width: 0; }
.demo-tour-links { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; margin-top: 1rem; }
.demo-tour-links a { text-underline-offset: 4px; }
.choice-option strong { display: block; font-size: .98rem; font-weight: 600; }
.choice-option small { display: block; line-height: 1.45; color: var(--ink-soft); margin-top: .3rem; font-size: .86rem; }
.flow-actions { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.flow-actions .btn { min-height: 48px; }
.btn:disabled { opacity: .52; cursor: not-allowed; transform: none; }
.note-box { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 1rem 1.15rem; color: var(--ink-soft); font-size: .9rem; line-height: 1.6; margin: 1.3rem 0; }
.note-box p { margin: .4rem 0; }
.result-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 1.8rem; align-items: stretch; }
.result-card { border: 1px solid var(--rule); border-radius: 22px; background: var(--cream); padding: 1.3rem; display: flex; flex-direction: column; min-width: 0; }
.result-card h2 { font-family: var(--font-serif); font-size: 2.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.02; margin: .7rem 0; }
.result-card .card-line { color: var(--ink-soft); line-height: 1.55; font-size: .95rem; margin-bottom: 1rem; }
.result-card .btn { margin-top: auto; padding-inline: .8rem; }
.result-card .why-match { border-top: 1px solid var(--rule); padding-top: .8rem; font-size: .83rem; line-height: 1.5; color: var(--ink-soft); }
.pill-meta { display: flex; gap: .4rem; flex-wrap: wrap; font-size: .76rem; margin: .6rem 0; }
.pill-meta span { background: var(--paper); padding: .35rem .5rem; border-radius: 8px; }
.eyebrow { font-size: .67rem; line-height: 1.6; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--ink-soft); }
.flow-surface details { margin: 1rem 0; font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }
.flow-surface summary { cursor: pointer; padding: .55rem 0; color: var(--ink); font-weight: 600; }
.activity-title { font-family: var(--font-serif); }
.activity-instruction { font-size: 1.22rem; line-height: 1.65; max-width: 680px; }
.small { font-size: .84rem; line-height: 1.6; color: var(--ink-soft); }
.flow-privacy { max-width: 740px; text-align: center; margin: 1.5rem auto 0; font-size: .8rem; color: var(--ink-soft); line-height: 1.65; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.reading-page { width: min(840px, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0 5rem; }
.reading-page h1 { font-size: clamp(2.7rem,6vw,4.3rem); line-height: 1.02; margin: .7rem 0 1.4rem; }
.reading-page h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; }
.reading-page p, .reading-page li { line-height: 1.7; color: var(--ink-soft); }
.reading-page .hero-actions { margin-top: 1.5rem; }
.status-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.status-grid .card h2 { font-size: 1.3rem; margin: .5rem 0; }
.reading-page textarea { width: 100%; min-height: 110px; border: 1px solid #b9ad9d; border-radius: 12px; padding: 1rem; background: var(--cream-2); }
.reading-page label { display: block; margin-bottom: .5rem; }
.route-chip { display: inline-block; color: var(--terracotta); font-size: .8rem; font-weight: 600; padding: .5rem .8rem; border: 1px solid var(--terracotta); border-radius: 30px; }
@media (max-width: 760px) { .result-grid, .status-grid { grid-template-columns: 1fr; } .result-card { padding: 1.5rem; } .choice-grid.compact { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 480px) { .choice-grid { grid-template-columns: 1fr; } .flow-toolbar { margin-bottom: 1rem; } .steps { gap: .5rem; } .steps li { font-size: .7rem; } .flow-actions > .btn { flex: 1 1 auto; } .logo .sub { display: none; } .flow-layout { padding-top: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
