:root {
  --bg: #FBFBFD;
  --ink: #111A33;
  --ink-2: #4A556F;
  --accent: #B5339E;
  --navy: #1A2E5B;
  --violet: #6A63B9;
  --blue: #1971CF;
  --panel: #ECEEF7;
  --tint: #F0F2F8;
  --line: #D9DEEA;
  --line-soft: #E6E9F2;
  --control: #C4CADB;
  --white: #FFFFFF;
  --hl-a: #F6DDF0;
  --hl-b: #E2E0F5;
  --hl-c: #D9E8F8;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 32px;
  --shadow-card: 0 24px 50px rgba(17, 26, 51, 0.1);
  --shadow-app: 0 30px 80px rgba(0, 0, 0, 0.35);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1264px; margin: 0 auto; padding: 0 var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 30; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: var(--white); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--white); }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--white);
  font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 17px; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 251, 253, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 52px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.brand span { font-size: 26px; font-weight: 700; letter-spacing: -0.025em; }
.nav { display: flex; align-items: center; gap: 12px; }
.nav__links { display: flex; align-items: center; gap: 8px 28px; margin-right: 16px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.nav__links a:hover { color: var(--accent); }
.nav__toggle { display: none; }
.nav__links .nav__cta { display: none; }

.hero { padding-top: 64px; padding-bottom: 88px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 600; }
.tag img { width: 24px; height: 24px; }
.hero__title { max-width: 1100px; font-family: var(--serif); font-size: clamp(46px, 6.6vw, 96px); line-height: 0.98; letter-spacing: -0.02em; font-weight: 400; text-wrap: balance; }
.hero__title em, .title em { font-style: italic; color: var(--accent); }
.hero__lead { max-width: 700px; font-size: 20px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 4px; }
.hero__note { font-size: 15px; color: var(--ink-2); }

.stage { position: relative; overflow: hidden; width: 100%; margin-top: 40px; padding: clamp(18px, 4vw, 56px) clamp(14px, 4vw, 56px) 0; border-radius: 28px; background: var(--ink); text-align: left; }
.stage__facets { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.app { position: relative; border-radius: 16px 16px 0 0; overflow: hidden; background: var(--white); box-shadow: var(--shadow-app); }

.app__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 18px; background: #141414; color: #EDEDED; }
.app__brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.app__brand span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--white); }
.app__brand img { width: 24px; height: 24px; }
.app__title { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.app__user { display: inline-flex; align-items: center; gap: 10px; }
.chip { padding: 3px 10px; border-radius: 999px; background: #2A2F3D; font-size: 12px; font-weight: 600; white-space: nowrap; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); font-size: 12px; font-weight: 700; }
.app__body { display: grid; grid-template-columns: minmax(228px, 1fr) 4fr; }
.app__side { padding: 16px; background: #F6F5F2; border-right: 1px solid #E2E2DC; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.app__new { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 10px; background: #A3148E; color: var(--white); font-size: 15px; font-weight: 700; }
.app__search { padding: 10px 12px; border: 1px solid #D9D9D2; border-radius: 10px; background: var(--white); color: #5B6170; }
.app__day { margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: #5B6170; }
.app__side li { padding: 4px 10px; }
.app__side li.is-current { padding: 8px 10px; border-radius: 8px; background: var(--white); font-weight: 600; }
.app__history { display: flex; flex-direction: column; gap: 10px; }
.app__main { min-width: 0; display: flex; flex-direction: column; }
.app__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 24px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.app__toolbar b { font-weight: 700; }
.app__toolbar span span { color: var(--ink-2); }
.app__export { padding: 6px 14px; border: 1px solid var(--control); border-radius: 8px; font-size: 13px; font-weight: 600; }
.app__thread { display: flex; flex-direction: column; gap: 16px; padding: 24px clamp(14px, 2vw, 28px) 32px; }
.app__answer { font-size: 17px; line-height: 1.5; }
.app__count { text-align: center; font-size: 13px; color: var(--ink-2); }

.bubble { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-radius: 12px; background: var(--tint); }
.bubble small { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-2); }
.bubble span { font-size: 17px; line-height: 1.45; font-weight: 500; }
.from { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.from img { width: 24px; height: 24px; }
.grid-box { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.grid { width: 100%; border-collapse: collapse; font-size: 15px; text-align: left; }
.grid th { padding: 11px 16px; background: var(--tint); font-weight: 600; white-space: nowrap; }
.grid th span { display: inline-flex; align-items: center; gap: 6px; }
.grid th svg { width: 10px; height: 14px; flex: none; fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.grid th.is-sorted { color: var(--accent); }
.grid th.is-sorted svg { stroke: var(--accent); stroke-width: 1.8; }
.grid td { padding: 12px 16px; border-top: 1px solid var(--line-soft); color: var(--ink-2); }
.grid td:first-child { color: var(--ink); font-weight: 500; }
.grid tr.is-picked td { background: #FBF1F8; }
.grid tr.is-picked td:first-child { font-weight: 600; }

.logos { padding-bottom: 0; }
.logos ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 56px; padding: 8px 0; }
.logos img { height: 36px; width: auto; opacity: 0.8; }

.rows { padding-top: 104px; display: flex; flex-direction: column; gap: 104px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 36px 72px; }
.row--flip { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.row--flip .row__copy { order: 2; }
.row__copy { display: flex; flex-direction: column; gap: 14px; }
.label { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.title { font-family: var(--serif); font-size: clamp(36px, 3.8vw, 54px); line-height: 1.04; letter-spacing: -0.01em; font-weight: 400; text-wrap: balance; }
.text { max-width: 460px; font-size: 19px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.shot { padding: clamp(16px, 2.6vw, 36px); border-radius: 24px; background: var(--panel); }
.shot--dark { background: var(--ink); }
.card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-card); }

.answer { font-size: 22px; line-height: 1.4; font-weight: 600; }
.answer-note { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-2); }
.pager__pages { display: inline-flex; gap: 6px; }
.pager__pages span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--control); border-radius: 7px; }
.pager__pages .is-current { border-color: var(--navy); background: var(--navy); color: var(--white); font-weight: 600; }

.record { gap: 16px; }
.record__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.record__name { font-size: 20px; font-weight: 700; }
.record__actions { display: inline-flex; gap: 8px; }
.record__actions span { padding: 8px 16px; border: 1px solid var(--control); border-radius: 8px; font-size: 14px; font-weight: 600; }
.record__actions .is-primary { border-color: var(--navy); background: var(--navy); color: var(--white); }
.record__tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--control); font-size: 14px; }
.record__tabs span { padding: 9px 12px; color: var(--ink-2); }
.record__tabs .is-current { border-bottom: 2px solid var(--ink); background: var(--tint); color: var(--ink); font-weight: 600; }
.record__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.record__fields div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.record__fields small { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.record__fields span { padding: 9px 0; font-size: 15px; }
.record__fields .is-select { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border: 1px solid var(--control); border-radius: 8px; }
.record__fields .is-select svg { width: 14px; height: 14px; color: var(--ink-2); stroke-width: 2.4; }
.record__fields .is-editing { padding: 8px 11px; border: 2px solid var(--accent); border-radius: 8px; }

.phrase { font-size: 20px; line-height: 1.8; font-weight: 500; }
.hl { padding: 3px 8px; border-radius: 7px; white-space: nowrap; }
.hl--a { background: var(--hl-a); }
.hl--b { background: var(--hl-b); }
.hl--c { background: var(--hl-c); }
.meanings { display: flex; flex-direction: column; gap: 8px; }
.meanings li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 11px 14px; border-radius: 10px; font-size: 15px; }
.meanings b { font-weight: 600; }

.bounds { display: grid; grid-template-columns: 1fr; gap: 16px; }
.bounds__card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; background: var(--white); }
.bounds__card h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-2); }
.bounds__card li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 10px; background: var(--tint); font-size: 15px; }
.bounds__card b { font-weight: 600; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.switch i { display: inline-flex; align-items: center; justify-content: flex-end; width: 36px; height: 20px; padding: 2px; border-radius: 999px; background: var(--navy); }
.switch i::after { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--white); }
.switch--off { color: var(--ink-2); }
.switch--off i { justify-content: flex-start; background: #8D97B3; }

.extras { padding-top: 104px; }
.extras ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.extras li { display: flex; flex-direction: column; gap: 8px; }
.extras h3 { font-family: var(--serif); font-size: 30px; line-height: 1.1; font-weight: 400; }
.extras p { font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

.security { padding-top: 104px; padding-bottom: 96px; }
.security__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 36px 56px; padding: clamp(24px, 3.4vw, 48px); border-radius: 22px; background: var(--tint); }
.security__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.security__copy h2 { font-family: var(--serif); font-size: clamp(34px, 3.2vw, 44px); line-height: 1.05; font-weight: 400; text-wrap: balance; }
.security__copy p { font-size: 18px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.points li { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.points svg { width: 26px; height: 26px; color: var(--accent); stroke-width: 1.8; }
.points h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.005em; }
.points p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.demo { flex-grow: 1; border-top: 1px solid var(--line); }
.demo .wrap { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px 72px; }
.demo__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.demo__copy img { width: 84px; height: 84px; }
.demo__copy h2 { font-family: var(--serif); font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.02em; font-weight: 400; text-wrap: balance; }
.demo__copy p { max-width: 460px; font-size: 19px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.demo-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-card); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--control); border-radius: 10px; background: var(--white);
  color: var(--ink); font: 400 16px/1.4 var(--sans);
}
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6B7590; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.demo-form__foot p { flex: 1 1 220px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.demo-form__error { grid-column: 1 / -1; padding: 12px 14px; border: 1px solid #E5B5C0; border-radius: 10px; background: #FDF1F3; color: #8A1C33; font-size: 15px; }
.demo-form__done { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-card); font-size: 20px; line-height: 1.5; font-weight: 500; }
.demo-form__nojs { grid-column: 1 / -1; font-size: 15px; color: var(--ink-2); }
[hidden] { display: none !important; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--ink-2); }
.site-footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__brand img { width: 28px; height: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

.doc { flex-grow: 1; padding-top: 72px; padding-bottom: 96px; }
.doc__inner { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { font-family: var(--serif); font-size: clamp(42px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 400; }
.doc h2 { margin-top: 22px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.doc p, .doc li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.doc ul { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; list-style: disc; }
.doc a { color: var(--ink); text-underline-offset: 3px; }
.doc a:hover { color: var(--accent); }
.doc__date { font-size: 15px; }

.lost { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 72px var(--gutter); text-align: center; }
.lost img { width: 84px; height: 84px; }
.lost h1 { font-family: var(--serif); font-size: clamp(42px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; font-weight: 400; }
.lost p { font-size: 19px; color: var(--ink-2); }

@media (max-width: 1040px) {
  .app__title { display: none; }
  .security__card { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .rows { padding-top: 80px; gap: 80px; }
  .row, .row--flip { grid-template-columns: 1fr; }
  .extras { padding-top: 80px; }
  .extras ul { grid-template-columns: 1fr; gap: 28px; }
  .row--flip .row__copy { order: 0; }
  .text { max-width: 620px; }
  .security { padding-top: 80px; padding-bottom: 80px; }
  .demo .wrap { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; }
  .demo__copy { align-items: center; text-align: center; }
  .demo__copy p { max-width: 560px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 80px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 22px; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
  .hero { padding-top: 40px; padding-bottom: 64px; gap: 20px; }
  .hero__lead { font-size: 18px; }
  .stage { margin-top: 24px; border-radius: 20px; }
  .app__body { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .app__toolbar { padding: 10px 14px; }
  .app__answer { font-size: 16px; }
  .grid { font-size: 14px; }
  .grid th, .grid td { padding: 10px 12px; }
  .text { font-size: 18px; }
  .answer { font-size: 20px; }

  .has-js .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer;
  }
  .nav__toggle svg { width: 22px; height: 22px; }
  .has-js .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(17, 26, 51, 0.08);
  }
  .has-js .nav__links.is-open { display: flex; }
  .has-js .nav__links a { min-height: 48px; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
  .has-js .nav__links a:last-child { border-bottom: 0; }

  .nav__links { margin-right: 4px; gap: 4px 16px; }
}

@media (max-width: 560px) {
  .hero__title { font-size: clamp(42px, 12.5vw, 60px); }
  .title { font-size: clamp(34px, 9.4vw, 44px); }
  .rows { padding-top: 64px; gap: 64px; }
  .shot { padding: 12px; border-radius: 20px; }
  .card { padding: 16px; border-radius: 16px; }
  .bubble span { font-size: 16px; }
  .phrase { font-size: 18px; }
  .record__fields, .points, .demo-form { grid-template-columns: 1fr; }
  .grid th svg { display: none; }
  .grid th.is-sorted svg { display: block; }
  .site-header .btn { padding: 0 16px; }
  .site-footer .wrap { justify-content: center; text-align: center; }
}

@media (max-width: 440px) {
  .site-header .wrap { flex-wrap: wrap; }
  .nav > .btn { display: none; }
  .nav__links .nav__cta { display: inline-flex; font-weight: 600; }
  .has-js .nav__links .nav__cta { color: var(--accent); }
}

@media (max-width: 400px) {
  .grid { font-size: 13px; }
  .grid th, .grid td { padding: 9px 8px; }
  .nav { gap: 8px; }
  .brand { gap: 8px; }
  .brand span { font-size: 20px; }
}

@media print {
  .site-header { position: static; }
  .nav, .demo-form { display: none; }
}
