/* Formal public pages; showcase artwork and copy are shared with the prototype. */
.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; }
body.home-mode { --ink: #f4f7fb; --muted: #9aa5b5; --paper: #07090e; --surface: #0d1119; --line: #263344; --accent: #7de4e4; --focus: #86b7ff; }
body.home-mode main.home-carousel-page { padding: 48px 0 0; }
body.home-mode .product-carousel { padding-top: 34px; }
body.home-mode .feature-copy h2 { font-size: 48px; letter-spacing: 0; }
body.home-mode .feature.showcase-fallback { grid-template-columns: 1fr; min-height: 0; }
body.home-mode .showcase-fallback .feature-copy { padding: clamp(22px,5vw,62px); }
body.home-mode .showcase-fallback .feature-copy p { max-width: 42em; }
.feature-copy h2, .feature-copy p { margin-top: 0; }
.feature-copy .tag { padding: 5px 10px; border-radius: 5px; font-size: 12px; }
.feature-art, .feature-art * { box-sizing: border-box; }
.feature-art .paper-page, .feature-art .course-cover, .feature-art .mini-tool { color: #252622; }
body.home-mode [data-site-footer] .site-footer { margin-top: 0; background: #05070a; }
body.home-mode .site-header a { color: inherit; }
body.home-mode .header-actions .login-link { border-color: #34445a; }
.carousel-controls button { min-width: 44px; min-height: 44px; }
.slide-dots { gap: 0; }
.slide-dots button { position: relative; width: 28px; min-width: 28px; height: 44px; padding: 0; border: 0; border-radius: 4px; background: transparent !important; box-shadow: none !important; }
.slide-dots button::after { content: ''; position: static; inset: auto; width: 6px; height: 6px; border-radius: 50%; background: #667891; }
.slide-dots button.active::after { background: #7de4e4; box-shadow: 0 0 0 4px #7de4e41a; }
.carousel-controls .rotation-toggle { padding: 8px 12px; font-size: 12px; }
.product-carousel.rotation-paused *, .product-carousel.rotation-paused *::before, .product-carousel.rotation-paused *::after { animation-play-state: paused !important; }
body[data-site-page="welcome"] main { display: grid; place-items: center; padding: 56px 28px; background-image: linear-gradient(90deg,transparent calc(50% - 260px),var(--line) calc(50% - 260px),var(--line) calc(50% - 259px),transparent calc(50% - 259px),transparent calc(50% + 259px),var(--line) calc(50% + 259px),var(--line) calc(50% + 260px),transparent calc(50% + 260px)); }
.welcome-panel { width: min(100%,400px); padding: 24px 0; }
.welcome-brand-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.welcome-panel h1 { font-size: 32px; }
.welcome-panel > p { color: var(--muted); }
.welcome-panel .button { width: 100%; }
.welcome-panel .entry-actions { margin-top: 36px; }
.entry-separator { display: flex; align-items: center; gap: 18px; margin: 26px 0; color: var(--muted); font-size: 13px; }
.entry-separator::before, .entry-separator::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.welcome-notes { font-size: 14px; margin-top: 22px; }
.about-intro { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 60px; align-items: end; padding: 45px 0 68px; border-bottom: 1px solid var(--line); }
.about-intro h1 { max-width: 650px; font-size: clamp(30px,4vw,46px); line-height: 1.45; text-wrap: balance; }
.about-intro > p { color: var(--muted); font-size: 18px; border-top: 2px solid var(--accent); padding-top: 25px; }
.about-services { padding: 46px 0 10px; }
.about-services > p { color: var(--muted); }
.about-service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; list-style: none; padding: 0; margin: 28px 0 32px; }
.about-service-list li { padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.about-service-list span { color: var(--accent); font-size: 13px; }
.about-service-list h3 { margin-top: 18px; }
@media(max-width:1000px) { .about-intro { gap: 30px; } }
@media(max-width:760px) {
  body.home-mode main.home-carousel-page { padding-top: 18px; }
  body.home-mode .product-carousel { padding-top: 18px; }
  body.home-mode .feature-copy h2 { font-size: 34px; }
  .carousel-controls { flex-wrap: wrap; }
  .carousel-pagination { flex: 1 1 auto; gap: 12px; }
  .carousel-controls .rotation-toggle { order: 3; margin-left: auto; }
  .carousel-arrows { margin-left: auto; }
  .carousel-arrows button { width: 44px; height: 44px; }
  body[data-site-page="welcome"] main { padding: 36px 24px; background-image: none; }
  .welcome-brand-row { margin-bottom: 36px; }
  .about-intro { grid-template-columns: 1fr; gap: 18px; padding: 12px 0 36px; }
  .about-intro > p { font-size: 16px; }
  .about-service-list { grid-template-columns: 1fr; gap: 16px; }
}
@media(max-width:360px) { body.home-mode .feature-copy { padding-inline: 22px; } body.home-mode .feature-copy h2 { font-size: 30px; } }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; } }
