/* Techyon — design tokens v2
   Warm white, true ink, one luminous accent: Cherenkov blue
   (the light a faster-than-light particle leaves behind). */

:root {
  --bg: #F6F5F1;
  --bg-2: #EEECE6;
  --card: #FFFFFF;
  --ink: #0D0D0C;
  --ink-2: #4E4C47;
  --ink-3: #8A877F;
  --line: rgba(13, 13, 12, .09);
  --line-2: rgba(13, 13, 12, .16);
  --blue: #2E4BFF;
  --blue-hi: #6F84FF;
  --blue-soft: #E8EBFF;
  --void: #06070D;
  --void-2: #0F1224;

  --display: "Instrument Serif", "Noto Serif SC", "Songti SC", Georgia, serif;
  --sans: "Geist", "Noto Sans SC", "PingFang SC", -apple-system, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sys: -apple-system, "SF Pro Text", system-ui, "PingFang SC", sans-serif;
  --sign: "Herr Von Muellerhoff", "Snell Roundhand", cursive;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --shadow-1: 0 1px 2px rgba(13,13,12,.05), 0 8px 24px -12px rgba(13,13,12,.18);
  --shadow-2: 0 2px 6px rgba(13,13,12,.06), 0 30px 60px -30px rgba(13,13,12,.35);

  /* legacy aliases (older pages) */
  --paper: var(--bg); --paper-hi: var(--card); --paper-lo: var(--bg-2); --paper-deep: #E4E1D9;
  --rule: var(--line); --rule-strong: var(--line-2);
  --rubric: var(--blue); --rubric-soft: var(--blue-soft);
  --serif: var(--display);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.display { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; }
.zh .display { letter-spacing: 0; line-height: 1.22; font-weight: 500; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.zh .kicker { letter-spacing: .06em; }

.wordmark { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 24px; letter-spacing: -.005em; text-decoration: none; color: var(--ink); }
.wordmark svg { width: 22px; height: 22px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: #fff; font-family: var(--sans); font-weight: 500; font-size: 15.5px; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 24px -12px rgba(13,13,12,.6); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 16px 30px -12px rgba(13,13,12,.55); }
.btn:active { transform: translateY(0) scale(.99); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: rgba(13,13,12,.04); }
.btn.light { background: #fff; color: var(--ink); }
.btn.block { width: 100%; }
.btn[disabled], .btn.is-disabled { background: #CFCCC5; color: #fff; box-shadow: none; pointer-events: none; }
.link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.link:hover { text-decoration-color: var(--ink); }

.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(13,13,12,.05); font-family: var(--mono); font-size: 11.5px; }
.lang button { padding: 4px 10px; border-radius: 999px; color: var(--ink-3); }
.lang button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.lang span { display: none; }

/* every illustrative number carries this */
.sample { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); border: 1px dashed var(--line-2); padding: 2px 6px 1px; border-radius: 4px; vertical-align: .15em; white-space: nowrap; }
.zh .sample { letter-spacing: .04em; font-size: 10px; }

/* live / signal dot */
.live { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }
.live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--blue); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.dot-break { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); vertical-align: .08em; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

