:root {
      --void: #07070a;
      --ink: #101218;
      --panel: #161821;
      --bone: #f3eee4;
      --bone-dim: rgba(243, 238, 228, 0.72);
      --mute: #8a90a0;
      --rose: #e959af;
      --rose-deep: #c73d90;
      --gold: #e8c36a;
      --ember: #ff6b4a;
      --line: rgba(243, 238, 228, 0.12);
      --max: 1180px;
      --pad: clamp(20px, 4vw, 56px);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; scroll-padding-top: 76px; }
    html, body { background: var(--void); color: var(--bone); }
    body {
      font-family: "Newsreader", "Times New Roman", serif;
      font-size: 19px;
      line-height: 1.5;
      font-optical-sizing: auto;
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; display: block; }
    a { color: inherit; }
    button, .btn { font: inherit; cursor: pointer; }

    .display {
      font-family: "Big Shoulders Display", Impact, sans-serif;
      font-weight: 700;
      letter-spacing: 0.01em;
      line-height: 0.88;
      text-transform: uppercase;
    }
    .mono {
      font-family: "IBM Plex Mono", ui-monospace, monospace;
      font-size: 12px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--mute);
    }
    .wrap { width: min(var(--max), calc(100% - var(--pad) * 2)); margin: 0 auto; }

    /* NAV */
    .nav {
      position: fixed; inset: 0 0 auto 0; z-index: 40;
      display: flex; align-items: center; justify-content: space-between;
      padding: 12px var(--pad);
      background: transparent;
      border-bottom: 1px solid transparent;
    }
    .nav.is-solid {
      background: rgba(7, 7, 10, 0.82);
      border-bottom-color: var(--line);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }
    .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .brand img { width: 34px; height: 34px; }
    .brand span {
      font-family: "Big Shoulders Display", sans-serif;
      font-weight: 700; font-size: 22px; letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .nav-links { display: flex; align-items: center; gap: 10px; }
    .nav-links a:not(.btn) {
      font-family: "IBM Plex Mono", monospace;
      font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
      text-decoration: none; color: var(--bone-dim); padding: 8px 10px;
    }
    .lang { position: relative; }
    .lang-btn {
      display: inline-flex; align-items: center; gap: 8px;
      min-height: 40px; padding: 4px 14px 4px 10px;
      border: 0; border-radius: 999px;
      background: var(--bone); color: var(--void);
      font-family: "IBM Plex Mono", ui-monospace, monospace;
      font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
      cursor: pointer;
    }
    .lang-globe { width: 18px; height: 18px; color: var(--void); flex: 0 0 auto; }
    .lang-btn[aria-expanded="true"] { box-shadow: 0 0 0 3px rgba(232, 195, 106, 0.45); }
    .lang-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
    .lang-menu[hidden] { display: none !important; }
    .lang-menu {
      position: absolute; top: calc(100% + 10px); right: 0;
      z-index: 45;
      width: min(340px, calc(100vw - 32px));
      max-height: min(72vh, 560px);
      display: flex; flex-direction: column;
      background: #fff; color: #1a1a1a;
      border-radius: 16px;
      box-shadow: 0 18px 50px rgba(7, 7, 10, 0.45);
      overflow: hidden;
    }
    .lang-head {
      display: flex; align-items: center; justify-content: space-between;
      gap: 12px; padding: 16px 14px 12px 18px;
    }
    .lang-head p {
      font-family: "Newsreader", serif;
      font-size: 18px; font-weight: 600; margin: 0;
      letter-spacing: 0; text-transform: none; color: #1a1a1a;
    }
    .lang-x {
      width: 36px; height: 36px; border: 0; background: transparent;
      font-size: 26px; line-height: 1; color: #5b6573; cursor: pointer;
    }
    .lang-list { list-style: none; overflow: auto; padding: 0 0 8px; margin: 0; }
    .lang-option {
      display: flex; align-items: center; justify-content: space-between;
      width: 100%; gap: 12px;
      padding: 13px 18px;
      border: 0; border-top: 1px solid #eee;
      background: transparent; color: inherit;
      font: 400 16px "Newsreader", serif;
      letter-spacing: 0; text-transform: none;
      text-align: left; cursor: pointer;
    }
    .lang-option.is-on { background: #f6e9d6; font-weight: 600; }
    .lang-option:hover { background: #f4f6f8; }
    .lang-option.is-on:hover { background: #f6e9d6; }
    .lang-check { color: var(--rose); flex: 0 0 auto; }
    .account {
      display: inline-flex; align-items: center; gap: 8px;
      min-height: 40px; padding: 4px 12px 4px 4px;
      border-radius: 999px;
      text-decoration: none;
      background: rgba(243, 238, 228, 0.12);
      border: 1px solid var(--line);
      color: var(--bone);
    }
    .account:hover { background: rgba(243, 238, 228, 0.2); }
    .account-avatar {
      width: 32px; height: 32px; border-radius: 50%;
      object-fit: cover; background: var(--ink);
      flex: 0 0 auto;
    }
    .account-name {
      font-family: "IBM Plex Mono", ui-monospace, monospace;
      font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
      max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .account:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      min-height: 46px; padding: 0 20px; white-space: nowrap;
      border-radius: 999px; border: 1px solid var(--bone);
      text-decoration: none; background: var(--bone); color: var(--void);
      font-family: "IBM Plex Mono", monospace;
      font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
      transition: transform 160ms ease, background 160ms ease, color 160ms ease;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-ghost { background: transparent; color: var(--bone); }
    .btn-ghost:hover { background: var(--bone); color: var(--void); }
    .btn-rose { background: var(--rose); border-color: var(--rose); color: #fff; }
    .btn:focus-visible, .nav-links a:focus-visible, .legend button:focus-visible {
      outline: 2px solid var(--gold); outline-offset: 3px;
    }

    /* HERO */
    .hero {
      position: relative;
      min-height: 100svh;
      display: flex; align-items: flex-end;
      overflow: hidden;
    }
    .hero-media {
      position: absolute; inset: 0;
      background:
        linear-gradient(to top, rgba(7,7,10,0.92) 0%, rgba(7,7,10,0.35) 42%, rgba(7,7,10,0.18) 100%),
        url("/static/lander-epic/img/ridge.jpg") 28% 40% / cover no-repeat;
    }
    .hero-inner {
      position: relative; z-index: 2;
      width: 100%;
      padding: 0 var(--pad) clamp(40px, 7vh, 88px);
    }
    .kicker-m { display: none; }
    .hero h1 {
      font-size: clamp(52px, 9vw, 118px);
      max-width: 11ch;
      text-wrap: balance;
    }
    .hero .tag {
      margin-top: 10px;
      font-size: clamp(22px, 3.4vw, 42px);
      font-style: italic;
      font-weight: 400;
      letter-spacing: -0.02em;
      max-width: 18em;
    }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
    .scroll-cue {
      position: absolute; right: var(--pad); bottom: 36px; z-index: 2;
      writing-mode: vertical-rl; transform: rotate(180deg);
    }

    /* MISSION */
    .mission {
      padding: clamp(72px, 12vw, 140px) 0;
      border-top: 1px solid var(--line);
    }
    .mission p {
      font-size: clamp(28px, 4.4vw, 56px);
      line-height: 1.18;
      letter-spacing: -0.03em;
      max-width: 18ch;
    }
    .mission .sub {
      margin-top: 28px;
      max-width: 42ch;
      color: var(--bone-dim);
      font-size: clamp(18px, 2vw, 22px);
    }

    /* SCALE */
    .scale {
      padding: 0 0 clamp(80px, 10vw, 140px);
    }
    .scale-head { margin-bottom: 36px; }
    .scale-head h2 {
      font-size: clamp(40px, 6vw, 78px);
      margin-top: 8px;
    }
    .types {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border-top: 1px solid var(--line);
    }
    .type {
      padding: 28px 24px 32px 0;
      border-right: 1px solid var(--line);
    }
    .type:last-child { border-right: 0; padding-right: 0; }
    .type-n {
      color: var(--gold);
      margin-bottom: 18px;
    }
    .type h3 {
      font-size: clamp(28px, 3vw, 40px);
      margin-bottom: 12px;
    }
    .type p { color: var(--bone-dim); max-width: 28ch; font-size: 18px; }
    .type.is-now h3 { color: var(--bone); }
    .type.is-goal h3 { color: var(--gold); }

    /* FULL BLEED */
    .bleed {
      position: relative;
      min-height: 72vh;
      display: flex; align-items: flex-end;
    }
    .bleed picture,
    .bleed img {
      position: absolute; inset: 0; width: 100%; height: 100%;
    }
    .bleed img { object-fit: cover; }
    .bleed-cap {
      position: relative; z-index: 1;
      width: 100%;
      padding: 80px var(--pad) 36px;
      background: linear-gradient(to top, rgba(7,7,10,0.78), transparent);
    }
    .bleed-cap p {
      font-size: clamp(26px, 3.4vw, 44px);
      line-height: 1.15;
      max-width: 18ch;
    }

    /* STATS */
    .stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .stat { padding: 40px 28px 40px 0; border-right: 1px solid var(--line); }
    .stat:last-child { border-right: 0; }
    .stat b {
      display: block;
      font-family: "Big Shoulders Display", sans-serif;
      font-size: clamp(52px, 7vw, 96px);
      font-weight: 700;
      line-height: 0.9;
      letter-spacing: -0.02em;
    }
    .stat span {
      display: block;
      margin-top: 12px;
      color: var(--bone-dim);
      max-width: 26ch;
      font-size: 17px;
    }

    /* HORIZON / CHARTS */
    .horizon {
      padding: clamp(80px, 10vw, 130px) 0;
      position: relative;
    }
    .horizon-title {
      font-size: clamp(40px, 6vw, 78px);
      max-width: 14ch;
      margin: 10px 0 18px;
    }
    .horizon-lead {
      max-width: 46ch;
      color: var(--bone-dim);
      margin-bottom: 48px;
    }
    .charts {
      display: grid;
      grid-template-columns: 1fr;
      gap: 56px;
    }
    .chart-card {
      background: var(--ink);
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 22px 22px 16px;
    }
    .chart-card header {
      display: flex; justify-content: space-between; align-items: flex-start;
      gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
    }
    .chart-card h3 {
      font-family: "Newsreader", serif;
      font-size: 26px; font-weight: 500;
    }
    .legend { display: flex; flex-wrap: wrap; gap: 6px; }
    .legend button {
      border: 1px solid var(--line);
      background: transparent;
      color: var(--bone-dim);
      font-family: "IBM Plex Mono", monospace;
      font-size: 10px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 6px 8px;
      border-radius: 999px;
    }
    .legend button.on { color: var(--void); background: var(--bone); border-color: var(--bone); }

    .bars { display: grid; gap: 9px; }
    .bar-row {
      display: grid;
      grid-template-columns: 132px 1fr 48px;
      align-items: center;
      gap: 12px;
    }
    .bar-row .name { font-size: 14px; color: var(--bone-dim); }
    .track {
      position: relative;
      height: 14px;
      background: rgba(243,238,228,0.06);
      border-radius: 99px;
      overflow: visible;
    }
    .fill {
      height: 100%;
      border-radius: 99px;
      background: linear-gradient(90deg, var(--rose-deep), var(--rose));
    }
    .fill.world { background: linear-gradient(90deg, #5d6b8a, #b9c2d4); }
    .track .goal {
      position: absolute; top: -6px; bottom: -6px; width: 1px;
      background: var(--gold);
    }
    .val { font-family: "IBM Plex Mono", monospace; font-size: 12px; text-align: right; }
    .chart-note { margin-top: 16px; color: var(--mute); font-size: 13px; }

    .line-wrap { position: relative; }
    svg.linechart { width: 100%; height: auto; display: block; }
    .tip {
      position: absolute;
      pointer-events: none;
      background: var(--bone);
      color: var(--void);
      padding: 8px 10px;
      border-radius: 8px;
      font-family: "IBM Plex Mono", monospace;
      font-size: 11px;
      letter-spacing: 0;
      text-transform: none;
      opacity: 0;
      transform: translate(-50%, -120%);
      white-space: nowrap;
    }

    /* SPLIT PHOTOS */
    .split {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      min-height: 78vh;
    }
    .split figure { position: relative; overflow: hidden; min-height: 52vh; }
    .split img { width: 100%; height: 100%; object-fit: cover; }
    .split figcaption {
      position: absolute; left: 20px; bottom: 18px;
      color: #fff;
      text-shadow: 0 1px 12px rgba(0,0,0,0.5);
    }

    /* AI */
    .ai {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      min-height: 88vh;
    }
    .ai-copy {
      padding: clamp(48px, 7vw, 96px) var(--pad);
      display: flex; flex-direction: column; justify-content: center;
      background: var(--void);
    }
    .ai-copy h2 {
      font-size: clamp(42px, 5.4vw, 72px);
      max-width: 12ch;
      margin: 10px 0 22px;
    }
    .ai-copy p { color: var(--bone-dim); max-width: 36ch; margin-bottom: 16px; }
    .ai-media { position: relative; min-height: 62vh; }
    .ai-media picture,
    .ai-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

    .swipes {
      display: flex; gap: 10px; margin: 28px 0 32px;
    }
    .card {
      width: 86px; height: 114px;
      border-radius: 12px;
      background-size: cover; background-position: center;
      border: 1px solid rgba(255,255,255,0.18);
      box-shadow: 0 10px 24px rgba(0,0,0,0.35);
    }
    .card:nth-child(1) { transform: rotate(-8deg) translateY(8px); }
    .card:nth-child(2) { transform: rotate(2deg); }
    .card:nth-child(3) { transform: rotate(9deg) translateY(6px); }

    /* CLOSE */
    .close {
      position: relative;
      min-height: 92vh;
      display: flex; align-items: flex-end;
    }
    .close-media {
      position: absolute; inset: 0;
      background:
        linear-gradient(to top, rgba(7,7,10,0.88), rgba(7,7,10,0.2) 55%),
        url("/static/lander-epic/img/stars.jpg") center 60% / cover no-repeat;
    }
    .close-inner { position: relative; z-index: 1; padding: 0 var(--pad) 72px; }
    .close h2 {
      font-size: clamp(48px, 8vw, 110px);
      max-width: 12ch;
    }
    .close p {
      font-size: clamp(22px, 3vw, 34px);
      font-style: italic;
      margin: 12px 0 28px;
    }

    footer {
      padding: 28px var(--pad) 40px;
      display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
      border-top: 1px solid var(--line);
      color: var(--mute);
      font-size: 14px;
    }
    footer a { color: var(--bone-dim); }

    .dock { display: none; }

    /* AUTH MODALS */
    .auth-root[hidden] { display: none !important; }
    .auth-root {
      position: fixed; inset: 0; z-index: 80;
      display: flex; align-items: flex-end; justify-content: center;
      padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    }
    .auth-scrim {
      position: absolute; inset: 0;
      background: rgba(7, 7, 10, 0.72);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .auth-panel {
      position: relative;
      width: min(440px, 100%);
      max-height: min(92vh, 860px);
      overflow: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
      background: var(--ink);
      border: 1px solid var(--line);
      border-radius: 22px;
      padding: 28px 24px 22px;
      box-shadow: 0 24px 80px rgba(0,0,0,0.45);
    }
    .auth-panel::-webkit-scrollbar {
      display: none;
      width: 0;
      height: 0;
    }
    .auth-panel[hidden] { display: none !important; }
    .auth-close {
      position: absolute; top: 14px; right: 14px;
      width: 36px; height: 36px;
      border: 0; background: transparent; color: var(--bone-dim);
      font-size: 28px; line-height: 1; cursor: pointer;
    }
    .auth-close:hover { color: var(--bone); }
    .auth-panel h2 {
      font-size: 40px;
      margin: 8px 0 8px;
    }
    .auth-lead { color: var(--bone-dim); margin-bottom: 20px; font-size: 17px; }
    .auth-field { display: grid; gap: 6px; margin-bottom: 12px; }
    .auth-field label {
      font-family: "IBM Plex Mono", monospace;
      font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--mute);
    }
    .auth-field input, .auth-field select {
      width: 100%;
      min-height: 46px;
      padding: 0 12px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: rgba(243,238,228,0.04);
      color: var(--bone);
      font: 16px/1.4 "Newsreader", serif;
    }
    .auth-field input:focus, .auth-field select:focus {
      outline: 2px solid var(--gold); outline-offset: 1px;
    }
    .auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .auth-row-3 { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 8px; }
    .auth-hint { font-size: 13px; color: var(--mute); min-height: 1.2em; }
    .auth-hint.ok { color: #8fd19e; }
    .auth-hint.bad { color: var(--ember); }
    .auth-msg {
      display: none;
      margin: 0 0 12px;
      padding: 10px 12px;
      border-radius: 10px;
      font-size: 15px;
    }
    .auth-msg.err { display: block; background: rgba(255,107,74,0.12); color: #ffb19f; }
    .auth-msg.ok { display: block; background: rgba(143,209,158,0.12); color: #b7e4c0; }
    .auth-actions { display: grid; gap: 10px; margin-top: 8px; }
    .auth-actions .btn { width: 100%; }
    .auth-switch { text-align: center; margin-top: 16px; color: var(--bone-dim); font-size: 15px; }
    .auth-switch button {
      border: 0; background: none; color: var(--gold);
      font: inherit; cursor: pointer; text-decoration: underline;
    }
    html:has(body.auth-open),
    body.auth-open {
      overflow: hidden;
    }
    body.auth-open .dock { display: none !important; }

    @media (min-width: 700px) {
      .auth-root { align-items: center; }
    }

    @media (max-width: 860px) {
      :root { --pad: 20px; }
      body {
        font-size: 17px;
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
      }
      html { scroll-padding-top: 64px; }

      .nav {
        padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
      }
      .brand img { width: 28px; height: 28px; }
      .brand span { font-size: 18px; }
      .nav-hide { display: none; }
      .kicker-d { display: none; }
      .kicker-m { display: inline; }
      .scroll-cue { display: none; }

      .hero {
        min-height: 100svh;
        min-height: 100dvh;
      }
      .hero-media {
        background:
          linear-gradient(to bottom, rgba(7,7,10,0.7) 0%, rgba(7,7,10,0.2) 24%, transparent 38%),
          linear-gradient(to top, rgba(7,7,10,0.94) 0%, rgba(7,7,10,0.45) 26%, transparent 46%),
          url("/static/lander-epic/img/ridge-m.jpg") center 42% / cover no-repeat;
      }
      .hero-inner {
        min-height: 100svh;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding:
          calc(72px + env(safe-area-inset-top))
          var(--pad)
          calc(96px + env(safe-area-inset-bottom));
      }
      .hero-actions .btn-rose { display: none; }
      .hero h1 {
        font-size: clamp(40px, 12vw, 64px);
        max-width: 11ch;
        text-wrap: balance;
      }
      .hero .tag {
        font-size: 22px;
        max-width: 14em;
        text-wrap: balance;
      }
      .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 0;
        width: 100%;
      }
      .hero-actions .btn { width: 100%; min-height: 50px; }

      .mission { padding: 56px 0 48px; }
      .mission p {
        font-size: 30px;
        max-width: 14ch;
        text-wrap: balance;
      }
      .mission .sub { font-size: 17px; max-width: none; }

      .scale { padding-bottom: 56px; }
      .scale-head h2 { font-size: 42px; max-width: 12ch; }
      .types {
        grid-template-columns: 1fr;
        border-top: 0;
        border-left: 1px solid var(--gold);
        margin-left: 6px;
      }
      .type {
        border-right: 0;
        border-bottom: 0;
        padding: 18px 0 22px 20px;
        position: relative;
      }
      .type::before {
        content: "";
        position: absolute;
        left: -5px; top: 22px;
        width: 9px; height: 9px;
        border-radius: 50%;
        background: var(--gold);
      }
      .type.is-now::before { background: var(--bone); }
      .type-n { margin-bottom: 8px; }
      .type h3 { font-size: 32px; }
      .type p { font-size: 16px; max-width: none; }

      .bleed { min-height: 88svh; }
      .bleed-cap { padding: 100px var(--pad) 28px; }
      .bleed-cap p { font-size: 32px; }

      .stats {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        border: 0;
        width: auto;
        margin: 0;
        padding: 0 0 8px;
      }
      .stats::-webkit-scrollbar { display: none; }
      .stat {
        flex: 0 0 78%;
        scroll-snap-align: start;
        border: 1px solid var(--line);
        border-right-width: 0;
        padding: 28px 22px;
        background: var(--ink);
      }
      .stat:first-child { margin-left: var(--pad); border-radius: 16px 0 0 16px; }
      .stat:last-child {
        margin-right: var(--pad);
        border-right-width: 1px;
        border-radius: 0 16px 16px 0;
      }
      .stat b { font-size: 72px; }
      .stat span { font-size: 15px; max-width: 18ch; }

      .horizon { padding: 56px 0 48px; }
      .horizon-title { font-size: 42px; margin-bottom: 14px; }
      .horizon-lead { margin-bottom: 28px; font-size: 16px; }
      .charts { gap: 28px; }
      .chart-card {
        padding: 16px 14px 14px;
        border-radius: 14px;
      }
      .chart-card header { flex-direction: column; gap: 8px; margin-bottom: 14px; }
      .chart-card h3 { font-size: 20px; }
      .bar-row {
        grid-template-columns: 1fr auto;
        grid-template-areas: "name val" "track track";
        gap: 4px 10px;
      }
      .bar-row .name { grid-area: name; font-size: 13px; }
      .bar-row .val { grid-area: val; }
      .bar-row .track { grid-area: track; height: 10px; }
      .legend { gap: 8px; }
      .legend button { padding: 8px 10px; font-size: 10px; }
      svg.linechart { min-height: 0; height: auto; }

      .split { min-height: 0; grid-template-columns: 1fr; }
      .split figure { min-height: 72svh; }
      .split img { object-position: center 30%; }

      .ai { min-height: 0; grid-template-columns: 1fr; }
      .ai-media { order: -1; min-height: 72svh; position: relative; }
      .ai-media img,
      .ai-media picture,
      .ai-media picture img {
        position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
      }
      .ai-copy { padding: 36px var(--pad) 28px; }
      .ai-copy h2 { font-size: 42px; }
      .ai-copy .btn { display: none; }
      .swipes { justify-content: flex-start; }
      .card { width: 72px; height: 96px; }

      .close { min-height: 92svh; }
      .close-media {
        background:
          linear-gradient(to top, rgba(7,7,10,0.92), rgba(7,7,10,0.2) 50%),
          url("/static/lander-epic/img/stars-m.jpg") center 60% / cover no-repeat;
      }
      .close-inner { padding: 0 var(--pad) 28px; }
      .close h2 { font-size: 52px; max-width: 10ch; }
      .close p { font-size: 22px; }
      .close .btn { display: none; }

      footer {
        padding: 24px var(--pad) 20px;
        font-size: 12px;
      }

      .dock {
        display: flex;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 50;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(7, 7, 10, 0.88);
        border-top: 1px solid var(--line);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
      }
      .dock .btn { width: 100%; min-height: 50px; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .btn { transition: none; }
    }

    body.auth-open .dm-consent { display: none; }
    body.dm-consent-wait .dm-consent--visible {
      opacity: 0 !important;
      pointer-events: none !important;
      transform: translateY(12px) !important;
    }
    .dm-consent {
      position: fixed; z-index: 70;
      left: auto; right: 16px; bottom: 16px;
      width: min(340px, calc(100% - 32px));
      padding: 0;
      pointer-events: none;
      opacity: 0;
      transform: translateY(12px);
      transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .dm-consent--visible {
      pointer-events: auto;
      opacity: 1;
      transform: translateY(0);
    }
    .dm-consent__inner {
      max-width: none;
      margin: 0;
      padding: 14px 16px;
      border-radius: 18px;
      background: rgba(22, 24, 33, 0.94);
      border: 1px solid var(--line);
      box-shadow: 0 12px 40px rgba(0,0,0,0.45);
      color: var(--bone);
    }
    .dm-consent__title {
      font-family: "IBM Plex Mono", ui-monospace, monospace;
      font-size: 12px; font-weight: 500; margin: 0 0 6px;
      letter-spacing: 0.14em; text-transform: uppercase; text-align: left;
    }
    .dm-consent__text { margin: 0 0 12px; font-size: 15px; line-height: 1.45; color: var(--bone-dim); }
    .dm-consent__text a { color: var(--gold); text-decoration: underline; }
    .dm-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
    .dm-consent__btn {
      display: inline-flex; align-items: center; justify-content: center;
      min-height: 40px; padding: 0 14px;
      border-radius: 999px;
      font-family: "IBM Plex Mono", ui-monospace, monospace;
      font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
      cursor: pointer;
    }
    .dm-consent__btn--reject {
      background: transparent; color: var(--bone);
      border: 1px solid var(--line);
    }
    .dm-consent__btn--customize {
      background: transparent; color: var(--bone-dim);
      border: 0; text-decoration: underline; min-height: 36px;
    }
    .dm-consent__btn--accept {
      background: var(--rose); color: #fff; border: 0;
    }
    .dm-consent__btn--accept:hover { background: var(--rose-deep); }
    .dm-consent__cats { list-style: none; display: grid; gap: 10px; margin: 0 0 14px; padding: 0; }
    .dm-consent__cat {
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
    }
    .dm-consent__cat--nested { padding-left: 16px; }
    .dm-consent__cat-copy { display: grid; gap: 2px; }
    .dm-consent__cat-copy strong { font-size: 14px; }
    .dm-consent__cat-copy span { font-size: 12px; color: var(--mute); }
    .dm-consent__cat input { width: 18px; height: 18px; accent-color: var(--rose); flex: 0 0 auto; }
    .dm-consent__layer[hidden] { display: none !important; }
    footer [data-consent-open] {
      border: 0; background: none; padding: 0; color: inherit;
      font: inherit; cursor: pointer; text-decoration: underline;
    }

    @media (max-width: 860px) {
      .lang-btn { min-height: 36px; padding: 3px 12px 3px 8px; font-size: 10px; gap: 6px; }
      .account { min-height: 36px; padding: 2px 10px 2px 2px; }
      .account-avatar { width: 28px; height: 28px; }
      .account-name { font-size: 10px; max-width: 9ch; }
      .lang-menu {
        position: fixed;
        top: calc(58px + env(safe-area-inset-top));
        right: 12px;
        left: 12px;
        width: auto;
      }
      .dm-consent {
        left: 12px; right: 12px; width: auto;
        bottom: calc(76px + env(safe-area-inset-bottom));
      }
    }
