/* ==========================================================================
   BE100 — be100.top
   Plain CSS, no build step, no external fonts or icon packs.
   ========================================================================== */

:root {
  --paper: #faf8f3;
  --paper-2: #f3f0e9;
  --paper-3: #e9e5db;
  --white: #ffffff;

  --ink: #191b1f;
  --ink-2: #41464d;
  --muted: #63666c;

  --line: #ddd8cd;
  --line-2: #c8c2b5;

  --brand: #17324e;
  --brand-2: #24466a;
  --brand-3: #335577;

  --practice: #2f6273;
  --memorize: #8b5a35;
  --assess: #4b6350;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --container: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 6px;
  --radius-lg: 10px;

  --space-section: clamp(48px, 6vw, 72px);
  --space-tight: clamp(36px, 4.5vw, 56px);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

::selection {
  background: #d8e2ee;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.keep {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--brand);
  color: var(--paper);
  border-radius: var(--radius);
  font-size: 0.875rem;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 760px;
}

.container--narrow .reading {
  max-width: none;
}

.section {
  padding-block: var(--space-section);
}

.section--tight {
  padding-block: var(--space-tight);
}

.section--line {
  border-top: 1px solid var(--line);
}

.section--tint {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

[id] {
  scroll-margin-top: 88px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--line-2);
  flex: none;
}

.lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-2);
}

.muted {
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  flex: none;
}

.brand-mark {
  font-size: 1.0625rem;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-left: 10px;
  border-left: 1px solid var(--line-2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav > a:not(.btn) {
  position: relative;
  padding: 6px 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
  transition: color 0.15s ease;
}

.site-nav > a:not(.btn):hover {
  color: var(--ink);
}

.site-nav > a.is-active {
  color: var(--ink);
}

.site-nav > a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
}

.site-nav > .nav-cta {
  display: none;
}.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 20px;
  height: 20px;
}

.nav-toggle .icon-close {
  display: none;
}

.site-header.is-open .nav-toggle .icon-menu {
  display: none;
}

.site-header.is-open .nav-toggle .icon-close {
  display: block;
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

.btn:hover {
  background: var(--brand-2);
  border-color: var(--brand-2);
  color: var(--paper);
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.875rem;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
}

.btn-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--brand);
}

.btn-light:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--brand);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(250, 248, 243, 0.35);
  color: var(--paper);
}

.btn-outline-light:hover {
  background: rgba(250, 248, 243, 0.08);
  border-color: var(--paper);
  color: var(--paper);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: border-color 0.15s ease, gap 0.15s ease;
}

.link-arrow:hover {
  border-color: var(--ink);
  gap: 12px;
}

.link-arrow .icon {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(44px, 5.5vw, 68px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.25rem, 5.2vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 34em;
  margin-top: 24px;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Product index card */

.hero-index {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-index-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.index-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}

.index-row:last-of-type {
  border-bottom: 0;
}

.index-row:hover {
  background: var(--paper);
}

.index-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.index-name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.index-desc {
  display: block;
  margin-top: 2px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.index-row .icon {
  width: 16px;
  height: 16px;
  color: var(--line-2);
  transition: transform 0.15s ease, color 0.15s ease;
}

.index-row:hover .icon {
  color: var(--ink);
  transform: translateX(2px);
}

.hero-index-foot {
  padding: 13px 20px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Section headings
   -------------------------------------------------------------------------- */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(28px, 3.5vw, 42px);
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.section-head .lead {
  max-width: 38em;
  margin-top: 14px;
}

.section-link {
  flex: none;
  padding-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  --accent: var(--brand);
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.product-card--practice {
  --accent: var(--practice);
}

.product-card--memorize {
  --accent: var(--memorize);
}

.product-card--assess {
  --accent: var(--assess);
}

.product-card:hover {
  border-color: var(--line-2);
  border-top-color: var(--accent);
  background: #fffdfa;
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.product-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
}

.product-tag {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.product-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
  color: var(--accent);
}

.product-card h3 {
  font-size: 1.375rem;
}

.product-lede {
  margin-top: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
}

.product-desc {
  flex: 1;
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.72;
  color: var(--ink-2);
}

.product-points {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
}

.product-points li {
  display: flex;
  gap: 9px;
}

.product-points li::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--accent);
}

.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}

.product-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.15s ease;
}

.product-card:hover .product-link .icon {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Split section / criteria
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.split h2 {
  margin-top: 12px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.split .lead {
  margin-top: 16px;
}

.split .link-arrow {
  margin-top: 26px;
}

.criteria li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.criteria li:last-child {
  border-bottom: 1px solid var(--line);
}

.criteria .c-num {
  padding-top: 5px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.criteria h3 {
  font-size: 1.125rem;
}

.criteria p {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Download band
   -------------------------------------------------------------------------- */

.download {
  background: var(--brand);
  color: #dfe6ee;
  padding-block: clamp(48px, 6vw, 72px);
}

.download-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.download h2 {
  margin-top: 12px;
  color: var(--paper);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.download p {
  margin-top: 12px;
  color: #c3cedb;
  font-size: 0.9375rem;
}

.download .eyebrow {
  color: #a9b8c7;
}

.download .eyebrow::before {
  background: #4b647d;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.download-link {
  color: var(--paper);
  font-size: 0.9375rem;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(250, 248, 243, 0.35);
  transition: border-color 0.15s ease;
}

.download-link:hover {
  border-color: var(--paper);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-top: clamp(40px, 5vw, 64px);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: clamp(32px, 4vw, 48px);
}

.footer-brand p {
  max-width: 22em;
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

.footer-title {
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer-grid ul {
  display: grid;
  gap: 9px;
}

.footer-grid a {
  font-size: 0.875rem;
  color: var(--ink-2);
  transition: color 0.15s ease;
}

.footer-grid a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-bottom a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: clamp(28px, 4vw, 44px);
  font-size: 0.75rem;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb .sep {
  color: var(--line-2);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */

.product-page--practice {
  --accent: var(--practice);
}

.product-page--memorize {
  --accent: var(--memorize);
}

.product-page--assess {
  --accent: var(--assess);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.75fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(32px, 5vw, 56px) clamp(48px, 6vw, 80px);
}

.product-hero h1 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  line-height: 1.14;
}

.product-hero .lead {
  max-width: 32em;
  margin-top: 20px;
}

.product-hero .desc {
  max-width: 34em;
  margin-top: 14px;
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--ink-2);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 24px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.product-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent, var(--line-2));
}

/* Phone preview */

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  --accent: var(--brand);
  width: min(300px, 100%);
  padding: 9px;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: 34px;
}

.phone--practice {
  --accent: var(--practice);
}

.phone--memorize {
  --accent: var(--memorize);
}

.phone--assess {
  --accent: var(--assess);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 16px 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
}

.mock-status {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--muted);
}

.mock-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.6875rem;
  color: var(--muted);
}

.mock-q {
  margin-top: 18px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}

.mock-label {
  margin-top: 18px;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.mock-options {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.mock-option {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.mock-option.is-picked {
  border-color: var(--accent);
  background: var(--paper);
  color: var(--ink);
}

.mock-option.is-picked::after {
  content: "✓";
  float: right;
  color: var(--accent);
  font-weight: 600;
}

.mock-note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.6875rem;
  color: var(--muted);
}

.mock-explain {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--paper);
  border-radius: 4px;
  font-size: 0.6875rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.mock-explain strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.mock-cta {
  margin-top: 18px;
  padding: 10px;
  background: var(--accent);
  border-radius: 4px;
  color: var(--white);
  font-size: 0.75rem;
  text-align: center;
}

.mock-card {
  margin-top: 14px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.mock-card-label {
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.mock-card-text {
  margin-top: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}

.mock-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.mock-btn {
  padding: 8px 6px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-size: 0.75rem;
  text-align: center;
  color: var(--ink-2);
}

.mock-btn.is-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.mock-row {
  margin-top: 9px;
}

.mock-row-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--ink-2);
}

.mock-bar {
  height: 3px;
  margin-top: 6px;
  background: var(--paper-3);
  border-radius: 2px;
  overflow: hidden;
}

.mock-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent, var(--muted));
}

.step h3 {
  margin-top: 14px;
  font-size: 1.0625rem;
}

.step p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.72;
}

/* Specs */

.spec-list {
  border-top: 1px solid var(--line);
}

.spec {
  display: grid;
  grid-template-columns: 52px minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.spec-num {
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.spec h3 {
  font-size: 1.125rem;
}

.spec p {
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* What it doesn't do */

.notdo {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.notdo h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.notdo-head p {
  max-width: 30em;
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.notdo ul {
  display: grid;
  gap: 11px;
  padding-top: 4px;
}

.notdo li {
  display: flex;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.notdo li::before {
  content: "—";
  flex: none;
  color: var(--muted);
}

/* Next products */

.product-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-next p {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.product-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.product-next-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--ink);
}

.product-next-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-next-links .icon {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------------------------
   Content pages
   -------------------------------------------------------------------------- */

.page-hero {
  padding-top: clamp(36px, 5vw, 60px);
  padding-bottom: clamp(28px, 4vw, 44px);
}

.page-body {
  padding-bottom: var(--space-section);
}

.sub-title {
  margin-top: 12px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.entity-lead {
  margin-top: 14px;
}

.page-title {
  margin-top: 16px;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.15;
}

.page-intro {
  max-width: 40em;
  margin-top: 20px;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-2);
  text-wrap: balance;
}

.page-meta {
  margin-top: 18px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.reading {
  max-width: 720px;
}

.prose section {
  padding-block: 32px;
  border-top: 1px solid var(--line);
}

.prose section:first-child {
  padding-top: 0;
  border-top: 0;
}

.prose h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
}

.prose h2 .num {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

.prose p {
  margin-top: 12px;
  font-size: 0.9688rem;
  line-height: 1.85;
  text-wrap: pretty;
}

.prose ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.prose li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--line-2);
}

.note {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--paper-2);
  border-left: 2px solid var(--line-2);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.text-link {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-2);
}

.text-link:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  padding: 4px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-2);
}

/* Principles ratio */

.ratio {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: 36px;
  border-block: 1px solid var(--line);
}

.dots {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 360px;
}

.dot {
  aspect-ratio: 1;
  background: var(--paper-3);
  border-radius: 1px;
}

.dot.is-on {
  background: var(--brand);
}

.ratio-text .big {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ratio-text p {
  max-width: 24em;
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-2);
}

/* Info table */

.info-table {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.info-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.7;
}

.info-row dt {
  color: var(--muted);
}

.info-row dd {
  margin: 0;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.info-row dd .mono {
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   Changelog
   -------------------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease,
    background 0.15s ease;
}

.filter:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.entry {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.log-list {
  padding-bottom: clamp(32px, 4vw, 56px);
}

.entry-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}

.entry-meta .entry-date {
  font-family: var(--mono);
}

.entry h3 {
  font-size: 1.0625rem;
  line-height: 1.5;
}

.entry p {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.rejected {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.rejected li {
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-size: 0.875rem;
  line-height: 1.7;
}

.rejected strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(32px, 6vw, 72px);
  padding-bottom: var(--space-section);
}

.form-card {
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.field {
  margin-bottom: 20px;
}

.field:last-of-type {
  margin-bottom: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
}

.field .hint {
  margin-left: 6px;
  font-weight: 400;
  color: var(--muted);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 11px 12px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color 0.15s ease, background 0.15s ease,
    box-shadow 0.15s ease;
}

.input::placeholder,
.textarea::placeholder {
  color: #6f7278;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(23, 50, 78, 0.1);
}

.textarea {
  min-height: 160px;
  resize: vertical;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236d7076' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.form-note {
  flex: 1;
  min-width: 200px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
}

.form-status {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--practice);
}

.contact-aside {
  padding-top: 4px;
}

.contact-block {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.contact-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.contact-block h2 {
  font-size: 0.9375rem;
}

.contact-block p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--ink-2);
}

.contact-block a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
}

.contact-block a:hover {
  text-decoration-color: var(--ink);
}

.contact-email {
  display: inline-block;
  margin-top: 6px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  padding-block: clamp(64px, 10vw, 120px);
  text-align: center;
}

.error-code {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.error-page h1 {
  margin-top: 18px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.error-page .error-lead {
  max-width: 30em;
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 6px var(--gutter) 40px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-nav > a.is-active::after {
    display: none;
  }

  .site-nav > a.is-active {
    font-weight: 600;
  }

  .site-nav > .nav-cta {
    display: inline-flex;
    margin-top: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .product-hero,
  .split,
  .contact-grid,
  .ratio {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid,
  .product-hero {
    gap: 36px;
  }

  .hero-index {
    max-width: 560px;
  }

  .product-hero .phone-wrap {
    margin-top: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .product-grid,
  .steps,
  .rejected {
    grid-template-columns: minmax(0, 1fr);
  }

  .spec {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px 14px;
    padding: 24px 0;
  }

  .spec h3,
  .spec p {
    grid-column: 2;
  }

  .spec h3 {
    grid-row: 1;
  }

  .spec p {
    grid-row: 2;
  }

  .spec-num {
    grid-row: span 2;
    padding-top: 4px;
  }

  .entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 24px 0;
  }

  .entry-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
  }

  .entry-meta .entry-source::before {
    content: "·";
    margin-right: 10px;
    color: var(--line-2);
  }

  .criteria li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .notdo {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .notdo ul {
    padding-top: 0;
  }

  .info-row {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
  }

  .product-next {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-sub {
    display: none;
  }

  .hero-actions,
  .product-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions .btn,
  .product-actions .btn {
    width: 100%;
  }

  .download-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .download-actions .btn {
    width: 100%;
  }

  .download-actions .download-link {
    align-self: flex-start;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .dots {
    max-width: 320px;
  }

  .error-actions {
    flex-direction: column;
    width: 100%;
  }

  .error-actions .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .index-row {
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    padding-inline: 16px;
  }

  .hero-index-head,
  .hero-index-foot {
    padding-inline: 16px;
  }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
