:root {
      --bg:       #060816;
      --surface:  #111626;
      --card:     #232a39;
      --border:   rgba(185,190,202,0.2);
      --border2:  rgba(185,190,202,0.34);
      --red:      #E94B3C;
      --red-glow: rgba(233,75,60,0.35);
      --gold:     #596170;
      --gold-lt:  #C7CCD7;
      --cream:    #E8EAF0;
      --text:     #E8EAF0;
      --mid:      rgba(232,234,240,0.8);
      --low:      rgba(232,234,240,0.68);
      --blue:     #B9BECA;
    }

    *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
    html { scroll-behavior:smooth; }

    body {
      font-family: 'Rajdhani', sans-serif;
      background:
        radial-gradient(ellipse at 20% 25%, rgba(233,75,60,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 75%, rgba(185,190,202,0.09) 0%, transparent 50%),
        var(--bg);
      color: var(--text);
      overflow-x: hidden;
      cursor: default;
    }

    /* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ NOISE GRAIN OVERLAY Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      z-index: 999;
      pointer-events: none;
      opacity: 0.025;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 120px;
    }

    /* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ NAV Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
    nav {
      position: fixed; top:0; left:0; right:0; z-index:200;
      display: flex; align-items:center; justify-content:space-between;
      padding: clamp(10px, 1.4vh, 18px) clamp(20px, 3vw, 48px);
      background: linear-gradient(180deg, rgba(26,26,36,0.95) 0%, transparent 100%);
      backdrop-filter: blur(0px);
      transition: backdrop-filter 0.3s, background 0.3s;
    }
    nav.scrolled {
      background: rgba(26,26,36,0.92);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }
    .nav-logo {
      font-family: 'Rajdhani', sans-serif;
      font-size: 26px;
      font-weight: 700;
      letter-spacing: 0.14em;
      color: var(--gold-lt);
      display: flex;
      align-items: baseline;
      gap: 6px;
    }
    .nav-logo sup {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 500;
      color: var(--gold);
      letter-spacing: 0.05em;
    }
    .nav-links { display:flex; gap:36px; align-items:center; }
    .nav-link {
      font-size: 12px;
      font-weight: 500;
      color: var(--mid);
      text-decoration: none;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      transition: color 0.2s;
    }
    .nav-link:hover { color: var(--cream); }
    .nav-cta {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.10em;
      text-transform: uppercase;
      padding: 10px 24px;
      background: var(--red);
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.25s;
      box-shadow: 0 0 0 0 var(--red-glow);
    }
    .nav-cta:hover {
      background: #f05535;
      box-shadow: 0 0 28px var(--red-glow);
      transform: translateY(-1px);
    }

    /* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ HERO Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
    .hero {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      padding: clamp(80px, 8vh, 120px) clamp(24px, 4vw, 48px) clamp(50px, 6vh, 80px);
      position: relative;
      overflow: hidden;
      gap: clamp(28px, 4vw, 60px);
    }

    /* Rich warm background */
    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      background:
        radial-gradient(ellipse 70% 60% at 80% 50%, rgba(185,190,202,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 40% 70% at 10% 80%, rgba(233,75,60,0.14) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(89,97,112,0.16) 0%, transparent 50%);
    }

    /* animated laser lines */
    .laser-canvas {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 10;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 24px;
      opacity: 0;
      animation: riseIn 0.8s 0.1s ease forwards;
    }
    .eyebrow::before {
      content: '';
      display: block;
      width: 28px;
      height: 1px;
      background: var(--gold);
    }

    .hero-title {
      font-family: 'Rajdhani', sans-serif;
      font-size: clamp(38px, 4.5vw, 88px);
      font-weight: 700;
      line-height: 1.0;
      margin-bottom: 20px;
      opacity: 0;
      animation: riseIn 0.9s 0.25s ease forwards;
    }
    .hero-title .line-red {
      color: var(--red);
      font-style: italic;
      display: block;
    }
    .hero-title .line-gold {
      color: var(--gold-lt);
    }

    .hero-body {
      font-size: 16px;
      line-height: 1.75;
      color: var(--mid);
      max-width: 440px;
      margin-bottom: 40px;
      font-weight: 300;
      opacity: 0;
      animation: riseIn 0.9s 0.4s ease forwards;
    }

    .hero-ctas {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      align-items: center;
      opacity: 0;
      animation: riseIn 0.9s 0.55s ease forwards;
    }
    .btn-play {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 15px 34px;
      background: var(--red);
      color: #fff;
      font-family: 'Rajdhani', sans-serif;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.25s;
      box-shadow: 0 4px 30px rgba(233,75,60,0.3);
    }
    .btn-play:hover {
      background: #f05535;
      transform: translateY(-3px);
      box-shadow: 0 10px 40px rgba(233,75,60,0.45);
    }
    .btn-play .play-arrow {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: rgba(255,255,255,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
    }
    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 15px 28px;
      background: transparent;
      color: var(--cream);
      font-size: 14px;
      font-weight: 500;
      border: 1px solid var(--border2);
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.25s;
    }
    .btn-ghost:hover {
      border-color: var(--gold);
      color: var(--gold-lt);
    }

    .hero-badge {
      margin-top: 36px;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      color: var(--low);
      opacity: 0;
      animation: riseIn 0.9s 0.7s ease forwards;
    }
    .live-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--red);
      box-shadow: 0 0 8px rgba(224,68,42,0.6);
      animation: pulse 2s ease-in-out infinite;
    }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

    /* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ HERO BOARD VIZ Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
    .hero-visual {
      position: relative;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      animation: riseIn 1.1s 0.5s ease forwards;
    }

    .board-frame {
      position: relative;
      padding: 3px;
      background: linear-gradient(135deg, var(--gold), transparent 50%, var(--red));
      border-radius: 16px;
      box-shadow:
        0 30px 80px rgba(0,0,0,0.6),
        0 0 60px rgba(224,68,42,0.14),
        inset 0 1px 0 rgba(255,255,255,0.05);
    }
    .board-inner {
      background: #0f0d0b;
      border-radius: 14px;
      overflow: hidden;
      padding: 16px;
    }
    .mini-board {
      display: grid;
      grid-template-columns: repeat(10, 30px);
      grid-template-rows: repeat(8, 30px);
      gap: 2px;
    }
    .mc {
      border-radius: 3px;
      background: #1a1714;
      position: relative;
      transition: background 0.3s;
    }
    .mc.red-zone  { background: rgba(224,68,42,0.10); }
    .mc.blue-zone { background: rgba(61,142,240,0.10); }

    /* piece types */
    .mc.pharaoh-r::after, .mc.pharaoh-b::after,
    .mc.sphinx-r::after, .mc.sphinx-b::after,
    .mc.pyramid::after, .mc.scarab::after,
    .mc.anubis::after {
      content: '';
      position: absolute;
      inset: 3px;
      border-radius: 2px;
    }
    .mc.pharaoh-r::after { background: var(--red); box-shadow: 0 0 6px var(--red-glow); }
    .mc.pharaoh-b::after { background: var(--blue); box-shadow: 0 0 6px rgba(61,142,240,0.5); }
    .mc.sphinx-r::after  { background: var(--red); opacity:0.7; clip-path: polygon(50% 0%,100% 100%,0% 100%); }
    .mc.sphinx-b::after  { background: var(--blue); opacity:0.7; clip-path: polygon(50% 100%,0% 0%,100% 0%); }
    .mc.pyramid::after   { background: var(--gold); opacity:0.75; clip-path: polygon(50% 0%,100% 100%,0% 100%); }
    .mc.scarab::after    { background: var(--gold); opacity:0.85; clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%); }
    .mc.anubis::after    { background: var(--mid); opacity:0.6; border-radius: 50% 50% 30% 30%; }

    /* laser beam */
    .laser-h {
      position: absolute;
      top: 50%; left: 0; right: 0;
      height: 2px;
      transform: translateY(-50%);
      background: linear-gradient(90deg, transparent, rgba(224,68,42,0.95), rgba(240,160,48,0.95), rgba(224,68,42,0.95), transparent);
      box-shadow: 0 0 8px rgba(224,68,42,0.7), 0 0 20px rgba(224,68,42,0.3);
      z-index: 5;
      pointer-events: none;
    }
    .laser-v {
      position: absolute;
      left: 50%; top: 0; bottom: 0;
      width: 2px;
      transform: translateX(-50%);
      background: linear-gradient(180deg, transparent, rgba(224,68,42,0.95), rgba(240,160,48,0.95), rgba(224,68,42,0.95), transparent);
      box-shadow: 0 0 8px rgba(224,68,42,0.7), 0 0 20px rgba(224,68,42,0.3);
      z-index: 5;
      pointer-events: none;
    }

    .board-caption {
      text-align: center;
      margin-top: 14px;
      font-size: 11px;
      color: var(--low);
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    @keyframes riseIn {
      from { opacity:0; transform:translateY(22px); }
      to   { opacity:1; transform:translateY(0); }
    }

    /* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ STATS BAR Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
    .stats-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: var(--surface);
    }
    .stat-cell {
      padding: 28px 20px;
      text-align: center;
      border-right: 1px solid var(--border);
      position: relative;
    }
    .stat-cell:last-child { border-right: none; }
    .stat-num {
      font-family: 'JetBrains Mono', monospace;
      font-size: 32px;
      font-weight: 600;
      color: var(--gold-lt);
      line-height: 1;
      margin-bottom: 6px;
    }
    .stat-label {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.10em;
      text-transform: uppercase;
      color: var(--low);
    }

    /* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ SECTION BASE Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
    section {
      padding: 100px 48px;
      max-width: 1200px;
      margin: 0 auto;
    }
    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 20px;
    }
    .section-label::before {
      content: '';
      display: block;
      width: 20px;
      height: 1px;
      background: var(--gold);
    }
    .section-title {
      font-family: 'Rajdhani', sans-serif;
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 700;
      line-height: 1.1;
      margin-bottom: 16px;
    }
    .section-sub {
      font-size: 16px;
      color: var(--mid);
      font-weight: 300;
      line-height: 1.75;
      max-width: 540px;
    }

    /* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ HOW TO PLAY Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
    .how-section {
      border-top: 1px solid var(--border);
      padding: 100px 0;
      content-visibility: auto;
      contain-intrinsic-size: 1100px;
    }
    .how-wrap {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
    }
    .how-grid {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 80px;
      align-items: start;
      margin-top: 60px;
    }
    .steps-list { display: flex; flex-direction: column; gap: 0; }
    .step-item {
      display: flex;
      gap: 20px;
      padding: 24px 0;
      border-bottom: 1px solid var(--border);
      cursor: pointer;
      transition: all 0.2s;
    }
    .step-item:first-child { border-top: 1px solid var(--border); }
    .step-item:hover .step-content-title { color: var(--gold-lt); }
    .step-num-badge {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: rgba(224,68,42,0.12);
      border: 1px solid var(--border2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'JetBrains Mono', monospace;
      font-size: 14px;
      font-weight: 700;
      color: var(--gold);
      flex-shrink: 0;
    }
    .step-content-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 6px;
      transition: color 0.2s;
    }
    .step-content-desc {
      font-size: 14px;
      color: var(--mid);
      line-height: 1.7;
      font-weight: 300;
    }

    /* laser diagram */
    .laser-diagram {
      position: relative;
      background: #0f0d0b;
      border: 1px solid var(--border2);
      border-radius: 16px;
      overflow: hidden;
      aspect-ratio: 1 / 0.85;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .laser-diagram canvas {
      width: 100%;
      height: 100%;
      display: block;
    }

    /* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ PIECES SECTION Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
    .pieces-section {
      border-top: 1px solid var(--border);
      background: var(--surface);
      padding: 100px 0;
      content-visibility: auto;
      contain-intrinsic-size: 980px;
    }
    .pieces-wrap {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
    }
    .pieces-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow: hidden;
      margin-top: 52px;
    }
    .piece-card {
      background: var(--card);
      padding: 32px 24px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      min-height: 420px;
      transition: background 0.25s;
    }
    .piece-card:hover {
      background: #3f4654;
    }
    .piece-icon-wrap {
      width: 184px;
      height: 184px;
      border-radius: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      margin-bottom: 10px;
      overflow: hidden;
    }
    .piece-icon-canvas {
      width: 164px;
      height: 164px;
      display: block;
      filter: drop-shadow(0 12px 20px rgba(0,0,0,0.5));
    }
    .piece-name {
      font-family: 'Rajdhani', sans-serif;
      font-size: 17px;
      font-weight: 700;
      color: var(--cream);
    }
    .piece-role-tag {
      display: inline-block;
      font-size: 9px;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 4px 8px;
      border-radius: 4px;
      width: fit-content;
    }
    .piece-desc {
      font-size: 13px;
      color: var(--mid);
      line-height: 1.65;
      font-weight: 300;
      flex: 1;
    }

    /* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ CTA Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
    .cta-section {
      border-top: 1px solid var(--border);
      text-align: center;
      padding: 120px 48px;
      position: relative;
      overflow: hidden;
      content-visibility: auto;
      contain-intrinsic-size: 760px;
    }
    .cta-bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(224,68,42,0.14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(61,142,240,0.08) 0%, transparent 60%);
      pointer-events: none;
    }
    .cta-eyebrow {
      display: inline-block;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 20px;
    }
    .cta-title {
      font-family: 'Rajdhani', sans-serif;
      font-size: clamp(40px, 6vw, 80px);
      font-weight: 700;
      line-height: 1.05;
      margin-bottom: 18px;
      position: relative;
      z-index: 1;
    }
    .cta-title em {
      font-style: italic;
      color: var(--red);
    }
    .cta-sub {
      font-size: 16px;
      color: var(--mid);
      font-weight: 300;
      margin-bottom: 44px;
      position: relative;
      z-index: 1;
    }
    .cta-btns {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
      position: relative;
      z-index: 1;
    }

    /* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ FOOTER Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
    footer {
      border-top: 1px solid var(--border);
      padding: 28px 48px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .footer-logo {
      font-family: 'Rajdhani', sans-serif;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.14em;
      color: var(--gold);
      text-transform: uppercase;
    }
    .footer-links {
      display: flex;
      gap: 28px;
    }
    .footer-link {
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--low);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-link:hover { color: var(--mid); }
    .footer-copy {
      font-size: 11px;
      color: var(--low);
    }

    /* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ SCROLL REVEAL Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.75s ease, transform 0.75s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ RESPONSIVE Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
    @media (max-width: 900px) {
      .hero {
        grid-template-columns: 1fr;
        padding: 100px 24px 60px;
        text-align: center;
      }
      .hero-body { margin-left: auto; margin-right: auto; }
      .hero-ctas { justify-content: center; }
      .hero-badge { justify-content: center; }
      .hero-visual { display: none; }
      .how-grid { grid-template-columns: 1fr; gap: 40px; }
      .laser-diagram { display: none; }
      .pieces-grid { grid-template-columns: 1fr 1fr; }
      nav { padding: 14px 24px; }
      .nav-links { gap: 18px; }
      .stats-bar { grid-template-columns: repeat(2, 1fr); }
      footer { flex-direction: column; gap: 16px; text-align: center; }
    }
    @media (max-width: 640px) {
      .pieces-grid { grid-template-columns: 1fr; }
      section { padding: 60px 24px; }
      .how-wrap, .pieces-wrap { padding: 0 24px; }
      .cta-section { padding: 80px 24px; }
    }


@media (max-width: 900px) {
  .container,
  .auth-container,
  .dashboard-container,
  .login-card,
  .index-card {
    width: 96%;
    max-width: none;
    padding: 3%;
  }
}

@media (max-width: 900px) {
  .container,
  .auth-container,
  .dashboard-container,
  .login-card {
    width: 96%;
    max-width: none;
  }

  .container,
  .auth-container,
  .dashboard-container,
  .login-card {
    padding: 3%;
  }
}

/* ── Responsive: 1920×1080 / 15.6" ── */
@media (max-width: 1600px) {
    .hero { gap: 40px; padding: 90px 36px 60px; }
    .how-grid { gap: 50px; }
    section { padding: 70px 36px; }
}

@media (max-width: 1400px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 80px 28px 50px;
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
    }
    }
    .hero-body { font-size: 14px; }
    .stat-cell { padding: 20px 14px; }
    .stat-num  { font-size: 26px; }
    .piece-card { padding: 26px 18px; min-height: 380px; }
    .how-grid   { gap: 40px; }
    section     { padding: 60px 28px; }
    .how-wrap, .pieces-wrap { padding: 0 28px; }
}

@media (max-width: 1200px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero-body { margin: 0 auto; }
    .hero-ctas, .hero-badge { justify-content: center; }
    .hero-visual { display: none; }
    .how-grid { grid-template-columns: 1fr; }
    .laser-diagram { display: none; }
}

/* Global responsive baseline */
html {
  font-size: clamp(14px, calc(12px + 0.208333vw), 20px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* Readability floor: prevent tiny 10-12px UI text */
.nav-link,
.nav-cta,
.eyebrow,
.hero-badge,
.stat-label,
.section-label,
.step-content-desc,
.piece-desc,
.piece-role-tag,
.footer-copy,
.footer-link {
  font-size: clamp(14px, 0.72vw, 16px);
  line-height: 1.45;
}

@media (max-width: 900px), (max-height: 760px) {
  nav,
  section,
  .hero,
  .cta-section,
  .how-wrap,
  .pieces-wrap {
    padding-left: clamp(14px, 3vw, 24px);
    padding-right: clamp(14px, 3vw, 24px);
  }
}

/* Global chat-style typography override */
:root {
    --global-chat-font: 'JetBrains Mono', monospace;
}

html,
body,
body * {
    font-family: var(--global-chat-font) !important;
}
