:root {
  --ink: #180f1f;
  --paper: #faf6ff;
  --card: #fff;
  --line: rgba(24, 15, 31, .11);
  --coral: #ff5a47;
  --magenta: #ff2e88;
  --violet: #8b3fff;
  --gold: #ffc13b;
  --text: #1a1025;
  --muted: #5b4b6e;
  --dark: #fdf6ff;
  --dark-muted: #c4afda;
  --gradient: linear-gradient(135deg, var(--coral), var(--magenta) 55%, var(--violet));
  --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; padding: .8rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; }
.site-nav { position: sticky; top: 0; z-index: 20; background: rgba(24, 15, 31, .94); 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(255, 46, 136, .55); }
.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(--magenta); filter: blur(115px); opacity: .38; right: -160px; top: -210px; }
.article-hero::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--violet); filter: blur(110px); opacity: .28; 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(139, 63, 255, .55); 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: #30243d; }
.article-content p { margin: 0 0 1.4rem; }
.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(--magenta); font-weight: 700; }
.callout { margin: 2.25rem 0; padding: 1.55rem 1.7rem; border: 1px solid rgba(139, 63, 255, .14); border-radius: 18px; background: #f0e7ff; color: #352247; 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(--magenta); }
.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: var(--ink); 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; }
.footer { background: var(--ink); 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; }
}
