/* Editorial polish. Scoped landing styles preserve the signed-in app shell. */
.is-landing { background: #fcfbf8; }
.is-landing .public-header { background: rgba(252,251,248,.94); border-bottom-color: #eae7e1; }
.is-landing .public-header .brand img { width: 30px; height: 30px; }
.is-landing main { max-width: 1248px; }
.is-landing .hero { gap: 64px; padding: 80px 0 72px; }
.is-landing .hero-copy { position: relative; z-index: 2; }
.is-landing .hero-copy > .eyebrow { font-size: 14px; color: var(--color-text-muted); }
.is-landing .hero h1 { font-size: clamp(44px,5.5vw,76px); letter-spacing: -.065em; line-height: 1.04; margin: 24px 0; }
.is-landing .hero h1 em { font-style: normal; }
.is-landing .hero .lede { max-width: 39ch; font-size: 18px; line-height: 1.7; }
.is-landing .hero-actions { gap: 12px; margin-top: 32px; }
.is-landing .hero-actions .btn { min-height: 50px; }
.is-landing .hero-proof { margin-top: 28px; flex-wrap: wrap; font-size: 14px; }
.hero-scene { position: relative; min-width: 0; padding: 28px 12px 28px 8px; isolation: isolate; }
.hero-scene::before { content: ''; position: absolute; inset: 8% -2% 6% 4%; border-radius: 48% 50% 44% 52%; background: #f1e8db; z-index: -2; }
.scene-orbit { position: absolute; inset: 0; border: 1px solid #dcd5c8; border-radius: 50%; transform: none; z-index: -1; pointer-events: none; }
.scene-token { position: absolute; display: grid; place-items: center; right: 0; bottom: 2px; width: 62px; height: 62px; border-radius: 18px; background: #d63b1f; color: white; border: 1px solid #c6351c; box-shadow: inset 1px 1px 0 #ffffff66, 0 7px 0 #ab2f1b, 0 16px 22px #401a151a; transform: rotate(14deg); z-index: 2; }
.is-landing .hero-visual { transform: perspective(1200px) rotateY(-7deg) rotateX(3deg) rotateZ(1deg); transition: transform .5s var(--ease-out); transform-style: preserve-3d; }
.is-landing .hero-visual > img { aspect-ratio: 1.12; border-radius: 24px; border: 6px solid var(--color-surface); box-shadow: 0 2px 0 #d4cbbf, 0 24px 40px -24px #33231877; }
.kitchen-path { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 24px 0; margin-bottom: 72px; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.kitchen-path > span { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.kitchen-path b { color: var(--color-text-subtle); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.kitchen-path i { display: flex; color: var(--color-text-subtle); }
.landing-features .section-heading { align-items: flex-end; margin-bottom: 32px; }
.landing-features .section-heading > p { max-width: 35ch; margin: 0 0 4px; }
.is-landing .section-heading h2 { font-size: clamp(30px,3.8vw,46px); letter-spacing: -.055em; max-width: 22ch; }
.is-landing .feature-band { gap: 16px; }
.is-landing .feature-band .feature { padding: 28px; border-radius: 16px; background: var(--color-surface); transition: border-color .25s, box-shadow .25s, transform .35s; }
.is-landing .feature-band .feature h3 { margin-top: 24px; font-size: 19px; letter-spacing: -.025em; }
.is-landing .feature-band .feature p { font-size: 15px; line-height: 1.7; }
.is-landing .feature .kpi-icon { border-radius: 12px; box-shadow: inset 0 1px 0 #ffffff99, 0 3px 0 #00000008; }
.is-landing .landing-pricing { padding-top: 88px; }
.is-landing .beta-banner { background: #f4f1eb; border-color: #e7e1d6; }
.is-landing .pricing-controls { gap: 16px; margin: 28px 0 36px; }
.is-landing .pricing-controls select { background-color: var(--color-surface); }
/* Four individually accented plans; cost and inclusions remain easy to scan. */
.tier-grid { gap: 16px; margin: 32px 0 24px; }
.tier-grid > .tier-card { --tier-ink: #4a5650; --tier-wash: #eef2ee; border-radius: 18px; padding: 24px; background: linear-gradient(160deg,var(--tier-wash) 0, var(--color-surface) 195px); border: 1px solid var(--color-border); box-shadow: 0 2px 2px #00000002; transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.tier-grid > .tier-plus { --tier-ink: #4159a2; --tier-wash: #eef1fa; }
.tier-grid > .tier-pro { --tier-ink: #ba351b; --tier-wash: #fcf0e9; border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary), 0 14px 32px -24px #b7331e99; }
.tier-grid > .tier-creator { --tier-ink: #77539c; --tier-wash: #f4eef9; }
.tier-topline { min-height: 44px; margin-bottom: 20px; padding-right: 0; }
.tier-topline .eyebrow { line-height: 1.5; }
.tier-badge { top: -14px; left: 24px; border-radius: 8px; padding: 5px 12px; box-shadow: 0 3px 6px #b4331b14; }
.tier-symbol { display: grid; place-items: center; align-self: flex-start; width: 44px; height: 44px; margin-bottom: 20px; border: 1px solid color-mix(in srgb,var(--tier-ink) 18%,transparent); border-radius: 12px; color: var(--tier-ink); background: var(--color-surface); box-shadow: 0 3px 0 color-mix(in srgb,var(--tier-ink) 12%,transparent); }
.tier-card h3 { font-size: 28px; letter-spacing: -.045em; }
.tier-description { line-height: 1.6; min-height: 48px; margin-bottom: 24px; }
.tier-price strong { font-size: 36px; letter-spacing: -.055em; }
.tier-price-note { min-height: 44px; line-height: 1.6; margin-bottom: 16px; }
.tier-allowance { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 0; }
.tier-allowance > div { display: grid; gap: 2px; min-width: 0; }
.tier-allowance b { font-size: 22px; font-weight: 700; letter-spacing: -.035em; color: var(--tier-ink); }
.tier-allowance span { font-size: 14px; color: var(--color-text-muted); }
.tier-allowance small { grid-column: 1/-1; font-size: 14px; color: var(--color-text-muted); }
.tier-card .plan-feature-list li { padding-block: 8px; line-height: 1.6; }
.tier-card .plan-feature-list li::before { color: var(--tier-ink); }
.tier-more summary { gap: 8px; }
.tier-more summary::after { content: '+'; margin-left: auto; font-size: 20px; font-weight: 400; }
.tier-more[open] summary::after { content: '−'; }
.tier-more ul { padding-left: 20px; color: var(--color-text-muted); line-height: 1.6; }
.tier-action { padding-top: 8px; }
.tier-action .btn { border-radius: 12px; }
.tier-action > .small { font-size: 14px; line-height: 1.6; }
.tier-action .plan-current { border: 1px solid var(--color-border); }
.is-landing .cta-band { text-align: left; margin: 80px 0 32px; padding: 56px; background: #202722; border: 1px solid #39433b; border-radius: 24px; }
.is-landing .cta-band::before { content: ''; position: absolute; width: 260px; height: 260px; border: 1px solid #ffffff16; border-radius: 50%; right: -60px; top: -100px; box-shadow: 0 0 0 36px #ffffff06, 0 0 0 72px #ffffff04; pointer-events: none; }
.is-landing .cta-band h2 { max-width: 21ch; font-size: clamp(28px,3.8vw,44px); letter-spacing: -.045em; line-height: 1.16; }
.is-landing .cta-band > * { position: relative; }
.is-landing .cta-band .btn { background: #fff; color: #202722; }
.developer-credit { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 28px 0 8px; color: var(--color-text-muted); }
.developer-credit p { margin: 0; font-size: 14px; }
.developer-credit strong { color: var(--color-text); font-weight: 600; }
.developer-credit-mark { font-family: ui-monospace,monospace; font-size: 16px; }
.developer-credit-note { font-size: 14px; padding-left: 12px; border-left: 1px solid var(--color-border); }
.is-landing .site-footer { font-size: 14px; padding-top: 20px; }
@keyframes premium-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion:no-preference) {
 .is-landing .hero-copy { animation: premium-enter .7s var(--ease-out) both; }
 .is-landing .hero-scene { animation: premium-enter .9s .12s var(--ease-out) both; }
 .tier-card { animation: premium-enter .6s var(--ease-out) backwards; }
 .tier-card:nth-child(2) { animation-delay: .06s; }
 .tier-card:nth-child(3) { animation-delay: .12s; }
 .tier-card:nth-child(4) { animation-delay: .18s; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .tier-grid > .tier-card:hover { transform: translateY(-6px); border-color: var(--tier-ink); box-shadow: 0 16px 28px -20px #15201933; }
 .is-landing .feature-band .feature:hover { transform: translateY(-4px); border-color: var(--color-border-strong); box-shadow: 0 12px 24px -20px #15201933; }
 .scene-token { transition: transform .4s var(--ease-spring); }
 .hero-scene:hover .scene-token { transform: rotate(2deg) translateY(-6px); }
}
[data-theme="dark"] .is-landing { background: #111411; }
[data-theme="dark"] .is-landing .public-header { background: #111411f2; border-color: #30362f; }
[data-theme="dark"] .hero-scene::before { background: #252c23; }
[data-theme="dark"] .scene-orbit { border-color: #404a3b; }
[data-theme="dark"] .is-landing .hero-visual > img { border-color: #2c332b; box-shadow: 0 2px 0 #454a41,0 24px 40px -24px #000; }
[data-theme="dark"] .is-landing .beta-banner { background: #222822; border-color: #343e34; }
[data-theme="dark"] .tier-grid > .tier-card { --tier-ink: #a9c0af; --tier-wash: #1e2821; }
[data-theme="dark"] .tier-grid > .tier-plus { --tier-ink: #b0bfff; --tier-wash: #202537; }
[data-theme="dark"] .tier-grid > .tier-pro { --tier-ink: #ffa890; --tier-wash: #32241f; }
[data-theme="dark"] .tier-grid > .tier-creator { --tier-ink: #d7b7f3; --tier-wash: #2c2435; }
@media(max-width:1199px) {
 .is-landing .hero { gap: 40px; }
 .tier-grid { gap: 24px; }
}
@media(max-width:959px) {
 .is-landing .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 28px; }
 .is-landing .hero .lede { max-width: 48ch; }
 .hero-scene { max-width: 620px; width: 100%; margin: 0 auto; }
 .is-landing .hero-visual { transform: perspective(1200px) rotateY(-4deg) rotateZ(1deg); }
 .kitchen-path { margin-bottom: 48px; }
}
@media(max-width:767px) {
 .is-landing .hero { padding: 40px 0 32px; }
 .is-landing .hero h1 { font-size: clamp(42px,11vw,64px); }
 .is-landing .hero .lede { font-size: 16px; }
 .hero-scene { padding: 20px 12px; }
 .is-landing .hero-visual > img { border-radius: 20px; border-width: 4px; }
 .scene-token { width: 48px; height: 48px; right: 8px; border-radius: 14px; }
 .kitchen-path { display: grid; grid-template-columns: 1fr; padding: 20px 0; gap: 16px; margin-bottom: 40px; }
 .kitchen-path i { display: none; }
 .landing-features .section-heading { gap: 16px; margin-bottom: 24px; }
 .is-landing .feature-band .feature { padding: 24px; }
 .is-landing .landing-pricing { padding-top: 56px; }
 .tier-grid > .tier-card { padding: 24px; }
 .tier-topline { min-height: 0; margin-bottom: 20px; }
 .tier-description,.tier-price-note { min-height: 0; }
 .tier-description { margin-bottom: 20px; }
 .is-landing .cta-band { padding: 32px 24px; margin-top: 48px; border-radius: 18px; }
 .developer-credit { gap: 8px; }
 .developer-credit-note { flex-basis: 100%; text-align: center; padding: 0; border: 0; }
}
@media(prefers-reduced-motion:reduce) {
 .is-landing .hero-visual,.is-landing .hero-scene,.is-landing .hero-copy,.tier-card,.scene-token { animation: none!important; transition: none!important; translate: none!important; }
 .is-landing .hero-visual { transform: none!important; }
 html { scroll-behavior: auto!important; }
}
@media(max-width:767px) {
 .scene-orbit { inset: 4px 0; transform: none; }
}
