/* Turnkey AI Servers and Private AI Infrastructure — Bercman Engineering */

:root {
  /* Brand: #214099 and Montserrat come from bercman.com; the night and electric tones from its dot-wave artwork. */
  --night: #0A1030;
  --night-2: #101A45;
  --brand: #214099;
  --brand-hi: #2B51BD;
  --electric: #4DB2FF;

  --white: #FFFFFF;
  --paper: #F4F6FB;
  --ink: #0E1530;
  --ink-2: #434B66;
  --line: #DCE1EC;
  --on-dark: #C6CEE4;
  --line-dark: rgba(198, 206, 228, .2);
  --error: #B42318;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-lg: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-xl: 1.25rem;
  --fs-2xl: clamp(1.875rem, 1.4rem + 2vw, 3rem);
  --fs-3xl: clamp(2.25rem, 1.45rem + 3.5vw, 4rem);

  --section-pad: clamp(72px, 9vw, 136px);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 76px;
  --radius: 4px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--night); color: var(--ink-2); font: 400 var(--fs-base)/1.65 var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--fs-3xl); font-weight: 600; line-height: 1.06; letter-spacing: -.03em; color: var(--white); }
h2 { font-size: var(--fs-2xl); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; }
h3 { font-size: var(--fs-xl); font-weight: 600; line-height: 1.3; letter-spacing: -.012em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
main section[id] { scroll-margin-top: var(--nav-h); }
#main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 3px; }
.hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .section--brand :focus-visible { outline-color: var(--electric); }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -120px; z-index: 200; padding: 12px 18px; background: var(--white); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 12px; }

.lead { font-size: var(--fs-lg); line-height: 1.6; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius); font: 600 .9375rem/1.25 var(--font-body); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #DDE6FF; }
.btn-ghost { border-color: rgba(255,255,255,.34); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.07); }
.btn-brand { background: var(--brand); color: var(--white); }
.btn-brand:hover { background: var(--brand-hi); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); border-bottom: 1px solid var(--line-dark); }
.nav { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.logo { display: inline-flex; padding-block: 6px; }
.logo img { width: 168px; }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; font-size: var(--fs-sm); font-weight: 500; color: var(--on-dark); text-decoration: none; transition: color .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-cta { display: none; }
.nav-toggle { margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; background: none; color: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); cursor: pointer; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--nav-h)); overflow-y: auto; padding-block: 8px 24px; background: var(--night); border-bottom: 1px solid var(--line-dark); opacity: 0; transition: opacity .2s; }
.mobile-menu.is-open { opacity: 1; }
.mobile-links { margin-bottom: 20px; }
.mobile-links li { border-bottom: 1px solid var(--line-dark); }
.mobile-links .nav-link { display: flex; min-height: 54px; padding: 0; font: 600 var(--fs-lg)/1.2 var(--font-display); }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; margin-left: 12px; }
  .nav-toggle, .mobile-menu { display: none !important; }
}

/* Hero */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); color: var(--on-dark); background: var(--night) url("assets/hero-bg.webp") right top / cover no-repeat; }
.hero-grid { display: grid; gap: 56px; align-items: center; padding-block: clamp(56px, 8vw, 112px); }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 58ch; }
.cta-group { display: grid; gap: 12px; max-width: 580px; margin-top: 36px; }
@media (min-width: 560px) {
  .cta-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-group .btn-light { grid-column: 1 / -1; }
}
.audience { margin-top: 28px; padding-top: 20px; max-width: 580px; border-top: 1px solid var(--line-dark); font-size: var(--fs-sm); }

.rack { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.rack figcaption { margin-top: 10px; text-align: right; font: 500 .6875rem/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); }
.rack svg { width: 100%; }
.r-frame { fill: rgba(10,16,48,.72); stroke: rgba(198,206,228,.34); }
.r-rail { fill: none; stroke: rgba(198,206,228,.3); stroke-width: 2; stroke-dasharray: 2 12; }
.r-chassis { fill: #111C4C; stroke: rgba(198,206,228,.3); }
.r-chassis--hi { fill: #16245E; stroke: rgba(77,178,255,.6); }
.r-unit { fill: #0D1640; stroke: rgba(198,206,228,.26); }
.r-fins { fill: none; stroke: rgba(198,206,228,.3); }
.r-bay { fill: #0D1640; stroke: rgba(198,206,228,.3); }
.r-callouts { fill: var(--electric); }
.r-callouts path { fill: none; stroke: var(--electric); stroke-opacity: .6; }
.r-labels { font: 500 13px var(--font-mono); letter-spacing: .08em; fill: var(--white); paint-order: stroke; stroke: var(--night); stroke-width: 5px; stroke-linejoin: round; }
.led { fill: var(--electric); animation: led 2.4s ease-in-out var(--d, 0s) infinite; }
@keyframes led { 50% { opacity: .3; } }
.scan { fill: var(--electric); opacity: .55; animation: scan 6s ease-in-out infinite alternate; }
@keyframes scan { to { transform: translateY(228px); } }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 72px; }
  .rack { max-width: none; }
}
@media (max-width: 1023px) { .hero { background-image: linear-gradient(rgba(10,16,48,.84), rgba(10,16,48,.9)), url("assets/hero-bg.webp"); } }

/* Sections */
.section { padding-block: var(--section-pad); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--brand { background: var(--brand); color: var(--white); }
.section--brand h2 { color: var(--white); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head p { margin-top: 20px; font-size: var(--fs-lg); line-height: 1.6; }
.split { display: grid; gap: 40px; }
.split .section-head { margin-bottom: 0; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
  .split .section-head { position: sticky; top: calc(var(--nav-h) + 40px); }
}

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease) calc(var(--i, 0) * 70ms), transform .7s var(--ease) calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Paths */
.paths { display: grid; gap: 16px; }
.path { display: grid; gap: 24px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); align-content: start; transition: border-color .2s; }
.path:hover { border-color: var(--brand); }
.path-num { display: block; margin-bottom: 14px; font: 500 .8125rem/1 var(--font-mono); color: var(--brand); }
.path-terms { padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.price { margin-bottom: 8px; font: 600 1.5rem/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.price small { font: 500 .8125rem/1 var(--font-body); letter-spacing: 0; color: var(--ink-2); }
.path .btn { align-self: end; }
@media (min-width: 1024px) {
  .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); column-gap: 20px; row-gap: 0; }
  .path { grid-row: span 4; grid-template-rows: subgrid; row-gap: 24px; }
}

/* Catalogue */
.catalogue { position: relative; background: radial-gradient(90% 60% at 85% 0%, rgba(43,81,189,.28), transparent 70%), var(--night); color: var(--on-dark); }
.catalogue h2, .catalogue h3 { color: var(--white); }
.catalogue :focus-visible { outline-color: var(--electric); }
.eyebrow { margin-bottom: 18px; font: 500 .75rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--electric); }

.platform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-bottom: clamp(40px, 5vw, 64px); border: 1px solid var(--line-dark); border-radius: 6px; overflow: hidden; background: var(--line-dark); }
.platform li { display: grid; gap: 8px; align-content: start; padding: clamp(18px, 2.4vw, 28px); background: var(--night); }
.platform b { font: 600 clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem)/1 var(--font-display); letter-spacing: -.025em; color: var(--white); }
.platform span { font-size: var(--fs-sm); line-height: 1.45; }
@media (min-width: 1024px) { .platform { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Tabs only exist with JS; without it every configuration is listed. */
.cfg-tabs { display: none; }
.js .cfg-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.js .cfg-panel:not(.is-active) { display: none; }
.cfg-tab { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 4px 12px; min-height: 64px; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 4px; background: none; color: var(--on-dark); text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s; }
.cfg-tab:hover { border-color: rgba(198,206,228,.5); }
.cfg-tab[aria-selected="true"] { border-color: var(--electric); background: rgba(77,178,255,.08); color: var(--white); }
.cfg-tab-num { grid-row: span 2; font: 500 .75rem/1.5 var(--font-mono); color: var(--electric); }
.cfg-tab-name { display: grid; font-size: var(--fs-sm); line-height: 1.35; }
.cfg-tab-name b { font: 600 var(--fs-base)/1.3 var(--font-display); color: var(--white); overflow-wrap: anywhere; }
.cfg-tab-cpu { font: 500 .6875rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 1024px) { .js .cfg-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.product { display: grid; gap: 36px; padding-block: clamp(40px, 5vw, 72px); }
.cfg-panel:focus-visible { outline-offset: 8px; }
.product-stage { position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 7%; overflow: hidden; border-radius: 6px; background: radial-gradient(75% 70% at 50% 42%, #FFFFFF 0%, #EEF1F7 55%, #D3DAE7 100%); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
/* Multiply drops white product-shot backgrounds into the stage; transparent renders are unaffected. */
.product-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.product:hover .product-img { transform: scale(1.03); }
.product-tag { position: absolute; top: 14px; left: 14px; padding: 7px 10px; border-radius: 3px; background: rgba(255,255,255,.88); font: 500 .75rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.product-stage--text { align-content: center; gap: 14px; text-align: center; background: radial-gradient(75% 70% at 50% 42%, #1A2A66 0%, #101A45 60%, #0A1030 100%); border: 1px solid var(--line-dark); }
.product-stage--text .product-tag { background: rgba(255,255,255,.1); color: var(--on-dark); }
.stage-model { font: 600 clamp(1.5rem, .9rem + 2.6vw, 3rem)/1.05 var(--font-display); letter-spacing: -.03em; color: var(--white); overflow-wrap: anywhere; }
.stage-note { font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--electric); }
.product-views { display: none; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.js .product-views { display: grid; grid-template-columns: repeat(4, minmax(0, 84px)); }
.view { display: grid; gap: 6px; min-width: 0; padding: 0; background: none; border: 0; color: var(--on-dark); cursor: pointer; font: 500 .6875rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; text-align: left; }
.view img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6px; border: 1px solid transparent; border-radius: 4px; background: #EEF1F7; opacity: .6; transition: opacity .2s, border-color .2s; }
.view:hover img { opacity: .85; }
.view[aria-pressed="true"] { color: var(--white); }
.view[aria-pressed="true"] img { opacity: 1; border-color: var(--electric); }

.product-kicker { margin-bottom: 10px; font: 500 .8125rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--electric); }
.product-info h3 { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.12; letter-spacing: -.02em; overflow-wrap: anywhere; }
.product-info h3 span { display: block; margin-bottom: 4px; font-size: var(--fs-base); font-weight: 500; letter-spacing: 0; color: var(--on-dark); }
.product-lead { margin-top: 16px; font-size: var(--fs-lg); line-height: 1.6; }
.specs { margin: 28px 0 0; border-top: 1px solid var(--line-dark); }
.specs div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line-dark); }
.specs dt { font: 500 .75rem/1.6 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.specs dd { margin: 0; font-weight: 500; color: var(--white); }
.product-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; }
.product-cta .price { margin: 0; font-size: 1.25rem; color: var(--white); }
.catalogue-note { padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: var(--fs-sm); }

@media (min-width: 1024px) {
  .product { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
}
.cfg-panel + .cfg-panel { border-top: 1px solid var(--line-dark); }

/* Capabilities */
.capabilities { display: grid; border-top: 1px solid rgba(255,255,255,.26); }
.capabilities li { display: flex; align-items: center; gap: 16px; padding-block: 18px; border-bottom: 1px solid rgba(255,255,255,.26); font: 500 var(--fs-base)/1.35 var(--font-display); }
.capabilities .icon { color: #BFD6FF; }
.capabilities-cta a { display: inline-flex; align-items: center; gap: 12px; min-height: 28px; color: var(--white); }
.capabilities-cta .icon { width: 18px; height: 18px; color: var(--white); }
@media (min-width: 640px) {
  .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (min-width: 1024px) {
  .capabilities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Delivery stack */
.stack { display: grid; gap: 6px; }
.stack li { display: flex; align-items: center; min-height: 68px; padding: 14px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font: 500 var(--fs-base)/1.35 var(--font-display); color: var(--ink); }
.stack .stack-top { background: var(--brand); border-color: var(--brand); color: var(--white); }
.stack .stack-out { gap: 12px; margin-top: 18px; background: none; border-style: dashed; border-color: #AEB8CF; font: 500 var(--fs-sm)/1.45 var(--font-body); }
.stack .stack-out .icon { width: 20px; height: 20px; color: var(--brand); }

/* Steps */
.steps { display: grid; gap: 32px; counter-reset: none; }
.steps li { padding-top: 22px; border-top: 2px solid var(--ink); }
.step-num { display: block; margin-bottom: 28px; font: 500 .8125rem/1 var(--font-mono); color: var(--brand); }
.steps h3 { margin-bottom: 10px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* FAQ */
.faq-list { border-top: 1px solid #C9D1E2; }
.faq-list details { border-bottom: 1px solid #C9D1E2; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 68px; padding-block: 18px; font: 600 var(--fs-base)/1.4 var(--font-display); color: var(--ink); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--brand); }
.faq-list .icon { width: 20px; height: 20px; color: var(--brand); transition: transform .25s var(--ease); }
.faq-list details[open] .icon { transform: rotate(45deg); }
.faq-list details p { max-width: 62ch; padding-bottom: 24px; }

/* Enquiry */
.enquiry { padding-block: var(--section-pad); background: var(--night); color: var(--on-dark); }
.enquiry h2 { margin-bottom: 20px; color: var(--white); }
.enquiry-grid { display: grid; gap: 40px; }
.enquiry-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: var(--fs-sm); }
@media (min-width: 1024px) {
  .enquiry-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .enquiry-copy { position: sticky; top: calc(var(--nav-h) + 40px); }
}

.form-card { padding: clamp(20px, 4vw, 44px); border-radius: var(--radius); background: var(--white); color: var(--ink-2); }
.form-card a { color: var(--brand); }
#enquiry-form { display: grid; gap: 24px; }
.required-note { font-size: var(--fs-sm); }
.req { color: var(--error); }
.noscript { margin-bottom: 20px; }

.field-grid { display: grid; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label:not(.path-option), .field-legend { padding: 0; font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; height: 52px; padding: 12px 14px; background: var(--white); border: 1px solid #79839E; border-radius: var(--radius); color: var(--ink); transition: border-color .15s; }
.field textarea { height: auto; min-height: 104px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand-hi); outline-offset: 0; border-color: var(--brand-hi); }
.field ::placeholder { color: #626B85; opacity: 1; }
.field [aria-invalid="true"] { border-color: var(--error); }
.help { font-size: var(--fs-sm); line-height: 1.5; }

.route { display: grid; gap: 24px; min-width: 0; margin: 0; padding: 24px; border: 0; border-left: 3px solid var(--brand); background: var(--paper); }
.route > legend { float: left; width: 100%; margin-bottom: -4px; }

.path-picker { gap: 8px; }
.path-picker > legend { margin-bottom: 8px; }
.path-option { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 1px solid #79839E; border-radius: var(--radius); font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s; }
.path-option:hover { border-color: var(--ink); }
.path-option:has(input:checked) { border-color: var(--brand); background: #EDF1FB; box-shadow: inset 0 0 0 1px var(--brand); }
.path-picker input { flex: none; width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--brand); }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-sm); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.error-summary { padding: 16px 18px; border: 1px solid var(--error); border-radius: var(--radius); background: #FEF3F2; color: var(--ink); }
.error-summary h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: var(--fs-base); }
.error-summary h3 .icon { width: 20px; height: 20px; color: var(--error); }
.error-summary ul { margin-top: 8px; padding-left: 30px; list-style: disc; font-size: var(--fs-sm); }
.error-summary a { color: var(--error); }
.field-error { display: flex; gap: 6px; align-items: flex-start; font-size: var(--fs-sm); color: var(--error); }
.field-error .icon { width: 14px; height: 14px; margin-top: 4px; }

.submit-row { display: flex; flex-direction: column; gap: 14px; }
.submit-row .btn { width: 100%; }

.confirmation:focus { outline: none; }
.confirm-check { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; background: var(--brand); color: var(--white); }
.confirmation h3 { margin-bottom: 12px; }

@media (min-width: 640px) {
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .submit-row { flex-direction: row; align-items: center; gap: 24px; }
  .submit-row .btn { width: auto; flex: none; }
}

/* Footer */
.site-footer { padding-block: 56px 28px; background: var(--night); border-top: 1px solid var(--line-dark); color: var(--on-dark); font-size: var(--fs-sm); }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; gap: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; margin-top: 36px; }
.footer-bottom p:last-child a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: auto 1fr auto; align-items: center; gap: 56px; }
  .footer-contact { text-align: right; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
