/* Shared screen dimensions keep every iPhone view consistent. */
.cast { --page:#ffffff; --surface:#ffffff; --ink:#202126; --muted:#60636c; --line:#e3e5ea; --accent:#765706; --focus:#1974a5; --band:#f5f6f8; --button:#202126; --button-ink:#ffffff; --phone-width:232px; background:var(--page); color:var(--ink); }
.cast:has(#page-dark:checked) { color-scheme:dark; --page:#171816; --surface:#222420; --ink:#f5f0e7; --muted:#b9bcb7; --line:#383c34; --accent:#edc66d; --focus:#f1c771; --band:#20231d; --button:#edc66d; --button-ink:#242017; }
.cast main { max-width:none; padding:0; }
.cast .wrap { width:min(1180px, calc(100% - 64px)); margin-inline:auto; }
.cast a { color:var(--ink); text-decoration:none; }
.cast a:hover { text-decoration:underline; text-underline-offset:5px; }
.cast h1,.cast h2,.cast h3 { letter-spacing:-.045em; }
.cast h2 { font-size:clamp(2.25rem,4vw,3.5rem); line-height:1.1; margin:0 0 24px; }
.cast h3 { font-size:1.65rem; line-height:1.2; margin:0 0 20px; }
.cast p { color:var(--muted); }
.cast .eyebrow { font-size:.7rem; letter-spacing:.15em; font-weight:800; margin:0 0 22px; color:var(--accent); }
.cast-nav { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:92px; padding-block:18px; }
.cast-brand { display:inline-flex; align-items:center; flex-shrink:0; gap:12px; color:var(--ink); font-size:1.4rem; font-weight:800; letter-spacing:-.04em; }
.cast-nav nav { display:flex; align-items:center; flex-wrap:wrap; gap:26px; font-size:.9rem; font-weight:700; }
.cast-nav nav a { padding-block:8px; }
.cast-hero { display:grid; grid-template-columns:1.15fr 1fr; gap:64px; align-items:center; padding:40px 0 56px; }
.cast-hero h1 { font-size:clamp(3.5rem,6.6vw,5.7rem); line-height:1.02; margin:0 0 28px; }
.cast-hero h1 em { font-family:Georgia,serif; font-weight:400; color:var(--accent); }
.cast .hero-intro { font-size:1.4rem; line-height:1.5; color:var(--ink); margin:0 0 20px; }
.hero-visual { display:grid; place-items:center; border-radius:40px; padding:32px 0; background:radial-gradient(ellipse at center, color-mix(in srgb, var(--accent), transparent 83%), transparent 70%); }
.screen { display:block; width:var(--phone-width); max-width:100%; margin:0; border:5px solid #393833; border-radius:28px; overflow:hidden; background:#151515; box-shadow:0 18px 45px #00000026; flex-shrink:0; }
.screen img { display:block; width:100%; height:auto; aspect-ratio:1206 / 2622; }
.light-screen { border-color:#d7cdb6; }
.cast .section { padding-block:60px; }
.section-top { max-width:650px; }
.centered { text-align:center; margin-inline:auto; }
.import-guides { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:40px 0 28px; }
.import-guide { display:flex; align-items:center; gap:24px; padding:24px; background:var(--surface); border:1px solid var(--line); border-radius:28px; }
.guide-copy { min-width:0; }
.guide-copy .eyebrow { font-size:.6rem; letter-spacing:.1em; margin-bottom:14px; }
.guide-steps { margin:0; padding-left:18px; color:var(--muted); font-size:.87rem; line-height:1.65; }
.guide-steps li { padding-left:3px; margin-bottom:15px; }
.guide-steps li:last-child { margin-bottom:0; }
.guide-steps li::marker { color:var(--accent); font-weight:800; }
.guide-steps strong { color:var(--ink); }
.formats { text-align:center; font-size:.8rem; line-height:1.9; margin-bottom:0; }
.inside-section { background:var(--band); padding-block:60px; }
.inside-grid { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:64px; }
.inside-grid > .screen { justify-self:center; }
.feature-list { margin:28px 0 0; }
.feature-list > div { border-top:1px solid var(--line); padding-block:18px; }
.feature-list dt { font-size:1.05rem; font-weight:800; margin-bottom:7px; }
.feature-list dd { margin:0; color:var(--muted); font-size:.96rem; line-height:1.7; }
.theme-layout { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:64px; }

.theme-picker { display:flex; flex-direction:column; align-items:center; gap:28px; }
.theme-preview { order:-1; }
.theme-preview .screen { display:none; }
.theme-picker:has(#theme-gold:checked) .theme-gold,
.theme-picker:has(#theme-blue:checked) .theme-blue,
.theme-picker:has(#theme-green:checked) .theme-green,
.theme-picker:has(#theme-graphite:checked) .theme-graphite,
.theme-picker:has(#theme-synthwave:checked) .theme-synthwave { display:block; }
.theme-options { display:flex; justify-content:center; flex-wrap:wrap; gap:14px; border:0; margin:0; padding:0; }
.theme-options legend { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.theme-option { display:flex; flex-direction:column; align-items:center; gap:9px; cursor:pointer; font-size:.7rem; color:var(--muted); }
.theme-option input { appearance:none; width:34px; height:34px; margin:0; border:5px solid var(--page); border-radius:50%; box-shadow:0 0 0 1px var(--line); cursor:pointer; }
#theme-gold { background:#ffbf32; }
#theme-blue { background:#0a84ff; }
#theme-green { background:#30d158; }
#theme-graphite { background:#d1d1d6; }
#theme-synthwave { background:linear-gradient(135deg,#ff4fcb,#a175ff,#43e8ff); }
.theme-option input:checked { box-shadow:0 0 0 2px var(--ink); }
.theme-option:has(input:checked) { color:var(--ink); font-weight:800; }
.theme-option input:focus-visible { outline:3px solid var(--focus); outline-offset:5px; }
.cast .text-link { color:var(--accent); text-decoration:underline; text-underline-offset:5px; font-size:.9rem; font-weight:800; }
.cast .closing { display:flex; align-items:center; justify-content:space-between; gap:32px; padding-block:56px; }
.cast-footer { display:grid; grid-template-columns:1fr 1fr; gap:24px; border-top:1px solid var(--line); padding-block:32px; }
.cast-footer .cast-brand { font-size:1.1rem; }
.cast-footer p { font-size:.78rem; margin:8px 0 0; }
.cast-footer nav { display:flex; align-items:flex-start; justify-content:flex-end; flex-wrap:wrap; gap:20px; font-size:.8rem; }
.footer-meta { grid-column:1 / -1; }
/* The light page uses neutral surfaces; gold belongs to the player. */
.cast:not(:has(#page-dark:checked)) .cast-nav { border-bottom:1px solid var(--line); }
.cast:not(:has(#page-dark:checked)) .cast-hero h1 em { font:inherit; color:var(--ink); background:linear-gradient(transparent 87%,#f4c64f 87% 96%,transparent 96%); }
.cast:not(:has(#page-dark:checked)) .hero-intro { color:var(--muted); font-size:1.2rem; line-height:1.65; }
.cast:not(:has(#page-dark:checked)) .hero-visual { background:radial-gradient(ellipse at 50% 35%,#ffffff 0 22%,transparent 65%),#f3f4f6; border:1px solid #e9eaee; border-radius:32px; }
.cast:not(:has(#page-dark:checked)) .screen { box-shadow:0 22px 38px #17203918,0 4px 8px #1720390c; }
.cast:not(:has(#page-dark:checked)) .light-screen { border-color:#d9dce2; }
.cast:not(:has(#page-dark:checked)) .import-guide { background:#f8f9fb; border-color:#e9ebef; box-shadow:0 4px 20px #17203905; }
.cast:not(:has(#page-dark:checked)) .guide-steps li::marker { color:var(--ink); }
.cast:not(:has(#page-dark:checked)) .inside-section { background:#f5f6f8; border-block:1px solid #e9ebef; }
.cast:not(:has(#page-dark:checked)) .theme-picker { padding:28px 24px; border-radius:32px; background:#f5f6f8; }
@media (max-width:1100px) { .import-guide { flex-direction:column; align-items:stretch; padding:28px; } .import-guide .screen { align-self:center; } .guide-copy h3 br { display:none; } .cast-nav nav { gap:18px; } }
@media (max-width:760px) {
 .cast { --phone-width:232px; }
 .cast .wrap { width:calc(100% - 40px); }
 .cast-nav { flex-direction:column; gap:12px; padding-block:18px; }
 .cast-nav nav { justify-content:center; gap:10px 20px; font-size:.8rem; }
 .cast-brand { font-size:1.25rem; }
 .cast-hero { grid-template-columns:1fr; gap:24px; padding-block:40px 48px; text-align:center; }
 .cast-hero h1 { font-size:clamp(3.4rem,13vw,5rem); }
 .hero-visual { padding:12px 0; }
 .cast .section,.inside-section { padding-block:56px; }
 .import-guides { grid-template-columns:1fr; margin-top:30px; }
 .import-guide { gap:24px; }
 .guide-copy { max-width:330px; margin-inline:auto; }
 .guide-copy h3 { font-size:1.8rem; }
 .inside-grid,.theme-layout { grid-template-columns:1fr; gap:32px; }
 .inside-copy,.theme-copy { text-align:center; }
 .feature-list { text-align:left; }
 .theme-options { gap:12px; }
 .cast-footer { grid-template-columns:1fr; }
 .cast-footer nav { justify-content:flex-start; }
}
@media print { .cast-nav,.cast-footer,.theme-options { display:none; } .screen { box-shadow:none; } }

.cast .hero-detail { max-width:470px; font-size:1.03rem; line-height:1.8; margin:0; }
.hero-notes { display:flex; flex-wrap:wrap; gap:12px 24px; list-style:none; margin:30px 0 0; padding:22px 0 0; border-top:1px solid var(--line); font-size:.83rem; font-weight:700; }
.hero-notes li { margin:0; }
.hero-notes li::before { content:""; display:inline-block; width:6px; height:6px; margin:0 9px 2px 0; border-radius:50%; background:var(--accent); }
.cast .hero-visual { background:repeating-radial-gradient(ellipse at 100% 100%,transparent 0 55px,#ffffff26 56px 57px,transparent 58px 96px),radial-gradient(ellipse at 30% 20%,#a49bcc22,transparent 65%),var(--band); }
.cast:not(:has(#page-dark:checked)) .hero-visual { background:repeating-radial-gradient(ellipse at 100% 100%,transparent 0 55px,#ffffffbb 56px 57px,transparent 58px 96px),radial-gradient(ellipse at 25% 20%,#e7e1f4,transparent 65%),#f1f2f6; }
.section-top > p:last-child { font-size:1.06rem; line-height:1.7; margin:0; }
.section-top .eyebrow { margin-bottom:14px; }
.formats { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:0 24px; padding:20px 24px; border:1px solid var(--line); border-radius:20px; text-align:left; }
.formats > strong { color:var(--ink); font-size:1.05rem; }
.formats p { grid-column:1; margin:4px 0 0; font-size:.9rem; }
.formats ul { grid-column:2; grid-row:1 / 3; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; list-style:none; padding:0; margin:0; }
.formats li { padding:5px 14px; border:1px solid var(--line); border-radius:8px; margin:0; font-size:.75rem; color:var(--ink); }
.theme-copy > p:not(.eyebrow) { max-width:440px; font-size:1.1rem; line-height:1.8; }
.theme-copy .theme-instruction { color:var(--accent); font-size:.88rem !important; }
.theme-detail { max-width:440px; border-top:1px solid var(--line); margin-top:30px; padding-top:24px; }
.theme-detail p { font-size:.96rem; line-height:1.8; margin-bottom:0; }
.keep-band { background:var(--band); border-block:1px solid var(--line); }
.keep-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:36px; }
.keep-features article { border:1px solid var(--line); background:var(--surface); border-radius:24px; padding:28px; }
.feature-number { display:block; font-size:.75rem; font-weight:800; letter-spacing:.08em; color:var(--accent); margin-bottom:24px; }
.keep-features h3 { font-size:1.4rem; margin-bottom:14px; }
.keep-features p { font-size:.95rem; line-height:1.8; margin:0; }
.keep-features .feature-note { font-size:.8rem; margin-top:16px; }
.keep-features .text-link { display:inline-block; margin-top:18px; }
.closing-copy { display:flex; align-items:center; gap:20px; }
.closing-copy img { flex-shrink:0; }
.cast .closing h2 { font-size:clamp(1.7rem,2.5vw,2.4rem); margin:0 0 8px; }
.cast .closing p { margin:0; font-size:.95rem; }
@media (max-width:1000px) {
 .keep-features { gap:14px; }
 .keep-features article { padding:22px; }
 .cast .closing { flex-direction:column; align-items:center; }
}
@media (max-width:760px) {
 .hero-notes { justify-content:center; gap:10px 16px; }
 .cast .hero-detail,.theme-copy > p:not(.eyebrow),.theme-detail { margin-inline:auto; }
 .keep-features { grid-template-columns:1fr; }
 .keep-features article { padding:26px; }
 .feature-number { margin-bottom:16px; }
 .closing-copy { flex-direction:column; text-align:center; }
 .formats { grid-template-columns:1fr; text-align:center; padding:22px 14px; }
 .formats ul { grid-column:1; grid-row:auto; justify-content:center; margin-top:16px; }
}
