/* Rapido Fuego Global Trade
   Palette (client brief): #2b6777 teal, #52ab98 green, #c8d8e4 mist blue, #f2f2f2 light grey, #ffffff.
   Darker teal shades are only used where text needs more contrast.
   Type: Red Hat Display for headings, Red Hat Text for reading. Icons: /assets/img/icons.svg */

@font-face { font-family: "Red Hat Display"; src: url("/assets/fonts/red-hat-display-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 300 900; font-display: swap; 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: "Red Hat Display"; src: url("/assets/fonts/red-hat-display-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 300 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Red Hat Text"; src: url("/assets/fonts/red-hat-text-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 300 700; font-display: swap; 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: "Red Hat Text"; src: url("/assets/fonts/red-hat-text-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --teal: #2b6777;
  --teal-deep: #22535f;
  --green: #52ab98;
  --mist: #c8d8e4;
  --grey: #f2f2f2;
  --white: #ffffff;
  --ink: #163c46;
  --muted: #405d66;
  --on-teal: #ffffff;
  --on-teal-mute: #e4eef2;
  --on-green: #0f3038;
  --line: #dde5ea;
  --field: #7d939b;
  --ok: #1d6b58;
  --err: #b23a2e;

  /* icon fills, read by the sprite */
  --i1: var(--mist);
  --i2: var(--green);
  --i3: var(--white);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(22, 60, 70, .05), 0 10px 30px -12px rgba(22, 60, 70, .18);

  --display: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Red Hat Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--grey); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.on-teal :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); margin: 0; color: var(--ink); letter-spacing: -0.015em; }
h1 { font-weight: 800; line-height: 1.06; }
h2 { font-weight: 750; line-height: 1.12; font-size: clamp(1.875rem, 1.3rem + 2vw, 2.625rem); }
h3 { font-weight: 700; line-height: 1.25; font-size: 1.1875rem; letter-spacing: -0.005em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--teal); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.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; }

/* Icons */
.ico { width: 1.5em; height: 1.5em; flex: none; color: var(--teal); }
.ico-badge { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); flex: none; }
.ico-badge .ico { width: 34px; height: 34px; }
.ico-badge.mist { background: var(--mist); --i1: var(--white); }
.ico-badge.lg { width: 72px; height: 72px; }
.ico-badge.lg .ico { width: 44px; height: 44px; }
.ico-badge.sm { width: 40px; height: 40px; }
.ico-badge.sm .ico { width: 24px; height: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 22px; height: 22px; }
.btn-primary { background: var(--teal); color: var(--white); --i1: rgba(255, 255, 255, .25); --i2: var(--green); }
.btn-primary:hover { background: var(--teal-deep); color: var(--white); }
.btn-primary .ico { color: var(--white); }
.btn-accent { background: var(--green); color: var(--on-green); }
.btn-accent:hover { background: #63b8a6; color: var(--on-green); }
.btn-accent .ico { color: var(--on-green); --i1: rgba(255, 255, 255, .5); --i2: var(--white); }
.btn-ghost { background: var(--white); border-color: var(--teal); color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--white); }
.btn-ghost:hover .ico { color: var(--white); }
.btn-light { background: var(--white); color: var(--teal); }
.btn-light:hover { background: var(--mist); color: var(--teal-deep); }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 30px; flex: none; }
.brand-mark .b1 { fill: var(--mist); }
.brand-mark .b2 { fill: var(--green); }
.brand-mark .b3 { fill: var(--teal); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word { font-family: var(--display); font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.01em; }
.brand-sub { font-size: .8125rem; font-weight: 500; color: var(--muted); margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: .96875rem; font-weight: 500; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 6px 0; }
.site-nav a:not(.btn):hover { color: var(--teal); }
.lang-link { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px !important; font-size: .8125rem; font-weight: 700; background: var(--grey); }
.lang-link .ico { width: 16px; height: 16px; }
.menu-toggle { display: none; }

@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--teal); border-radius: 999px; background: var(--white); color: var(--teal); font: inherit; font-weight: 700; cursor: pointer; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--gutter) 20px; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .lang-link { align-self: flex-start; margin: 14px 0; border-bottom: 1px solid var(--line); }
}

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-white { background: var(--white); }
.section-mist { background: var(--mist); }
.section-teal { background: var(--teal); color: var(--on-teal); }
.section-teal h2, .section-teal h3 { color: var(--on-teal); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.125rem; margin: 0; }
.section-teal .section-head p { color: var(--on-teal-mute); }
.section-mist .section-head p { color: var(--muted); }

/* Hero */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 1.3rem + 3vw, 3.375rem); margin-bottom: 20px; max-width: 19ch; }
.lede { font-size: 1.1875rem; line-height: 1.6; color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.trust li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.trust .ico-badge { box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Trade flow diagram */
.flow { margin: 0; background: var(--white); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 32px); box-shadow: var(--shadow); }
.flow svg { width: 100%; height: auto; overflow: visible; }
.flow-tall, .flow-tall-caption { display: none; }
.flow .node { fill: var(--grey); stroke: var(--line); stroke-width: 1.5; }
.flow .node-us { fill: var(--teal); stroke: none; }
.flow .node-label { font-family: var(--display); font-size: 17px; font-weight: 700; fill: var(--ink); }
.flow .node-label-us { fill: #fff; font-size: 19px; }
.flow .flow-label { font-size: 14.5px; fill: var(--muted); }
.flow .flow-label .strong { fill: var(--ink); font-weight: 700; }
.flow .flow-title { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: 5 6; }
.flow .flow-goods { fill: none; stroke: var(--green); stroke-width: 8; stroke-linecap: round; }
.flow .fill-teal { fill: var(--teal); }
.flow .fill-green { fill: var(--green); }
.flow .ico-node { color: var(--teal); }
.flow .truck-badge { fill: var(--white); stroke: var(--green); stroke-width: 2; }
.flow .mark .b1 { fill: var(--mist); } .flow .mark .b2 { fill: var(--green); } .flow .mark .b3 { fill: var(--white); }
.flow-tall-caption { gap: 10px; align-items: center; margin-top: 16px; color: var(--muted); font-size: .9375rem; }
.flow-tall-caption .swatch { width: 26px; height: 8px; border-radius: 4px; background: var(--green); flex: none; }
.flow-tall-caption strong { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .flow .truck { animation: drive 1.8s cubic-bezier(.3, .1, .2, 1) .3s both; }
  .flow-tall .truck { animation-name: drive-down; }
}
@keyframes drive { from { transform: translateX(-120px); opacity: 0; } 15% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes drive-down { from { transform: translateY(-110px); opacity: 0; } 15% { opacity: 1; } to { transform: none; opacity: 1; } }
@media (max-width: 600px) {
  .flow-wide { display: none; }
  .flow-tall { display: block; max-width: 340px; margin-inline: auto; }
  .flow-tall-caption { display: flex; }
}

/* Business lines */
.lines { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.line-card { border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 14px; align-content: start; }
.line-card p { margin: 0; color: var(--muted); max-width: 52ch; }
.line-card h3 { font-size: 1.5rem; }
.line-card .tag { justify-self: start; font-size: .8125rem; font-weight: 700; color: var(--teal); background: var(--mist); border-radius: 999px; padding: 4px 12px; }
.line-card .btn { justify-self: start; margin-top: 8px; }
.line-metal { background: var(--white); box-shadow: var(--shadow); }
.line-ai { background: var(--teal); color: var(--on-teal); }
.line-ai h3 { color: var(--on-teal); }
.line-ai p { color: var(--on-teal-mute); }
.line-ai .ico-badge { background: rgba(255, 255, 255, .12); }
.line-ai .ico-badge .ico { color: var(--white); --i1: rgba(255, 255, 255, .18); }
@media (max-width: 820px) { .lines { grid-template-columns: 1fr; } }

/* Metals */
.metal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metal { background: var(--grey); border-radius: var(--r); padding: 22px 20px 20px; display: grid; gap: 10px; align-content: start; }
.metal p { margin: 0; color: var(--muted); font-size: .96875rem; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip { font-size: .8125rem; font-weight: 600; color: #1f5560; background: var(--mist); border-radius: 999px; padding: 3px 10px; }
.metals-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; padding: 20px 24px; border-radius: var(--r); background: var(--grey); }
.metals-foot p { margin: 0; color: var(--muted); font-size: .9375rem; max-width: 64ch; }
@media (max-width: 1000px) { .metal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .metal-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 36px; left: 12%; right: 12%; border-top: 2px dashed rgba(43, 103, 119, .45); }
.steps li { counter-increment: step; position: relative; background: var(--white); border-radius: var(--r); padding: 0 20px 24px; margin-top: 36px; text-align: center; }
.steps .ico-badge { margin: -36px auto 14px; box-shadow: 0 0 0 6px var(--mist); position: relative; }
.steps .ico-badge::after { content: counter(step); position: absolute; right: -4px; top: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--display); font-weight: 800; font-size: .875rem; display: grid; place-items: center; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: .96875rem; }
.buyers-note { display: flex; align-items: center; gap: 16px; margin-top: 28px; background: rgba(255, 255, 255, .6); border-radius: var(--r); padding: 16px 20px; }
.buyers-note p { margin: 0; flex: 1; }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .buyers-note { flex-direction: column; align-items: flex-start; }
}

/* AI servers */
.ai-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.ai-grid .section-head { margin-bottom: 0; }
.ai-grid .section-head .btn { margin-top: 28px; }
.platforms { display: grid; gap: 12px; }
.platform { display: flex; gap: 18px; align-items: flex-start; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); padding: 20px; }
.platform .ico-badge { background: var(--green); --i1: rgba(255, 255, 255, .55); --i2: var(--white); }
.platform .ico-badge .ico { color: var(--on-green); }
.platform h3 { margin-bottom: 4px; }
.platform p { margin: 0; color: var(--on-teal-mute); font-size: .96875rem; }
.fine { font-size: .875rem; color: var(--on-teal-mute); margin: 40px 0 0; max-width: 80ch; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } }

/* Company */
.company-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.company-grid .section-head { margin-bottom: 0; }
.company-grid .section-head p + p { margin-top: 1em; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 16px; align-items: center; background: var(--grey); border-radius: var(--r); padding: 14px 18px; }
.fact-label { display: block; font-size: .875rem; color: var(--muted); }
.fact-value { display: block; font-weight: 600; }
@media (max-width: 900px) { .company-grid { grid-template-columns: 1fr; } }

/* Contact and forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-grid .section-head { margin-bottom: 0; }
.contact-items { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-items li { display: flex; gap: 14px; align-items: center; }
.contact-items a { font-weight: 600; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); display: grid; gap: 20px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field legend, .field-label { font-size: .9375rem; font-weight: 600; padding: 0; margin-bottom: 6px; }
.field-label em { font-style: normal; font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field-hint { font-size: .875rem; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--field); border-radius: var(--r-sm); padding: 11px 14px; min-height: 48px; }
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); background-position: calc(100% - 22px) 21px, calc(100% - 16px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(82, 171, 152, .45); outline-offset: 0; border-color: var(--teal); }
.invalid input, .invalid select, .invalid textarea, input.invalid { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .96875rem; cursor: pointer; background: var(--grey); transition: background-color .12s, border-color .12s; }
.choice span:hover { border-color: var(--green); }
.choice span .ico { width: 20px; height: 20px; }
.choice input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; --i1: rgba(255, 255, 255, .25); }
.choice input:checked + span .ico { color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .9375rem; color: var(--muted); align-items: start; }
.consent input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--teal); }
.consent.invalid span { color: var(--err); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form.sent > :not(.form-status) { display: none; }
.form.sent .form-status { font-size: 1.1875rem; display: flex; gap: 14px; align-items: flex-start; }

/* Footer */
.site-footer { background: var(--teal); color: var(--on-teal); padding: 56px 0 28px; }
.site-footer a { color: var(--on-teal); }
.site-footer .brand, .site-footer .brand:hover { color: var(--white); }
.site-footer .brand-sub { color: var(--on-teal-mute); }
.site-footer .brand-mark .b3 { fill: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 40px; }
.footer-brand p { color: var(--on-teal-mute); margin-top: 18px; max-width: 32ch; }
.footer-legal p { color: var(--on-teal-mute); font-size: .9375rem; }
.footer-legal strong { color: var(--white); font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: .9375rem; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .875rem; color: var(--on-teal-mute); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Legal pages */
.doc { padding: clamp(40px, 6vw, 80px) 0; }
.doc .wrap { max-width: 880px; }
.doc .doc-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px); box-shadow: var(--shadow); }
.doc h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); margin-bottom: .4em; }
.doc h2 { font-size: 1.375rem; margin: 2em 0 .6em; }
.doc p, .doc li { max-width: 70ch; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc table { border-collapse: collapse; width: 100%; margin: 1em 0 1.5em; font-size: .96875rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-top: 1px solid var(--line); }
.doc th { width: 36%; font-weight: 600; color: var(--muted); }
.doc .updated { color: var(--muted); font-size: .875rem; }

/* 404 */
.notfound { padding: clamp(72px, 10vw, 140px) 0; }
.notfound .ico-badge { margin-bottom: 24px; }
.notfound h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem); margin-bottom: .4em; }

/* Configurator */
.cfg-intro { padding: clamp(36px, 5vw, 72px) 0 clamp(20px, 3vw, 36px); }
.cfg-intro-row { display: flex; gap: 24px; align-items: center; }
.cfg-intro h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.25rem); margin-bottom: .3em; }
.cfg-intro .lede { margin: 0; }
.cfg-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 3vw, 40px); align-items: start; padding-bottom: clamp(64px, 8vw, 112px); }
.quote-form { background: none; box-shadow: none; padding: 0; gap: 16px; border-radius: 0; }
.cfg-section { background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; box-shadow: var(--shadow); }
.cfg-section h2 { display: flex; align-items: center; gap: 14px; font-size: 1.375rem; }
.cfg-section h2 .ico-badge { background: var(--mist); --i1: var(--white); }
.cfg-section-note, .cfg-rack-note { margin: 0; color: var(--muted); max-width: 62ch; }
.cfg-rack-note { background: var(--grey); border-radius: var(--r-sm); padding: 14px 18px; color: var(--ink); }
.cfg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.cfg-grid > .cfg-field[data-field="memory"], .cfg-grid > .cfg-field[data-field="boot"], .cfg-grid > .cfg-field[data-field="fabric"], .cfg-grid > .cfg-field[data-field="cooling"], .cfg-grid > .cfg-field[data-field="condition"], .cfg-grid > .cfg-field[data-field="dataCount"], .cfg-grid > .cfg-check { grid-column: 1 / -1; }
.cfg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.cfg-cards-platform { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.cfg-card { position: relative; display: flex; }
.cfg-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cfg-card-body { flex: 1; display: grid; align-content: start; gap: 4px; padding: 16px; background: var(--grey); border: 2px solid transparent; border-radius: var(--r); cursor: pointer; transition: border-color .12s, background-color .12s; }
.cfg-card-body .ico { width: 40px; height: 40px; margin-bottom: 6px; }
.cfg-card:hover .cfg-card-body { border-color: var(--mist); }
.cfg-card input:checked + .cfg-card-body { border-color: var(--teal); background: #eaf2f5; }
.cfg-card input:focus-visible + .cfg-card-body { outline: 3px solid var(--teal); outline-offset: 2px; }
.cfg-card-title { font-family: var(--display); font-weight: 700; line-height: 1.25; }
.cfg-card-detail { color: var(--muted); font-size: .9375rem; }
.cfg-status { justify-self: start; margin-top: 6px; font-size: .8125rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.cfg-status-current { background: #d7ede7; color: #1b5a4e; }
.cfg-status-limited { background: var(--mist); color: #1f5560; }
.cfg-status-preorder { background: var(--white); color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.cfg-status-legacy { background: var(--white); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.invalid .cfg-card-body { border-color: var(--err); }
.qty-row { display: flex; align-items: center; gap: 10px; }
.qty-row input { max-width: 140px; }
.qty-unit { color: var(--muted); }
.cfg-check { align-items: center; color: var(--ink); font-size: 1rem; }
.cfg-summary { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; border-radius: var(--r-lg); }
.cfg-summary-inner { background: var(--teal); color: var(--on-teal); border-radius: var(--r-lg); padding: 24px; }
.cfg-summary h2 { display: flex; gap: 12px; align-items: center; color: var(--white); font-size: 1.25rem; margin-bottom: 14px; }
.cfg-summary h2 .ico { color: var(--white); --i1: rgba(255, 255, 255, .2); width: 28px; height: 28px; }
.cfg-summary-list { margin: 0; }
.cfg-summary-list div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.cfg-summary-list dt { font-size: .8125rem; line-height: 1.45; color: var(--on-teal-mute); }
.cfg-summary-list dd { margin: 0; font-weight: 600; font-size: .875rem; line-height: 1.4; }
.cfg-summary-list dd.muted { color: var(--mist); font-style: italic; font-weight: 500; }
.cfg-summary-note { margin: 14px 0 0; font-size: .8125rem; color: var(--on-teal-mute); }
.quote-form.sent .form-status { background: var(--white); border-radius: var(--r-lg); padding: 28px; color: var(--ink); box-shadow: var(--shadow); }
.form-status .ico { width: 40px; height: 40px; }
@media (max-width: 980px) {
  .cfg-layout { grid-template-columns: 1fr; }
  .cfg-summary { position: static; max-height: none; }
}
@media (max-width: 640px) {
  .cfg-grid { grid-template-columns: 1fr; }
  .cfg-cards-platform { grid-template-columns: 1fr; }
  .cfg-intro-row .ico-badge { display: none; }
}
.cfg-sections { display: grid; gap: 16px; }
