/*
 * Copyright (c) 2025-2026 NetBalance
 * All Rights Reserved
 */

:root {
  color-scheme: light dark;
  --bg: #fcfcf9;
  --bg-alt: #f2f5f1;
  --surface: #ffffff;
  --surface-2: #f4f6f5;
  --text: #172e2b;
  --text-muted: #596b67;
  --border: #dfe6e1;
  --brand-1: #176a57;
  --brand-2: #228467;
  --accent-soft: #e8f2eb;
  --ring: #237c65;
  --shadow:
    0 4px 8px -4px rgb(23 46 43 / 8%), 0 24px 64px -24px rgb(23 46 43 / 20%);
  --series-1: #2563eb;
  --series-2: #0d9668;
  --radius: 16px;
  --radius-lg: 24px;
  --wrap: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 4.5 6.5 12 2.5 8.2l1-1.05 3 2.85 6-6.5z'/%3E%3C/svg%3E");
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 3 3 4l4 4-4 4 1 1 4-4 4 4 1-1-4-4 4-4-1-1-4 4z'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101b19;
    --bg-alt: #14221f;
    --surface: #1a2b26;
    --surface-2: #20332d;
    --text: #ecf2eb;
    --text-muted: #adbbb3;
    --border: #32483f;
    --brand-1: #9cd8b5;
    --brand-2: #7acb9e;
    --accent-soft: #243f32;
    --ring: #9cd8b5;
    --shadow:
      0 4px 8px -4px rgb(0 0 0 / 20%), 0 24px 64px -24px rgb(0 0 0 / 50%);
    --series-1: #6b9df4;
    --series-2: #5eb58e;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica,
    Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--brand-1);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
button {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 5px;
}
::selection {
  background: var(--accent-soft);
  color: var(--text);
}
h1,
h2,
h3 {
  margin: 0 0 0.65em;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h2 {
  max-width: 23ch;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 650;
}
h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
section {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--border);
}
section.plain {
  border-top: 0;
}
.alt {
  background: var(--bg-alt);
}
.lede {
  max-width: 65ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
  color: var(--brand-1);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}
.skip {
  position: fixed;
  top: 0.75rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}
.skip:focus {
  transform: translateY(0);
}

/* Navigation stays available when JavaScript is disabled. */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(16px);
}
header .wrap {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 80px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: auto;
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 750;
  letter-spacing: -0.06em;
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
}
.tag {
  margin-left: 0.2rem;
  padding: 0.08rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-muted);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.82rem;
  font-weight: 550;
}
.links a {
  position: relative;
  padding-block: 0.6rem;
  color: var(--text-muted);
  text-decoration: none;
}
.links a:hover,
.links a[aria-current="location"] {
  color: var(--brand-1);
}

.links .mobile-download {
  display: none;
}
.links a[aria-current="location"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
}
.lang {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  order: 1;
  font-size: 0.7rem;
  font-weight: 650;
}
.lang a {
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 40px;
  color: var(--text-muted);
  text-decoration: none;
}
.lang a[aria-current="true"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--brand-2);
  text-underline-offset: 6px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 50px;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgb(23 46 43 / 10%);
}
.btn.primary {
  border-color: transparent;
  background: var(--brand-1);
  color: var(--bg);
}
.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.btn.small {
  min-height: 40px;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
}
.header-cta {
  order: 2;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  order: 3;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.menu-toggle svg {
  width: 20px;
  height: 20px;
}
.menu-toggle[aria-expanded="true"] .menu-open,
.menu-toggle[aria-expanded="false"] .menu-close {
  display: none;
}

/* A real HTML ledger, framed as an illustrative product preview. */
.hero {
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) 3rem;
}
.hero > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.hero-copy {
  padding-bottom: 1.5rem;
}
.hero h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.8rem, 4.8vw, 4rem);
  font-weight: 650;
  line-height: 1.07;
  letter-spacing: -0.055em;
}
.hero h1 em {
  display: block;
  color: var(--brand-1);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}
.hero p {
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.hero p.hero-sub {
  margin-bottom: 0.7rem;
  color: var(--text);
  font-size: 1.13rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}
.badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.72rem;
}
.badges > span + span::before {
  content: "·";
  margin-right: 0.65rem;
}
.product-preview {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin: 0;
  padding: 1.6rem 0 1.2rem;
}
.product-preview::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1.8rem -2rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 48% 48% 10px 10px;
  background-color: var(--accent-soft);
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 16px 16px;
  transform: rotate(-3deg);
}
.preview-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}
.preview-label > span:first-child {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.mock {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 0.73rem;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.mock-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d99a91;
}
.mock-bar i:nth-child(2) {
  background: #d7bb79;
}
.mock-bar i:nth-child(3) {
  background: #86b89a;
}
.mock-bar strong {
  overflow: hidden;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.1rem 0;
}
.mock-top strong {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.035em;
}
.mock-top span {
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-muted);
  font-size: 0.62rem;
}
.mock-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 1rem 1.1rem 1.25rem;
}
.mock-stats > div {
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface-2);
}
.mock-stats span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
  font-size: 0.62rem;
}
.mock-stats strong {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.mock-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.mock table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.mock th,
.mock td {
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}
.mock th {
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.6rem;
  font-weight: 500;
}
.mock td.num,
.mock th.num {
  text-align: right;
}
.mock tfoot td {
  border-bottom: 0;
  background: var(--accent-soft);
  font-weight: 600;
}
.mock .code {
  color: var(--text-muted);
  font-size: 0.67rem;
}
.mock-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.6rem;
}
.dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-2) 12%, transparent);
}
.assistant-note {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 88%;
  margin: -0.1rem 0 0 auto;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0 0 12px 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.assistant-note > svg {
  flex: none;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--brand-1);
}
.assistant-note strong {
  font-size: 0.65rem;
  font-weight: 600;
}
.assistant-note p {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  line-height: 1.6;
}
.product-preview > figcaption {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.63rem;
  text-align: center;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 3.5rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}
.hero > .wrap.principles-wrap {
  display: block;
}
.principles li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.principles .principle-number {
  margin-top: 0.15rem;
  color: var(--brand-1);
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
}
.principles strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}
.principles p {
  margin: 0.25rem 0 0;
  font-size: 0.77rem;
}

/* Feature cards and the sharing walkthrough. */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.card:first-child {
  background: var(--accent-soft);
}
.card h3 {
  font-size: 1.08rem;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg);
  color: var(--brand-1);
}
.ico svg {
  width: 21px;
  height: 21px;
}
.peer-flow {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
  max-width: 880px;
  margin: 3rem auto;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
}
.peer-device svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  color: var(--brand-1);
}
.peer-device strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}
.peer-device span,
.peer-connection span {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-size: 0.72rem;
}
.peer-connection {
  padding-inline: 0.5rem;
}
.peer-connection svg {
  width: 100%;
  height: 32px;
  margin-bottom: 0.6rem;
  color: var(--brand-1);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
  counter-increment: step;
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 1.2rem;
  color: var(--brand-1);
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
}
.steps h3 {
  font-size: 1rem;
}
.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}
.split .lede {
  font-size: 0.95rem;
}
.split p:last-child {
  margin-bottom: 0;
}
.gap-top {
  margin-top: 3rem;
}

/* The report retains its SVG chart and accessible table of values. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 880px;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.76rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}
figure.mock {
  margin: 0;
}

.chart {
  position: relative;
}

.mock table.visually-hidden {
  width: 1px;
}
.chart-body {
  padding: 1.4rem 1.25rem 0.75rem;
}
.chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.chart-title {
  font-size: 0.9rem;
  font-weight: 600;
}
.chart-unit {
  color: var(--text-muted);
  font-size: 0.7rem;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.65rem 0 0.5rem;
  padding: 0;
  list-style: none;
}
.chart-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.73rem;
}
.chart-legend i {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 2px;
}
.chart-legend .k1 {
  background: var(--series-1);
}
.chart-legend .k2 {
  background: var(--series-2);
}
.chart svg {
  width: 100%;
  height: auto;
}
.chart .s1 {
  fill: var(--series-1);
}
.chart .s2 {
  fill: var(--series-2);
}
.chart .grid,
.chart .axis-line {
  stroke: var(--border);
  stroke-width: 1;
}
.chart .tick,
.chart .axis {
  fill: var(--text-muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.chart .value {
  fill: var(--text);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.chart figcaption {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.73rem;
}

/* Dark privacy section, independent of the visitor's color scheme. */
.security {
  --bg: #152f28;
  --surface: #1c3930;
  --text: #f2f5ec;
  --text-muted: #bdcec1;
  --border: #3a5448;
  --brand-1: #b4dab5;
  --ring: #b4dab5;
  background: var(--bg);
  color: var(--text);
}
.ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.ledger > div {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.ledger h3 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.ledger ul {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  list-style: none;
}
.ledger li {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 0.65rem;
}
.ledger li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 0.22rem;
  background: var(--brand-1);
  -webkit-mask: var(--tick) center / contain no-repeat;
  mask: var(--tick) center / contain no-repeat;
}
.ledger .no li::before {
  background: var(--text-muted);
  -webkit-mask-image: var(--cross);
  mask-image: var(--cross);
}
.faq-layout,
.feedback-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 4rem;
}
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-list details {
  border-bottom: 1px solid var(--border);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  font-size: 0.97rem;
  font-weight: 550;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  flex: none;
  color: var(--brand-1);
  font-size: 1.3rem;
  font-weight: 400;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  padding: 0 2rem 0.6rem 0;
  color: var(--text-muted);
  font-size: 0.91rem;
}

/* Download states are populated from the existing release manifest. */
.download {
  padding-top: 0;
  border-top: 0;
}
.download-panel {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
}
.download-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}
.download-mark {
  flex: none;
  width: 80px;
  height: 80px;
  margin-top: 0.5rem;
  transform: rotate(-8deg);
}
.dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.dl a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}
.dl a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.dl a[data-recommended] {
  border-color: var(--brand-1);
  box-shadow: inset 0 0 0 1px var(--brand-1);
}
.dl svg {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--brand-1);
}
.dl b {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}
.dl small {
  color: var(--text-muted);
  font-size: 0.77rem;
}
.beta {
  max-width: 85ch;
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--brand-2);
  color: var(--text-muted);
  font-size: 0.83rem;
}
.beta strong {
  color: var(--text);
}
.dl-note {
  margin: 1.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.dl-empty {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px dashed var(--brand-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.dl-empty p:last-child {
  margin: 0;
}

/* The feedback section ships hidden; feedback.js reveals it once it can post. */
.feedback {
  display: grid;
  gap: 0.6rem;
}
.feedback label {
  font-size: 0.9rem;
  font-weight: 600;
}
.feedback textarea {
  width: 100%;
  min-height: 11rem;
  padding: 0.9rem 1rem;
  /* Darker than --border: a field's edge needs 3:1 against the section. */
  border: 1px solid color-mix(in srgb, var(--text-muted) 70%, var(--border));
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.6;
  resize: vertical;
}
.feedback textarea:focus-visible {
  outline-offset: 2px;
}
.feedback-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.6rem;
}
.feedback button {
  cursor: pointer;
}
.feedback button:disabled {
  cursor: progress;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}
.feedback-status {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}
[hidden] {
  display: none !important;
}

footer {
  padding-block: 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
}
footer .wrap {
  display: grid;
  gap: 1.25rem;
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}
.foot-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-left: auto;
}
.foot-top a:not(.brand) {
  color: var(--text-muted);
  text-decoration: none;
}
.foot-top a:hover {
  color: var(--brand-1);
}
footer small {
  display: block;
  max-width: 105ch;
  font-size: 0.72rem;
  line-height: 1.7;
}
footer p {
  margin: 0;
}
.foot-slogan {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 550;
  letter-spacing: -0.03em;
}

@media (max-width: 1080px) {
  header .wrap {
    gap: 1rem;
  }
  .links {
    gap: 1rem;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .card {
    padding: 1.5rem;
  }
}
@media (max-width: 960px) {
  header .wrap {
    flex-wrap: wrap;
    min-height: 72px;
    padding-block: 0.65rem;
  }
  .links {
    order: 4;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-block: 0.5rem;
  }
  .nav-ready .menu-toggle {
    display: inline-flex;
  }
  .nav-ready .links {
    display: none;
  }
  .nav-ready .links[data-open] {
    display: grid;
    gap: 0.15rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }
  .nav-ready .links a {
    padding: 0.7rem 0.5rem;
  }

  .links .mobile-download {
    display: block;
  }
  .links a[aria-current="location"]::after {
    display: none;
  }
  .hero > .wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-copy {
    max-width: 620px;
    margin-inline: auto;
    padding-bottom: 0;
    text-align: center;
  }
  .hero h1 {
    font-size: clamp(2.7rem, 7.8vw, 4.5rem);
  }
  .hero p {
    margin-inline: auto;
  }
  .actions,
  .badges {
    justify-content: center;
  }
  .product-preview {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }
  .product-preview::before {
    inset-inline: -1rem;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq-layout,
  .feedback-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 640px) {
  header .wrap {
    gap: 0.5rem;
  }
  .brand {
    gap: 0.3rem;
    font-size: 1.25rem;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .header-cta {
    display: none;
  }
  .tag {
    font-size: 0.55rem;
  }
  .hero {
    padding-top: 3rem;
  }
  .hero h1 {
    font-size: clamp(2.45rem, 9.6vw, 3.7rem);
  }
  .hero .eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }
  .hero p.hero-sub {
    font-size: 1.02rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .actions .btn {
    padding-inline: 1rem;
    font-size: 0.8rem;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    margin-top: 2.25rem;
  }
  .principles p {
    margin-inline: 0;
    font-size: 0.8rem;
  }
  .preview-label {
    font-size: 0.58rem;
  }
  .mock {
    font-size: 0.65rem;
  }
  .mock th,
  .mock td {
    padding: 0.6rem;
  }
  .mock-stats {
    padding-inline: 0.75rem;
  }
  .mock-stats strong {
    font-size: 1rem;
  }
  .mock-foot {
    font-size: 0.57rem;
  }
  .assistant-note {
    width: 94%;
    padding: 0.8rem;
  }
  .assistant-note p {
    font-size: 0.7rem;
  }
  .grid,
  .split,
  .ledger {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 1.6rem;
  }
  .ico {
    margin-bottom: 1.2rem;
  }
  .peer-flow {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
  .peer-connection svg {
    width: 100px;
    margin-inline: auto;
  }
  .peer-connection {
    padding: 0.75rem 1.5rem;
    border-block: 1px solid var(--border);
  }
  .steps {
    gap: 1.5rem;
  }
  .ledger > div {
    padding: 1.5rem;
  }
  .chart .tick,
  .chart .axis {
    font-size: 19px;
  }
  .chart .value {
    font-size: 20px;
  }
  .download-mark {
    display: none;
  }
  .foot-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .foot-top nav {
    gap: 0.5rem 1.25rem;
    margin-left: 0;
  }
  .foot-top nav a {
    padding-block: 0.35rem;
  }
}
@media (max-width: 380px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .badges {
    font-size: 0.65rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
