/* FirstPrompt AI site layout. Built on tokens.css and components.css. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font: var(--text-body); letter-spacing: 0.01em; color: var(--ink-muted); background: var(--canvas); }
a { color: var(--indigo); }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--space-64); }
.band { background: var(--band); }
section { padding: var(--space-96) 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--canvas); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: var(--space-24); }
.lockup { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.lockup img { height: 36px; width: 36px; }
.lockup span { font: var(--text-wordmark); letter-spacing: -0.01em; color: var(--indigo); }
.lockup b { font-weight: 500; color: #D6336C; }
.nav { display: flex; align-items: center; gap: var(--space-4); }
.nav a.link { font: var(--text-button); color: var(--indigo); text-decoration: none; padding: 10px 14px; border-radius: var(--radius-pill); }
.nav a.link:hover { background: var(--band); }

/* Hero */
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-64); align-items: center; }
.hero h1 { font: var(--text-hero); letter-spacing: -0.02em; color: var(--indigo); margin: var(--space-16) 0 var(--space-24); }
.hero p.lede { font: var(--text-body-lg); color: var(--ink-muted); margin: 0 0 var(--space-32); max-width: 560px; }
.actions { display: flex; gap: var(--space-8); flex-wrap: wrap; }
.hero-art { background: var(--indigo); border-radius: var(--radius-card-lg); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: var(--space-48); position: relative; overflow: hidden; }
.hero-art .strip { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--pink); }
.hero-art .caption { position: absolute; left: var(--space-32); top: var(--space-32); font: var(--text-eyebrow); letter-spacing: 0.15em; text-transform: uppercase; color: var(--pink-light); }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-24); margin-top: var(--space-48); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-24); margin-top: var(--space-48); }
.fp-card .fp-eyebrow, .fp-card-raised .fp-eyebrow { display: block; margin-bottom: var(--space-16); }
.fp-card p + p, .fp-card-raised p + p { margin-top: var(--space-12); }
.card-actions { margin-top: var(--space-24); display: flex; gap: var(--space-8); flex-wrap: wrap; }
.fp-card-deep .fp-eyebrow { color: var(--pink-light); display: block; margin-bottom: var(--space-16); }

/* Stages */
.stages { list-style: none; padding: 0; margin: var(--space-24) 0 0; display: grid; gap: var(--space-16); }
.stages li { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-16); padding-top: var(--space-16); border-top: 1px solid rgba(255,251,245,0.18); }
.stages .num { font: var(--text-eyebrow); letter-spacing: 0.15em; text-transform: uppercase; color: var(--pink-light); padding-top: 4px; }
.stages strong { display: block; font-family: var(--font-display); font-weight: 300; font-size: 24px; line-height: 1.2; color: var(--canvas); margin-bottom: 4px; }
.stages span.desc { color: #E4E4F5; }

/* Book */
.book { display: grid; grid-template-columns: 280px 1fr; gap: var(--space-48); align-items: start; }
.cover { background: var(--indigo); border-radius: var(--radius-sm); aspect-ratio: 2 / 3; padding: var(--space-24); display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-whisper); position: relative; overflow: hidden; }
.cover .t { font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; color: var(--canvas); }
.cover .a { font: var(--text-eyebrow); letter-spacing: 0.15em; text-transform: uppercase; color: var(--pink-light); }
.cover .sun { position: absolute; right: -30px; bottom: 60px; width: 160px; height: 80px; background: var(--mango); border-radius: 160px 160px 0 0; }
.book h3 { font: var(--text-heading); letter-spacing: -0.02em; color: var(--indigo); margin: var(--space-12) 0 var(--space-16); }
.parts { list-style: none; padding: 0; margin: var(--space-24) 0 0; }
.parts li { display: flex; gap: var(--space-16); padding: var(--space-12) 0; border-top: 1px solid var(--line); color: var(--ink-muted); }
.parts li .fp-eyebrow { min-width: 72px; padding-top: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-8); margin-top: var(--space-16); }

/* People */
.person .avatar { width: 56px; height: 56px; border-radius: var(--radius-pill); background: var(--plate); color: var(--indigo); display: flex; align-items: center; justify-content: center; font: var(--text-button); font-size: 18px; margin-bottom: var(--space-16); }

/* Contact block */
.contact { text-align: left; }
.contact h2 { font: var(--text-display); letter-spacing: -0.02em; color: var(--canvas); margin: 0 0 var(--space-16); }
.contact p { color: #E4E4F5; max-width: 560px; }
.contact .fp-btn-outline { margin-top: var(--space-24); }

/* Footer */
.site-footer { padding: var(--space-48) 0; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: var(--space-24); flex-wrap: wrap; font: var(--text-caption); color: var(--ink-faint); }
.site-footer a { color: var(--ink-faint); }

/* Responsive */
@media (max-width: 960px) {
  .wrap { padding: 0 var(--space-24); }
  section { padding: 64px 0; }
  .hero-grid, .book, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; line-height: 1.08; }
  .fp-section-head h2, .contact h2 { font-size: 36px; line-height: 1.17; }
  .nav a.link { display: none; }
  .hero-art { aspect-ratio: 4 / 3; }
  .book .cover { max-width: 240px; }
}

/* Daily news */
.news { list-style: none; padding: 0; margin: var(--space-48) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-48); }
.news-item { padding: var(--space-16) 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.news-src { font: var(--text-eyebrow); letter-spacing: 0.15em; text-transform: uppercase; color: var(--pink-deep); }
.news-title { font-family: var(--font-display); font-weight: 300; font-size: 22px; line-height: 1.3; color: var(--indigo); text-decoration: none; }
.news-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.news-empty { grid-column: 1 / -1; padding: var(--space-24) 0; color: var(--ink-muted); border-top: 1px solid var(--line); }
.news-meta { font: var(--text-caption); color: var(--ink-faint); margin-top: var(--space-16); }

/* Daily tips */
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-8); margin: var(--space-48) 0 var(--space-24); }
.tab { font: var(--text-button); height: 40px; padding: 0 20px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--canvas); color: var(--indigo); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--indigo); color: var(--canvas); border-color: var(--indigo); }
.tab:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.tip { padding: var(--space-32); max-width: 820px; }
.tip h3 { font-family: var(--font-display); font-weight: 300; font-size: 32px; line-height: 1.13; letter-spacing: -0.02em; color: var(--indigo); margin: var(--space-12) 0 var(--space-12); }
.tip > p { font: var(--text-subheading); color: var(--ink-muted); margin: 0; }
.prompt { margin-top: var(--space-24); background: var(--mango-soft); border-radius: var(--radius-card); padding: var(--space-24); }
.prompt-label { font: var(--text-eyebrow); letter-spacing: 0.15em; text-transform: uppercase; color: var(--indigo); }
.prompt-text { font-family: var(--font-mono); font-size: 14px; line-height: 1.6; color: var(--indigo); margin: var(--space-8) 0 var(--space-16); }

/* Writing */
h3.sub { font-family: var(--font-ui); font-weight: 500; font-size: 18px; color: var(--indigo); margin: var(--space-48) 0 0; }
h3.sub + .grid-3 { margin-top: var(--space-16); }
.post h3 { margin-top: var(--space-8); }

@media (max-width: 960px) {
  .news { grid-template-columns: 1fr; }
  .tip h3 { font-size: 26px; }
}

/* Learning path */
.levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-24); margin-top: var(--space-48); }
.level { display: flex; flex-direction: column; }
.level h3 { margin-top: 0; }
.level p.for { margin-top: auto; padding-top: var(--space-16); border-top: 1px solid var(--line); font-size: 14px; }
.level p.for strong { color: var(--indigo); font-weight: 500; }
.level p + p.for { margin-top: auto; }
.free-bar { margin-top: var(--space-24); display: flex; align-items: center; justify-content: space-between; gap: var(--space-32); flex-wrap: wrap; }
.free-bar > div { max-width: 720px; }
.free-bar .fp-btn-outline { flex: none; }

/* FAQ */
.faq { margin-top: var(--space-48); max-width: 860px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: var(--space-24) 40px var(--space-24) 0; position: relative; font-family: var(--font-display); font-weight: 300; font-size: 24px; line-height: 1.25; color: var(--indigo); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-ui); font-size: 24px; color: var(--pink-deep); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.faq-item p { margin: 0 0 var(--space-24); max-width: 720px; color: var(--ink-muted); }
.ask-ai { margin-top: var(--space-48); }
.ask-ai p { margin: var(--space-8) 0 0; }

@media (max-width: 1100px) { .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .levels { grid-template-columns: 1fr; } .faq-item summary { font-size: 20px; } }

/* About page */
.facts ul { list-style: none; padding: 0; margin: var(--space-16) 0 0; }
.facts li { display: grid; grid-template-columns: 140px 1fr; gap: var(--space-16); padding: var(--space-12) 0; border-top: 1px solid rgba(255,251,245,0.18); }
.facts strong { font-family: var(--font-display); font-weight: 300; font-size: 22px; color: var(--canvas); }
.facts li span { color: #E4E4F5; padding-top: 3px; }
.story { max-width: 760px; margin-top: var(--space-48); }
.story p { font: var(--text-subheading); color: var(--ink-muted); margin: 0 0 var(--space-24); }
.timeline { list-style: none; padding: 0; margin: var(--space-48) 0 0; }
.timeline li { display: grid; grid-template-columns: 160px 1fr; gap: var(--space-24); padding: var(--space-24) 0; border-top: 1px solid var(--line); }
.timeline .when { font: var(--text-eyebrow); letter-spacing: 0.15em; text-transform: uppercase; color: var(--pink-deep); padding-top: 6px; }
.timeline strong { display: block; font-family: var(--font-display); font-weight: 300; font-size: 24px; line-height: 1.2; color: var(--indigo); }
.timeline .org { display: block; font: var(--text-button); color: var(--indigo); margin-top: 4px; }
.timeline p { margin: var(--space-8) 0 0; color: var(--ink-muted); }
.why h2 { font: var(--text-display); letter-spacing: -0.02em; color: var(--canvas); margin: 0 0 var(--space-16); }
.why p { color: #E4E4F5; max-width: 680px; }
.why .actions { margin-top: var(--space-24); }
@media (max-width: 960px) {
  .timeline li, .facts li { grid-template-columns: 1fr; gap: var(--space-4); }
  .why h2 { font-size: 36px; line-height: 1.17; }
}

/* Small-screen overflow guard */
.hero-grid > *, .grid-2 > *, .grid-3 > *, .levels > * { min-width: 0; }
@media (max-width: 480px) { .hero h1 { font-size: 40px; } }

/* ===== Motion and premium layer (Dec 2026) ===== */

/* Hero sunrise */
.hero-art { padding: var(--space-24); }
.hero-art .sunrise { width: 100%; height: auto; }
.sunrise .d { fill: #FF9F1C; opacity: 0; animation: dot-in .6s ease forwards; animation-delay: calc(1.3s + var(--i) * .12s); }
.sunrise .sun { transform: translateY(120px); animation: rise 1.6s cubic-bezier(.2,.7,.2,1) .2s forwards; }
.sunrise .glow { opacity: 0; animation: glow-in 2s ease .6s forwards, breathe 6s ease-in-out 2.6s infinite; transform-origin: 200px 262px; }
.sunrise .cursor { animation: blink 1.1s steps(1) 2.2s infinite; }
.sunrise .spark { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .5s cubic-bezier(.3,1.6,.5,1) 1.5s forwards, drift 7s ease-in-out 2s infinite; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes dot-in { to { opacity: calc(.75 - var(--i) * .09); } }
@keyframes glow-in { to { opacity: 1; } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .8; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes drift { 50% { transform: translate(-6px, 6px) scale(1); } }

/* Typing caret after headlines, echoing the logo cursor */
.caret::after { content: ""; display: inline-block; width: .08em; height: .8em; margin-left: .08em; background: var(--mango); vertical-align: -0.06em; border-radius: 2px; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Headline ticker */
.ticker { background: var(--indigo); color: var(--canvas); overflow: hidden; border-top: 6px solid var(--mango); }
.ticker-track { display: flex; gap: var(--space-48); width: max-content; padding: 14px 0; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker a { color: var(--canvas); text-decoration: none; font: 400 15px/1.4 var(--font-sans); white-space: nowrap; display: inline-flex; gap: 10px; align-items: center; }
.ticker a b { font: var(--text-eyebrow); letter-spacing: .15em; text-transform: uppercase; color: var(--pink-light); font-weight: 500; }
.ticker a:hover { text-decoration: underline; text-underline-offset: 3px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Card hover: lift and a mango hairline, no glow (brand rule) */
.fp-card-raised, .fp-card, .level { transition: transform .25s ease, box-shadow .25s ease; }
.fp-card-raised:hover, .level:hover { transform: translateY(-4px); box-shadow: var(--shadow-whisper), 0 0 0 1px var(--mango); }
.fp-btn { transition: transform .15s ease, background-color .2s ease; }
.fp-btn:hover { transform: translateY(-1px); }
.fp-btn-spark:hover { background: #ffb04a; }

/* Founder photos */
.person .photo { width: 96px; height: 96px; border-radius: var(--radius-pill); object-fit: cover; display: block; margin-bottom: var(--space-16); box-shadow: 0 0 0 4px var(--canvas), 0 0 0 5px var(--line); }

/* About portrait */
.about-side { display: grid; gap: var(--space-24); }
.portrait { position: relative; margin: 0; border-radius: var(--radius-card-lg); overflow: hidden; background: var(--mango-soft); aspect-ratio: 4 / 3; }
.portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; mix-blend-mode: multiply; }
.portrait-sun { position: absolute; left: 50%; bottom: -40%; width: 90%; aspect-ratio: 1; transform: translateX(-50%); background: var(--mango); border-radius: 50%; opacity: .35; z-index: 0; }

/* Timeline draws on scroll */
.timeline { position: relative; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -1px; top: -1px; height: 1px; width: 0; background: var(--mango); transition: width 1s cubic-bezier(.2,.7,.2,1); }
.timeline li.in::before { width: 100%; }

/* Mobile menu */
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--canvas); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--indigo); border-radius: 2px; transition: transform .2s ease; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 960px) {
  .site-header .wrap { position: relative; }
  .menu-btn { display: inline-flex; order: 3; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: var(--space-16) var(--space-24) var(--space-24); gap: var(--space-4); }
  .nav.open { display: flex; }
  .nav.open a.link { display: block; padding: 12px 8px; font-size: 17px; }
  .nav .fp-btn { justify-content: center; margin-top: var(--space-8); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sunrise .sun, .sunrise .spark { transform: none; }
  .sunrise .d, .sunrise .glow { opacity: .5; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { flex-wrap: wrap; width: auto; padding: 14px var(--space-24); }
}

/* Fixes after visual check */
.hero-art { padding: 0; }
.hero .facts, .hero .about-side { font: var(--text-body); letter-spacing: 0.01em; }
.about-side > *, .portrait img { min-width: 0; max-width: 100%; }

/* About us */
.duo { position: relative; aspect-ratio: 5 / 4; background: var(--mango-soft); border-radius: var(--radius-card-lg); overflow: hidden; }
.duo-sun { position: absolute; left: 50%; bottom: -30%; width: 80%; aspect-ratio: 1; transform: translateX(-50%); background: var(--mango); border-radius: 50%; opacity: .45; }
.duo img { position: absolute; width: 44%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px var(--canvas); }
.duo-a { left: 10%; top: 16%; }
.duo-b { right: 10%; top: 30%; }
.duo-spark { position: absolute; right: 12%; top: 10%; width: 22px; height: 22px; border-radius: 50%; background: var(--pink); animation: drift 7s ease-in-out infinite; }
.js .duo img { opacity: 0; transform: translateY(16px); animation: duo-in .9s cubic-bezier(.2,.7,.2,1) forwards; }
.js .duo-b { animation-delay: .25s !important; }
@keyframes duo-in { to { opacity: 1; transform: none; } }
.person-head { display: flex; align-items: center; gap: var(--space-32); padding-bottom: var(--space-24); border-bottom: 1px solid var(--line); }
.person-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 6px var(--mango-soft); }
.person-head h2 { font: var(--text-display); letter-spacing: -0.02em; color: var(--indigo); margin: var(--space-8) 0; }
.person-head p { margin: 0 0 var(--space-16); color: var(--ink-muted); font: var(--text-subheading); }
.person-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-48); align-items: start; margin-top: var(--space-48); }
.person-grid .story { margin-top: 0; }
.person-grid .facts { font: var(--text-body); }
.timeline li > div > .org:last-child { margin-bottom: 0; }
@media (max-width: 960px) {
  .person-head { flex-direction: column; align-items: flex-start; gap: var(--space-16); }
  .person-grid { grid-template-columns: 1fr; gap: var(--space-32); }
  .person-head h2 { font-size: 36px; line-height: 1.17; }
}
@media (prefers-reduced-motion: reduce) { .js .duo img { opacity: 1; transform: none; } }

/* Section illustrations */
.fp-section-head.with-art { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: var(--space-48); row-gap: var(--space-12); align-items: start; }
.with-art > :not(.sec-art) { grid-column: 1; }
.with-art .sec-art { grid-column: 2; grid-row: 1 / span 4; margin: 0; background: var(--mango-soft); border-radius: var(--radius-card-lg); overflow: hidden; align-self: end; }
.band .with-art .sec-art { background: var(--canvas); }
.sec-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 960px) {
  .fp-section-head.with-art { grid-template-columns: 1fr; }
  .with-art .sec-art { grid-column: 1; grid-row: auto; max-width: 300px; margin-top: var(--space-16); }
}
/* animations start when the section scrolls into view */
.with-art.in .sun, .with-art.in .step-sun { animation: art-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.with-art.in .s1 { animation-delay: .2s; } .with-art.in .s2 { animation-delay: .4s; } .with-art.in .s3 { animation-delay: .6s; } .with-art.in .s4 { animation-delay: .8s; }
.with-art.in .wave { animation: art-pulse 2.8s ease-in-out infinite both; }
.with-art.in .w2 { animation-delay: .35s; } .with-art.in .w3 { animation-delay: .7s; }
.with-art.in .blink { animation: blink 1.1s steps(1) infinite; }
.with-art.in .spark { transform-box: fill-box; transform-origin: center; animation: pop .5s cubic-bezier(.3,1.6,.5,1) .9s both, drift 6s ease-in-out 1.4s infinite; }
.with-art.in .rays { animation: art-spin 14s linear infinite; }
.with-art.in .bulb { transform-box: fill-box; transform-origin: center; animation: art-glow 2.6s ease-in-out infinite; }
.with-art.in .type { transform-box: fill-box; transform-origin: left center; animation: art-type .8s ease both; }
.with-art.in .t2, .with-art.in .l1 { animation-delay: .5s; } .with-art.in .l0 { animation-delay: .3s; } .with-art.in .l2 { animation-delay: .7s; } .with-art.in .l3 { animation-delay: .9s; }
.with-art.in .bub { transform-box: fill-box; transform-origin: center bottom; animation: art-pop .6s cubic-bezier(.3,1.5,.5,1) both; }
.with-art.in .b2 { animation-delay: .6s; }
.with-art.in .dot { animation: art-bounce 1.2s ease-in-out infinite; }
.with-art.in .d2 { animation-delay: .15s; } .with-art.in .d3 { animation-delay: .3s; }
.with-art.in .pen { animation: art-write 2.4s ease-in-out 1s infinite; }
@keyframes art-rise { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes art-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes art-spin { to { transform: rotate(360deg); } }
@keyframes art-glow { 50% { transform: scale(1.08); } }
@keyframes art-type { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes art-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes art-bounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-7px); } }
@keyframes art-write { 0%, 100% { transform: none; } 50% { transform: translate(-10px, 4px); } }

/* Welcome video */
.welcome-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--space-48); align-items: center; }
.welcome-title { font: var(--text-display); letter-spacing: -0.02em; color: var(--indigo); margin: var(--space-12) 0 var(--space-16); }
.welcome p { font: var(--text-subheading); color: var(--ink-muted); margin: 0; }
.video-frame { margin: 0; border-radius: var(--radius-card-lg); overflow: hidden; background: var(--indigo); box-shadow: var(--shadow-whisper); border-bottom: 8px solid var(--pink); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
@media (max-width: 960px) { .welcome-grid { grid-template-columns: 1fr; gap: var(--space-24); } .welcome-title { font-size: 36px; line-height: 1.17; } }
