/* QuarX website styles */

:root {
  --red: #CB2727;
  --red-light: #E85A5A;
  --red-dark: #B01F1F;
  --ink: #1E2733;
  --text: #2E3742;
  --muted: #4A5361;
  --subtle: #5D6673;
  --line: #E4E7EB;
  --line-strong: #DADEE3;
  --field: #8A929C;
  --soft: #F5F6F8;
  --blush: #FDF2F2;
  --blush-line: #F1C6C6;
  --blush-soft: #FDF4F4;
  --blush-rule: #EED3D3;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(30, 39, 51, 0.12);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[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; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #FFFFFF; text-decoration: none; }
.skip-link:focus { top: 12px; color: #FFFFFF; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--soft); }
.section--blush { background: var(--blush-soft); }

/* Type */
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.eyebrow::before { content: ""; flex: none; width: 10px; height: 16px; background: var(--red); transform: skewX(-24deg); }
.h1 { font-size: clamp(40px, 6vw, 82px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.h1--page { font-size: clamp(40px, 5.4vw, 72px); }
.h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.h2--sm { font-size: clamp(30px, 3.6vw, 44px); }
.h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.lead { max-width: 34em; margin-top: 28px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.body { font-size: 17px; line-height: 1.6; color: var(--muted); }
.mono { font-family: var(--mono); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.btn svg { flex: none; }
.btn--primary { background: var(--red); border-color: var(--red); color: #FFFFFF; }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #FFFFFF; }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #FFFFFF; }
.btn--quiet { background: #FFFFFF; border-color: #B8BFC8; color: var(--ink); }
.btn--quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Toggle buttons for the quote list */
.toggle { flex: 1; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; border: 1px solid var(--red); border-radius: 999px; background: var(--red); color: #FFFFFF; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.toggle:hover { background: var(--red-dark); border-color: var(--red-dark); }
.toggle--quiet { background: #FFFFFF; border-color: #B8BFC8; color: var(--ink); }
.toggle--quiet:hover { background: #FFFFFF; border-color: var(--ink); }
.toggle[aria-pressed="true"] { background: var(--blush); border-color: var(--blush-line); color: var(--red-dark); }
.toggle .icon-check { display: none; }
.toggle[aria-pressed="true"] .icon-check { display: block; }
.toggle[aria-pressed="true"] .icon-plus { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: 68px; }
.brand { display: flex; align-items: center; padding: 6px 0; }
.brand img { width: auto; height: 36px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { padding: 12px 0; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--red); }
.badge { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: #FFFFFF; color: var(--ink); font-family: var(--mono); font-size: 12px; text-align: center; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 999px; background: #FFFFFF; color: var(--ink); cursor: pointer; }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 20px; background: #FFFFFF; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(30, 39, 51, 0.08); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .btn { margin-top: 16px; min-height: 48px; }
}

/* Decorative slashes taken from the logo */
.slash { position: absolute; top: -200px; bottom: -200px; background: var(--red); transform: skewX(-24deg); pointer-events: none; }
.slash--light { background: var(--red-light); }

/* Home hero */
.hero { background: var(--soft); overflow: hidden; }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.hero__copy { flex: 1.15 1 500px; min-width: 0; }
.hero__copy .eyebrow { margin-bottom: 28px; }
.hero__art { position: relative; flex: 1 1 420px; min-width: 0; padding: 24px 0 56px; }
.hero__art .slash { left: 32%; width: 40%; }
.hero__art .slash--light { left: 84%; width: 9%; }
.stat-stack { position: relative; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.stat-card { width: min(100%, 300px); padding: 26px; border-radius: var(--radius); background: #FFFFFF; box-shadow: var(--shadow); }
.stat-card:nth-child(1) { align-self: flex-start; }
.stat-card:nth-child(2) { align-self: center; }
.stat-card:nth-child(3) { align-self: flex-end; }
.stat-card strong { display: block; font-size: clamp(36px, 4vw, 52px); font-weight: 600; line-height: 1.1; letter-spacing: -0.04em; }
.stat-card span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--muted); }
/* Once the art drops below the text, keep the stripes from running up behind it */
@media (max-width: 1000px) {
  .hero__art .slash, .page-hero__art .slash { top: 0; }
}

/* Layout helpers */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.split--top { align-items: flex-start; gap: 48px 72px; }
.split__a { flex: 1 1 380px; min-width: 0; }
.split__b { flex: 1.3 1 520px; min-width: 0; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.head-row > :first-child { flex: 1 1 520px; min-width: 0; }
.head-row > p { flex: 1 1 340px; min-width: 0; }

/* Range */
.mini-stats { display: flex; flex-wrap: wrap; gap: 32px; margin: 28px 0 0; }
.mini-stats strong { display: block; font-size: 44px; font-weight: 600; letter-spacing: -0.03em; }
.mini-stats span { font-size: 14px; color: var(--subtle); }
.family-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.family-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--soft); color: var(--ink); text-decoration: none; transition: transform 0.15s; }
.family-card:hover { color: var(--ink); transform: translateY(-2px); }
.family-card img { width: 100%; height: 170px; padding: 16px; object-fit: contain; background: #FFFFFF; }
.family-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 14px 18px 18px; font-weight: 600; }
.family-card__meta span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--subtle); }
@media (max-width: 520px) { .family-grid { grid-template-columns: minmax(0, 1fr); } }

/* Cash-processing steps */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 56px 0 0; padding: 0; list-style: none; }
.process li { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius); background: #FFFFFF; }
.process p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.icon-tile { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--blush); color: var(--red); }
.num { font-family: var(--mono); font-size: 12px; color: var(--subtle); }
.tag { margin-top: auto; font-family: var(--mono); font-size: 12px; color: var(--text); }
.note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-strong); font-size: 15px; color: var(--muted); }
.note strong { font-weight: 600; color: var(--ink); }

/* About */
.prose { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; font-size: 18px; line-height: 1.65; color: var(--text); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.vision { position: relative; overflow: hidden; padding: 32px; border-radius: var(--radius); background: var(--red); color: #FFFFFF; }
.vision::after { content: ""; position: absolute; top: 0; bottom: 0; right: -20px; width: 60px; background: var(--red-light); transform: skewX(-24deg); }
.vision p { position: relative; }
.vision__label { margin-bottom: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.vision__text { padding-right: 48px; font-size: 22px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.panel { padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); }
.panel__label { margin-bottom: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.mission { margin: 0; padding: 0; list-style: none; }
.mission li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.mission li:last-child { padding-bottom: 0; border-bottom: 0; }
.mission span { padding-top: 2px; font-family: var(--mono); font-size: 13px; color: var(--red); }

/* Why choose us */
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 24px; margin: 48px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; padding: 20px 0; border-top: 1px solid var(--blush-rule); font-size: 16px; line-height: 1.5; }
.checks svg { flex: none; margin-top: 2px; color: var(--red); }
.subhead { margin-top: clamp(56px, 8vw, 96px); }
.subhead h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -0.02em; }
.subhead p { max-width: 32em; font-size: 16px; line-height: 1.6; color: var(--muted); }
.edge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.edge-card { padding: 28px; border-radius: var(--radius); background: #FFFFFF; }
.edge-card .num { font-size: 13px; color: var(--red); }
.edge-card h4 { margin: 16px 0 10px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.edge-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Offices */
.office-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 48px; }
.office { display: flex; flex-direction: column; gap: 8px; min-height: 200px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.office--hq { background: var(--blush); border-color: var(--blush-line); }
.office strong { margin-top: auto; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.office span:last-child { font-size: 15px; color: var(--muted); }
.pill { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--soft); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pill--red { background: var(--red); color: #FFFFFF; }

/* Contact & forms */
.contact-list { display: flex; flex-direction: column; margin: 36px 0 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-strong); font-size: 17px; }
.contact-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.contact-list svg { flex: none; color: var(--red); }
.contact-list a { font-weight: 500; }
.form-card { padding: clamp(20px, 3vw, 40px); border-radius: var(--radius); background: #FFFFFF; }
.form-card--soft { background: var(--soft); }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field label span { font-weight: 400; color: var(--subtle); }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 10px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 16px; }
textarea.input { line-height: 1.5; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 14px; border-radius: 10px; background: var(--blush); color: var(--red-dark); font-size: 15px; }
.form .btn { align-self: flex-start; }
.success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.success__icon { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--red); color: #FFFFFF; }
.success h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.success p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #FFFFFF; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; padding-top: 48px; padding-bottom: 32px; }
.footer-brand { flex: 1 1 240px; min-width: 0; }
.footer-brand img { width: auto; height: 34px; }
.footer-brand p { max-width: 22em; margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.footer-col a { padding: 8px 0; text-decoration: none; }
.footer-col p { max-width: 240px; font-size: 14px; line-height: 2; color: var(--muted); }
.footer-title { padding-bottom: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); }
.footer-bottom { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--subtle); }

/* Products page */
.page-hero { background: var(--soft); overflow: hidden; }
.page-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero__copy { flex: 1.4 1 520px; min-width: 0; }
.page-hero__art { position: relative; flex: 1 1 340px; min-width: 0; min-height: 260px; display: flex; align-items: center; }
.page-hero__art .slash { top: -80px; bottom: -80px; left: 56%; width: 24%; }
.page-hero__art .slash--light { left: 86%; width: 6%; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--subtle); }
.breadcrumb a { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips span { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #FFFFFF; font-size: 14px; }
.chips strong { font-weight: 600; }
.families-card { position: relative; width: 100%; max-width: 360px; padding: 24px 28px; border-radius: var(--radius); background: #FFFFFF; box-shadow: var(--shadow); }
.families-card ul { margin: 12px 0 0; padding: 0; list-style: none; }
.families-card li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid #EEF0F3; font-size: 15px; font-weight: 500; }
.families-card li:last-child { padding-bottom: 0; }
.families-card li span { font-family: var(--mono); color: var(--subtle); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid #B8BFC8; border-radius: 999px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.filter span { font-family: var(--mono); font-size: 12px; font-weight: 400; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #FFFFFF; }
.result-count { font-family: var(--mono); font-size: 13px; color: var(--subtle); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; margin-top: 36px; }
.product { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; }
.product__media { position: relative; border-bottom: 1px solid #EEF0F3; }
.product__media img { width: 100%; height: 190px; padding: 16px; object-fit: contain; }
.product__form { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--soft); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.product__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.product__family { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.product__name { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.product__summary { font-size: 15px; line-height: 1.55; color: var(--muted); }
.keyspecs { margin: 6px 0 0; }
.keyspecs div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #EEF0F3; font-size: 14px; }
.keyspecs dt { color: var(--subtle); }
.keyspecs dd { margin: 0; font-family: var(--mono); font-weight: 500; text-align: right; }
.product__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.product__actions .btn { flex: 1; padding: 0 12px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 36px; }
.cat { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); background: #FFFFFF; }
.cat__num { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--blush); font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--red-dark); }
.cat h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.cat p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.cat .toggle { flex: none; width: 100%; margin-top: auto; }

.quote-list { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.quote-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.quote-list li > span { display: flex; flex-direction: column; }
.quote-list strong { font-weight: 600; }
.quote-list small { font-family: var(--mono); font-size: 12px; color: var(--subtle); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--soft); }
.quote-empty { margin-top: 28px; padding: 20px; border: 1px dashed #B8BFC8; border-radius: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Spec dialog */
.spec-dialog { width: calc(100% - 32px); max-width: 980px; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 20px; color: var(--ink); }
.spec-dialog::backdrop { background: rgba(30, 39, 51, 0.45); }
.spec-dialog__inner { display: flex; flex-wrap: wrap; }
.spec-dialog__media { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 32px; background: var(--soft); }
.spec-dialog__media img { width: 100%; height: 280px; object-fit: contain; mix-blend-mode: multiply; }
.spec-dialog__media p { margin-top: 24px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.spec-dialog__body { flex: 1.3 1 380px; min-width: 0; padding: 32px; }
.spec-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.spec-dialog__head h2 { margin-top: 6px; font-size: 36px; font-weight: 600; letter-spacing: -0.03em; }
.spec-dialog__close { flex: none; border: 1px solid var(--line-strong); background: #FFFFFF; }
.spec-table { margin: 24px 0 0; }
.spec-table div { display: grid; grid-template-columns: minmax(120px, 2fr) minmax(0, 3fr); gap: 16px; padding: 10px 0; border-top: 1px solid #EEF0F3; font-size: 14px; line-height: 1.45; }
.spec-table dt { color: var(--subtle); }
.spec-table dd { margin: 0; font-weight: 500; }
.spec-dialog__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.spec-dialog__actions .toggle { flex: none; min-height: 48px; padding: 0 24px; font-size: 15px; }
.spec-dialog__actions .btn { min-height: 48px; font-size: 15px; }

/* Simple pages (thanks, 404) */
.simple { min-height: 60vh; display: flex; align-items: center; background: var(--soft); }
.simple .container { padding-top: 96px; padding-bottom: 96px; }
.simple p { max-width: 34em; margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .family-card, .btn { transition: none; }
}
