:root {
  color-scheme: light;
  --page: #f5f5f0;
  --surface: #fff;
  --soft: #e9ede3;
  --ink: #1c2823;
  --secondary: #58645a;
  --action: #284d3b;
  --accent: #dce9c5;
  --earned: #846322;
  --rule: #d5dbd0;
  --night: #0b1231;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--page); font: 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { color: #fff; background: var(--action); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--earned); outline-offset: 5px; }
main:focus { outline: none; }
img { display: block; max-width: 100%; height: auto; }
figure, dl, dd { margin: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(3.8rem, 7.6vw, 7rem); line-height: 1.02; letter-spacing: -.055em; }
h2 { font-size: clamp(2.5rem, 4.4vw, 4.1rem); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 1.6rem; }
h3 { font-size: 1.35rem; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
em { font-weight: 400; }
p { margin-bottom: 1.25rem; }
ul, ol { padding-left: 1.35rem; }
li { padding-left: .15rem; margin: .65rem 0; }
.wrap { width: min(100% - 6rem, 1180px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 10; top: .5rem; left: 1rem; transform: translateY(-200%); padding: .8rem 1.2rem; border-radius: .6rem; background: var(--surface); }
.skip-link:focus { transform: none; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; flex-shrink: 0; }
.wordmark img { width: 154px; height: 42px; }
.site-header nav { display: flex; align-items: center; gap: 2rem; font-size: .85rem; font-weight: 500; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-header nav a:hover { color: var(--action); text-decoration: underline; }
.language { border-left: 1px solid var(--rule); padding-left: 2rem; }
.language a { color: var(--secondary); }
.eyebrow { display: flex; align-items: center; gap: .6rem; font: 600 .7rem/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--action); margin-bottom: 1.5rem; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--action); }
.lede { color: var(--secondary); font-size: 1.1rem; line-height: 1.75; max-width: 36rem; }
.small, figcaption, .version { font-size: .78rem; line-height: 1.6; color: var(--secondary); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin: 2rem 0 1rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.2rem; min-height: 52px; padding: .85rem 1.4rem; color: #fff; background: var(--action); border: 1px solid var(--action); border-radius: .65rem; font-size: .9rem; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .18s; }
.button:hover { background: #1c3b2c; text-decoration: none; }
.button span { font-size: 1.15rem; }
.text-link { display: inline-flex; gap: .8rem; align-items: center; min-height: 44px; padding-block: .5rem; font-size: .86rem; font-weight: 500; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; padding-block: 4.5rem 4rem; }
.hero h1 { color: var(--action); margin-bottom: 1.8rem; }
.hero-copy { padding-bottom: 1rem; }
.hero-copy .lede { max-width: 25rem; }
.platform-note { margin-top: 1.35rem; }
.hero-visual { position: relative; min-width: 0; padding: 2rem 1rem 0; display: flex; flex-direction: column; align-items: center; }
.aperture { position: absolute; inset: 0 0 5rem; background: radial-gradient(ellipse at 80% 85%, #303360, transparent 70%), var(--night); border-radius: 50% 50% 4rem 4rem; overflow: hidden; }
.aperture::before, .sky-section::before { content: ''; position: absolute; inset: 0; opacity: .6; background-image: radial-gradient(circle at 15% 28%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 77% 13%, #c7cde4 0 1px, transparent 1.5px), radial-gradient(circle at 52% 72%, #d9bf7d 0 1px, transparent 1.5px); background-size: 139px 199px, 211px 167px, 179px 239px; }
.orbit { position: absolute; border: 1px solid #c3bd9a40; border-radius: 50%; width: 155%; height: 90%; top: 10%; left: -28%; transform: rotate(-30deg); }
.orbit-two { width: 175%; height: 100%; top: 5%; left: -38%; }
.sky-spark { position: absolute; top: 13%; right: 12%; color: #e3c584; font-size: 2rem; }
.spark-small { top: 62%; left: 7%; font-size: 1rem; }
.phone { width: min(100%, 288px); overflow: hidden; border: 6px solid #fff; border-radius: 2.5rem; background: var(--page); box-shadow: 0 22px 55px -24px #152c2740, 0 0 0 1px #1c28230d; }
.app-screen { width: 100%; height: auto; aspect-ratio: 800 / 1738; }
.hero-phone { z-index: 1; width: min(76%, 300px); transform: rotate(-3deg); }
.hero-visual figcaption { z-index: 1; display: flex; align-items: center; gap: .7rem; margin-top: 1.5rem; }
.caption-line { display: inline-block; width: 24px; height: 1px; background: var(--earned); }
.chapter { padding-block: 6rem; }
.section-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 6rem; margin-bottom: 3rem; }
.section-intro h2 { margin-bottom: 0; }
.section-intro .lede { margin: 0 0 .2rem; max-width: 26rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.step { padding: 2rem 2rem 0 0; }
.step + .step { padding-left: 2rem; border-left: 1px solid var(--rule); }
.step-number { display: block; font: 400 1.15rem var(--serif); color: var(--earned); margin-bottom: 2rem; }
.step .eyebrow { margin-bottom: .7rem; font-size: .65rem; }
.step h3 { max-width: 16rem; }
.step p:last-child { color: var(--secondary); font-size: .93rem; max-width: 20rem; margin-bottom: 0; }
.sky-section { position: relative; isolation: isolate; overflow: hidden; color: #f5f5f0; background: radial-gradient(ellipse at 80% 100%, #27224f, transparent 65%), var(--night); }
.sky-section::before { z-index: -1; opacity: .22; }
.sky-layout { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 5rem; padding-block: 5rem; }
.sky-copy { padding-block: 1rem; }
.sky-copy h2 { font-size: clamp(2.8rem, 4.8vw, 4.7rem); }
.sky-section .eyebrow { color: #dfc789; }
.sky-section .lede, .sky-section figcaption { color: #c5cbdf; }
.sky-copy .lede { max-width: 29rem; }
.sky-note { display: flex; align-items: center; gap: .7rem; font-size: .85rem; margin-top: 2rem; }
.sky-note span { color: #dfc789; }
.sky-section .text-link { margin-top: .8rem; }
.sky-section :focus-visible { outline-color: #dfc789; }
.sky-figure { display: grid; justify-items: center; gap: 1.5rem; position: relative; }
.sky-figure::before { content: ''; position: absolute; width: 130%; height: 80%; top: 10%; border: 1px solid #a8aec524; border-radius: 50%; transform: rotate(-25deg); z-index: -1; }
.sky-phone { background: var(--night); border-color: #373b58; box-shadow: 0 25px 60px #03061c55; }
.reading-details { display: grid; gap: 5rem; }
.detail-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6rem; }
.detail-copy { max-width: 29rem; }
.detail-note { border-left: 2px solid var(--rule); padding-left: 1rem; max-width: 25rem; margin-top: 2rem; }
.screen-panel { display: grid; justify-items: center; gap: 1.5rem; border-radius: 1.5rem; padding: 2.5rem 1.5rem 1.5rem; background: var(--soft); overflow: hidden; }
.screen-panel .phone { width: 244px; border-width: 5px; border-radius: 2rem; }
.title-panel { background: #e9e9df; }
.stats-panel { background: #e5ece3; }
.reader-section { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; background: var(--soft); padding: 3.5rem 4rem; border-radius: 1.5rem; }
.reader-copy p:not(.eyebrow) { max-width: 28rem; color: var(--secondary); }
.reader-copy .text-link { color: var(--action); }
.control-list { align-self: center; }
.control-list div { padding-block: 1.2rem; border-bottom: 1px solid #cbd3c5; }
.control-list div:first-child { padding-top: 0; }
.control-list div:last-child { border: 0; padding-bottom: 0; }
.control-list dt { font-weight: 600; font-size: .95rem; margin-bottom: .4rem; }
.control-list dd { font-size: .9rem; color: var(--secondary); }
.closing { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 5rem 6rem; }
.closing-mark { width: 100px; height: 100px; margin-bottom: .5rem; }
.closing h2 { font-size: clamp(2.8rem, 5vw, 4.7rem); color: var(--action); }
.closing .small { margin: 1.5rem 0 0; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; border-top: 1px solid var(--rule); padding-block: 2.8rem 1.8rem; font-size: .82rem; }
.footer-imprint p { margin: .65rem 0 .8rem; color: var(--secondary); }
.footer-imprint small { color: var(--secondary); font-size: .75rem; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; align-content: start; }
.site-footer nav a { min-height: 44px; display: flex; align-items: center; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-note { grid-column: 1 / -1; color: var(--secondary); margin: 0; padding-top: 1.3rem; border-top: 1px solid var(--rule); font-size: .7rem; }
.page-intro { padding-top: 4rem; max-width: 55rem; }
.page-intro h1 { font-size: clamp(2.7rem, 5.2vw, 4.8rem); line-height: 1.1; color: var(--action); margin-bottom: 1.5rem; }
.document { padding-bottom: 5rem; }
.document .page-intro { max-width: 54rem; }
.document .lede { max-width: 46rem; }
.document > .version { padding-block: .5rem 1.5rem; margin-bottom: 0; border-bottom: 1px solid var(--rule); }
.document-layout { margin-top: 2.5rem; }
.document-layout:has(.toc) { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 3rem; }
.toc { position: sticky; top: 2rem; align-self: start; }
.toc .eyebrow { margin-bottom: 1rem; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { padding: 0; margin: 0; }
.toc a { display: block; padding: .65rem .8rem; min-height: 44px; font-size: .85rem; text-decoration: none; border-radius: .5rem; }
.toc a:hover { background: var(--soft); color: var(--action); text-decoration: underline; }
.prose { background: var(--surface); border: 1px solid #e3e7de; border-radius: 1.2rem; padding: clamp(1.25rem, 4vw, 3.5rem); min-width: 0; max-width: 850px; overflow-wrap: break-word; }
.prose p, .prose li { color: var(--secondary); }
.prose a { color: var(--action); }
.prose h2 { font-family: var(--sans); font-size: 1.6rem; font-weight: 500; line-height: 1.35; letter-spacing: -.025em; margin: 3rem 0 1.3rem; padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 2rem 0 1rem; }
.prose h4 { font-size: 1rem; margin: 1.5rem 0 .8rem; }
.prose b, .prose strong { color: var(--ink); font-weight: 600; }
.prose .button { color: #fff; margin-block: .5rem 1rem; max-width: 100%; }
.prose .version { border: 0; padding: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose :target { scroll-margin-top: 2rem; }
.prose h2:target, .prose h3:target { color: var(--action); }
.notice { background: var(--soft); border-left: 3px solid var(--action); border-radius: 0 .6rem .6rem 0; padding: 1.2rem 1.4rem; margin: 1.5rem 0; }
.notice p:last-child { margin-bottom: 0; }
.download-page { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 6rem; padding-block: 4rem 5rem; }
.download-icon { border-radius: 1.1rem; box-shadow: 0 0 0 1px var(--rule); }
.download-copy .page-intro { padding-top: 2rem; }
.download-copy h1 { max-width: 35rem; font-size: clamp(2.7rem, 4.8vw, 4.5rem); }
.download-copy .lede { max-width: 28rem; }
.store-prompt { font-size: .85rem; color: var(--secondary); margin-top: 1.8rem; }
.store-list { display: grid; gap: .8rem; margin: 1rem 0 1.3rem; max-width: 26rem; }
.store-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--surface); border: 1px solid var(--rule); border-radius: .9rem; min-height: 86px; padding: 1rem 1.4rem; text-decoration: none; }
.store-link:hover { background: var(--soft); border-color: var(--action); }
.store-link.store-primary { outline: 2px solid var(--action); outline-offset: -2px; }
.store-badge { width: 178px; height: 53px; object-fit: contain; }
.store-link > span { font-size: 1.3rem; color: var(--action); }
.download-support { color: var(--secondary); font-size: .8rem; margin-top: 2rem; }
.download-support a { display: inline-flex; align-items: center; min-height: 44px; }
.download-visual { display: grid; justify-items: center; gap: 1.5rem; background: var(--soft); padding: 3rem 1.5rem 2rem; border-radius: 15rem 15rem 1.5rem 1.5rem; }
.download-visual .phone { width: min(100%, 290px); }
.error-page { text-align: center; padding-block: 3rem 5rem; }
.error-page .page-intro { margin-inline: auto; padding-top: 2rem; }
.error-page .eyebrow { justify-content: center; }
.error-page .lede { margin: 0 auto 2rem; max-width: 29rem; }
.error-art { position: relative; display: grid; place-items: center; width: 190px; height: 210px; margin-inline: auto; overflow: hidden; border-radius: 100px 100px 20px 20px; background: radial-gradient(ellipse at bottom, #30315a, var(--night)); color: #e5ca8e; }
.error-number { font: 400 3rem var(--serif); margin-top: 2rem; }
.error-star { position: absolute; top: 20%; right: 28%; font-size: 1.5rem; }
.error-orbit { position: absolute; border: 1px solid #e3c58444; border-radius: 50%; width: 300px; height: 160px; transform: rotate(-35deg); }
@media (min-width: 1400px) {
  .hero { padding-block: 5.5rem; }
}
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 4rem); }
  .hero { gap: 2rem; }
  .hero h1 { font-size: clamp(3.5rem, 8vw, 6rem); }
  .hero-visual { padding-inline: .5rem; }
  .hero-phone { width: 83%; }
  .actions { gap: .8rem 1.2rem; }
  .section-intro, .detail-row, .sky-layout { gap: 3rem; }
  .reader-section { padding: 3rem; gap: 3rem; }
  .document-layout:has(.toc) { grid-template-columns: 170px minmax(0, 1fr); gap: 1.5rem; }
  .download-page { gap: 3rem; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.5rem); }
  .site-header { min-height: 88px; }
  .wordmark img { width: 132px; height: 36px; }
  .site-header nav { gap: 1.1rem; font-size: .8rem; }
  .language { padding-left: 1.1rem; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.5rem 1.5rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(4rem, 12vw, 5.8rem); }
  .hero-copy .lede { max-width: 28rem; }
  .hero-visual { width: min(100%, 440px); justify-self: center; padding-top: 2rem; }
  .hero-phone { width: 260px; }
  .hero-visual figcaption { margin-top: 1.8rem; }
  .aperture { inset: 0 0 5rem; }
  .chapter { padding-block: 4rem; }
  .section-intro { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
  .section-intro .lede { max-width: 31rem; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { position: relative; padding: 1.8rem 0 1.8rem 3rem; border: 0; border-bottom: 1px solid var(--rule); }
  .step-number { position: absolute; left: 0; top: 1.8rem; }
  .step h3, .step p:last-child { max-width: none; }
  .step h3 { margin-bottom: .6rem; }
  .sky-layout { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3rem; }
  .sky-copy h2 { font-size: clamp(2.9rem, 8vw, 4.1rem); }
  .sky-copy .lede { max-width: 32rem; }
  .sky-figure { width: min(100%, 390px); justify-self: center; }
  .sky-phone { width: 260px; }
  .detail-row { grid-template-columns: 1fr; gap: 2rem; }
  .detail-copy { max-width: 32rem; }
  .detail-row .detail-copy { grid-row: 1; }
  .screen-panel { width: 100%; }
  .screen-panel .phone { width: 240px; }
  .reading-details { gap: 4rem; }
  .reader-section { grid-template-columns: 1fr; padding: 2rem; gap: 1.5rem; }
  .closing { padding-block: 3rem 4rem; }
  .site-footer { gap: 2rem; }
  .site-footer nav { grid-template-columns: 1fr; }
  .page-intro { padding-top: 3rem; }
  .document-layout:has(.toc) { display: block; }
  .toc { position: static; margin-bottom: 2rem; padding: 1.5rem; background: var(--soft); border-radius: .8rem; }
  .toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .toc a { padding-left: 0; }
  .prose { max-width: none; }
  .download-page { grid-template-columns: 1fr; gap: 3rem; padding-top: 3rem; }
  .download-copy h1 { max-width: 32rem; }
  .download-visual { width: min(100%, 440px); justify-self: center; }
  .download-visual .phone { width: 260px; }
}
@media (max-width: 520px) {
  .site-header { flex-wrap: wrap; gap: 0; padding-block: .8rem .3rem; }
  .wordmark img { width: 132px; height: 36px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: .6rem; }
  .language { padding-left: .9rem; }
  .hero { padding-top: 2.7rem; }
  .hero h1 { font-size: 4.4rem; }
  .eyebrow { font-size: .65rem; letter-spacing: .12em; }
  .hero .lede { font-size: 1.05rem; }
  .actions { gap: .6rem 1rem; }
  .actions .button { gap: 1.5rem; }
  .actions .text-link { font-size: .78rem; gap: .5rem; }
  .hero-visual { margin-top: 1rem; }
  .hero-phone { width: 240px; }
  .aperture { border-radius: 11rem 11rem 2rem 2rem; }
  .sky-note { align-items: baseline; font-size: .8rem; }
  .reader-section { padding: 1.7rem; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { grid-template-columns: 1fr 1fr; gap: .2rem 1rem; font-size: .78rem; }
  .site-footer nav a:last-child { grid-column: 1 / -1; }
  .toc ol { grid-template-columns: 1fr; }
  .prose { padding: 1.4rem; border-radius: .8rem; }
  .prose h2 { font-size: 1.4rem; }
  .prose .button { gap: 1rem; font-size: .85rem; }
  .document-layout { margin-top: 1.5rem; }
  .page-intro h1 { font-size: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (forced-colors: active) {
  .button, .phone, .reader-section, .prose, .store-link { border: 1px solid CanvasText; }
  .aperture, .error-art { border: 1px solid CanvasText; }
  .sky-spark, .error-number, .error-star { color: CanvasText; }
}
@media print {
  body { color: #000; background: #fff; }
  .site-header, .site-footer, .toc, .skip-link { display: none; }
  .wrap { width: 100%; }
  .document-layout:has(.toc) { display: block; }
  .prose { background: #fff; border: 0; padding: 0; max-width: none; }
  .prose p, .prose li, .version, .lede { color: #222; }
  .prose h2, .prose h3 { break-after: avoid; }
  .page-intro { padding-top: 0; }
}
