    /* ── tokens (dark Apple · Gamify #7966FF) ──────────────────────────── */
    :root {
      --bg: #000000;
      --surface: #1c1c1e;
      --surface-2: #2c2c2e;
      --surface-3: #3a3a3c;
      --fg: #f5f5f7;
      --fg-2: #d1d1d6;
      --muted: #98989d;
      --meta: #767678;
      --border: #38383a;
      --border-soft: #2c2c2e;
      --accent: #7966FF;
      --accent-on: #ffffff;
      --accent-hover: #8a78ff;
      --accent-soft: rgba(121, 102, 255, 0.16);
      --accent-line: rgba(121, 102, 255, 0.40);
      --success: #30d158;
      --danger: #ff453a;
      --orange: #ff9f0a;
      --blue: #0a84ff;
      --teal: #64d2ff;
      --pink: #ff375f;
      --green: #30d158;
      --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "SF Pro Icons", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
      --font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "SF Pro Icons", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
      --font-mono: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
      --radius-md: 12px;
      --radius-lg: 18px;
      --radius-pill: 980px;
      --ease: cubic-bezier(0.28, 0, 0.22, 1);
      --motion: 220ms;
      --wrap: 1120px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    html {
      scroll-behavior: smooth
    }

    body {
      background: var(--bg);
      color: var(--fg);
      font-family: var(--font-body);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none
    }

    :focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
      border-radius: 4px
    }

    .skip {
      position: absolute;
      left: -999px;
      top: 8px;
      z-index: 100;
      background: var(--accent);
      color: var(--accent-on);
      padding: 12px 18px;
      border-radius: var(--radius-pill);
      font: 600 14px/1 var(--font-body)
    }

    .skip:focus {
      left: 8px
    }

    section {
      padding: clamp(64px, 9vw, 120px) 22px
    }

    .wrap {
      max-width: var(--wrap);
      margin: 0 auto
    }

    .eyebrow {
      font: 600 12px/1 var(--font-mono);
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent)
    }

    h1,
    h2,
    h3 {
      font-family: var(--font-display);
      letter-spacing: -0.02em;
      line-height: 1.08
    }

    h1 {
      font-size: clamp(40px, 6.4vw, 76px);
      font-weight: 600;
      letter-spacing: -0.03em
    }

    h2 {
      font-size: clamp(30px, 4vw, 52px);
      font-weight: 600
    }

    h3 {
      font-size: clamp(20px, 2.2vw, 26px);
      font-weight: 600;
      letter-spacing: -0.01em
    }

    p.lead {
      font-size: clamp(17px, 1.6vw, 21px);
      color: var(--fg-2);
      line-height: 1.5;
      max-width: 54ch
    }

    p.muted {
      color: var(--muted)
    }

    .center {
      text-align: center
    }

    .mx {
      max-width: 62ch;
      margin-left: auto;
      margin-right: auto
    }

    /* ── nav ───────────────────────────────────────────────────────────── */
    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 0.5px solid var(--border);
      padding: 0 22px
    }

    .nav-in {
      max-width: var(--wrap);
      margin: 0 auto;
      padding: 14px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px
    }

    .brand {
      font: 700 18px/1 "Roboto", var(--font-display);
      letter-spacing: -0.01em;
      display: flex;
      align-items: center;
      gap: 9px
    }

    .brand .dot {
      width: 22px;
      height: 22px;
      border-radius: 7px;
      background: linear-gradient(150deg, var(--accent), #5b4ad6);
      display: grid;
      place-items: center;
      color: #fff;
      font-size: 13px
    }

    .nav-links {
      display: flex;
      gap: 26px
    }

    .nav-links a {
      font: 500 14px/1 var(--font-body);
      color: var(--muted);
      transition: color var(--motion) var(--ease)
    }

    .nav-links a:hover {
      color: var(--fg)
    }

    .nav-cta {
      font: 600 14px/1 var(--font-body);
      background: var(--accent);
      color: var(--accent-on);
      padding: 10px 16px;
      border-radius: var(--radius-pill);
      border: 0;
      cursor: pointer;
      transition: background var(--motion) var(--ease)
    }

    .nav-cta:hover {
      background: var(--accent-hover)
    }

    @media(max-width:680px) {
      .nav-links {
        display: none
      }
      .nav {
        transition: transform var(--motion) var(--ease);
      }
      .nav.hide {
        transform: translateY(-100%)
      }
    }

    /* ── buttons ───────────────────────────────────────────────────────── */
    .btn {
      font: 600 17px/1 var(--font-body);
      padding: 15px 24px;
      border-radius: var(--radius-pill);
      border: 0;
      cursor: pointer;
      transition: background var(--motion) var(--ease), transform var(--motion) var(--ease);
      display: inline-flex;
      align-items: center;
      gap: 8px
    }

    .btn-primary {
      background: var(--accent);
      color: var(--accent-on)
    }

    .btn-primary:hover {
      background: var(--accent-hover)
    }

    .btn-primary:active {
      transform: scale(0.98)
    }

    /* ── hero ──────────────────────────────────────────────────────────── */
    .hero {
      padding: clamp(56px, 8vw, 104px) 22px clamp(56px, 7vw, 96px)
    }

    .hero-grid {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: clamp(44px, 6vw, 80px)
    }

    .hero-copy {
      max-width: 780px
    }

    .hero-copy h1 {
      margin: 18px 0 20px
    }

    .hero-copy .lead {
      margin: 0 auto 30px
    }

    .hero-copy .signup {
      margin: 0 auto
    }

    .hero-copy .trust {
      justify-content: center
    }

    .hero-copy .confirm {
      margin: 20px auto 0;
      text-align: left
    }

    .signup {
      display: flex;
      gap: 10px;
      max-width: 440px;
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius-pill);
      padding: 7px 7px 7px 18px;
      transition: border-color var(--motion) var(--ease)
    }

    .signup:focus-within {
      border-color: var(--accent-line)
    }

    .signup input {
      flex: 1;
      min-width: 0;
      background: transparent;
      border: 0;
      outline: none;
      color: var(--fg);
      font: 400 16px/1 var(--font-body);
      padding: 10px 0
    }

    .signup input::placeholder {
      color: var(--meta)
    }

    .signup button {
      flex-shrink: 0
    }

    .trust {
      font: 400 13px/1.4 var(--font-body);
      color: var(--muted);
      margin-top: 13px;
      display: flex;
      align-items: center;
      gap: 7px
    }

    .trust svg {
      width: 15px;
      height: 15px;
      stroke: var(--muted)
    }

    .confirm {
      display: none;
      background: var(--accent-soft);
      border: 0.5px solid var(--accent-line);
      border-radius: var(--radius-lg);
      padding: 18px 20px;
      max-width: 440px;
      margin-top: 20px
    }

    .confirm.show {
      display: block
    }

    .confirm .ct {
      font: 600 16px/1.3 var(--font-body);
      color: var(--fg);
      display: flex;
      align-items: center;
      gap: 9px
    }

    .confirm .cs {
      font: 400 13px/1.4 var(--font-body);
      color: var(--muted);
      margin-top: 6px
    }

    @media(max-width:520px) {
      .signup {
        flex-direction: column;
        gap: 10px;
        background: transparent;
        border: 0;
        padding: 0
      }

      .signup input {
        background: var(--surface);
        border: 0.5px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 14px 16px;
        text-align: center
      }

      #signup-hero input {
        display: none
      }

      .signup input:focus {
        border-color: var(--accent-line)
      }

      .signup button {
        width: 100%;
        justify-content: center
      }
    }

    /* ── phone mockup (reused app chrome) ──────────────────────────────── */
    .phone {
      width: 360px;
      max-width: 100%;
      margin: 0 auto;
      background: linear-gradient(135deg, #5e5e62, #2c2c2e 20%, #1c1c1e 80%, #5e5e62);
      border-radius: 52px;
      padding: 8px;
      box-shadow:
        0 0 0 1px #050505,
        0 0 0 2px #3a3a3c,
        inset 0 0 2px 1px rgba(255, 255, 255, 0.22),
        0 40px 90px rgba(0, 0, 0, 0.75);
      position: relative;
    }

    .btn-side {
      position: absolute;
      background: linear-gradient(to bottom, #5e5e62, #2c2c2e);
      border-radius: 2px;
      z-index: -1
    }

    .btn-action {
      left: -2px;
      top: 76px;
      width: 2px;
      height: 12px;
      border-radius: 2px 0 0 2px
    }

    .btn-vol-up {
      left: -2px;
      top: 102px;
      width: 2px;
      height: 24px;
      border-radius: 2px 0 0 2px
    }

    .btn-vol-down {
      left: -2px;
      top: 134px;
      width: 2px;
      height: 24px;
      border-radius: 2px 0 0 2px
    }

    .btn-power {
      right: -2px;
      top: 116px;
      width: 2px;
      height: 38px;
      border-radius: 0 2px 2px 0
    }

    .phone .scr {
      background: var(--bg);
      border-radius: 44px;
      overflow: hidden;
      position: relative;
      box-shadow: 0 0 0 1px #000;
      aspect-ratio: 1320 / 2868;
      display: flex;
      flex-direction: column
    }

    .phone .scr-img {
      width: 100%;
      height: 100%;
      display: block
    }

    .phone .dynamic-island {
      position: absolute;
      top: 12px;
      left: 50%;
      transform: translateX(-50%);
      width: 84px;
      height: 22px;
      background: #000;
      border-radius: 11px;
      z-index: 15;
      box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.05)
    }

    .phone .glare {
      display: none
    }

    .phone .sb {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 22px 0;
      font: 600 12px/1 var(--font-body);
      height: 36px;
      position: relative;
      z-index: 4;
      flex-shrink: 0
    }

    .phone .body {
      padding: 12px 14px 18px;
      flex: 1;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch
    }

    .phone .body::-webkit-scrollbar {
      display: none
    }

    .fade-bottom:after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 60px;
      background: linear-gradient(transparent, var(--bg));
      pointer-events: none
    }

    /* char-card (app) */
    .char-card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      padding: 16px 15px 15px
    }

    .char-top {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px
    }

    .avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--accent);
      display: grid;
      place-items: center;
      font: 600 19px/1 var(--font-display);
      color: #fff;
      flex-shrink: 0;
      box-shadow: none
    }

    .char-name {
      font: 600 18px/1.1 var(--font-body)
    }

    .char-sub {
      font: 400 12px/1 var(--font-body);
      color: var(--muted);
      margin-top: 2px
    }

    .level-pill {
      background: var(--accent-soft);
      color: var(--accent);
      font: 700 11px/1 var(--font-mono);
      letter-spacing: 0.04em;
      padding: 5px 9px;
      border-radius: var(--radius-pill);
      border: 1px solid var(--accent-line)
    }

    .xp-bar {
      height: 7px;
      background: var(--surface-3);
      border-radius: var(--radius-pill);
      overflow: hidden
    }

    .xp-fill {
      height: 100%;
      background: var(--accent);
      border-radius: var(--radius-pill);
      width: 0;
      transition: width 1.3s var(--ease)
    }

    .xp-label {
      display: flex;
      justify-content: space-between;
      margin-bottom: 6px;
      font: 500 10px/1 var(--font-mono);
      color: var(--muted)
    }

    .xp-label .tn {
      color: var(--fg-2)
    }

    .stat-row {
      display: flex;
      gap: 8px;
      margin-top: 13px
    }

    .stat {
      flex: 1;
      background: var(--surface-2);
      border-radius: 10px;
      padding: 9px 10px;
      display: flex;
      align-items: center;
      gap: 8px
    }

    .stat .si {
      width: 26px;
      height: 26px;
      border-radius: 7px;
      background: var(--surface-3);
      display: grid;
      place-items: center;
      flex-shrink: 0
    }

    .stat .si svg {
      width: 14px;
      height: 14px;
      stroke-width: 2
    }

    .stat .sv {
      font: 600 15px/1 var(--font-display)
    }

    .stat .sl {
      font: 400 10px/1.2 var(--font-body);
      color: var(--muted);
      margin-top: 1px
    }

    /* area cards (app) */
    .areas-mini {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 12px
    }

    .scr .areas-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      margin: 14px 2px 0
    }

    .scr .areas-head .ah {
      font: 600 13px/1 var(--font-body)
    }

    .scr .areas-head .ac {
      font: 500 11px/1 var(--font-mono);
      color: var(--muted)
    }

    .home-ind {
      position: absolute;
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%);
      width: 108px;
      height: 4px;
      border-radius: 3px;
      background: var(--fg);
      opacity: .85;
      z-index: 60;
      pointer-events: none
    }

    /* ── tab bar (hero phone, decorative) ─────────────────────────────── */
    .tab-bar {
      flex-shrink: 0;
      display: flex;
      background: rgba(28, 28, 30, 0.82);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-top: 0.5px solid var(--border);
      padding: 8px 0 22px;
      z-index: 50
    }

    .tab {
      flex: 1;
      background: transparent;
      border: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      padding: 6px 0;
      color: var(--meta)
    }

    .tab svg {
      width: 22px;
      height: 22px;
      stroke-width: 1.8
    }

    .tab .tl {
      font: 500 9px/1 var(--font-body);
      letter-spacing: 0.01em
    }

    .tab.active {
      color: var(--accent)
    }

    .area-card {
      background: var(--surface);
      border-radius: 14px;
      padding: 12px;
      display: flex;
      align-items: center;
      gap: 11px
    }

    .area-badge {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      flex-shrink: 0
    }

    .area-badge svg {
      width: 19px;
      height: 19px;
      stroke-width: 1.9
    }

    .area-name {
      font: 600 14px/1 var(--font-body);
      display: flex;
      align-items: center;
      gap: 7px
    }

    .area-lvl {
      font: 600 10px/1 var(--font-mono);
      color: var(--muted);
      background: var(--surface-3);
      padding: 3px 6px;
      border-radius: var(--radius-pill)
    }

    .area-xp {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 7px
    }

    .area-xp .xp-bar {
      flex: 1;
      height: 5px
    }

    .area-xp .xp-fill {
      background: var(--fg-2)
    }

    .area-body {
      flex: 1;
      min-width: 0
    }

    .area-xp .xp-num {
      font: 500 9px/1 var(--font-mono);
      color: var(--muted);
      white-space: nowrap
    }

    .area-chev {
      color: var(--meta);
      flex-shrink: 0;
      display: flex;
      align-items: center
    }

    .area-chev svg {
      width: 10px;
      height: 14px;
      stroke-width: 2.2
    }

    .area-card .char-sub {
      font: 400 11px/1.3 var(--font-body);
      color: var(--muted);
      margin-top: 4px
    }

    .askill {
      font: 400 10px/1 var(--font-body);
      color: var(--muted);
      margin-top: 6px
    }

    /* ── section primitives ────────────────────────────────────────────── */
    .s-head {
      margin-bottom: clamp(28px, 4vw, 48px)
    }

    .s-head .eyebrow {
      margin-bottom: 14px;
      display: inline-block
    }

    .s-head h2 {
      margin-bottom: 14px
    }

    .s-head .lead {
      max-width: 56ch
    }

    /* problem */
    .problem {
      background: var(--bg)
    }

    .problem h2 {
      margin: 14px 0 48px
    }

    .prob-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(28px, 5vw, 64px);
      align-items: center
    }

    @media(max-width:780px) {
      .prob-grid {
        grid-template-columns: 1fr
      }

      .problem h2 {
        margin-bottom: 24px
      }
    }

    .prob-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 18px
    }

    .prob-list li {
      display: flex;
      gap: 14px;
      align-items: flex-start
    }

    .prob-list .pi {
      width: 30px;
      height: 30px;
      border-radius: 9px;
      background: var(--surface);
      display: grid;
      place-items: center;
      flex-shrink: 0;
      border: 1px solid var(--border)
    }

    .prob-list .pi svg {
      width: 15px;
      height: 15px;
      stroke: var(--danger);
      stroke-width: 2
    }

    .prob-list b {
      font-weight: 600
    }

    .prob-list .pd {
      font: 400 15px/1.5 var(--font-body);
      color: var(--muted)
    }

    .faded-card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      padding: 26px;
      border: 0.5px solid var(--border)
    }

    .faded-card .fc-lab {
      font: 500 12px/1 var(--font-mono);
      color: var(--meta);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 16px
    }

    .faded-bar {
      height: 14px;
      border-radius: var(--radius-pill);
      background: var(--surface-2);
      overflow: hidden;
      position: relative
    }

    .faded-bar i {
      display: block;
      height: 100%;
      width: 14%;
      background: var(--surface-3);
      border-radius: inherit
    }

    .faded-meta {
      display: flex;
      justify-content: space-between;
      margin-top: 12px;
      font: 500 12px/1 var(--font-mono);
      color: var(--meta)
    }

    .faded-drop {
      margin-top: 26px;
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--danger);
      font: 500 14px/1 var(--font-body)
    }

    .faded-drop svg {
      width: 18px;
      height: 18px;
      stroke: var(--danger);
      stroke-width: 2
    }

    /* how it works beats */
    .beats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(18px, 2.4vw, 28px);
      position: relative;
      padding-top: 15px
    }

    @media(max-width:860px) {
      .beats {
        grid-template-columns: 1fr;
        gap: 36px
      }
    }

    .beat {
      position: relative;
      background: var(--surface);
      border-radius: var(--radius-lg);
      padding: 34px 26px 26px;
      border: 0.5px solid var(--border)
    }

    .beat .num {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translate(-50%, -50%);
      font: 600 12px/1 var(--font-mono);
      color: var(--fg-2);
      letter-spacing: 0.06em;
      background: var(--surface-2);
      border: 1px solid var(--border);
      padding: 6px 13px;
      border-radius: var(--radius-pill);
      white-space: nowrap;
      margin-bottom: 0
    }

    .beat h3 {
      margin-bottom: 10px
    }

    .beat p {
      font: 400 15px/1.5 var(--font-body);
      color: var(--muted);
      margin-bottom: 20px
    }

    @media(min-width:861px) {
      .beat p {
        min-height: 90px
      }
    }

    .beat-vis {
      background: var(--bg);
      border-radius: 14px;
      padding: 16px;
      border: 0.5px solid var(--border-soft)
    }

    .tier-row {
      display: flex;
      gap: 8px;
      flex-wrap: wrap
    }

    .tier {
      font: 600 12px/1 var(--font-mono);
      padding: 7px 11px;
      border-radius: var(--radius-pill);
      letter-spacing: 0.02em
    }

    .tier-trivial {
      background: rgba(100, 210, 255, 0.16);
      color: var(--teal)
    }

    .tier-easy {
      background: rgba(48, 209, 88, 0.18);
      color: var(--success)
    }

    .tier-normal {
      background: rgba(255, 159, 10, 0.18);
      color: var(--orange)
    }

    .tier-hard {
      background: rgba(255, 69, 58, 0.18);
      color: var(--danger)
    }

    .sw-mini {
      text-align: center
    }

    .sw-mini .t {
      font: 300 46px/1 var(--font-mono);
      letter-spacing: -0.02em;
      font-variant-numeric: tabular-nums;
      margin-bottom: 8px
    }

    .sw-mini .lx {
      font: 700 15px/1 var(--font-display);
      color: var(--accent);
      margin-bottom: 4px
    }

    .sw-mini .nx {
      font: 500 11px/1 var(--font-mono);
      color: var(--muted)
    }

    .rollup {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap
    }

    .rollup .node {
      background: var(--surface-2);
      border-radius: 10px;
      padding: 9px 12px;
      text-align: center;
      min-width: 74px
    }

    .rollup .node .nl {
      font: 500 10px/1 var(--font-body);
      color: var(--muted);
      margin-bottom: 4px
    }

    .rollup .node .nv {
      font: 700 15px/1 var(--font-display)
    }

    .rollup .node.top {
      background: var(--accent-soft);
      border: 0.5px solid var(--accent-line)
    }

    .rollup .node.top .nv {
      color: var(--accent)
    }

    .rollup .arr {
      color: var(--meta)
    }

    .rollup .arr svg {
      width: 18px;
      height: 18px;
      stroke: var(--meta);
      stroke-width: 2
    }

    /* USP */
    .usp {
      background: var(--bg)
    }

    .usp h2 {
      max-width: 20ch
    }

    .diffs {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin-top: 36px
    }

    @media(max-width:860px) {
      .diffs {
        grid-template-columns: 1fr
      }
    }

    /* honesty */
    .honesty-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: clamp(28px, 4vw, 48px);
      align-items: center
    }

    @media(max-width:860px) {
      .honesty-grid {
        grid-template-columns: 1fr
      }
    }

    .h-feats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 11px;
      align-content: start
    }

    @media(max-width:520px) {
      .h-feats {
        grid-template-columns: 1fr
      }
    }

    .hf {
      background: var(--surface);
      border-radius: var(--radius-md);
      padding: 18px;
      border: 0.5px solid var(--border)
    }

    .hf .hi {
      width: 32px;
      height: 32px;
      border-radius: 9px;
      background: var(--accent-soft);
      display: grid;
      place-items: center;
      margin-bottom: 13px
    }

    .hf .hi svg {
      width: 17px;
      height: 17px;
      stroke: var(--accent);
      stroke-width: 2
    }

    .hf h4 {
      font: 600 15px/1.2 var(--font-body);
      margin-bottom: 6px
    }

    .hf p {
      font: 400 13px/1.45 var(--font-body);
      color: var(--muted)
    }

    /* logs snippet (app) */
    .logs {
      background: var(--bg);
      border-radius: var(--radius-lg);
      padding: 18px;
      border: 0.5px solid var(--border);
      font-family: var(--font-body)
    }

    .logs .dh {
      font: 600 12px/1 var(--font-body);
      color: var(--muted);
      margin-bottom: 10px;
      display: flex;
      justify-content: space-between;
      align-items: baseline
    }

    .logs .dh .tot {
      font: 600 13px/1 var(--font-body);
      color: var(--accent)
    }

    .log-row {
      display: grid;
      grid-template-columns: 38px 1fr auto;
      gap: 9px;
      align-items: center;
      padding: 9px 0;
      border-top: 0.5px solid var(--border-soft)
    }

    .log-time {
      font: 500 11px/1.1 var(--font-mono);
      color: var(--muted)
    }

    .log-src {
      font: 400 13px/1.3 var(--font-body);
      min-width: 0
    }

    .log-src .sub {
      display: block;
      font: 400 11px/1.2 var(--font-body);
      color: var(--meta);
      margin-top: 2px
    }

    .log-src .tag {
      display: inline-block;
      font: 600 9px/1 var(--font-mono);
      padding: 3px 6px;
      border-radius: 5px;
      margin-left: 5px;
      vertical-align: 1px;
      text-transform: uppercase;
      letter-spacing: 0.04em
    }

    .tag-session {
      background: rgba(10, 132, 255, 0.18);
      color: var(--blue)
    }

    .tag-task {
      background: var(--accent-soft);
      color: var(--accent)
    }

    .log-xp {
      font: 600 12px/1 var(--font-mono);
      color: var(--accent);
      text-align: right
    }

    .log-xp .cum {
      display: block;
      font: 400 10px/1.2 var(--font-mono);
      color: var(--meta);
      margin-top: 2px;
      font-weight: 400
    }

    /* status + CTA */
    .cta {
      text-align: center
    }

    .cta h2 {
      max-width: 20ch;
      margin: 14px auto 18px;
      font-size: clamp(38px, 5.2vw, 64px)
    }

    .cta .lead {
      margin: 0 auto 32px
    }

    .append-line {
      font: 400 13px/1.4 var(--font-body);
      color: var(--meta);
      margin-top: 16px;
      text-align: center
    }

    .append-line svg {
      display: inline-block;
      vertical-align: middle;
      width: 15px;
      height: 15px;
      stroke: var(--meta);
      stroke-width: 2;
      margin-right: 6px;
      position: relative;
      top: -1px
    }

    /* footer */
    footer {
      padding: 48px 22px;
      border-top: 0.5px solid var(--border)
    }

    .foot-in {
      max-width: var(--wrap);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap
    }

    .foot-in .brand {
      font-size: 16px
    }

    .foot-meta {
      font: 400 13px/1 var(--font-body);
      color: var(--meta)
    }

    .foot-meta a {
      color: var(--muted)
    }

    .foot-meta a:hover {
      color: var(--fg)
    }

    /* reveal animation */
    .reveal {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 0.7s var(--ease), transform 0.7s var(--ease)
    }

    .reveal.in {
      opacity: 1;
      transform: none
    }

    @media(prefers-reduced-motion:reduce) {
      .reveal {
        opacity: 1;
        transform: none
      }

      .xp-fill {
        transition: none
      }
    }
