:root{color-scheme:dark;--bg:#070707;--panel:#151515;--line:#353535;--muted:#bbb;--accent:#ff7957}html{scroll-behavior:smooth;scroll-padding-top:2rem}body{margin:0;background:var(--bg);color:#fafafa;font:1rem/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}a{color:#ffb397;text-underline-offset:.2em}a:hover{color:#fff}a:focus-visible,button:focus-visible{outline:3px solid #ffb397;outline-offset:5px}h1,h2,h3{line-height:1.15;letter-spacing:-.025em}h1{font-size:clamp(2rem,5vw,3.6rem);margin:.5em 0}h2{font-size:1.6rem;margin-top:2em}h3{font-size:1.2rem}p{margin:1em 0}.site-header{position:relative;z-index:5;max-width:1200px;margin:auto;padding:1.5rem 2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.wordmark{font-weight:900;letter-spacing:.08em;color:#fff;text-decoration:none}.site-header nav,.site-footer nav{display:flex;flex-wrap:wrap;gap:1.5rem}.site-header nav a{color:#eee;text-decoration:none;font-size:.95rem}.site-header nav a:hover{text-decoration:underline}.reading{max-width:900px;margin:auto;padding:3rem 2rem 5rem;position:relative;z-index:3}.lede{font-size:1.25rem;color:#ddd;max-width:42rem}.eyebrow{color:var(--accent);text-transform:uppercase;font-size:.8rem;letter-spacing:.14em;font-weight:700}.byline,.breadcrumbs,.fine-print{font-size:.9rem;color:var(--muted)}.prose p,.prose li{max-width:70ch}.prose h2{margin-top:2.3rem}.prose table{width:100%;border-collapse:collapse;margin:2rem 0;font-size:.95rem}.prose th,.prose td{padding:.8rem;text-align:left;border-bottom:1px solid var(--line)}.prose th{color:#ffb397}.article-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin:2rem 0}.article-card{padding:1.5rem;background:var(--panel);border:1px solid var(--line);border-radius:18px}.article-card h2{font-size:1.4rem;margin:.7rem 0}.article-card h2 a{color:white;text-decoration:none}.article-card h2 a:hover{text-decoration:underline}.article-card p{color:#ccc}.article-card .eyebrow{color:var(--accent)}.app-cta{background:#21140f;border:1px solid #70402f;border-radius:20px;padding:2rem;margin:3rem 0}.app-cta h2{margin-top:0}.button{display:inline-block;padding:.8rem 1.2rem;border-radius:999px;background:#ff5527;color:#ffe4a1;font-weight:700;text-decoration:none}.button:hover{background:#ff5527;color:#ffe4a1}.toc{border-left:3px solid var(--accent);padding:.5rem 1.4rem;margin:2rem 0;background:var(--panel)}.toc p{font-weight:700}.toc ul{padding-left:1rem}.toc li{margin:.4rem 0}.site-footer{position:relative;z-index:3;border-top:1px solid var(--line);padding:2rem;max-width:1200px;margin:auto;font-size:.9rem;color:var(--muted)}.site-footer nav{gap:1rem}.skip-link{position:absolute;left:1rem;top:-100px;background:#fff;color:#111;padding:.8rem;z-index:50}.skip-link:focus{top:.5rem}.preview-notice{text-align:center;background:#39291c;color:#ffe0b0;padding:.5rem;font-size:.85rem;position:relative;z-index:6}.home-sections{max-width:1100px;margin:auto;padding:3rem 2rem;position:relative;z-index:3}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}.home-sections h2{margin-top:1rem}.home-sections p{color:#ccc}.home-sections .article-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home .glass{max-width:33rem;padding:2.5rem 2rem}.home .container{min-height:75vh}.home .description{font-size:1.05rem;line-height:1.6;margin:1rem 0}.home .download-btn{font:700 1rem/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#ff5527;color:#ffe4a1;padding:.85rem 1.5rem}.home .logo{margin-bottom:1.5rem}.home .bgimage-layer{height:90vh;background-image:url('/assets/web_bg.webp')}.home .bg-decoration::before{background-image:none}.home .fine-print{font-size:.9rem;line-height:1.6;margin-top:1rem}.home .glow-layer{filter:blur(120px);opacity:.5}.home h1{font-size:clamp(2rem,4vw,3rem)}@media(max-width:700px){.site-header{padding:1rem;align-items:flex-start}.site-header nav{gap:1rem}.reading{padding:2rem 1.25rem 3rem}.article-grid,.feature-grid,.home-sections .article-grid{grid-template-columns:1fr}.home-sections{padding:2rem 1.25rem}.app-cta{padding:1.5rem}.home .container{padding:7rem 1rem 3rem;min-height:auto}.home .glass{width:100%;margin:0;padding:2rem 1.5rem;border-radius:28px}.home .bgimage-layer{height:75vh}.home::after{display:none}.site-footer{padding:2rem 1.25rem}.prose table{font-size:.85rem}.prose th,.prose td{padding:.5rem}.site-header .wordmark{font-size:.9rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* Keep the existing brand artwork in the shared header. */
.wordmark { display: inline-flex; align-items: center; min-height: 1.7rem; flex-shrink: 0; }
.wordmark img { display: block; width: 7.3125rem; height: auto; }

/* The hero owns its decorative layers, so they cannot cover the following section. */
.home-hero { position: relative; isolation: isolate; overflow: hidden; }
.home .home-hero .bgimage-layer { inset: 0; width: 100%; height: 100%; pointer-events: none; }
.home .home-hero .container { min-height: calc(100svh - 5rem); padding: 5rem 1.5rem; }
.home .home-sections { padding-top: 4rem; }
.home .home-sections > h2 { margin-bottom: 1.5rem; }
.home .download-btn:hover { background: #ff5527; color: #ffe4a1; }

@media (max-width: 700px) {
  .home .home-hero .container { min-height: auto; padding: 5rem 1rem 3rem; }
  .home .home-sections { padding-top: 3rem; }
}
@media (max-width: 400px) {
  .site-header nav { gap: .75rem; }
  .site-header nav a { font-size: .85rem; }
}

/* Real app screenshots stay legible and reserve their space before loading. */
.article-card { padding: 0; overflow: hidden; }
.article-card-image { display: block; overflow: hidden; aspect-ratio: 8 / 5; background: #111; }
.article-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-card-content { padding: 1.5rem; }
.article-card-content > :first-child { margin-top: 0; }
.article-figure { margin: 2.5rem 0; padding: 1.25rem; background: #111; border: 1px solid var(--line); border-radius: 18px; }
.article-figure img { display: block; max-width: 100%; width: 100%; height: auto; margin: auto; border-radius: 12px; }
.article-figure.portrait img { max-width: 418px; }
.article-figure.compact img { max-width: 545px; }
.article-figure figcaption { color: var(--muted); font-size: .9rem; line-height: 1.6; margin: 1rem auto 0; max-width: 65ch; }
@media (max-width: 700px) { .article-figure { margin: 2rem 0; padding: .75rem; } }
