
  :root {
    --bg-top:#0c1322; --bg-bot:#06080e;
    --s0:#070a10; --s1:#0d1118; --s2:#141a24; --s3:#1c222e; --s4:#262e3c;
    --hair:#222831; --strong:#39424d;
    --ink1:#f2f5f8; --ink2:#b9c2cc; --ink3:#7d8894; --ink-dis:#566069; --ink-inv:#05070a;
    --a3:#6ba4ff; --a4:#3b87ff; --a5:#0167fa; --a6:#0052cc; --on-a:#fff; --a-tint:rgba(1,103,250,.16);
    --g-fill:rgba(255,255,255,.06); --g-strong:rgba(255,255,255,.11);
    --g-stroke:rgba(255,255,255,.14); --g-hi:rgba(255,255,255,.26);
    --ok:#2fbf71; --warn:#f0a021; --bad:#ff5a52; --idle:#8b96a3;
    --f:'Archivo','Helvetica Neue',Arial,sans-serif;
    /* Tech Hub orange, fixed rather than themed, so a blue screen can point at
       the hub in the hub's own colour. Do not use these for anything else. */
    --hub:#f86e25; --hub-deep:#c94e10; --hub-hi:#ffa062;
  }
  [data-theme="hub"] {
    --bg-top:#1a120c; --bg-bot:#0a0705;
    --s0:#0d0a08; --s1:#14100c; --s2:#1d1813; --s3:#262019; --s4:#332b22;
    --hair:#2d251d; --strong:#4a3f33;
    --ink1:#f8f4f0; --ink2:#ccc3b9; --ink3:#948a7e; --ink-dis:#635a50; --ink-inv:#0d0703;
    --a3:#ffa062; --a4:#ff8a4d; --a5:#f86e25; --a6:#c94e10; --on-a:#0d0703; --a-tint:rgba(248,110,37,.16);
    --warn:#f5c518; --bad:#ff4d6a; --idle:#9a9086;
  }
  * { box-sizing:border-box; }
  body { margin:0; background:#0a0d14; font-family:var(--f); color:#e6ebf2; }
  .page { max-width:1500px; margin:0 auto; padding:44px 24px 72px; }
  .eyebrow { font-size:12px; font-weight:700; letter-spacing:1.6px; text-transform:uppercase; color:#6ba4ff; margin:0; }
  h1 { font-variation-settings:'wdth' 84; font-weight:900; font-size:44px; line-height:42px;
       letter-spacing:-.6px; margin:10px 0 12px; color:#f2f5f8; }
  .lede { font-size:17px; line-height:26px; color:#b9c2cc; max-width:64ch; margin:0; }
  .grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:40px 24px;
          margin-top:36px; justify-items:center; }
  figure { margin:0; width:320px; }
  figcaption { margin-top:14px; }
  figcaption b { display:block; font-variation-settings:'wdth' 88; font-weight:800; font-size:17px; color:#f2f5f8; }
  figcaption span { display:block; font-size:13px; line-height:19px; color:#9aa6b4; margin-top:4px; }

  /* phone shell */
  .ph { width:320px; height:680px; border-radius:0; overflow:hidden; position:relative;
        background:linear-gradient(180deg,var(--bg-top),var(--bg-bot));
        border:1px solid #2a323d; box-shadow:0 24px 60px rgba(0,0,0,.5); color:var(--ink1); }
  .status { height:28px; display:flex; align-items:center; justify-content:space-between;
            padding:0 18px 0 20px; font-size:11px; font-weight:700; color:var(--ink2); letter-spacing:.3px; }
  .status i { display:inline-block; width:16px; height:9px; border:1px solid var(--ink3);
              border-radius:2px; position:relative; }
  .status i::after { content:''; position:absolute; inset:1.5px; right:5px; background:var(--ink2); border-radius:1px; }
  .scroll { position:absolute; left:0; right:0; top:0; bottom:0; overflow:hidden; padding:72px 16px 96px; }

  /* type */
  .kick { font-size:12px; line-height:12px; font-weight:700; letter-spacing:1.6px; text-transform:uppercase;
          color:var(--a3); margin:8px 0 8px; }
  .h1 { font-family:var(--f); font-variation-settings:'wdth' 84; font-weight:900; font-size:34px;
        line-height:34px; letter-spacing:-.5px; margin:0 0 10px; }
  .h2 { font-variation-settings:'wdth' 88; font-weight:800; font-size:20px; line-height:24px;
        letter-spacing:-.2px; margin:0 0 8px; }
  .lede2 { font-size:15px; line-height:22px; color:var(--ink2); margin:0 0 16px; }
  .lab { font-size:11px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase;
         color:var(--ink3); margin:20px 0 10px; }
  .meta { font-size:13px; line-height:18px; color:var(--ink3); }
  .data { font-size:13px; font-weight:500; letter-spacing:.3px; font-variant-numeric:tabular-nums; color:var(--ink3); }

  /* bits */
  .field { display:flex; align-items:center; gap:10px; background:var(--s3); border:1px solid var(--strong);
           border-radius:12px; padding:11px 12px; font-size:15px; color:var(--ink3); }
  .seg { display:flex; background:var(--s3); border:1px solid var(--strong); border-radius:12px;
         padding:3px; gap:3px; }
  .seg div { flex:1; text-align:center; padding:8px 4px; border-radius:9px; font-size:13px;
             font-weight:600; color:var(--ink2); }
  .seg div.on { background:var(--s0); color:var(--ink1); box-shadow:0 1px 2px rgba(0,0,0,.4); }
  /* segmented control plus a single icon action to its right */
  .segbar { display:flex; align-items:stretch; gap:8px; }
  .segbar .seg { flex:1; min-width:0; }
  .sortb { width:40px; flex:none; display:grid; place-items:center; background:var(--s3);
           border:1px solid var(--strong); border-radius:12px; color:var(--ink2); }
  .sortb.on { color:var(--a3); border-color:var(--a5); background:var(--a-tint); }
  .sortb svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.9;
               stroke-linecap:round; stroke-linejoin:round; }
  /* anchored under the sort button: 72px app bar + 50px first seg row + 40px segbar + 6px gap,
     plus the iOS safe area when the prototype shell supplies one */
  .menu { position:absolute; right:16px; top:calc(var(--safe-top, 0px) + 168px);
          width:186px; z-index:7; padding:5px; border-radius:14px;
          background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.025)),
                     rgba(14,22,38,.86);
          backdrop-filter:blur(40px) saturate(180%); -webkit-backdrop-filter:blur(40px) saturate(180%);
          box-shadow:inset 0 1px 0 var(--g-hi), inset 0 -1px 0 rgba(255,255,255,.055),
                     0 18px 40px rgba(0,0,0,.45); }
  .menu .mi { display:flex; align-items:center; gap:9px; padding:9px 10px; border-radius:10px;
              font-size:14px; font-weight:600; color:var(--ink2); }
  .menu .mi.on { color:var(--ink1); background:rgba(255,255,255,.06); }
  .menu .mi svg { width:16px; height:16px; flex:none; fill:none; stroke:var(--a3); stroke-width:2.2;
                  stroke-linecap:round; stroke-linejoin:round; opacity:0; }
  .menu .mi.on svg { opacity:1; }
  /* Tech Hub banner — the one place a blue screen goes loud in the hub's orange.
     The mark ships with a black ground baked in, so it sits as its own tile rather
     than being knocked out onto the fill. */
  .hubbnr { position:relative; border-radius:18px; overflow:hidden; display:flex;
            align-items:center; gap:14px; padding:16px;
            background:linear-gradient(104deg, var(--hub) 0%, #ef5f14 52%, var(--hub-deep) 100%);
            box-shadow:0 12px 28px -10px rgba(248,110,37,.5); }
  .hubbnr .hb-logo { position:relative; z-index:2; flex:none; width:62px; height:62px;
                     border-radius:16px; background-size:cover; background-position:center;
                     box-shadow:0 0 0 1px rgba(255,255,255,.35), 0 6px 16px rgba(0,0,0,.4); }
  .hubbnr .hb-bd { position:relative; z-index:2; flex:1; min-width:0; }
  .hubbnr .hb-kick { display:block; font-size:11px; line-height:11px; font-weight:800;
                     letter-spacing:1.6px; text-transform:uppercase;
                     color:rgba(255,255,255,.85); margin-bottom:7px; }
  .hubbnr .hb-h { font-variation-settings:'wdth' 84; font-weight:900; font-size:23px;
                  line-height:24px; letter-spacing:-.3px; color:#fff; }
  .hubbnr .hb-sub { font-size:12.5px; line-height:17px; color:rgba(255,255,255,.9);
                    margin-top:5px; }
  .hubbnr .hb-go { position:relative; z-index:2; flex:none; width:34px; height:34px;
                   border-radius:50%; display:grid; place-items:center;
                   background:#fff; color:var(--hub-deep); }
  .hubbnr .hb-go svg { width:18px; height:18px; fill:none; stroke:currentColor;
                       stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
  .chips { display:flex; gap:8px; flex-wrap:wrap; }
  .chip { font-size:13px; font-weight:600; padding:6px 11px; border-radius:8px; background:var(--s2);
          border:1px solid var(--hair); color:var(--ink2); display:inline-flex; align-items:center; gap:6px; }
  .chip.sel { background:var(--a-tint); border-color:var(--a5); color:var(--a3); }
  .chip.ok { color:var(--ok); border-color:rgba(47,191,113,.4); }
  .chip.bad { color:var(--bad); border-color:rgba(255,90,82,.4); }
  .chip.warn { color:var(--warn); border-color:rgba(240,160,33,.4); }
  .btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font-size:15px;
         font-weight:700; letter-spacing:.2px; padding:12px 20px; border-radius:12px;
         background:var(--a5); color:var(--on-a); border:1px solid transparent; }
  .btn.sec { background:var(--s3); color:var(--ink1); border-color:var(--strong); }
  .card { background:var(--s2); border:1px solid var(--hair); border-radius:18px; padding:16px; }
  .img { background:linear-gradient(135deg,var(--s4),var(--s3)); border-radius:12px; position:relative; overflow:hidden; }
  .img.ph-img::after { background:linear-gradient(180deg,rgba(0,0,0,0) 55%,rgba(0,0,0,.45)); }
  .img::after { content:''; position:absolute; inset:0;
    background:radial-gradient(60% 80% at 30% 20%, rgba(255,255,255,.07), transparent 70%); }
  .bar { height:6px; border-radius:3px; background:var(--s4); overflow:hidden; }
  .bar i { display:block; height:100%; background:var(--a5); }
  .row { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--hair); }
  .row:last-child { border-bottom:0; }
  .row .tx { flex:1; min-width:0; display:block; }
  .t1, .t2, .data { display:block; }
  .t1 { font-size:15px; line-height:20px; font-weight:700; color:var(--ink1);
        white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .t2 { font-size:13px; line-height:18px; color:var(--ink2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .av { width:38px; height:38px; border-radius:50%; flex:none !important;
        background:linear-gradient(135deg,var(--s4),var(--s3)); border:1px solid var(--hair); }
  .tile { width:38px; height:38px; border-radius:10px; flex:none; display:grid; place-items:center;
          background:var(--s3); border:1px solid var(--hair); color:var(--ink2); }
  svg.ic { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:square; }
  .group { background:var(--s1); border:1px solid var(--hair); border-radius:18px; padding:0 14px; }
  .chev { width:16px; height:16px; stroke:var(--ink3); fill:none; stroke-width:2; stroke-linecap:square; flex:none; }
  .dot { width:8px; height:8px; border-radius:50%; background:var(--a5); flex:none; }
  .badge { min-width:20px; height:20px; padding:0 6px; border-radius:999px; background:var(--bad);
           color:#fff; font-size:11px; font-weight:700; display:grid; place-items:center; }

  /* app bar + tab bar */
  .appbar { position:absolute; top:0; left:0; right:0; height:52px; display:flex; align-items:center;
            gap:10px; padding:0 22px; z-index:3;
            background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.025));
            -webkit-backdrop-filter:blur(40px) saturate(180%); backdrop-filter:blur(40px) saturate(180%);
            box-shadow:inset 0 1px 0 var(--g-hi),
                       inset 0 -1px 0 rgba(255,255,255,.055),
                       0 10px 26px rgba(0,0,0,.30); }
  .appbar .ttl { flex:1; font-size:17px; font-weight:700; }
  /* the mark standing in for a title. 32px inside the fixed 52px bar leaves 10px
     clearance either side, so the bar keeps its height and the glass stack is untouched. */
  .appbar .ttl.brandmark { display:flex; align-items:center; }
  .appbar .ttl.brandmark i { width:32px; height:32px; border-radius:9px; background-size:cover;
                        background-position:center;
                        box-shadow:0 0 0 1px rgba(255,255,255,.22), 0 2px 6px rgba(0,0,0,.35); }
  .appbar .ib { width:34px; height:34px; display:grid; place-items:center; color:var(--ink1); }
  .tabs { position:absolute; left:16px; right:16px; bottom:14px; height:64px; border-radius:999px;
          border:1px solid var(--g-stroke);
          background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.03));
          -webkit-backdrop-filter:blur(40px) saturate(180%); backdrop-filter:blur(40px) saturate(180%);
          box-shadow:inset 0 1px 0 var(--g-hi), 0 16px 48px rgba(0,0,0,.65);
          display:flex; align-items:center; padding:5px; z-index:3; }
  .tb { flex:1; height:100%; border-radius:999px; display:flex; flex-direction:column; align-items:center;
        justify-content:center; gap:4px; font-size:11px; font-weight:600; letter-spacing:.2px; color:var(--ink2);
        position:relative; }
  .tb svg { width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.75;
            stroke-linecap:square; stroke-linejoin:miter; }
  .tb.on { color:var(--a3); background:var(--g-strong); border:1px solid rgba(255,255,255,.10); }
  /* Hub always carries the Tech Hub accent, in both themes, so the jump to the
     orange half of the app is signalled before it is tapped rather than after */
  .tabs .tb:nth-child(3) { color:#ffa062; }
  .tb.on svg { stroke-width:2.5; }
  .tb .bdg { position:absolute; top:6px; right:50%; transform:translateX(22px); min-width:16px; height:16px;
             padding:0 4px; border-radius:999px; background:var(--bad); color:#fff; font-size:10px;
             font-weight:700; display:grid; place-items:center; }
  .fade { position:absolute; left:0; right:0; bottom:0; height:110px; z-index:2; pointer-events:none;
          background:linear-gradient(180deg,rgba(6,8,14,0),var(--bg-bot) 70%); }
  footer { margin-top:48px; padding-top:20px; border-top:1px solid #222831; display:flex;
           justify-content:space-between; gap:16px; flex-wrap:wrap; color:#7d8894; font-size:13px; }
  .chip.find { color:var(--a3); border-color:var(--strong); padding:6px 10px; }
  .chip.find svg { width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2;
                   stroke-linecap:square; }
  .chip.add { color:var(--a3); border-style:dashed; border-color:var(--strong); }
  .ctr { font-size:12px; color:var(--ink3); font-variant-numeric:tabular-nums; }

  /* Floating action button — a sibling of the scroll view, not a child of it,
     so it stays put while the feed moves underneath. Sits above the fade and
     below the tab bar. */
  .fab { position:absolute; right:16px; bottom:92px; z-index:4; width:auto;
         box-shadow:0 10px 24px rgba(0,0,0,.45), 0 0 22px -6px var(--a5); }

  /* Tech Hub post card */
  .post { padding:0; overflow:hidden; margin-bottom:12px; }
  .post .bd { padding:14px; }
  .pby { display:flex; align-items:center; gap:10px; margin-top:12px; }
  .pcount { display:flex; justify-content:space-between; font-size:12px; color:var(--ink3);
            margin-top:12px; }
  .acts { display:flex; margin-top:8px; padding-top:8px; border-top:1px solid var(--hair); }
  .act { flex:1; display:flex; align-items:center; justify-content:center; gap:7px;
         font-size:13px; font-weight:600; color:var(--ink2); padding:8px 0; border-radius:8px; }
  .act svg { width:17px; height:17px; stroke:currentColor; fill:none; stroke-width:1.9;
             stroke-linecap:round; stroke-linejoin:round; }
  .act.on { color:var(--a3); }
  .act.on svg { fill:currentColor; stroke:currentColor; }

  /* auth */
  .mark { width:54px; height:54px; border-radius:14px; background-size:cover; background-position:center;
          border:1px solid var(--hair); margin-bottom:16px; }
  /* Provider buttons follow each provider's own branding guidelines, not this
     system's button style. That is deliberate: Apple, Google and Microsoft all
     prescribe the fill, stroke, wording, type and logo, and all three require
     their own supplied logo asset. The <i> is the slot that asset drops into,
     sized to spec. */
  .mosaic { position:relative; height:214px; margin:0 -16px 18px; overflow:hidden;
            display:flex; gap:7px; padding:0 7px; }
  .mcol { flex:1; display:flex; flex-direction:column; gap:7px; }
  .mcol:nth-child(1) { margin-top:-18px; }
  .mcol:nth-child(2) { margin-top:-64px; }
  .mcol:nth-child(3) { margin-top:-34px; }
  .mcol:nth-child(4) { margin-top:-82px; }
  .mcol span { display:block; border-radius:9px; background-size:cover; background-position:center;
               border:1px solid rgba(255,255,255,.06); }
  .m-s { height:86px; } .m-m { height:112px; } .m-l { height:140px; }
  .mfade { position:absolute; left:0; right:0; bottom:0; height:150px; pointer-events:none;
           background:linear-gradient(180deg, rgba(12,19,34,0) 0%, var(--bg-top) 86%); }
  .mtop { position:absolute; left:0; right:0; top:0; height:40%; pointer-events:none; z-index:1;
          background:linear-gradient(180deg, var(--bg-top) 0%, rgba(12,19,34,.55) 55%,
                     rgba(12,19,34,0) 100%); }
  .mlogo { position:absolute; left:16px; top:16px; z-index:2; width:52px; height:52px;
           border-radius:14px; background-size:cover; background-position:center;
           border:1px solid rgba(255,255,255,.16); box-shadow:0 10px 26px rgba(0,0,0,.55); }
  .ssorow { display:flex; gap:10px; }
  .ssq { flex:1; height:56px; border-radius:12px; display:grid; place-items:center;
         border:1px solid transparent; }
  /* Each slot points at the provider's own SVG. Drop the three official files
     into img/ with these names and the marks appear; until then the slot shows
     a faint placeholder so it is obvious something is missing. */
  .ssq i { display:block; background-repeat:no-repeat; background-position:center;
           background-size:contain; }
  .ssq-apple i  { background-image:url(img/logo-apple.png); }
  .ssq-google i { background-image:url(img/logo-google.png); }
  .ssq-ms i     { background-image:url(img/logo-microsoft.png); }
  .ssq-apple  { background:#000000; border-color:#38383a; }
  .ssq-apple i  { width:20px; height:24px; }
  .ssq-google { background:#131314; border-color:#8E918F; }
  .ssq-google i { width:21px; height:21px; }
  .ssq-ms     { background:#2F2F2F; border-color:#8C8C8C; }
  .ssq-ms i     { width:21px; height:21px; }
  .sso { display:flex; align-items:center; justify-content:center; width:100%; height:48px;
         border-radius:12px; margin-bottom:8px; border:1px solid transparent;
         font-family:-apple-system,'Segoe UI','Helvetica Neue',Arial,sans-serif;
         letter-spacing:0; }
  .sso i { flex:none; display:block; border-radius:3px; background-repeat:no-repeat;
           background-position:center; background-size:contain, cover;
           background-image:linear-gradient(rgba(255,255,255,.16),rgba(255,255,255,.16)); }
  .sso-apple  { background:#000000; color:#ffffff; border-color:#38383a;
                font-size:17px; font-weight:600; gap:8px; }
  .sso-apple i  { width:17px; height:21px; }
  .sso-google { background:#131314; color:#E3E3E3; border-color:#8E918F;
                font-size:14px; line-height:20px; font-weight:500; gap:10px;
                padding:0 12px; }
  .sso-google i { width:18px; height:18px; }
  .sso-ms     { background:#2F2F2F; color:#ffffff; border-color:#8C8C8C;
                font-size:15px; font-weight:400; gap:12px; }
  .sso-ms i     { width:21px; height:21px; border-radius:0; }
  .orrule { display:flex; align-items:center; gap:12px; margin:14px 0; color:var(--ink3);
            font-size:11px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; }
  .orrule::before, .orrule::after { content:''; flex:1; height:1px; background:var(--hair); }
  .foot { margin-top:16px; padding-top:14px; border-top:1px solid var(--hair);
          font-size:14px; color:var(--ink2); text-align:center; }
  .link { color:var(--a3); font-weight:700; }

  /* deeper-screen components */
  .sw { width:44px; height:26px; border-radius:999px; background:var(--s4); border:1px solid var(--strong);
        position:relative; flex:none; }
  .sw::after { content:''; position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:50%;
               background:var(--ink2); }
  .sw.on { background:var(--a5); border-color:var(--a5); }
  .sw.on::after { left:auto; right:2px; background:#fff; }
  .cb { width:22px; height:22px; border-radius:6px; border:1.5px solid var(--strong); flex:none;
        display:grid; place-items:center; }
  .cb.on { background:var(--a5); border-color:var(--a5); }
  .cb.on::after { content:''; width:11px; height:6px; border-left:2px solid var(--on-a);
                  border-bottom:2px solid var(--on-a); transform:rotate(-45deg) translate(1px,-2px); }
  .rd { width:22px; height:22px; border-radius:50%; border:1.5px solid var(--strong); flex:none; }
  .rd.on { border:7px solid var(--a5); }
  .bub { max-width:76%; padding:10px 12px; border-radius:16px; font-size:14px; line-height:19px;
         background:var(--s2); border:1px solid var(--hair); margin-bottom:8px; }
  .bub.me { background:var(--a5); color:var(--on-a); border-color:transparent; margin-left:auto;
            border-bottom-right-radius:5px; }
  .bub.you { border-bottom-left-radius:5px; }
  .bub .ts { display:block; font-size:11px; opacity:.65; margin-top:4px; }
  .comp { position:absolute; left:0; right:0; bottom:0; padding:10px 14px 16px; display:flex;
          align-items:center; gap:10px; z-index:4; border-top:1px solid var(--g-stroke);
          background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02));
          -webkit-backdrop-filter:blur(24px) saturate(180%); backdrop-filter:blur(24px) saturate(180%); }
  .comp .f { flex:1; background:var(--s3); border:1px solid var(--strong); border-radius:999px;
             padding:10px 14px; font-size:14px; color:var(--ink3); }
  .comp .send { width:40px; height:40px; border-radius:50%; background:var(--a5); color:var(--on-a);
                display:grid; place-items:center; flex:none; }
  .sheet { position:absolute; left:0; right:0; bottom:0; z-index:5; border-radius:28px 28px 0 0;
           border:1px solid var(--g-stroke); border-bottom:0; padding:10px 16px 22px;
           background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
           -webkit-backdrop-filter:blur(40px) saturate(180%); backdrop-filter:blur(40px) saturate(180%);
           box-shadow:0 -18px 50px rgba(0,0,0,.6); }
  .sheet .lid { width:40px; height:4px; border-radius:2px; background:var(--g-hi); margin:0 auto 14px; }
  .scrim { position:absolute; inset:0; z-index:4; background:rgba(3,5,9,.62); }
  .stor { height:10px; border-radius:5px; background:var(--s4); overflow:hidden; display:flex; }
  .stor i { display:block; height:100%; }
  .fld { background:var(--s3); border:1px solid var(--strong); border-radius:12px; padding:9px 12px;
         margin-bottom:12px; }
  .fld.pick { display:flex; align-items:center; gap:10px; }
  .fld.pick > span.v { flex:1; min-width:0; display:block; }
  .hint { font-size:12px; line-height:17px; color:var(--ink3); margin:-6px 0 12px 2px; }
  .hint em { font-style:normal; color:var(--ink2); }
  .fld b { display:block; font-size:11px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase;
           color:var(--ink3); margin-bottom:3px; }
  .fld span { display:block; font-size:15px; color:var(--ink1); }
  .note { font-size:12px; line-height:17px; color:var(--ink3); }
  .sect { grid-column:1/-1; width:100%; max-width:1452px; margin:26px 0 -8px; padding-top:22px;
          border-top:1px solid #222831; }
  .sect b { display:block; font-variation-settings:'wdth' 86; font-weight:900; font-size:24px;
            letter-spacing:-.3px; color:#f2f5f8; }
  .sect span { display:block; font-size:14px; color:#9aa6b4; margin-top:4px; max-width:70ch; }
  .img.ph-img, .av { background-size:cover !important; background-position:center top !important;
                     background-repeat:no-repeat; }
  @media (max-width:640px){ h1{font-size:34px;line-height:34px;} .page{padding:28px 16px 48px;} }

/* ── prototype shell ─────────────────────────────────────────────────── */
body { background:#07090f; min-height:100vh; min-height:100dvh;
       display:grid; place-items:center; padding:28px 16px; overflow:hidden; }
body::before { content:''; position:fixed; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(70% 50% at 50% 0%, rgba(1,103,250,.10), transparent 70%); }
.stage { position:relative; z-index:1; display:flex; flex-direction:column;
         align-items:center; gap:26px; }
.device { --safe-top:54px;
  position:relative; height:min(844px, calc(100dvh - 150px)); width:auto;
  aspect-ratio:390/844; border-radius:42px; overflow:hidden; background:#06080e;
  border:1px solid #2a323d; box-shadow:0 40px 90px rgba(0,0,0,.65), 0 0 0 9px #11151c; }
.ctl { display:flex; align-items:center; gap:10px; color:#7d8894; font-size:13px;
       position:relative; z-index:3; }
.ctl b { font-variation-settings:'wdth' 88; font-weight:800; font-size:15px; color:#e6ebf2; }
.ctl a, .ctl button { font:inherit; font-size:13px; font-weight:600; color:#b9c2cc;
  cursor:pointer; background:#141a24; border:1px solid #222831; border-radius:999px;
  padding:7px 14px; text-decoration:none; display:inline-block; }
.ctl a:hover, .ctl button:hover { background:#1c222e; color:#f2f5f8; }

/* iOS status bar. The screen is inset by the safe area, and the app bar's glass
   extends up behind it the way a UINavigationBar does. Screens that bleed an
   image to the top edge opt out, so the status bar sits over the artwork. */
.ios { position:absolute; top:0; left:0; right:0; height:var(--safe-top); z-index:8;
  display:flex; align-items:center; justify-content:space-between; padding:0 30px;
  pointer-events:none; color:#fff;
  font-family:-apple-system,'SF Pro Text','Helvetica Neue',Arial,sans-serif; }
.ios-time { font-size:15px; font-weight:600; letter-spacing:.1px; margin-top:5px; }
.ios-ind { display:flex; align-items:center; gap:5px; margin-top:5px; }
.ios-ind svg { display:block; fill:#fff; }
.ios-island { position:absolute; left:50%; top:11px; transform:translateX(-50%);
  width:122px; height:35px; border-radius:20px; background:#000; }
.ios-bat { display:block; width:25px; height:12px; border-radius:3.5px;
  border:1px solid rgba(255,255,255,.5); position:relative; }
.ios-bat::after { content:''; position:absolute; left:1.5px; top:1.5px; bottom:1.5px; width:15px;
  border-radius:2px; background:#fff; }
.ios-bat::before { content:''; position:absolute; right:-3.5px; top:3.5px; width:2px; height:5px;
  border-radius:0 2px 2px 0; background:rgba(255,255,255,.5); }

/* the app bar grows upward to fill the safe area, so its glass sits behind the
   status bar; its controls stay in the lower 52px */
.scr .appbar { height:calc(52px + var(--safe-top)); padding-top:var(--safe-top); }
/* and the scroll view clears both. Screens with their own inline padding-top
   get it rewritten at build time; this covers the rest. */
.scr .scroll { padding-top:calc(72px + var(--safe-top)); }
/* on the screens whose artwork bleeds to the top edge, the app icon drops
   below the status bar rather than colliding with the clock */
body[data-bleed] .mlogo { top:calc(16px + var(--safe-top)); }

.scr { position:absolute; inset:0; overflow:hidden; color:var(--ink1);
  background:linear-gradient(180deg,var(--bg-top),var(--bg-bot));
  animation:slideIn .24s cubic-bezier(.22,.8,.3,1) both; }
@keyframes slideIn { from { transform:translateX(20px); opacity:0 } to { transform:none; opacity:1 } }
@media (prefers-reduced-motion:reduce) { .scr { animation:none } }
.scr .scroll { overflow-y:auto; overflow-x:hidden; -webkit-overflow-scrolling:touch;
  scrollbar-width:none; }
.scr .scroll::-webkit-scrollbar { display:none; }

[data-go] { cursor:pointer; -webkit-tap-highlight-color:transparent; }
.hit { position:absolute; inset:0; z-index:6; border-radius:inherit;
       text-decoration:none; color:inherit; }
[data-go]:active { filter:brightness(1.22); }
body.hints [data-go] { position:relative; }
body.hints [data-go]::after { content:''; position:absolute; inset:-3px; border-radius:10px;
  border:1.5px dashed var(--a3); opacity:.8; pointer-events:none; }

.ix-panel { position:fixed; inset:0; z-index:20; background:rgba(5,7,11,.92);
  -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px);
  padding:40px 24px; overflow:auto; display:none; }
.ix-panel.on { display:block; }
.ix-panel .wrap { max-width:900px; margin:0 auto; }
.ix-panel h2 { font-variation-settings:'wdth' 84; font-weight:900; font-size:32px;
  margin:0 0 20px; color:#f2f5f8; }
.ixg { margin-bottom:22px; }
.ixg h3 { font-size:11px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase;
  color:#7d8894; margin:0 0 10px; }
.ixr { display:flex; flex-wrap:wrap; gap:8px; }
.ix { font-size:14px; font-weight:600; color:#b9c2cc; background:#0d1118;
  border:1px solid #222831; border-radius:10px; padding:9px 13px; text-decoration:none;
  display:inline-block; }
.ix:hover { background:#141a24; color:#f2f5f8; border-color:#39424d; }
.ix[aria-current] { border-color:var(--a5); color:var(--a3); }
.ix-close { position:fixed; top:20px; right:24px; width:40px; height:40px; border-radius:50%;
  background:#141a24; border:1px solid #39424d; color:#f2f5f8; font-size:19px; cursor:pointer; }

@media (max-width:460px), (max-height:700px) {
  /* a real phone draws its own status bar, so ours comes off */
  .device { --safe-top:0px; }
  .ios { display:none; }
  body { padding:0; place-items:stretch; }
  .stage { gap:0; height:100dvh; }
  .device { width:100vw; height:100dvh; max-height:none; aspect-ratio:auto;
    border-radius:0; border:0; box-shadow:none; }
  .ctl { display:none; }
}
