/* Paqido public site - "circuit".
   Drawn from the logo: electric blue to cyan traces on a precise light
   board, a dark core, monospaced readouts. System fonts only: no
   third-party requests, quick on slow mobile networks. */
:root {
  --bg: #f6f8fd;
  --surface: #ffffff;
  --ink: #0a0f2c;
  --ink-2: #3c4468;
  --muted: #687094;
  --line: #e2e7f4;
  --line-2: #cfd7ee;
  --blue: #1d4cff;
  --blue-deep: #1336c9;
  --cyan: #19c8f0;
  --ok: #12b886;
  --warn: #f59f00;
  --night: #070b24;
  --night-2: #0d1440;
  --radius: 16px;
  --grad: linear-gradient(100deg, var(--blue) 10%, var(--cyan) 95%);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, "Roboto Mono", monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: 22px; }
.mono { font-family: var(--mono); }

h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.06; font-weight: 800; }
h3 { font-size: 1.12rem; line-height: 1.25; font-weight: 750; letter-spacing: -0.015em; }
p { margin: 0; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font-size: 0.82rem; font-weight: 600; color: var(--blue); letter-spacing: 0.02em; }
/* the privacy page still labels its hero */
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 0.8rem; color: var(--cyan); }
.eyebrow::before { content: "// "; }

/* status lights */
.ok { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(18, 184, 134, 0.18); fill: var(--ok); }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(246, 248, 253, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
/* the logo is the name: no wordmark beside it */
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { display: block; height: 38px; width: auto; max-width: 180px; object-fit: contain; object-position: left; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.94rem; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav a.nav-cta { color: #fff; background: var(--ink); padding: 9px 16px; border-radius: 10px; }
.nav a.nav-cta:hover { background: var(--blue); color: #fff; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px -10px rgba(29, 76, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 34px -10px rgba(29, 76, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: 0 1px 2px rgba(10, 15, 44, 0.06); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-plain { color: var(--ink-2); border-color: transparent; }
.btn-plain:hover { color: var(--blue); }
.btn-ondark { background: rgba(255, 255, 255, 0.06); color: #e8ecff; border-color: rgba(255, 255, 255, 0.18); }
.btn-ondark:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---- hero ---- */
.hero { position: relative; padding-block: 72px 64px; overflow: hidden;
  background:
    radial-gradient(700px 380px at 82% 30%, rgba(25, 200, 240, 0.14), transparent 70%),
    radial-gradient(640px 420px at 70% 75%, rgba(29, 76, 255, 0.10), transparent 70%);
}
/* the board's fine grid */
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at 70% 45%, #000 20%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 20%, transparent 72%); opacity: 0.8; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; box-shadow: 0 1px 2px rgba(10, 15, 44, 0.05); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(18, 184, 134, 0.2); animation: pulse 2s ease-in-out infinite; }
.hero h1 { margin-top: 22px; }
.lede { margin-top: 22px; font-size: 1.18rem; color: var(--ink-2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin-top: 16px; font-size: 0.86rem; color: var(--muted); }

.board { position: relative; margin: 0; }
.board svg { width: 100%; height: auto; overflow: visible; }
.board .nodes rect { fill: #fff; stroke: var(--line-2); stroke-width: 1.5; filter: drop-shadow(0 6px 14px rgba(13, 21, 70, 0.10)); }
.board .nodes text { fill: var(--ink); letter-spacing: 0.04em; }
.readout { position: absolute; display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; box-shadow: 0 8px 20px -10px rgba(13, 21, 70, 0.25); backdrop-filter: blur(6px); }
.readout .mono { color: var(--blue); }
.r1 { top: 2%; right: 6%; }
.r2 { bottom: 2%; left: 8%; }

@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(18, 184, 134, 0.08); } }

/* ---- spec strip ---- */
.spec { border-block: 1px solid var(--line); background: var(--surface); }
.spec dl { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.spec dl > div { padding: 20px 18px; border-left: 1px solid var(--line); }
.spec dl > div:first-child { border-left: 0; padding-left: 0; }
.spec dt { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.spec dd { margin: 4px 0 0; font-weight: 700; font-size: 0.97rem; }

/* ---- sections ---- */
section { padding-block: 96px; }
.head { max-width: 46rem; margin-bottom: 48px; }
.head h2 { margin-top: 10px; }
.head p:not(.kicker):not(.note) { margin-top: 16px; color: var(--ink-2); font-size: 1.12rem; }

/* ---- platform: a bento of live parts ---- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(10, 15, 44, 0.04); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.tile:hover { border-color: var(--line-2); box-shadow: 0 18px 40px -24px rgba(13, 21, 70, 0.35); transform: translateY(-2px); }
/* a trace running into each tile */
.tile::before { content: ""; position: absolute; left: 24px; top: 0; width: 56px; height: 2px; background: var(--grad); border-radius: 0 0 2px 2px; }
.tile p { color: var(--ink-2); font-size: 0.96rem; }
.tile-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chip { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; color: var(--blue); background: #eef2ff; border: 1px solid #d9e1ff; border-radius: 6px; padding: 3px 8px; }
.t-till { grid-column: span 3; grid-row: span 2; }
.t-stock { grid-column: span 3; }
.t-ledger { grid-column: span 3; }
.t-process { grid-column: span 2; }
.t-web { grid-column: span 2; }
.t-buy { grid-column: span 2; }
.t-team { grid-column: span 3; }
.t-sync { grid-column: span 3; }

.ui { margin-top: auto; padding-top: 8px; }
.receipt { background: #fbfcff; border: 1px dashed var(--line-2); border-radius: 12px; padding: 14px 16px; font-family: var(--mono); font-size: 0.84rem; }
.receipt .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--ink-2); }
.receipt .row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.receipt .total { border-top: 1px dashed var(--line-2); margin-top: 6px; padding-top: 10px; }
.receipt .total span, .receipt .total b { color: var(--ink); font-weight: 800; }
.receipt .r-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.76rem; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px dashed var(--line-2); }
.receipt .tax span, .receipt .tax b { color: var(--muted); font-weight: 400; font-size: 0.78rem; }
.receipt .r-foot { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.receipt .qr { display: grid; grid-template-columns: repeat(3, 14px); gap: 3px; flex: none; }
.receipt .qr b { width: 14px; height: 14px; background: var(--ink); border-radius: 2px; }
.receipt .qr b:nth-child(2), .receipt .qr b:nth-child(4), .receipt .qr b:nth-child(9) { background: var(--line-2); }
.receipt .paid { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 700; font-family: var(--font); font-size: 0.88rem; }
.receipt .fiscal { margin-top: 3px; color: var(--muted); font-size: 0.74rem; }
.bars { display: grid; gap: 10px; }
.bars div { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 12px; font-size: 0.84rem; color: var(--ink-2); }
.bars i { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--cyan)) 0 0 / var(--v) 100% no-repeat, #edf1fb; }
.bars i.low { background: linear-gradient(90deg, var(--warn), #ffc94d) 0 0 / var(--v) 100% no-repeat, #edf1fb; }
.journal { font-size: 0.84rem; background: var(--night); color: #cdd5ff; border-radius: 12px; padding: 14px 16px; }
.journal .j { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.journal .cr span { padding-left: 2.2ch; }
.journal b { color: #fff; font-weight: 600; }
.journal .balanced { margin-top: 8px; display: flex; align-items: center; gap: 8px; color: #7ff0c8; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.78rem; }
.flow span { background: #f1f4ff; border: 1px solid #dbe3ff; color: var(--ink); border-radius: 8px; padding: 5px 8px; white-space: nowrap; }
.flow i { width: 14px; height: 2px; background: var(--grad); position: relative; }
.flow i::after { content: ""; position: absolute; right: -2px; top: -3px; border: 4px solid transparent; border-left-color: var(--cyan); border-right: 0; }
.browser { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.browser .bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #f1f4fb; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.browser .bar span { margin-left: 6px; font-size: 0.72rem; color: var(--ink-2); background: #fff; border-radius: 6px; padding: 2px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser .shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; }
.browser .shelf b { height: 34px; border-radius: 6px; background: linear-gradient(135deg, #e8eeff, #d7f6fd); }
.pipeline { display: flex; gap: 6px; font-size: 0.76rem; }
.pipeline span { flex: 1; text-align: center; padding: 6px 4px; border-radius: 8px; background: #f1f4fb; color: var(--muted); border: 1px solid var(--line); }
.pipeline .done { color: var(--ok); background: #e9f9f2; border-color: #c4eedd; }
.pipeline .now { color: #fff; background: var(--grad); border-color: transparent; }
.roles { display: grid; gap: 8px; }
.roles div { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.roles i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; color: #fff; background: var(--grad); }
.roles span { flex: 1; color: var(--ink-2); }
.roles em { width: 34px; height: 20px; border-radius: 99px; background: var(--line-2); position: relative; }
.roles em::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.roles em.on { background: var(--blue); }
.roles em.on::after { left: 17px; }
.devices { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; }
.devices span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcff; }

/* ---- configurations (industries) ---- */
.configs { background: var(--surface); border-block: 1px solid var(--line); }
.switcher > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; width: fit-content; max-width: 100%; }
.tabs label { cursor: pointer; padding: 9px 16px; border-radius: 10px; font-weight: 650; font-size: 0.93rem; color: var(--ink-2); user-select: none; transition: background .15s ease, color .15s ease; }
.tabs label:hover { color: var(--blue); }
.panels { margin-top: 22px; }
.panel { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: center; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, #fbfcff, #f2f7ff); }
.panel h3 { font-size: 1.6rem; letter-spacing: -0.03em; }
.panel p { margin-top: 8px; color: var(--ink-2); }
.mods { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; }
.mods li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); }
.mods li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(18, 184, 134, 0.18); }
#ind-retail:checked ~ .panels .p-retail,
#ind-food:checked ~ .panels .p-food,
#ind-pharmacy:checked ~ .panels .p-pharmacy,
#ind-agri:checked ~ .panels .p-agri,
#ind-salon:checked ~ .panels .p-salon,
#ind-logistics:checked ~ .panels .p-logistics { display: grid; }
#ind-retail:checked ~ .tabs label[for="ind-retail"],
#ind-food:checked ~ .tabs label[for="ind-food"],
#ind-pharmacy:checked ~ .tabs label[for="ind-pharmacy"],
#ind-agri:checked ~ .tabs label[for="ind-agri"],
#ind-salon:checked ~ .tabs label[for="ind-salon"],
#ind-logistics:checked ~ .tabs label[for="ind-logistics"] { background: var(--ink); color: #fff; }
.switcher > input:focus-visible ~ .tabs { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ---- offline (dark) ---- */
.offline { background: radial-gradient(800px 400px at 85% 20%, rgba(29, 76, 255, 0.25), transparent 70%), var(--night); color: #e8ecff; }
.offline-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.head-dark { margin-bottom: 0; }
.head-dark .kicker { color: var(--cyan); }
.head-dark p:not(.kicker):not(.note) { color: #b8c0ea; }
.head-dark .note { margin-top: 18px; font-size: 0.9rem; color: #8790c2; }
.terminal { background: #050820; border: 1px solid #1d2560; border-radius: var(--radius); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(25, 200, 240, 0.06); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid #161d52; background: #0a0f33; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3270; }
.term-bar span { margin-left: 8px; font-size: 0.78rem; color: #8790c2; }
.log { list-style: none; margin: 0; padding: 18px 18px 20px; display: grid; gap: 9px; font-size: 0.84rem; }
.log li { display: grid; grid-template-columns: 74px 64px minmax(0, 1fr); gap: 12px; color: #c4cbf2; }
.log time { color: #5f6aa6; }
.log .k { color: var(--cyan); }
.log b { font-weight: 600; }
.log .warn { color: var(--warn); }
.log .q { color: #a5b4ff; border: 1px solid #333d8a; border-radius: 5px; padding: 0 5px; font-size: 0.76rem; }
.log .good { color: #5ee8b5; }
.cursor i { display: inline-block; width: 8px; height: 1.05em; margin-left: 6px; vertical-align: text-bottom; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---- integrations ---- */
.ports { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
/* a bus line joining the ports */
.ports::before { content: ""; position: absolute; left: 6%; right: 6%; top: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); z-index: 0; }
.port { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 24px; }
.port-head { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 8px; margin-bottom: 16px; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.port p { margin-top: 8px; color: var(--ink-2); font-size: 0.96rem; }
.disclaimer { margin-top: 26px; max-width: 48rem; font-size: 0.86rem; color: var(--muted); }

/* ---- security ---- */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: center; }
.trust h2 { margin-top: 10px; }
.trust-copy > p:not(.kicker) { margin-top: 16px; color: var(--ink-2); max-width: 38rem; }
.trust .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sec { list-style: none; margin: 0; padding: 22px; display: grid; gap: 12px; font-size: 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.sec li { display: flex; align-items: center; gap: 12px; color: var(--ink); }

/* ---- launch ---- */
.launch { position: relative; overflow: hidden; text-align: center; padding: 72px 28px 60px; border-radius: 24px; color: #e8ecff; background: radial-gradient(600px 300px at 50% 0%, rgba(25, 200, 240, 0.22), transparent 70%), radial-gradient(700px 360px at 50% 110%, rgba(29, 76, 255, 0.35), transparent 70%), var(--night-2); border: 1px solid #1d2560; }
.launch-traces { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.launch > *:not(svg) { position: relative; }
.launch h2 { color: #fff; }
.launch p { margin: 16px auto 0; max-width: 36rem; color: #b8c0ea; font-size: 1.1rem; }
.launch .cta-row { justify-content: center; }
.launch .fine { color: #8790c2; font-size: 0.86rem; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; font-size: 0.92rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 36px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--blue); }

/* ---- long-form pages (privacy) ---- */
.doc-hero { position: relative; overflow: hidden; background: radial-gradient(700px 300px at 85% 0%, rgba(25, 200, 240, 0.2), transparent 70%), var(--night); color: #e8ecff; padding-block: 64px 56px; }
.doc-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: 12px; color: #fff; }
.doc-hero p { margin-top: 14px; color: #b8c0ea; max-width: 40rem; }
.doc { padding-block: 56px 88px; }
.doc .layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: 0.92rem; }
.toc strong { display: block; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--blue); border-left-color: var(--blue); }
.prose { max-width: 46rem; }
.prose section { padding: 0; margin-bottom: 44px; scroll-margin-top: 92px; }
.prose h2 { font-size: 1.6rem; margin-bottom: 14px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.prose .callout { margin-top: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 12px; }
.prose .callout ul { margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.95rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: #f1f4fb; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.prose tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* ---- responsive ---- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .board { max-width: 560px; width: 100%; margin-inline: auto; }
  .spec dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spec dl > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .spec dl > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .tile { grid-column: auto; grid-row: auto; }
  .t-till { grid-column: span 2 !important; }
  .offline-grid, .trust .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .panel { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .doc .layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc { position: static; }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
@media (max-width: 720px) {
  section { padding-block: 64px; }
  .hero { padding-block: 44px 48px; }
  .nav a:not(.nav-cta) { display: none; }
  .brand img { height: 32px; }
  .spec dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec dl > div { border-left: 0 !important; padding-left: 0 !important; padding-right: 12px; }
  .spec dl > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .t-till { grid-column: auto !important; }
  .ports { grid-template-columns: minmax(0, 1fr); }
  .ports::before { display: none; }
  .hero .cta-row .btn, .launch .btn { width: 100%; }
  .log li { grid-template-columns: 64px minmax(0, 1fr); }
  .log .k { display: none; }
  .tabs { width: 100%; }
  .tabs label { flex: 1 1 auto; text-align: center; padding: 8px 10px; font-size: 0.86rem; }
  .readout { font-size: 0.72rem; padding: 5px 9px; }
  .toc ol { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile { transition: none; }
  .tile:hover, .btn:hover { transform: none; }
  .status i, .cursor i { animation: none; }
  .packets { display: none; }
}
