:root {
  --ink: #0E0E0F;
  --paper: #151517;
  --card: #1D1D20;
  --line: rgba(255, 255, 255, .09);
  --coral: #FFB156;
  --magenta: #F2A33A;
  --violet: #E08A2E;
  --gold: #F6C26B;
  --amber: #F2A33A;
  --text: #F4F4F5;
  --muted: #A5A5AC;
  --dark: #F4F4F5;
  --dark-muted: #A5A5AC;
  --gradient: linear-gradient(135deg, #FFD08A, #F2A33A 55%, #E07B2A);
  --display: "Bricolage Grotesque", sans-serif;
  --body: "Plus Jakarta Sans", sans-serif;
  --mono: "Space Mono", monospace;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { border-radius: 4px; outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 1rem; background: #fff; color: #0E0E0F; padding: .8rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; }
.site-nav { position: sticky; top: 0; z-index: 20; background: rgba(14, 14, 15, .92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.nav-inner { max-width: var(--container); margin: auto; padding: 1.05rem clamp(1.25rem, 5vw, 2.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { font-family: var(--display); font-size: 1.2rem; font-weight: 700; color: var(--dark); }
.logo span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--dark-muted); font-size: .9rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: inline-flex; align-items: center; background: var(--dark); color: var(--ink) !important; font-weight: 700; padding: .62rem 1.15rem; border: 1px solid rgba(255, 255, 255, .9); border-radius: 999px; }
.nav-cta:hover, .nav-cta:focus-visible { background: #fff; border-color: #fff; color: var(--ink) !important; box-shadow: 0 10px 24px -8px rgba(242, 163, 58, .45); }
.article-hero { background: var(--ink); color: var(--dark); position: relative; overflow: hidden; padding: 5.7rem clamp(1.25rem, 5vw, 2.5rem) 5rem; }
.article-hero::before { content: ""; position: absolute; width: 470px; height: 470px; border-radius: 50%; background: var(--amber); filter: blur(115px); opacity: .14; right: -160px; top: -210px; }
.article-hero::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: #5A5A60; filter: blur(110px); opacity: .3; left: -180px; bottom: -230px; }
.hero-inner { position: relative; max-width: 900px; margin: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .82rem; color: var(--dark-muted); margin-bottom: 1.7rem; }
.breadcrumbs a:hover { color: #fff; }
.eyebrow { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 1rem; }
h1 { font-family: var(--display); font-size: clamp(2.6rem, 6.2vw, 4.8rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 1.25rem; max-width: 900px; }
.deck { font-size: 1.13rem; line-height: 1.65; color: var(--dark-muted); max-width: 750px; margin-bottom: 1.5rem; }
.byline { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; font-family: var(--mono); font-size: .72rem; color: var(--dark-muted); }
.byline .tag { color: var(--gold); font-weight: 700; }
.article-wrap { max-width: 900px; margin: auto; padding: 4.5rem clamp(1.25rem, 5vw, 2.5rem) 6rem; }
.article-visual { margin-bottom: 3.3rem; overflow: hidden; border-radius: 28px; background: var(--ink); box-shadow: 0 32px 72px -38px rgba(0, 0, 0, .9); aspect-ratio: 16 / 9; }
.article-hero-image { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.article-content { max-width: 760px; margin: auto; font-size: 1.045rem; line-height: 1.84; color: #D4D4D8; }
.article-content p { margin: 0 0 1.4rem; }
.article-content a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.article-content h2 { font-family: var(--display); font-size: clamp(1.65rem, 3vw, 2.15rem); line-height: 1.18; letter-spacing: -.012em; color: var(--text); margin: 3rem 0 1rem; scroll-margin-top: 6.5rem; }
.article-content h3 { font-family: var(--display); font-size: 1.28rem; line-height: 1.3; color: var(--text); margin: 2rem 0 .7rem; }
.article-content ul, .article-content ol { margin: 1.1rem 0 1.7rem; padding-left: 1.35rem; }
.article-content li { margin: .58rem 0; padding-left: .25rem; }
.article-content li::marker { color: var(--amber); font-weight: 700; }
.callout { margin: 2.25rem 0; padding: 1.55rem 1.7rem; border: 1px solid rgba(242, 163, 58, .35); border-radius: 18px; background: #24201A; color: #F6ECDC; font-weight: 600; }
.structure { counter-reset: step; display: grid; gap: 1rem; margin: 1.25rem 0 1.9rem; }
.structure > div { counter-increment: step; position: relative; padding: 1.2rem 1.3rem 1.2rem 4rem; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.structure > div::before { content: counter(step, decimal-leading-zero); position: absolute; left: 1.25rem; top: 1.15rem; font-family: var(--mono); font-weight: 700; color: var(--amber); }
.structure strong { display: block; font-family: var(--display); font-size: 1.08rem; color: var(--text); margin-bottom: .25rem; }
.article-cta { max-width: 760px; margin: 3.6rem auto 0; background: #0A0A0B; border: 1px solid var(--line); color: var(--dark); border-radius: 26px; padding: 2.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.4rem; }
.article-cta h2 { font-family: var(--display); font-size: 1.55rem; line-height: 1.25; margin-bottom: .35rem; }
.article-cta p { color: var(--dark-muted); max-width: 480px; }
.app-store-badge-link { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; }
.app-store-badge-link:hover { transform: translateY(-2px); }
.app-store-badge { display: block; width: 190px; max-width: 100%; height: auto; }
.google-play-badge { display: block; width: 213px; max-width: 100%; height: auto; }
.store-badges { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: .9rem; }
.store-badges .app-store-badge-link:has(.google-play-badge) { margin-left: -12px; }
.footer { background: #0A0A0B; border-top: 1px solid var(--line); color: var(--dark-muted); padding: 3rem clamp(1.25rem, 5vw, 2.5rem); }
.footer-inner { max-width: var(--container); margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .84rem; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer a:hover { color: #fff; }
@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .article-hero { padding-top: 4.5rem; padding-bottom: 4rem; }
  .article-wrap { padding-top: 3rem; }
  .article-cta { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
