/* Curated product page. No fonts, trackers, or third-party assets. */
:root { --accent: #164e94; --wash: #eaf0f7; --paper: #fffdf7; }
body { background: #f7f7f5; }
.app-page { max-width: none; width: 100%; padding: 2.5rem 0 1rem; }
.app-page .back { margin-bottom: 2rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; margin-bottom: .85rem; }
.app-heading { gap: .8rem; margin-bottom: 1.1rem; flex-wrap: nowrap; }
.app-heading .app-icon { width: 56px; height: 56px; flex-shrink: 0; }
.app-page h1 { font-size: clamp(2.25rem, 6vw, 3.8rem); letter-spacing: -.05em; line-height: 1.02; overflow-wrap: normal; }
.tagline { font-size: clamp(1.25rem, 3vw, 1.55rem); color: var(--text); line-height: 1.3; letter-spacing: -.025em; margin-bottom: .85rem; }
.hero-copy > p:not(.eyebrow):not(.tagline):not(.release-note) { color: #50585f; }
.hero-art { margin: 0; align-self: center; }
.hero-art img { width: 100%; height: auto; }
.app-page .download-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 1.3rem 0 .8rem; }
.app-page .download-link { min-height: 3.15rem; border-radius: .7rem; white-space: normal; text-align: center; align-items: center; justify-content: center; line-height: 1.3; padding: .7rem .8rem; }
.download-link.primary { color: #fff; border-color: var(--accent); background: var(--accent); }
.download-link.primary:hover { background: #13375f; border-color: #13375f; }
.release-note, .caption, .small { font-size: .88rem; color: #565d63; }
.release-note { line-height: 1.55; margin-bottom: 0; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.requirements { margin: 2rem 0 0; padding: 1.05rem 1.2rem; background: var(--wash); border-left: 3px solid var(--accent); border-radius: 0 .6rem .6rem 0; }
.requirements p { margin: 0; color: #303c49; font-size: .95rem; }
.requirements p + p { margin-top: .55rem; }
.app-page section.content-section { margin-top: 2.75rem; scroll-margin-top: 1rem; }
.app-page h2 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 1rem; }
.section-intro { color: #565d63; max-width: 43rem; }
.feature-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin: 1.25rem 0 0; }
.feature-grid li { padding-top: .85rem; border-top: 1px solid var(--line); color: #50585f; }
.feature-grid strong { display: block; margin-bottom: .35rem; color: var(--text); font-size: 1.05rem; }
.steps { counter-reset: install; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; margin: 1.5rem 0; }
.steps li::before { counter-increment: install; content: counter(install) / ""; color: var(--accent); background: var(--wash); width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; margin-bottom: .7rem; font-weight: 700; }
.steps strong { display: block; margin-bottom: .45rem; }
.steps p { margin-bottom: 0; color: #50585f; font-size: .95rem; }
.voice-panel { background: var(--paper); border: 1px solid #e6dcc6; border-radius: .85rem; padding: 1.4rem; }
.voice-panel p:last-child { margin-bottom: 0; }
.service-list { display: flex; flex-wrap: wrap; gap: .4rem .5rem; padding: 0; list-style: none; margin: 0 0 1.05rem; }
.service-list li { border: 1px solid #d7cdb9; border-radius: 99px; font-size: .86rem; padding: .28rem .65rem; }
.app-page details { border-top: 1px solid var(--line); padding: .55rem 0; }
.app-page details:last-child { border-bottom: 1px solid var(--line); }
.app-page summary { cursor: pointer; min-height: 3rem; padding: .75rem .15rem; font-weight: 650; }
.app-page details p { color: #50585f; margin: .65rem 0 1rem; }
.file-links { display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; }
.file-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer { margin-top: 2.5rem; border-top: 1px solid var(--line); padding: 1.25rem 0 2.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.site-footer p { margin: 0; }
.tether { --accent: #414637; --wash: #eeeee5; --paper: #f4f0e6; }
.tether .download-link.primary:hover { background: #252a21; border-color: #252a21; }
.tether .hero { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 2rem; }
.story-preview { margin: 0; padding: 1.6rem; border-radius: .8rem; background: #e8e6da; display: grid; justify-items: center; gap: .8rem; }
.story-preview img { width: 200px; max-width: 100%; border: 8px solid #22261f; border-radius: .25rem; image-rendering: pixelated; }
.story-preview figcaption { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #52564c; text-align: center; }
.story-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 1rem 0; margin: 1.25rem 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #555b50; font-size: .9rem; }
.story-facts strong { color: #252a21; }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.screens figure { margin: 0; min-width: 0; }
.screen-mat { background: #e8e6da; border-radius: .7rem; padding: 1.2rem; display: grid; place-items: center; }
.screens img { image-rendering: pixelated; width: 160px; max-width: 100%; border: 5px solid #22261f; }
.screens figcaption { color: #555b50; font-size: .9rem; line-height: 1.4; margin-top: .75rem; }
.screens figcaption strong { display: block; color: #252a21; margin-bottom: .25rem; }
.archive-link { display: inline-flex; align-items: center; min-height: 3rem; font-weight: 600; }
@media (max-width: 650px) {
  .hero, .tether .hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .app-page { padding-top: 1.75rem; }
  .app-page .back { margin-bottom: 1.4rem; }
  .app-page h1 { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .hero-art { max-width: 17rem; justify-self: center; }
  .requirements { margin-top: 1.5rem; padding: 1rem; }
  .steps { grid-template-columns: 1fr; gap: 1.3rem; }
  .steps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0 .75rem; }
  .steps li::before { grid-row: 1 / 3; }
  .steps li strong, .steps li p { grid-column: 2; }
  .story-preview { padding: 1.25rem; }
  .story-preview img { width: 176px; }
  .screens { gap: .75rem; }
  .screen-mat { padding: .6rem; }
  .screens img { border-width: 3px; }
  .voice-panel { padding: 1.1rem; }
}
@media (max-width: 420px) {
  .feature-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .app-page .download-link { font-size: .86rem; padding: .7rem .55rem; }
  .screens { grid-template-columns: 1fr; }
  .screens figure { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 1rem; align-items: center; }
  .screens figcaption { margin-top: 0; }
  .screens img { width: 136px; }
}
