/* Tux99 v4 home */
@font-face{font-family:'Geologica';font-style:normal;font-weight:500 800;font-display:swap;src:url(fonts/geologica-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Geologica';font-style:normal;font-weight:500 800;font-display:swap;src:url(fonts/geologica-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Geologica';font-style:normal;font-weight:500 800;font-display:swap;src:url(fonts/geologica-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Onest';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/onest-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/onest-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Onest';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/onest-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/27e1b5c3200e.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/b1b0412a2fc1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/fe142708d57b.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ab7c1a7e9749.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ba16536d419a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/480c062501e3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/27e1b5c3200e.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/b1b0412a2fc1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/fe142708d57b.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ab7c1a7e9749.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ba16536d419a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/480c062501e3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


  :root {
    --bg: #0a0a0a;
    --bg-2: #111111;
    --bg-3: #161616;
    --line: #222222;
    --line-2: #2e2e2e;
    --text: #f2f2f2;
    --muted: #8a8a8a;
    --faint: #555555;
    --accent: #c6ff3d;
    --accent-ink: #0a0a0a;
    --max: 1120px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: Onest, system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

  .wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
  @media (max-width: 640px) { .wrap { width: min(var(--max), calc(100% - 28px)); } }

  /* nav */
  .nav {
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 30;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(8px);
  }
  .nav-inner {
    height: 56px;
    display: flex; align-items: center; gap: 24px;
  }
  .brand {
    display: flex; align-items: center; gap: 10px;
    font-family: Geologica, sans-serif;
    font-weight: 700; font-size: 15px; letter-spacing: -0.03em;
  }
  .brand-mark {
    width: 24px; height: 28px;
    display: grid; place-items: center;
    flex-shrink: 0;
  }
  .brand-mark img {
    width: 22px; height: 26px;
    object-fit: contain;
    display: block;
  }
  .nav-links {
    display: flex; gap: 18px; flex: 1;
    font-size: 13px; font-weight: 500; color: var(--muted);
  }
  .nav-links a:hover { color: var(--text); }
  .nav-actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }
  .menu-btn {
    display: none; font-size: 13px; font-weight: 600;
    border: 1px solid var(--line-2); padding: 7px 10px;
  }
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .menu-btn { display: inline-flex; }
    .nav-actions .btn-ghost { display: none; }
  }

  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 34px; padding: 0 14px;
    font-size: 13px; font-weight: 600;
    border-radius: 4px;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
    white-space: nowrap;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn-primary {
    background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent);
  }
  .btn-primary:hover { background: #d8ff6a; border-color: #d8ff6a; color: var(--accent-ink); }
  .btn-ghost {
    background: transparent; color: var(--text); border: 1px solid var(--line-2);
  }
  .btn-ghost:hover { border-color: #555; }
  .btn-lg { height: 40px; padding: 0 18px; font-size: 14px; }

  /* marquee */
  .marquee {
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: var(--bg);
  }
  .marquee-track {
    display: flex; gap: 0;
    width: max-content;
    animation: marquee 38s linear infinite;
    animation-delay: -14s;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: var(--faint);
    padding: 10px 0;
  }
  .marquee-track span {
    padding: 0 18px;
    border-right: 1px solid var(--line);
  }
  .marquee-track .hi { color: var(--accent); }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* hero */
  .hero {
    padding: 56px 0 48px;
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 40px;
    align-items: end;
    border-bottom: 1px solid var(--line);
  }
  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 36px; }
  }
  .hero-kicker {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
  }
  .hero h1 {
    font-family: Geologica, sans-serif;
    font-weight: 800;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-bottom: 22px;
    max-width: 11ch;
  }
  .hero h1 .acc { color: var(--accent); }
  .hero-lead {
    color: var(--muted);
    font-size: 16px;
    max-width: 34em;
    margin-bottom: 28px;
  }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
  .hero-meta { font-size: 13px; color: var(--faint); }

  .hero-panel {
    border: 1px solid var(--line);
    background: var(--bg-2);
    display: flex; flex-direction: column;
    min-height: 320px;
  }
  .panel-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--faint);
  }
  .panel-bar .live {
    color: var(--accent);
  }
  .panel-bar .live::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--accent);
    margin-right: 7px;
    vertical-align: middle;
  }
  .term-body {
    flex: 1;
    padding: 14px 14px 18px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    line-height: 1.65;
    color: #b8b8b8;
    overflow: hidden;
  }
  .term-line { margin-bottom: 6px; }
  .term-line .dim { color: var(--faint); }
  .term-line .ok { color: var(--accent); }
  .term-line .model { color: #e8e8e8; }
  .cursor {
    display: inline-block;
    width: 7px; height: 13px;
    background: var(--accent);
    margin-left: 2px;
    vertical-align: -2px;
    animation: blink 1s steps(1) infinite;
  }
  @keyframes blink { 50% { opacity: 0; } }

  .tux-big {
    position: absolute;
    right: 14px; bottom: 10px;
    width: 32px; height: 32px;
    object-fit: contain;
    pointer-events: none;
  }
  .hero-panel { position: relative; }

  /* stats strip */
  .stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
  }
  .stats > div {
    padding: 28px 20px 28px 0;
    border-right: 1px solid var(--line);
  }
  .stats > div:last-child { border-right: 0; }
  .stats .n {
    font-family: Geologica, sans-serif;
    font-weight: 800;
    font-size: 40px;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 8px;
  }
  .stats .d { font-size: 13px; color: var(--muted); }
  @media (max-width: 720px) {
    .stats { grid-template-columns: 1fr 1fr; }
    .stats > div:nth-child(2n) { border-right: 0; }
    .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  }

  section { padding: 64px 0; border-bottom: 1px solid var(--line); }
  .sec-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 10px;
  }
  .sec-title {
    font-family: Geologica, sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 3.5vw, 36px);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 10px;
  }
  .sec-desc {
    color: var(--muted);
    max-width: 40em;
    margin-bottom: 28px;
  }

  /* table */
  .table-scroll { overflow-x: auto; }
  table {
    width: 100%; border-collapse: collapse;
    font-size: 13px; min-width: 700px;
  }
  thead th {
    text-align: left;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px; font-weight: 400;
    color: var(--faint);
    padding: 0 12px 12px 0;
    border-bottom: 1px solid var(--line-2);
  }
  th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; }
  td {
    padding: 13px 12px 13px 0;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    transition: background .12s, color .12s;
  }
  tbody tr:hover td { background: #12180a; }
  tbody tr:hover .model-name { color: var(--accent); }
  tbody tr:hover td.num { color: var(--accent); }
  .model-name {
    font-family: "JetBrains Mono", monospace;
    font-weight: 500; font-size: 13px;
    transition: color .12s;
  }
  .model-who {
    display: block;
    font-family: Onest, sans-serif;
    font-size: 12px; color: var(--faint); margin-top: 2px;
  }
  .model-desc { color: var(--muted); max-width: 28em; }
  td.num { font-family: "JetBrains Mono", monospace; }
  .ok { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--accent); }
  .table-foot {
    margin-top: 16px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    font-size: 13px; color: var(--faint);
  }
  .table-foot a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
  }
  .table-foot a:hover { border-bottom-color: var(--accent); }

  /* steps */
  .steps { display: grid; gap: 0; }
  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }
  .step:last-child { border-bottom: 1px solid var(--line); }
  .step .n {
    font-family: Geologica, sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.04em;
    color: var(--accent);
  }
  .step h3 {
    font-family: Geologica, sans-serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
  }
  .step p { color: var(--muted); font-size: 14px; max-width: 44em; }
  .step a { color: var(--text); border-bottom: 1px solid var(--line-2); }
  .step a:hover { color: var(--accent); border-color: var(--accent); }

  /* bento */
  .bento {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }
  @media (max-width: 900px) {
    .bento { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px) {
    .bento { grid-template-columns: 1fr; }
  }
  .tile {
    border: 1px solid var(--line);
    background: var(--bg-2);
    padding: 22px;
    min-height: 140px;
    transition: border-color .15s, transform .15s;
  }
  .tile:hover { border-color: #3a3a3a; transform: translateY(-2px); }
  .tile.wide { grid-column: span 2; }
  @media (max-width: 560px) { .tile.wide { grid-column: span 1; } }
  .tile.accent {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
  }
  .tile.accent:hover { border-color: var(--accent); background: #d4ff55; }
  .tile.accent p { color: #2a3508; }
  .tile h3 {
    font-family: Geologica, sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
  }
  .tile p { color: var(--muted); font-size: 14px; }
  .tile .big {
    font-family: Geologica, sans-serif;
    font-weight: 800;
    font-size: 48px;
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 8px 0 10px;
  }
  .tile .tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--faint);
    margin-bottom: 10px;
  }
  .tile.accent .tag { color: #3d4a12; }

  /* code */
  .code-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.25fr;
    gap: 36px;
  }
  @media (max-width: 800px) { .code-grid { grid-template-columns: 1fr; } }
  .integ { color: var(--muted); font-size: 14px; line-height: 1.75; }
  .integ strong { color: var(--text); font-weight: 600; }
  .integ a { color: var(--accent); border-bottom: 1px solid transparent; }
  .integ a:hover { border-bottom-color: var(--accent); }
  .tabs {
    display: flex; gap: 0;
    border-bottom: 1px solid var(--line);
  }
  .tab {
    padding: 10px 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: var(--faint);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
  }
  .tab.active { color: var(--accent); border-bottom-color: var(--accent); }
  .tab:hover { color: var(--text); }
  .term {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-top: 0;
  }
  .term-bar {
    display: flex; justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px; color: var(--faint);
  }
  .term pre {
    padding: 16px 14px;
    overflow-x: auto;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px; line-height: 1.65;
    color: #c8c8c8;
  }
  .code-panel { display: none; }
  .code-panel.active { display: block; }
  .kw { color: #9aa88a; }
  .fn { color: var(--accent); }
  .str { color: #a8a070; }
  .cm { color: #555; }

  /* cta */
  .cta {
    padding: 72px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
  }
  @media (max-width: 720px) { .cta { grid-template-columns: 1fr; } }
  .cta h2 {
    font-family: Geologica, sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.045em;
    line-height: 1.05;
    margin-bottom: 12px;
  }
  .cta h2 .acc { color: var(--accent); }
  .cta p { color: var(--muted); margin-bottom: 24px; max-width: 32em; }
  .cta-side {
    border: 1px solid var(--line);
    padding: 20px;
    background: var(--bg-2);
  }
  .cta-side h3 {
    font-family: Geologica, sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
  }
  .cta-side ul { list-style: none; }
  .cta-side li {
    font-size: 13px; color: var(--muted);
    padding: 8px 0; border-top: 1px solid var(--line);
  }
  .cta-side li:first-child { border-top: 0; padding-top: 0; }
  .cta-side a:hover { color: var(--accent); }

  footer {
    padding: 48px 0 32px;
    font-size: 13px;
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 36px;
  }
  @media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
  .foot-brand p { color: var(--muted); margin: 12px 0 14px; max-width: 28em; }
  .foot-brand code {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    border: 1px solid var(--line);
    padding: 5px 8px;
    color: var(--muted);
    display: inline-block;
  }
  .status {
    margin-top: 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--accent);
  }
  .status::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--accent);
    margin-right: 8px;
    vertical-align: middle;
  }
  footer h4 {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px; font-weight: 400;
    color: var(--faint); margin-bottom: 12px;
  }
  footer ul { list-style: none; display: grid; gap: 8px; }
  footer ul a { color: var(--muted); }
  footer ul a:hover { color: var(--accent); }
  .foot-bottom {
    display: flex; flex-wrap: wrap; gap: 12px 24px;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--faint); font-size: 12px;
  }
  .foot-bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }

/* fix1: terminal fills hero column */
.hero { align-items: stretch; }
.hero > div:first-child { align-self: end; }
.hero-panel { min-height: 0; height: 100%; align-self: stretch; overflow: hidden; }
.term-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 14px 10px; min-height: 0; }
.term-line { margin: 0; padding: 5px 0; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: tl-in .25s ease-out; }
.term-body.full .term-line:nth-child(1) { opacity: .3 } .term-body.full .term-line:nth-child(2) { opacity: .55 } .term-body.full .term-line:nth-child(3) { opacity: .8 }
@keyframes tl-in { from { opacity: 0; transform: translateY(4px); } }
.term-prompt { display: flex; align-items: center; gap: 0; min-height: 48px; padding: 8px 14px; border-top: 1px solid var(--line); font: 12px/1.5 "JetBrains Mono", monospace; color: var(--text); white-space: nowrap; overflow: hidden; }
.term-prompt .ps { color: var(--accent); margin-right: 8px; }
.term-prompt #term-cmd { overflow: hidden; text-overflow: ellipsis; }
.term-prompt .cursor { flex: none; }
.tux-big { position: static; margin-left: auto; padding-left: 12px; flex: none; width: 44px; height: 32px; object-fit: contain; }
/* fix1: stats — dividers in the gaps, equal inner padding */
.stats > div { padding: 30px 28px; display: flex; flex-direction: column; justify-content: flex-start; }
.stats > div:first-child { padding-left: 0; }
.stats > div:last-child { padding-right: 0; }
.stats .n { margin-bottom: 10px; }
@media (max-width: 720px) {
  .stats > div { padding: 24px 20px; border-right: 0; }
  .stats > div:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .stats > div:nth-child(even) { padding-right: 0; }
  .stats .n { font-size: 34px; }
  .term-line { padding: 4px 0; }
}
@media (max-width: 900px) { .hero-panel { height: auto; } .term-body { min-height: 0; } }

/* ---- v4 home: additions ---- */
html { color-scheme: dark; }
html:not([data-theme="dark"]) { color-scheme: light; }
html:not([data-theme="dark"]) body {
  --bg:#f7f7f5; --bg-2:#ffffff; --bg-3:#efefec; --line:#e2e2dd; --line-2:#cfcfc8;
  --text:#0a0a0a; --muted:#55554f; --faint:#8a8a82; --accent:#4d6b00; --accent-ink:#0a0a0a;
}
html:not([data-theme="dark"]) .nav { background: rgba(247,247,245,.92); }
html:not([data-theme="dark"]) .btn-primary, html:not([data-theme="dark"]) .tile.accent { background:#c6ff3d; border-color:#b5ee2c; color:#0a0a0a; }
html:not([data-theme="dark"]) .term-body, html:not([data-theme="dark"]) .term pre { color:#33332f; }
html:not([data-theme="dark"]) .term-line .model { color:#0a0a0a; }
html:not([data-theme="dark"]) tbody tr:hover td { background:#f1f7e2; }
html:not([data-theme="dark"]) .cursor, html:not([data-theme="dark"]) .panel-bar .live::before, html:not([data-theme="dark"]) .status::before { background:#7aa600; }
html:not([data-theme="dark"]) .kw { color:#5b6b48 } html:not([data-theme="dark"]) .str { color:#7a6a20 } html:not([data-theme="dark"]) .cm { color:#9a9a92 }
.skip-link { position:absolute; left:-9999px; top:8px; z-index:100; background:var(--accent); color:var(--accent-ink); padding:8px 12px; font-weight:600; font-size:13px; }
.skip-link:focus { left:12px; }
:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.ibtn { width:34px; height:34px; display:inline-grid; place-items:center; border:1px solid var(--line-2); border-radius:4px; color:var(--muted); font:600 11px/1 "JetBrains Mono", monospace; }
.ibtn:hover { color:var(--text); border-color:#555; }
.ibtn svg { width:15px; height:15px; }
.ic-sun { display:none } html:not([data-theme="dark"]) .ic-sun { display:block } html:not([data-theme="dark"]) .ic-moon { display:none }
.nav-links a.on { color:var(--text); }
.search-bar { display:none; border-bottom:1px solid var(--line); background:var(--bg); }
.search-bar.open { display:block; }
.search-bar form { display:flex; gap:8px; padding:10px 0; }
.search-bar input { flex:1; height:36px; background:var(--bg-2); border:1px solid var(--line-2); border-radius:4px; color:var(--text); padding:0 12px; font:500 14px Onest, system-ui, sans-serif; }
.search-bar input:focus { outline:none; border-color:var(--accent); }
.mob { display:none; border-bottom:1px solid var(--line); background:var(--bg); }
.mob.open { display:block; }
.mob nav { display:grid; padding:6px 0 14px; }
.mob nav a { padding:11px 0; border-top:1px solid var(--line); font-size:15px; font-weight:500; }
.mob nav a:first-child { border-top:0; }
.mob .mob-act { display:flex; gap:8px; padding-bottom:16px; }
@media (max-width: 900px) { .nav-actions .hide-m { display:none; } }
@media (max-width: 420px) { .nav-actions .btn-primary { display:none; } }
.tux-big { image-rendering: pixelated; }
.brand-mark img { image-rendering: pixelated; width:24px; height:24px; }
td.num.dash { color:var(--faint); }
/* faq */
.faq { display:grid; grid-template-columns: repeat(2, 1fr); gap:0 36px; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }
.faq details { border-top:1px solid var(--line); padding:16px 0; }
.faq summary { cursor:pointer; list-style:none; font-family: Geologica, sans-serif; font-weight:600; font-size:16px; letter-spacing:-.02em; display:flex; justify-content:space-between; gap:16px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-family:"JetBrains Mono", monospace; color:var(--accent); }
.faq details[open] summary::after { content:"−"; }
.faq p { color:var(--muted); font-size:14px; margin-top:10px; max-width:40em; }
.copy { font:11px "JetBrains Mono", monospace; color:var(--faint); }
.copy:hover { color:var(--accent); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation:none; } .cursor { animation:none; } .btn:hover, .tile:hover { transform:none; } }
/* fix2: stats — no stray markers, guaranteed spacing (cache-bust v=3) */
.stats > div::before, .stats > div::after, .stats .n::before, .stats .n::after { content: none !important; }
.stats > div { padding: 30px 28px; }
.stats > div:first-child { padding-left: 0; }
.stats > div:last-child { padding-right: 0; }
@media (max-width: 720px) {
  .stats > div { padding: 24px 20px; }
  .stats > div:nth-child(odd) { padding-left: 0; }
  .stats > div:nth-child(even) { padding-right: 0; }
}
