
      @font-face { font-family: "Hammersmith One"; font-style: normal; font-weight: 400; font-display: swap;
        src: url(canvas/fonts/hammersmithone-latin.woff2) format("woff2"); }
      :root {
        --font-display: "Hammersmith One", "Arial Black", sans-serif;
        --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
        --parchment: #f5f2ed; --paper: #fffaf0; --brown: #3d2b1f; --brown-soft: #705a45; --brown-dark: #1a1008;
        --board: #2a170a; --board-2: #3a2418; --gold: #b6751d; --gold-deep: #9a6218; --gold-light: #f0c850; --ember: #d4921f;
        --line: rgba(154, 98, 24, 0.24); --ease: cubic-bezier(0.16, 1, 0.3, 1); --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
      }
      * { box-sizing: border-box; }
      html, body { margin: 0; overflow-x: hidden; }
      body { color: var(--brown); font-family: var(--font-body); line-height: 1.5; -webkit-font-smoothing: antialiased;
        background: radial-gradient(circle at 10% 3%, rgba(240,200,80,.2), transparent 30rem),
                    radial-gradient(circle at 94% 20%, rgba(169,81,57,.1), transparent 30rem), var(--parchment); }
      h1, h2, h3, p { text-wrap: balance; margin: 0; }
      button { font: inherit; cursor: pointer; }
      .wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
      .eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
      .display { font-family: var(--font-display); line-height: 1.02; letter-spacing: -.01em; }
      .gold { color: var(--gold); }

      /* ---------- hero ---------- */
      .hero { padding: 54px 0 26px; text-align: center; }
      .hero h1 { font-size: clamp(2.5rem, 7vw, 5rem); margin: 12px 0 14px; }
      .hero p.lead { max-width: 640px; margin: 0 auto; color: var(--brown-soft); font-size: clamp(1rem, 2vw, 1.2rem); }
      .stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 0; }
      .stat { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: .95rem;
        box-shadow: 0 8px 22px -14px rgba(61,43,31,.5); }
      .stat b { font-family: var(--font-display); font-weight: 400; color: var(--gold); font-size: 1.1rem; margin-right: 6px; }

      /* ---------- chapters ---------- */
      .chapter { padding: 46px 0 10px; }
      .chapter__head { display: grid; gap: 10px; max-width: 720px; margin-bottom: 22px; }
      .chapter__head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
      .chapter__head p { color: var(--brown-soft); font-size: 1.05rem; }
      .chapter__head p strong { color: var(--brown); }

      /* dark "board" panels hold every demo so the art pops */
      .board { position: relative; border-radius: 30px; overflow: hidden; color: #f5ecdd;
        background: radial-gradient(circle at 18% 12%, #4a3020, var(--board) 58%);
        box-shadow: 0 40px 70px -34px rgba(26,16,8,.75), 0 0 0 1px rgba(240,200,80,.16), inset 0 1px 0 rgba(255,255,255,.06); }
      .board::before { content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none;
        background-image: radial-gradient(#f5ecdd 1.2px, transparent 1.2px); background-size: 28px 28px; }
      .board > * { position: relative; }
      .tabs { display: flex; flex-wrap: wrap; gap: 8px; }
      .tab { border: 1px solid rgba(240,200,80,.3); background: rgba(0,0,0,.28); color: #ecdcc0; padding: 9px 16px; border-radius: 999px;
        font-weight: 700; font-size: .86rem; transition: transform .25s var(--spring), background .2s, color .2s, border-color .2s; }
      .tab:hover { transform: translateY(-2px); border-color: var(--gold-light); }
      .tab[aria-pressed="true"], .tab[aria-selected="true"] { background: linear-gradient(145deg, #f0c850, #b6751d); color: #33210f; border-color: transparent; }
      .tab:focus-visible, .chip:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
      .btn { border: 0; padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: .86rem; color: #33210f;
        background: linear-gradient(145deg, #f0c850, #b6751d); box-shadow: 0 10px 22px -10px rgba(0,0,0,.7); transition: transform .25s var(--spring); }
      .btn:hover { transform: translateY(-2px) scale(1.03); }
      .btn.ghost { background: rgba(0,0,0,.3); color: #ecdcc0; border: 1px solid rgba(240,200,80,.3); box-shadow: none; }
      .hint { font-size: .82rem; color: #cdb892; }

      
      /* ---------- shared: device frame ---------- */
      .phone { position: relative; width: min(100%, 290px); aspect-ratio: 1170 / 2532; border-radius: 42px; padding: 9px; margin-inline: auto;
        background: linear-gradient(150deg, #6a5038, #1b1109 62%); box-shadow: 0 40px 60px -28px #000, 0 0 0 1px rgba(240,200,80,.25), inset 0 1px 0 rgba(255,255,255,.18); }
      .phone .scr { position: absolute; inset: 9px; border-radius: 34px; overflow: hidden; background: var(--board); }
      .phone .scr img { width: 100%; height: 100%; object-fit: cover; display: block; }
      .phone::after { content: ""; position: absolute; top: 15px; left: 50%; width: 30%; height: 20px; margin-left: -15%; background: #000; border-radius: 999px; }
      .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
      .reveal.in { opacity: 1; transform: none; }
      @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
      .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; }
      @media (max-width: 820px) { .split { grid-template-columns: 1fr; padding: 20px; } }
      .split h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 8px; }
      .split p { color: #dcc8a3; }
      .pill { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1.5px solid rgba(240,200,80,.5); color: var(--gold-light); background: rgba(0,0,0,.25); }
      .hero { padding: 54px 0 22px; text-align: center; }
      .foot { padding: 34px 0 44px; text-align: center; color: var(--brown-soft); font-size: .92rem; }
      .chip { border: 1px solid rgba(240,200,80,.28); background: rgba(0,0,0,.3); color: #f0dfbd; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .86rem;
        transition: transform .25s var(--spring), background .2s; }
      .chip:hover { transform: translateY(-2px) scale(1.04); background: rgba(240,200,80,.16); }
