:root {
    --bg: #07070a;
    --bg-2: #0e0e12;
    --panel: #15151c;
    --ink: #f7f7fa;
    --mute: #8a8a96;
    --line: rgba(255,255,255,0.08);
    --red: #E5141A;
    --yellow: #F7C300;
    --blue: #0466D8;
    --green: #00A859;
    --r-grad: radial-gradient(60% 80% at 10% 0%, rgba(229,20,26,.40), transparent 60%),
              radial-gradient(50% 70% at 90% 20%, rgba(4,102,216,.42), transparent 60%),
              radial-gradient(60% 70% at 50% 100%, rgba(247,195,0,.30), transparent 60%);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { background: var(--bg); color: var(--ink); font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; }
  body { overflow-x: hidden; }
  a { color: inherit; text-decoration: none; }
  .mono { font-family: 'Geist Mono', ui-monospace, monospace; }
  .container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

  /* NAV */
  nav.top {
    position: sticky; top: 0; z-index: 50;
    background: rgba(7,7,10,0.65); backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--line);
  }
  nav.top .row { display: flex; align-items: center; height: 56px; gap: 28px; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 17px; }
  .brand .mark {
    width: 28px; height: 28px; border-radius: 7px;
    background: url('screens/logo-sm.png') center / cover no-repeat;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  }
  nav.top ul { display: flex; gap: 24px; list-style: none; margin-left: auto; font-size: 13.5px; color: var(--mute); }
  nav.top ul a:hover { color: var(--ink); }
  nav.top .cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 13px;
    transition: transform .15s;
  }
  nav.top .cta:hover { transform: translateY(-1px); }

  /* HERO */
  .hero { position: relative; padding: 96px 0 64px; isolation: isolate; }
  .hero::before {
    content:''; position: absolute; inset: 0; background: var(--r-grad);
    opacity: .9; filter: blur(60px) saturate(120%); z-index: -1;
    will-change: transform;
    animation: float 18s ease-in-out infinite alternate;
  }
  @keyframes float {
    0% { transform: translate(-2%, -1%) scale(1); }
    100% { transform: translate(3%, 2%) scale(1.05); }
  }
  .hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px;
    border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--mute);
    background: rgba(255,255,255,.03);
  }
  .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
  h1 {
    font-size: clamp(48px, 6.5vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 800;
    margin: 22px 0 22px;
  }
  h1 .stack { display: block; }
  h1 .accent {
    background: linear-gradient(96deg, var(--red) 0%, var(--yellow) 45%, var(--blue) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero p.lede { font-size: 19px; line-height: 1.55; color: var(--mute); max-width: 520px; }
  .ctas { display: flex; gap: 12px; margin-top: 32px; align-items: center; }
  .app-store {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--ink); color: var(--bg); padding: 13px 18px 13px 16px; border-radius: 14px;
    transition: transform .15s, box-shadow .2s;
    box-shadow: 0 8px 30px rgba(255,255,255,.08);
  }
  .app-store:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,255,255,.18); }
  .app-store svg { width: 28px; height: 28px; }
  .app-store .small { font-size: 11px; opacity: .65; }
  .app-store .big { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
  .ghost-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 18px; border-radius: 14px; border: 1px solid var(--line);
    color: var(--ink); font-size: 14px; font-weight: 500;
    transition: background .15s;
  }
  .ghost-cta:hover { background: rgba(255,255,255,.05); }
  .meta-row {
    display: flex; gap: 28px; margin-top: 36px; color: var(--mute); font-size: 13px;
  }
  .meta-row span { display: inline-flex; align-items: center; gap: 8px; }
  .meta-row svg { width: 14px; height: 14px; }

  /* HERO PHONE */
  .hero-phone-wrap { position: relative; height: 880px; display: flex; align-items: center; justify-content: center; overflow: visible; }
  .phone {
    position: relative; width: 360px; height: 782px;
    border-radius: 54px;
    /* Ceramic-titanium bezel: subtle gradient, very thin inner stroke, no
       inner solid frame (real iPhones don't have one) */
    background:
      linear-gradient(180deg, #1d1d22 0%, #15151b 50%, #101015 100%);
    box-shadow:
      /* outer ground-shadow */
      0 50px 100px -28px rgba(0,0,0,.75),
      /* coloured ambient bounce */
      0 24px 48px -28px rgba(229,20,26,.22),
      /* polished frame highlight (top sheen) */
      inset 0 1px 1px rgba(255,255,255,.18),
      /* outer edge crisp line */
      inset 0 0 0 1px rgba(255,255,255,.06),
      /* thin recessed line where bezel meets screen */
      inset 0 0 0 7.5px #000;
    padding: 8px;
    transform: rotate(-2deg);
    animation: phone-float 6s ease-in-out infinite alternate;
    will-change: transform;
  }
  /* Side buttons — right-side power, left-side volume + action button */
  .phone::before {
    /* Right side: power button */
    content: '';
    position: absolute; top: 180px; right: -2px;
    width: 3px; height: 78px; border-radius: 2px;
    background: linear-gradient(90deg, #0a0a0c 0%, #2a2a30 50%, #0a0a0c 100%);
    box-shadow: 0 0 0 .5px rgba(0,0,0,.6);
  }
  .phone::after {
    /* Left side: volume up + down (long) and action button (short) */
    content: '';
    position: absolute; top: 140px; left: -2px;
    width: 3px; height: 168px; border-radius: 2px;
    background:
      linear-gradient(90deg, #0a0a0c 0%, #2a2a30 50%, #0a0a0c 100%);
    box-shadow:
      0 0 0 .5px rgba(0,0,0,.6),
      /* gap then action button (top short bar) drawn via inset white-ish line */
      0 -56px 0 -1.5px #0a0a0c;
  }
  @keyframes phone-float {
    0% { transform: rotate(-2deg) translateY(0); }
    100% { transform: rotate(-1deg) translateY(-12px); }
  }
  .phone-screen {
    width: 100%; height: 100%; border-radius: 46px; overflow: hidden;
    background: #000; position: relative;
    display: flex; flex-direction: column;
  }
  /* Real screenshot fills the phone screen entirely; Dynamic Island is
     baked into the image so we don't draw a separate notch. */
  .phone-screen .app-shot {
    width: 100%; height: 100%; object-fit: cover; object-position: top center;
    display: block;
    transition: opacity .55s ease;
  }
  .phone-screen .app-shot.fading { opacity: 0; }

  /* APP UI — Collection */
  .app-status {
    display: flex; justify-content: space-between; padding: 14px 28px 4px;
    font-size: 14px; font-weight: 600; color: #fff;
  }
  .app-status .right { display: flex; gap: 6px; align-items: center; font-size: 11px; }
  .app-status .right svg { width: 16px; height: 11px; }
  .app-header {
    padding: 18px 22px 16px; display: flex; justify-content: space-between; align-items: flex-end;
  }
  .app-header h2 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
  .app-header .sub { color: #8a8a96; font-size: 12px; margin-top: 4px; }
  .app-header .add-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--yellow)); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(229,20,26,.4);
  }
  .app-header .add-btn::before {
    content:''; width: 14px; height: 2px; background: #fff; position: absolute;
  }
  .app-header .add-btn::after {
    content:''; width: 2px; height: 14px; background: #fff; position: absolute;
  }
  .app-header .add-btn { position: relative; }
  .stat-strip {
    display: flex; gap: 8px; padding: 0 22px 16px;
  }
  .stat-pill {
    flex: 1; background: #15151c; border-radius: 14px; padding: 10px 12px;
    border: .5px solid rgba(255,255,255,.06);
  }
  .stat-pill .v { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
  .stat-pill .l { font-size: 10px; color: #8a8a96; margin-top: 2px; text-transform: uppercase; letter-spacing: .04em; }
  .stat-pill.accent .v { color: var(--yellow); }
  .filters {
    display: flex; gap: 6px; padding: 0 22px 14px; overflow-x: auto; flex-wrap: wrap;
  }
  .chip {
    padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 500;
    background: rgba(255,255,255,.06); color: #ccc; white-space: nowrap;
  }
  .chip.active { background: #fff; color: #000; }
  .grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 18px 24px;
    flex: 1; align-content: start;
  }
  .set-card {
    background: linear-gradient(180deg, #1c1c25 0%, #15151c 100%);
    border-radius: 16px; padding: 8px; border: .5px solid rgba(255,255,255,.06);
    position: relative; overflow: hidden;
  }
  .set-img {
    height: 80px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }
  .set-meta { padding: 8px 4px 2px; }
  .set-meta .name { font-size: 11px; color: #fff; font-weight: 600; line-height: 1.2; }
  .set-meta .theme { font-size: 9px; color: #8a8a96; margin-top: 2px; }
  .set-meta .row {
    display: flex; justify-content: space-between; align-items: center; margin-top: 6px;
  }
  .set-meta .price { font-size: 11px; color: var(--yellow); font-weight: 600; font-family: 'Geist Mono'; }
  .set-meta .pieces { font-size: 9px; color: #8a8a96; }
  .set-card.s1 .set-img { background: linear-gradient(135deg, #0a3d62 0%, #1e5f8a 100%); }
  .set-card.s2 .set-img { background: linear-gradient(135deg, #4a2c00 0%, #c08545 100%); }
  .set-card.s3 .set-img { background: linear-gradient(135deg, #2d1b08 0%, #6b4423 100%); }
  .set-card.s4 .set-img { background: linear-gradient(135deg, #143d2c 0%, #4a8c5e 100%); }
  .set-card.s5 .set-img { background: linear-gradient(135deg, #1a1a3e 0%, #4a4a8c 100%); }
  .set-card.s6 .set-img { background: linear-gradient(135deg, #3d0a1a 0%, #8a3050 100%); }
  /* Tiny LEGO icon inside card */
  .lego-icon {
    width: 38px; height: 38px; opacity: .9;
  }
  .ribbon {
    position: absolute; top: 8px; left: 8px; background: var(--red); color: #fff;
    font-size: 8px; font-weight: 700; padding: 2px 5px; border-radius: 3px;
    letter-spacing: .05em; text-transform: uppercase;
  }
  .tab-bar {
    position: absolute; bottom: 0; left: 0; right: 0; height: 78px;
    background: rgba(10,10,14,.85); backdrop-filter: blur(20px);
    border-top: .5px solid rgba(255,255,255,.08);
    display: flex; justify-content: space-around; align-items: flex-start;
    padding-top: 12px; z-index: 4;
  }
  .tab { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #6a6a76; font-size: 10px; }
  .tab.active { color: #fff; }
  .tab .ic { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }

  /* SECTION HEADERS */
  section { padding: 120px 0; position: relative; }
  .sec-eyebrow {
    font-family: 'Geist Mono'; font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
    color: var(--mute); margin-bottom: 18px;
  }
  .sec-eyebrow .swatch {
    display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px;
    transform: translateY(1px);
  }
  h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -.035em; font-weight: 700; max-width: 720px; }
  h2 .gradient {
    background: linear-gradient(96deg, var(--red), var(--yellow), var(--blue));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .sec-lede { font-size: 18px; color: var(--mute); margin-top: 18px; max-width: 600px; line-height: 1.55; }

  /* FEATURE GRID */
  .feature-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px;
  }
  .f-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: 24px;
    padding: 28px; position: relative; overflow: hidden;
    transition: border-color .25s, transform .25s;
  }
  .f-card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-2px); }
  .f-card.lg { grid-column: span 4; min-height: 420px; }
  .f-card.sm { grid-column: span 2; min-height: 420px; }
  .f-card.wide { grid-column: span 6; min-height: 360px; }
  .f-card.mid { grid-column: span 3; min-height: 340px; }
  .f-card .label {
    font-family: 'Geist Mono'; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--mute); display: inline-flex; align-items: center; gap: 8px;
  }
  .f-card .swatch { width: 8px; height: 8px; border-radius: 2px; }
  .f-card h3 {
    font-size: 28px; line-height: 1.05; letter-spacing: -.025em; font-weight: 700;
    margin: 14px 0 12px; max-width: 380px;
  }
  .f-card p { color: var(--mute); font-size: 14.5px; line-height: 1.55; max-width: 380px; }
  .f-card .visual { margin-top: 28px; }

  /* AI scan modes grid */
  .modes-grid {
    margin-top: 28px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  }
  .mode-card {
    background: #0a0a0c; border: 1px solid var(--line); border-radius: 14px;
    padding: 18px 16px;
    display: flex; flex-direction: column; gap: 10px;
    transition: border-color .2s, transform .2s, background .2s;
  }
  .mode-card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-2px); }
  .mode-card .mode-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.04); color: var(--mute);
  }
  .mode-card .mode-icon svg { width: 20px; height: 20px; }
  .mode-card .mode-name { font-size: 15px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
  .mode-card .mode-desc { font-size: 12.5px; color: var(--mute); line-height: 1.45; }
  .mode-card.hi { background: linear-gradient(160deg, rgba(247,195,0,.08), rgba(229,20,26,.06)); border-color: rgba(247,195,0,.25); }
  .mode-card.hi .mode-icon { background: rgba(247,195,0,.15); color: var(--yellow); }

  /* Offline-first — three database links */
  .db-links {
    margin-top: 28px;
    display: flex; flex-direction: column; gap: 8px;
  }
  .db-link {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; background: #0a0a0c; border: 1px solid var(--line);
    border-radius: 12px; color: var(--ink); text-decoration: none;
    transition: border-color .15s, background .15s, transform .15s;
  }
  .db-link:hover { border-color: rgba(255,255,255,.22); background: #131319; transform: translateX(2px); }
  .db-link .db-name { font-weight: 600; font-size: 14px; color: var(--ink); }
  .db-link .db-role { font-size: 12px; color: var(--mute); margin-left: auto; }
  .db-link .db-arrow { font-size: 16px; color: var(--mute); margin-left: 10px; transition: color .15s, transform .15s; }
  .db-link:hover .db-arrow { color: var(--yellow); transform: translate(2px, -2px); }

  /* Wishlist list */
  .wishlist-vis { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
  .wl-row {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; background: #0a0a0c; border: 1px solid var(--line); border-radius: 12px;
  }
  .wl-heart {
    width: 28px; height: 28px; border-radius: 8px; background: rgba(229,20,26,.12); color: var(--red);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .wl-heart svg { width: 14px; height: 14px; }
  .wl-meta { flex: 1; min-width: 0; }
  .wl-set { font-size: 13px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
  .wl-theme { font-size: 11px; color: var(--mute); margin-top: 2px; font-family: 'Geist Mono'; }
  .wl-tag { font-size: 10px; font-family: 'Geist Mono'; color: var(--yellow); text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; background: rgba(247,195,0,.1); border-radius: 999px; }

  /* SCAN DEMO inside f-card */
  .scan-demo {
    position: relative; height: 240px; border-radius: 16px; overflow: hidden;
    background: linear-gradient(180deg, #0a0a0c 0%, #15151c 100%);
    border: 1px solid var(--line);
  }
  .scan-target {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 130px; height: 100px; border-radius: 8px;
    background: linear-gradient(135deg, #c41e2f, #f5a623);
    box-shadow: 0 12px 32px rgba(0,0,0,.6);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Geist Mono'; font-size: 12px; color: #fff; font-weight: 700; letter-spacing: .05em;
  }
  .scan-target::before {
    content: 'LEGO'; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    background: var(--red); color: #fff; font-family: 'Geist'; font-weight: 800;
    padding: 3px 7px; border-radius: 6px; font-size: 11px;
  }
  .scan-target .num { margin-top: 28px; font-size: 14px; opacity: .9; }
  .scan-frame {
    position: absolute; inset: 32px; border: 2px solid transparent;
    border-radius: 18px; pointer-events: none;
  }
  .scan-corner {
    position: absolute; width: 24px; height: 24px;
    border-color: var(--green); border-style: solid; border-width: 0;
  }
  .scan-corner.tl { top: 24px; left: 24px; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 8px; }
  .scan-corner.tr { top: 24px; right: 24px; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 8px; }
  .scan-corner.bl { bottom: 24px; left: 24px; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 8px; }
  .scan-corner.br { bottom: 24px; right: 24px; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 8px; }
  .scan-line {
    position: absolute; left: 32px; right: 32px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    box-shadow: 0 0 16px var(--green);
    top: 38px;
    will-change: transform;
    animation: scan 2.2s ease-in-out infinite alternate;
  }
  @keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(156px); }
  }
  .detect-tag {
    position: absolute; bottom: 18px; left: 18px; right: 18px;
    background: rgba(0,168,89,.15); border: 1px solid rgba(0,168,89,.4);
    backdrop-filter: blur(8px); border-radius: 10px; padding: 10px 12px;
    display: flex; align-items: center; gap: 10px; font-size: 12px;
    color: #b6f5d0;
  }
  .detect-tag .check {
    width: 18px; height: 18px; border-radius: 50%; background: var(--green);
    display: flex; align-items: center; justify-content: center;
  }
  .detect-tag .check svg { width: 11px; height: 11px; }
  .detect-tag b { color: #fff; font-weight: 600; }

  /* OFFLINE visual */
  .offline-vis {
    position: relative; height: 240px; margin-top: 24px;
    background: radial-gradient(circle at 50% 50%, rgba(247,195,0,.15), transparent 60%);
    border-radius: 16px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .offline-orb {
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--yellow), #b07c00 70%);
    box-shadow: 0 12px 40px rgba(247,195,0,.4), inset 0 -10px 20px rgba(0,0,0,.4);
    position: relative;
  }
  .offline-orb::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: repeating-radial-gradient(circle at 30% 30%, transparent 0 8px, rgba(255,255,255,.04) 8px 9px);
  }
  .offline-orb::after {
    content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: #000; font-size: 36px; font-weight: 800;
  }
  .signal-ring {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    border: 1px dashed rgba(255,255,255,.15); border-radius: 50%;
    animation: pulse-ring 3s ease-out infinite;
    pointer-events: none;
  }
  .signal-ring.r1 { width: 180px; height: 180px; }
  .signal-ring.r2 { width: 240px; height: 240px; animation-delay: .5s; }
  .signal-ring.r3 { width: 320px; height: 320px; animation-delay: 1s; }
  @keyframes pulse-ring {
    0%, 100% { opacity: .25; }
    50% { opacity: .55; }
  }
  .offline-tag {
    position: absolute; top: 16px; left: 16px;
    font-family: 'Geist Mono'; font-size: 10px; letter-spacing: .1em;
    text-transform: uppercase; color: var(--yellow);
    display: flex; align-items: center; gap: 6px;
  }
  .offline-tag::before {
    content:''; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow);
    box-shadow: 0 0 8px var(--yellow);
  }
  .offline-sources {
    position: absolute; bottom: 18px; left: 18px; right: 18px;
    display: flex; gap: 6px; flex-wrap: wrap;
  }
  .src-pill {
    font-family: 'Geist Mono'; font-size: 10px; padding: 5px 9px;
    border-radius: 999px; background: rgba(255,255,255,.06);
    border: .5px solid var(--line); color: #ddd;
    display: inline-flex; align-items: center; gap: 5px;
  }
  .src-pill::before { content:''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

  /* Stats dashboard mini */
  .stats-vis {
    margin-top: 24px; padding: 20px; background: #0a0a0c;
    border-radius: 16px; border: 1px solid var(--line);
  }
  .stats-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
  .stats-row .big { font-size: 42px; font-weight: 800; letter-spacing: -.04em; color: #fff; font-family: 'Geist Mono'; }
  .stats-row .lbl { font-size: 11px; color: var(--mute); font-family: 'Geist Mono'; text-transform: uppercase; letter-spacing: .1em; }
  .stats-row .delta { font-size: 12px; color: var(--green); font-family: 'Geist Mono'; }
  .bar-row { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
  .bar { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--mute); font-family: 'Geist Mono'; }
  .bar .label { width: 72px; }
  .bar .track { flex: 1; height: 8px; background: rgba(255,255,255,.06); border-radius: 4px; overflow: hidden; }
  .bar .fill { height: 100%; border-radius: 4px; }
  .bar .v { width: 38px; text-align: right; color: #fff; }
  .mini-stats {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
    margin: 18px 0 4px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .mini-stats .ms { text-align: center; }
  .mini-stats .ms-v { font-family: 'Geist Mono'; font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
  .mini-stats .ms-l { font-size: 10px; color: var(--mute); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; font-family: 'Geist Mono'; }

  /* Stats section */
  .num-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px;
  }
  .num {
    border-top: 1px solid var(--line); padding-top: 24px;
  }
  .num .v {
    font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1;
    background: linear-gradient(180deg, #fff, #888);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .num .v.r { background: var(--red); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .num .v.y { background: var(--yellow); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .num .v.b { background: var(--blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .num .l { margin-top: 12px; color: var(--mute); font-size: 14px; line-height: 1.4; }

  /* MARQUEE */
  .marquee {
    margin: 80px 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    overflow: hidden; position: relative;
  }
  .marquee::before, .marquee::after {
    content:''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
    pointer-events: none;
  }
  .marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
  .marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
  .marquee-track {
    display: flex; gap: 56px; white-space: nowrap; align-items: center;
    animation: marquee 40s linear infinite;
    will-change: transform;
  }
  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .marquee span {
    font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--mute);
    display: inline-flex; align-items: center; gap: 16px;
  }
  .marquee span::after { content:'·'; color: rgba(255,255,255,.2); }

  /* SCREENS GALLERY */
  .gallery {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px;
    align-items: flex-end;
    max-width: 720px; margin-left: auto; margin-right: auto;
  }
  .gallery .phone {
    width: 100%; height: auto; aspect-ratio: 360/782;
    transform: none; animation: none;
    /* Scaled-down bezel + radii so the frame stays proportional at the
       smaller gallery size. Box-shadow can't take percentages, so these
       values are hand-tuned for ~163px-wide cards. */
    padding: 5px;
    border-radius: 30px;
    box-shadow:
      0 24px 50px -16px rgba(0,0,0,.65),
      0 12px 24px -14px rgba(229,20,26,.18),
      inset 0 1px 1px rgba(255,255,255,.18),
      inset 0 0 0 1px rgba(255,255,255,.06),
      inset 0 0 0 4px #000;
    cursor: zoom-in;
    transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease;
    will-change: transform;
  }
  .gallery .phone-screen { border-radius: 25px; }
  /* Side buttons scale down too */
  .gallery .phone::before { top: 22%; right: -1.5px; width: 2px; height: 10%; }
  .gallery .phone::after  { top: 17%; left: -1.5px; width: 2px; height: 22%; }

  .gallery .phone:nth-child(2) { transform: translateY(-18px); }
  .gallery .phone:nth-child(4) { transform: translateY(-9px); }
  /* Hover/focus enlarge */
  .gallery .phone:hover,
  .gallery .phone:focus-within {
    transform: scale(1.12) translateY(-6px);
    z-index: 5;
    box-shadow:
      0 50px 90px -22px rgba(0,0,0,.85),
      0 24px 44px -22px rgba(229,20,26,.30),
      inset 0 1px 1px rgba(255,255,255,.18),
      inset 0 0 0 1px rgba(255,255,255,.08),
      inset 0 0 0 4px #000;
  }
  .gallery .phone:nth-child(2):hover,
  .gallery .phone:nth-child(2):focus-within { transform: scale(1.12) translateY(-22px); }
  .gallery .phone:nth-child(4):hover,
  .gallery .phone:nth-child(4):focus-within { transform: scale(1.12) translateY(-13px); }

  /* Lightbox — click a phone to see the screen full-size */
  .lightbox {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(7,7,10,.88);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    backdrop-filter: blur(24px) saturate(140%);
    display: flex; align-items: center; justify-content: center;
    padding: 56px 32px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s ease; }
  .lb-phone {
    position: relative;
    width: min(360px, calc(90vh * 360 / 782));
    aspect-ratio: 360/782;
    border-radius: 54px;
    background: linear-gradient(180deg, #1d1d22 0%, #15151b 50%, #101015 100%);
    box-shadow:
      0 60px 120px -20px rgba(0,0,0,.85),
      0 30px 60px -28px rgba(229,20,26,.28),
      inset 0 1px 1px rgba(255,255,255,.18),
      inset 0 0 0 1px rgba(255,255,255,.06),
      inset 0 0 0 7.5px #000;
    padding: 8px;
    transform: translateY(20px) scale(.96);
    transition: transform .35s cubic-bezier(.2,.7,.3,1);
  }
  .lightbox.open .lb-phone { transform: none; }
  .lb-phone::before {
    content: ''; position: absolute; top: 22%; right: -2px;
    width: 3px; height: 10%; border-radius: 2px;
    background: linear-gradient(90deg, #0a0a0c, #2a2a30 50%, #0a0a0c);
  }
  .lb-phone::after {
    content: ''; position: absolute; top: 17%; left: -2px;
    width: 3px; height: 22%; border-radius: 2px;
    background: linear-gradient(90deg, #0a0a0c, #2a2a30 50%, #0a0a0c);
  }
  .lb-screen {
    width: 100%; height: 100%; border-radius: 46px; overflow: hidden;
    background: #000;
  }
  .lb-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
  .lb-close {
    position: absolute; top: 24px; right: 24px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    color: #fff; cursor: pointer; padding: 0;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, transform .15s;
  }
  .lb-close:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
  .lb-close svg { width: 16px; height: 16px; }
  .lb-caption {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    font-family: 'Geist Mono'; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--mute); white-space: nowrap;
  }
  .lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    color: #fff; cursor: pointer; padding: 0;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
  }
  .lb-nav:hover { background: rgba(255,255,255,.18); }
  .lb-nav.prev { left: 24px; }
  .lb-nav.next { right: 24px; }
  .lb-nav svg { width: 18px; height: 18px; }

  /* SCREEN: Scan */
  .screen-scan {
    background: #000; position: relative; height: 100%; display: flex; flex-direction: column;
  }
  .scan-camera {
    flex: 1; position: relative; overflow: hidden;
    background: radial-gradient(ellipse at center, #2a2018 0%, #0a0805 70%);
  }
  .scan-camera .box {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-3deg);
    width: 160px; height: 220px; border-radius: 8px;
    background: linear-gradient(160deg, #d62828 0%, #003049 100%);
    box-shadow: 0 30px 80px rgba(0,0,0,.7);
    display: flex; flex-direction: column; justify-content: space-between; padding: 14px;
  }
  .scan-camera .box .brand {
    background: #f9c80e; color: #000; font-weight: 800; padding: 4px 8px; border-radius: 6px;
    align-self: flex-start; font-size: 14px;
  }
  .scan-camera .box .set-no {
    color: #fff; font-family: 'Geist Mono'; font-size: 18px; font-weight: 700;
  }
  .scan-overlay {
    position: absolute; inset: 56px 32px;
    border: 2px solid rgba(255,255,255,.12); border-radius: 24px;
  }
  .scan-overlay .corner {
    position: absolute; width: 28px; height: 28px;
    border: 3px solid var(--yellow);
  }
  .scan-overlay .corner.tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; border-top-left-radius: 24px; }
  .scan-overlay .corner.tr { top: -2px; right: -2px; border-left: 0; border-bottom: 0; border-top-right-radius: 24px; }
  .scan-overlay .corner.bl { bottom: -2px; left: -2px; border-right: 0; border-top: 0; border-bottom-left-radius: 24px; }
  .scan-overlay .corner.br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; border-bottom-right-radius: 24px; }
  .scan-result {
    position: absolute; bottom: 110px; left: 24px; right: 24px;
    background: rgba(15,15,20,.85); backdrop-filter: blur(20px);
    border: .5px solid rgba(255,255,255,.1);
    border-radius: 18px; padding: 14px 16px; display: flex; gap: 12px;
  }
  .scan-result .preview {
    width: 50px; height: 50px; border-radius: 10px; flex-shrink: 0;
    background: linear-gradient(135deg, #b91e3c, #1a4d8c);
  }
  .scan-result .info { flex: 1; min-width: 0; }
  .scan-result .info .num { font-size: 10px; color: var(--yellow); font-family: 'Geist Mono'; font-weight: 600; }
  .scan-result .info .nm { font-size: 13px; color: #fff; font-weight: 600; margin-top: 2px; line-height: 1.2; }
  .scan-result .info .meta { font-size: 10px; color: #8a8a96; margin-top: 4px; }
  .scan-result .add {
    background: var(--green); color: #fff; align-self: center;
    border-radius: 50%; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .scan-bottom-bar {
    height: 84px; background: rgba(0,0,0,.5); backdrop-filter: blur(16px);
    display: flex; align-items: center; justify-content: center; gap: 28px;
    padding-bottom: 18px;
  }
  .scan-modes {
    display: flex; gap: 18px; font-size: 11px; color: rgba(255,255,255,.5); font-weight: 500;
  }
  .scan-modes .m { padding: 4px 10px; border-radius: 999px; }
  .scan-modes .m.on { color: var(--yellow); background: rgba(247,195,0,.12); }

  /* SCREEN: Set detail */
  .screen-detail { background: #0a0a0c; position: relative; height: 100%; overflow: hidden; }
  .detail-hero {
    height: 240px; background: linear-gradient(160deg, #1a3a5c, #0d1b2a);
    position: relative; padding: 56px 22px 0;
  }
  .detail-hero .back {
    position: absolute; top: 56px; left: 18px; width: 32px; height: 32px;
    border-radius: 50%; background: rgba(0,0,0,.4); backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: center; color: #fff;
  }
  .detail-hero .hero-img {
    width: 200px; height: 140px; margin: 18px auto 0;
    background: linear-gradient(135deg, #2d4a73, #5a82b8);
    border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.5);
    position: relative;
  }
  .detail-body { padding: 18px 22px; }
  .detail-body .theme { font-size: 11px; color: var(--blue); font-family: 'Geist Mono'; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
  .detail-body .title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; color: #fff; line-height: 1.1; }
  .detail-body .id { font-family: 'Geist Mono'; font-size: 11px; color: #8a8a96; margin-top: 4px; }
  .price-block {
    margin-top: 16px; padding: 14px; background: #15151c; border-radius: 14px;
    border: .5px solid rgba(255,255,255,.06);
  }
  .price-block .row { display: flex; justify-content: space-between; align-items: baseline; }
  .price-block .lbl { font-size: 10px; color: #8a8a96; font-family: 'Geist Mono'; text-transform: uppercase; letter-spacing: .1em; }
  .price-block .val { font-size: 18px; font-weight: 700; color: #fff; font-family: 'Geist Mono'; }
  .price-block .delta-up { color: var(--green); font-size: 11px; font-family: 'Geist Mono'; }
  .chart {
    margin-top: 14px; height: 60px; position: relative;
  }
  .chart svg { width: 100%; height: 100%; display: block; }
  .price-meta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px;
  }
  .price-meta .m { background: rgba(255,255,255,.03); border-radius: 8px; padding: 8px; }
  .price-meta .m .l { font-size: 9px; color: #8a8a96; font-family: 'Geist Mono'; }
  .price-meta .m .v { font-size: 13px; color: #fff; font-weight: 600; font-family: 'Geist Mono'; margin-top: 2px; }

  /* SCREEN: Stats */
  .screen-stats { background: #0a0a0c; height: 100%; overflow: hidden; padding-top: 48px; }
  .stats-hdr { padding: 22px; }
  .stats-hdr h2 { font-size: 26px; color: #fff; font-weight: 800; letter-spacing: -.02em; }
  .stats-hdr .sub { color: #8a8a96; font-size: 11px; margin-top: 4px; font-family: 'Geist Mono'; text-transform: uppercase; letter-spacing: .08em; }
  .big-stat {
    margin: 8px 22px 18px; padding: 18px;
    background: linear-gradient(135deg, rgba(229,20,26,.2), rgba(4,102,216,.2));
    border-radius: 18px; border: .5px solid rgba(255,255,255,.06);
  }
  .big-stat .v { font-size: 38px; font-weight: 800; letter-spacing: -.03em; color: #fff; font-family: 'Geist Mono'; }
  .big-stat .l { font-size: 10px; color: #ddd; font-family: 'Geist Mono'; text-transform: uppercase; letter-spacing: .12em; margin-top: 2px; }
  .big-stat .delta { font-size: 12px; color: var(--green); margin-top: 8px; font-family: 'Geist Mono'; }
  .ring-row { display: flex; gap: 12px; padding: 0 22px 18px; }
  .ring-card { flex: 1; background: #15151c; border-radius: 14px; padding: 12px; border: .5px solid rgba(255,255,255,.06); }
  .ring { width: 60px; height: 60px; margin: 0 auto; position: relative; }
  .ring svg { transform: rotate(-90deg); }
  .ring .pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Geist Mono'; font-size: 12px; font-weight: 700; color: #fff; }
  .ring-card .l { font-size: 9px; color: #8a8a96; text-align: center; margin-top: 6px; font-family: 'Geist Mono'; text-transform: uppercase; letter-spacing: .08em; }
  .theme-bars { padding: 0 22px; }
  .theme-bar { display: flex; align-items: center; gap: 10px; font-size: 11px; margin-bottom: 8px; }
  .theme-bar .nm { width: 60px; color: #fff; font-weight: 500; }
  .theme-bar .tr { flex: 1; height: 6px; background: rgba(255,255,255,.06); border-radius: 3px; overflow: hidden; }
  .theme-bar .fl { height: 100%; border-radius: 3px; }
  .theme-bar .vl { width: 24px; text-align: right; color: #8a8a96; font-family: 'Geist Mono'; }

  /* FOOTER */
  footer {
    border-top: 1px solid var(--line); padding: 80px 0 40px; margin-top: 80px;
  }
  footer .grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding: 0;
  }
  footer .brand-block .brand {
    font-size: 28px; gap: 14px;
  }
  footer .brand-block .brand .mark {
    width: 56px; height: 56px; border-radius: 14px;
  }
  footer .foot-row {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 48px;
  }
  footer .foot-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; align-items: flex-end; }
  footer .foot-links a { color: #c0c0cc; }
  footer .foot-links a:hover { color: #fff; }
  footer .disclaimer a { color: #c0c0cc; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 2px; }
  footer .disclaimer a:hover { color: #fff; text-decoration-color: currentColor; }
  footer h4 { font-size: 12px; color: var(--mute); font-family: 'Geist Mono'; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
  footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
  footer ul a { color: #c0c0cc; }
  footer ul a:hover { color: #fff; }
  footer .brand-block .desc { color: var(--mute); font-size: 14px; max-width: 320px; margin-top: 12px; line-height: 1.5; }
  footer .legal {
    margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: var(--mute);
  }
  footer .legal .disclaimer { max-width: 600px; font-size: 11px; line-height: 1.55; }
  footer .legal .legal-left { display: flex; flex-direction: column; gap: 4px; }
  footer .legal .attrib { color: var(--mute); font-size: 12px; }
  footer .legal .attrib a { color: #c0c0cc; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 2px; }
  footer .legal .attrib a:hover { color: #fff; text-decoration-color: currentColor; }

  /* Scroll-triggered reveal */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; will-change: opacity, transform; }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-delay-1 { transition-delay: .08s; }
  .reveal-delay-2 { transition-delay: .16s; }
  .reveal-delay-3 { transition-delay: .24s; }

  /* responsive */
  @media (max-width: 980px) {
    .hero .container { grid-template-columns: 1fr; gap: 48px; }
    .hero-phone-wrap { height: 720px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .f-card.lg, .f-card.sm, .f-card.wide, .f-card.mid { grid-column: span 2; }
    .gallery { grid-template-columns: repeat(2, 1fr); max-width: 480px; }
    .gallery .phone:nth-child(2),
    .gallery .phone:nth-child(4) { transform: none; }
    .num-row { grid-template-columns: repeat(2, 1fr); }
    footer .grid { grid-template-columns: 1fr 1fr; }
    footer .foot-row { flex-direction: column; align-items: flex-start; gap: 24px; }
    footer .foot-links { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 20px; }
  }

  @media (max-width: 640px) {
    .container { padding: 0 20px; }
    /* nav */
    nav.top .row { height: 52px; gap: 12px; }
    .brand { font-size: 16px; }
    .brand .mark { width: 24px; height: 24px; border-radius: 6px; }
    nav.top .cta { padding: 7px 12px; font-size: 12.5px; }

    /* hero */
    .hero { padding: 56px 0 32px; }
    .hero .container { gap: 40px; }
    h1 { font-size: clamp(40px, 11vw, 56px) !important; }
    .hero p.lede { font-size: 16px; }
    .ctas { flex-direction: column; align-items: stretch; gap: 10px; }
    .ctas .app-store, .ctas .ghost-cta { justify-content: center; }
    .meta-row { flex-direction: column; gap: 12px; margin-top: 28px; }

    /* hero phone scaled down */
    .hero-phone-wrap { height: auto; min-height: 0; padding: 8px 0; }
    .hero-phone-wrap .phone { transform: rotate(-2deg) scale(.78); transform-origin: center top; margin: 0 auto; }
    @keyframes phone-float {
      0% { transform: rotate(-2deg) scale(.78) translateY(0); }
      100% { transform: rotate(-1deg) scale(.78) translateY(-8px); }
    }

    /* sections */
    section { padding: 72px 0; }
    h2 { font-size: clamp(30px, 8vw, 44px) !important; }
    .sec-lede { font-size: 16px; }

    /* feature grid → 1 col */
    .feature-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
    .f-card.lg, .f-card.sm, .f-card.wide, .f-card.mid { grid-column: span 1; min-height: 0; }
    .f-card { padding: 22px; border-radius: 18px; }
    .f-card h3 { font-size: 22px; }
    .f-card p { font-size: 14px; }

    /* mini-stats → 3 cols, then bars compact */
    .mini-stats { grid-template-columns: repeat(3, 1fr); gap: 10px 4px; }
    .mini-stats .ms-v { font-size: 14px; }
    .mini-stats .ms-l { font-size: 9px; }
    .stats-vis .big { font-size: 32px; }
    .bar { font-size: 10px; }
    .bar .label { width: 64px; }

    /* modes grid stays 2-col but tighter */
    .modes-grid { gap: 8px; }
    .mode-card { padding: 14px 12px; gap: 8px; }
    .mode-card .mode-name { font-size: 14px; }
    .mode-card .mode-desc { font-size: 11.5px; }

    /* db-links: hide role text to keep one line */
    .db-link .db-role { display: none; }
    .db-link { padding: 12px 14px; }

    /* brickset import row stacks */
    .f-card.wide .visual[style*="display:flex"] { flex-direction: column; gap: 14px !important; }
    .f-card.wide .visual[style*="display:flex"] svg { transform: rotate(90deg); }

    /* wishlist rows tighten */
    .wl-set { font-size: 12px; }
    .wl-theme { font-size: 10px; }
    .wl-tag { font-size: 9px; padding: 2px 6px; }

    /* gallery */
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 360px; margin-top: 32px; }

    /* download CTA */
    #download { padding: 72px 0 56px !important; }
    #download h2 { font-size: clamp(36px, 9vw, 52px) !important; }

    /* footer */
    footer { padding: 56px 0 24px; }
    footer .brand-block .brand { font-size: 22px; gap: 12px; }
    footer .brand-block .brand .mark { width: 44px; height: 44px; border-radius: 10px; }
    footer .legal { flex-direction: column; gap: 14px; align-items: flex-start; }
    footer .legal .disclaimer { font-size: 11px; }
  }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: border-color .2s, background .2s;
}
.faq[open] { border-color: rgba(255,255,255,.18); background: #131319; }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 56px 20px 24px; position: relative;
  font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; top: 50%; right: 22px;
  width: 14px; height: 14px;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 100% 1.5px, 1.5px 100%;
  background-position: center, center;
  background-repeat: no-repeat;
  color: var(--mute);
  transform: translateY(-50%);
  transition: transform .2s ease;
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--ink); }
.faq summary:hover { color: #fff; }
.faq .faq-a {
  padding: 0 24px 22px;
  color: var(--mute); font-size: 15px; line-height: 1.6;
  max-width: 700px;
}
.faq .faq-a a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 2px; }
.faq .faq-a a:hover { text-decoration-color: currentColor; }
@media (max-width: 640px) {
  .faq summary { padding: 16px 48px 16px 18px; font-size: 15px; }
  .faq .faq-a { padding: 0 18px 18px; font-size: 14px; }
  #faq { padding-top: 72px !important; }
}
