/* agentuur.org — one stylesheet, no build step. Tokens first, then layout, then components. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.260c81a4759b.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.1ad231aac0a8.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy-950: #081729;
  --navy-900: #0b1f3a;
  --navy-800: #12294b;
  --navy-700: #1b3a66;
  --navy-100: #e6ecf5;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-50: #ecf8f6;
  --text: #16233a;
  --muted: #56657a;
  --border: #dbe2ea;
  --border-strong: #c3cdd9;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --success-bg: #ecf8f6;
  --info-bg: #eef4fb;
  --amber-bg: #fff7e6;
  --amber-text: #8a5300;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 4px 16px rgba(11, 31, 58, 0.06);
  --shadow-lg: 0 2px 4px rgba(11, 31, 58, 0.06), 0 12px 32px rgba(11, 31, 58, 0.1);
  --wrap: 1160px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, .h3 { hyphens: auto; -webkit-hyphens: auto; color: var(--navy-900); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 650; }
h3, .h3 { font-size: 1.15rem; font-weight: 620; }
p { margin: 0 0 1em; }

.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 { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy-900); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.fine-print { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--navy-900); text-decoration: none; }
.brand:hover { color: var(--navy-900); }
.logo-mark { width: 30px; height: 30px; flex: none; color: var(--navy-800); }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .logo-mark { color: var(--teal-600); }

.site-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: flex-end; }
.nav-links, .lang-switch { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-links a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { background: var(--bg-alt); color: var(--navy-900); }
.nav-links a[aria-current="page"] { color: var(--navy-900); background: var(--navy-100); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 2px; }
.lang-switch a { display: block; padding: 3px 8px; font-size: 0.78rem; font-weight: 600; text-decoration: none; color: var(--muted); border-radius: 4px; }
.lang-switch a[aria-current="true"] { background: var(--navy-800); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 18px; height: 2px; background: var(--navy-900); position: relative; content: ""; transition: transform 0.2s; }
  .nav-toggle-bar::before { position: absolute; top: -6px; }
  .nav-toggle-bar::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; gap: 12px; }
  .site-nav.open { display: flex; }
  .nav-links { flex-direction: column; }
  .nav-links a { padding: 12px; }
  .nav-actions { justify-content: space-between; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--radius-sm); border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 0.97rem; text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; white-space: nowrap; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-950); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy-900); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--navy-700); color: var(--navy-900); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--navy-100); color: var(--navy-900); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%); border-bottom: 1px solid var(--border); padding: 96px 0 80px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; opacity: 0.45; mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000 0%, transparent 70%); pointer-events: none; }
.hero-inner { position: relative; max-width: var(--wrap); }
.hero h1 { max-width: 16ch; }
.hero-page { padding: 72px 0 56px; }
.hero-page h1 { max-width: 22ch; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.hero-compact { padding: 48px 0 36px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 650; color: var(--teal-700); margin-bottom: 16px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.lead-sm { font-size: 1.1rem; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-list { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 0.93rem; color: var(--navy-800); font-weight: 500; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.icon { width: 18px; height: 18px; color: var(--teal-700); flex: none; }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 48px 0 80px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-wide { grid-template-columns: 1.6fr 1fr; align-items: start; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split-wide { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
}

/* ---------- cards & features ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.card-link:hover { color: var(--text); border-color: var(--navy-700); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-link p { color: var(--muted); }
.card-price { font-weight: 600; color: var(--navy-800); font-size: 0.95rem; margin-top: auto; padding-top: 8px; }
.card-more { margin-top: 12px; font-weight: 600; font-size: 0.93rem; color: var(--teal-700); }
.card-accent { border-color: var(--navy-800); border-width: 2px; }
.service-icon { width: 44px; height: 44px; margin-bottom: 20px; padding: 8px; border-radius: var(--radius-sm); background: var(--navy-100); fill: none; stroke: var(--navy-800); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-icon .dot { fill: var(--teal-600); stroke: none; }
.feature h3 { margin-top: 14px; }
.feature p { color: var(--muted); font-size: 0.97rem; }
.feature-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-50); }
.note { border-left: 3px solid var(--teal-600); padding: 4px 0 4px 24px; }
.note p { color: var(--muted); }
.note-inline { margin-top: 24px; font-size: 0.95rem; }

/* ---------- aggregator diagram ---------- */
.stack-diagram { margin: 0; display: flex; flex-direction: column; align-items: stretch; }
.tier { border-radius: var(--radius); padding: 18px 22px; text-align: center; }
.tier-you { background: #fff; border: 1px solid var(--border-strong); font-weight: 600; color: var(--navy-900); }
.tier-agentuur { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); padding: 24px 22px; }
.tier-agentuur strong { display: block; font-size: 1.25rem; letter-spacing: -0.01em; }
.tier-agentuur > span { display: block; font-size: 0.88rem; color: #b8c6da; margin-top: 2px; }
.tier-services, .provider-chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tier-services li { font-size: 0.82rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); }
.tier-providers { background: #fff; border: 1px dashed var(--border-strong); }
.tier-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 600; }
.provider-chips li { font-size: 0.85rem; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--border); color: var(--navy-800); }
.tier-link { width: 2px; height: 28px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--navy-700) 0 4px, transparent 4px 8px); }

/* ---------- steps & flows ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.step-num, .flow-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-800); color: #fff; font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; flex: none; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

.flow { list-style: none; padding: 0; margin: 0; display: flex; gap: 0; }
.flow-step { flex: 1; position: relative; display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--border); padding: 20px 20px 20px 22px; font-weight: 600; color: var(--navy-900); font-size: 0.97rem; line-height: 1.35; }
.flow-step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.flow-step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.flow-step + .flow-step { border-left: none; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 16px; height: 16px; background: #fff; border-top: 1px solid var(--border); border-right: 1px solid var(--border); transform: translateY(-50%) rotate(45deg); z-index: 1; }
@media (max-width: 800px) {
  .flow { flex-direction: column; }
  .flow-step { flex-direction: row; align-items: center; gap: 14px; border-radius: 0 !important; }
  .flow-step:first-child { border-radius: var(--radius) var(--radius) 0 0 !important; }
  .flow-step:last-child { border-radius: 0 0 var(--radius) var(--radius) !important; }
  .flow-step + .flow-step { border-left: 1px solid var(--border); border-top: none; }
  .flow-step .flow-num { margin: 0; }
  .flow-step:not(:last-child)::after { display: none; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-900); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #b8c6da; margin: 0; max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- tables ---------- */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; hyphens: auto; -webkit-hyphens: auto; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; background: var(--bg-alt); white-space: nowrap; }
.table tbody th { font-weight: 600; color: var(--navy-900); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: none; }
.table tfoot th, .table tfoot td { border-top: 2px solid var(--border-strong); border-bottom: none; font-weight: 600; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cell-note { display: block; font-weight: 400; color: var(--muted); font-size: 0.83rem; }
.badge { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; background: var(--amber-bg); color: var(--amber-text); vertical-align: middle; margin-left: 4px; cursor: help; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 8px; }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy-900); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff; color: var(--text); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(27, 58, 102, 0.15); }
.has-error input, .has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.85rem; margin: 6px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; }
.alert-success { background: var(--success-bg); border: 1px solid #b7e2da; }
.alert-error { background: var(--danger-bg); border: 1px solid #f5c2bd; color: var(--danger); }
.alert-info { background: var(--info-bg); border: 1px solid #cfdcee; }
.form .btn { margin-top: 8px; }

/* ---------- configurator ---------- */
.configurator { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.config-section { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin: 0 0 24px; background: #fff; min-width: 0; }
.config-section legend { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 650; color: var(--navy-900); padding: 0 8px; margin-left: -8px; }
.config-section legend .step-num { margin: 0; }
.config-sub { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 24px 0 10px; }
.table-config td, .table-config th { padding: 10px 14px; }
.stepper-cell { width: 1%; }
.config-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.config-item:last-child { border-bottom: none; }
.config-item-text { display: flex; flex-direction: column; gap: 2px; }
.config-item-text strong { color: var(--navy-900); }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; flex: none; }
.stepper input { width: 52px; border: none; text-align: center; font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--navy-900); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-btn { width: 38px; min-height: 38px; border: none; background: var(--bg-alt); color: var(--navy-900); font-size: 1.15rem; cursor: pointer; }
.stepper-btn:hover { background: var(--navy-100); }
.stepper.is-active { border-color: var(--navy-700); }
.stepper[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
[data-ai-units].is-disabled { opacity: 0.45; }
.switch { position: relative; display: inline-flex; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch-ui { width: 48px; height: 28px; border-radius: 999px; background: var(--border-strong); position: relative; transition: background 0.15s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.15s; }
.switch input:checked + .sr-only + .switch-ui { background: var(--navy-800); }
.switch input:checked + .sr-only + .switch-ui::after { transform: translateX(20px); }
.switch input:focus-visible + .sr-only + .switch-ui { outline: 3px solid var(--teal-600); outline-offset: 2px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 12px; }
@media (max-width: 640px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 16px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.choice:has(input:checked) { border-color: var(--navy-800); background: var(--navy-100); }
.choice input { margin-top: 4px; accent-color: var(--navy-800); }
.choice-body { display: flex; flex-direction: column; gap: 4px; }
.choice-body strong { color: var(--navy-900); }

.config-summary { position: sticky; top: 92px; }
.summary-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px; }
.summary-lines { list-style: none; padding: 0; margin: 0 0 16px; font-size: 0.93rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.summary-lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 4px; font-weight: 600; color: var(--navy-900); }
.summary-total strong { font-size: 1.7rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.summary-card .btn { margin-top: 12px; }
@media (max-width: 1000px) {
  .configurator { grid-template-columns: minmax(0, 1fr); }
  .config-summary { position: static; }
}
@media (max-width: 640px) {
  .config-section { padding: 20px 16px; }
  .table-config th, .table-config td { padding: 10px 8px; }
  .table-config .hide-sm { display: none; }
  .table-config .badge { display: none; }
}

/* ---------- prose, details, quote ---------- */
.prose p { font-size: 1.05rem; }
.prose h2 { margin-top: 2em; }
.details { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; font-size: 0.95rem; }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 500; color: var(--navy-900); }
.details-lg { font-size: 1.02rem; gap: 12px 32px; margin-top: 24px; }
@media (max-width: 480px) { .details { grid-template-columns: 1fr; gap: 2px; } .details dd { margin-bottom: 10px; } }
.quote-doc { margin-bottom: 40px; }
.quote-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.list-numbered { padding-left: 1.3em; color: var(--muted); }
.list-numbered li { margin-bottom: 6px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #b8c6da; padding: 64px 0 0; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-grid h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer a { color: #b8c6da; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin: 14px 0 0; max-width: 32ch; }
.site-footer .muted { color: #7f91aa; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; padding-bottom: 28px; font-size: 0.83rem; color: #7f91aa; }
.footer-legal p { margin: 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); hyphens: auto; -webkit-hyphens: auto; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- accounts & portal ---------- */
.narrow-sm { max-width: 520px; }
.h1-sm { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.mt { margin-top: 40px; }
.nav-account { font-size: 0.95rem; font-weight: 500; color: var(--text); text-decoration: none; white-space: nowrap; }
.nav-account:hover { color: var(--navy-900); text-decoration: underline; }
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.portal-head .lead { margin: 0; }
.summary-or { margin: 8px 0 -4px; }
.subscribe-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.subscribe-cta p { margin: 0; max-width: 52ch; }
.code-input { font-size: 1.6rem !important; letter-spacing: 0.4em; text-align: center; font-variant-numeric: tabular-nums; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 4px; font-size: 0.95rem; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy-800); flex: none; }
.check.has-error { color: var(--danger); }
.field select { appearance: auto; }
.status { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); white-space: nowrap; vertical-align: middle; }
.status-live, .status-active, .status-paid { background: var(--teal-50); color: var(--teal-700); }
.status-provisioning, .status-open { background: var(--info-bg); color: var(--navy-700); }
.status-awaiting_payment_method, .status-pending { background: var(--amber-bg); color: var(--amber-text); }
.status-cancelled, .status-void, .status-uncollectible { background: var(--danger-bg); color: var(--danger); }

/* ---------- print (quotes) ---------- */
@media print {
  .site-header, .site-footer, .no-print, .skip { display: none !important; }
  body { font-size: 12pt; }
  .card { box-shadow: none; border: none; padding: 0; }
  .section { padding: 0; }
}
