/*
  IPDeploy site stylesheet — shared design system.
  Same visual language as as36083.net (the network site): dark ink, orange
  accent, Instrument Sans for prose, Spline Sans Mono for labels and data.

  Sections:
    1. Tokens + base
    2. Header / footer
    3. Shared components (eyebrow, headings, buttons, links, sections)
    4. Heroes (index + sub-pages)
    5. Service list / feature grid / record links
    6. Configurator (cfg-*, markup lifted from the old site)
    7. Pricing tables
    8. CTA band
    9. Motion + responsive
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #0a1015;
  --ink-soft: #0e171e;
  --panel: #111c24;
  --line: #23343f;
  --line-bright: #344b5a;
  --steel: #7890a1;
  --body: #a9bac6;
  --white: #edf4f8;
  --live: #ff6b2c;
  --live-light: #ff8a58;
  --live-wash: rgba(255, 107, 44, 0.1);
  --shell: 1180px;
  --prose: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --data: 'Spline Sans Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  overflow-x: clip;
  color: var(--body);
  background:
    radial-gradient(circle at 76% 10%, rgba(255, 107, 44, 0.065), transparent 28rem),
    var(--ink);
  font-family: var(--prose);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--live);
  outline-offset: 4px;
}

::selection {
  color: var(--white);
  background: rgba(255, 107, 44, 0.35);
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 3rem), var(--shell));
  margin-inline: auto;
}

/* 2. Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  min-height: 78px;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  flex: 0 0 auto;
}

.brand-live {
  stroke: var(--live);
}

.brand-live-fill {
  fill: var(--live);
}

.brand-name {
  font-size: 1.06rem;
  font-stretch: 88%;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-tag {
  color: var(--steel);
  font-family: var(--data);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.55rem;
}

.nav a {
  color: var(--steel);
  font-family: var(--data);
  font-size: 0.75rem;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav a:hover {
  color: var(--white);
}

.nav a.active {
  color: var(--live-light);
}

.nav .nav-cta {
  padding: 0.5rem 0.8rem;
  color: var(--white);
  border: 1px solid var(--line-bright);
  border-radius: 3px;
}

.nav .nav-cta:hover {
  border-color: var(--steel);
  background: rgba(255, 255, 255, 0.025);
}

/* Footer */

.site-footer {
  padding: 3.4rem 0 3.2rem;
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  color: var(--steel);
  font-family: var(--data);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-col p {
  margin-bottom: 0.45rem;
}

.footer-col p span {
  color: var(--steel);
  margin-right: 0.35rem;
}

.footer-col a {
  color: var(--body);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-col a:hover {
  color: var(--live-light);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-family: var(--data);
  font-size: 0.72rem;
}

.footer-bottom p span {
  color: var(--white);
}

.footer-bottom a {
  color: var(--steel);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--live-light);
}

/* 3. Shared */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.68rem;
  color: var(--live);
  font-family: var(--data);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--live);
  box-shadow: 0 0 0 5px var(--live-wash);
}

h1,
h2,
h3 {
  color: var(--white);
}

h1 {
  max-width: 750px;
  margin-top: 1.5rem;
  font-family: var(--prose);
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  font-stretch: 82%;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

h2 {
  font-family: var(--prose);
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-stretch: 84%;
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1.02;
}

h3 {
  font-size: 1.18rem;
  font-stretch: 90%;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.lead {
  max-width: 590px;
  margin-top: 2rem;
  color: var(--body);
  font-size: clamp(1.04rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.66rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--prose);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 170ms ease, background 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #170c07;
  background: var(--live);
  border-color: var(--live);
}

.button.primary:hover {
  background: var(--live-light);
  border-color: var(--live-light);
}

.button.secondary {
  color: var(--body);
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.015);
}

.button.secondary:hover {
  color: var(--white);
  border-color: var(--steel);
}

.text-link {
  display: inline-flex;
  gap: 0.4rem;
  margin-top: 1.7rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration-color: rgba(255, 107, 44, 0.65);
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--live-light);
}

.external-mark {
  position: relative;
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-left: 0.1rem;
  vertical-align: -0.02rem;
}

.external-mark::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 0.36rem;
  height: 0.36rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: '';
}

.external-mark::after {
  position: absolute;
  top: 0.15rem;
  left: 0.08rem;
  width: 0.58rem;
  height: 1px;
  content: '';
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}

code {
  color: var(--white);
  font-family: var(--data);
  font-size: 0.9em;
}

/* Generic section rhythm */

.section {
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--line);
}

.section:last-of-type {
  border-bottom: 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3.4rem;
}

.section-head h2 {
  margin-top: 1.4rem;
}

.section-head > p:not(.eyebrow) {
  max-width: 550px;
  margin-top: 1.7rem;
}

/* Two-column intro + content split (as36083 "infrastructure" layout) */

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(4rem, 9vw, 8.5rem);
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--line);
}

.section-intro h2 {
  margin-top: 1.4rem;
}

.section-intro > p:not(.eyebrow) {
  max-width: 430px;
  margin-top: 1.7rem;
}

/* 4. Heroes */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  align-items: center;
  min-height: min(720px, calc(100vh - 78px));
  padding: 6.4rem 0 7rem;
  border-bottom: 1px solid var(--line);
  /* The art bleeds past the shell on purpose; clip here too because iOS
     Safari does not reliably honor body-level overflow-x for viewport
     panning. y stays visible for the art's negative bottom margin. */
  overflow-x: clip;
  overflow-y: visible;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-art {
  position: relative;
  width: min(46vw, 540px);
  margin-left: -2rem;
  opacity: 0.92;
}

.hero-art::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(90deg, var(--ink), transparent 20%, transparent 84%, var(--ink));
  pointer-events: none;
}

.hero-art svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.art-grid path {
  fill: none;
  stroke: #17252e;
  stroke-width: 1;
}

.art-lines path {
  fill: none;
  stroke: #354b59;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-live {
  fill: none;
  stroke: var(--live);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 5 12;
  animation: route 14s linear infinite;
}

.art-nodes circle,
.art-nodes rect {
  fill: var(--ink-soft);
  stroke: #637b8b;
  stroke-width: 1.5;
}

.art-glow {
  fill: url(#art-glow);
}

.art-hot {
  fill: var(--live);
}

.art-hot-ring {
  fill: none;
  stroke: var(--live);
  stroke-width: 1.5;
}

.art-hot-ring.outer {
  stroke: rgba(255, 107, 44, 0.3);
}

.art-labels text {
  fill: var(--steel);
  font-family: var(--data);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.art-labels text.hot {
  fill: var(--live-light);
}

/* Sub-page hero: shorter, copy only */

.page-hero {
  padding: 5.2rem 0 5.6rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.9rem, 5.6vw, 4.8rem);
}

.page-hero .lead {
  margin-top: 1.6rem;
}

/* 5. Service list (numbered rows) + feature grid + record links */

.service-list {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.35rem;
  padding: 2rem 0 2.15rem;
  border-bottom: 1px solid var(--line);
}

.service-num {
  padding-top: 0.17rem;
  color: var(--live);
  font-family: var(--data);
  font-size: 0.7rem;
}

.service p {
  max-width: 500px;
  margin-top: 0.65rem;
  font-size: 0.96rem;
}

.service .text-link {
  margin-top: 0.9rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature {
  padding: 1.9rem 2rem 2.05rem 0;
  border-bottom: 1px solid var(--line);
}

.feature p {
  max-width: 460px;
  margin-top: 0.6rem;
  font-size: 0.94rem;
}

.record-links {
  border-top: 1px solid var(--line);
}

.record-link {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(130px, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  margin-inline: -1rem;
  padding: 1.7rem 1rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 170ms ease;
}

.record-link:hover {
  background: var(--panel);
}

.record-type,
.record-action {
  color: var(--steel);
  font-family: var(--data);
  font-size: 0.7rem;
  letter-spacing: 0.035em;
}

.record-link strong {
  color: var(--white);
  font-family: var(--data);
  font-size: 0.86rem;
  font-weight: 500;
}

.record-action {
  display: inline-flex;
  align-items: center;
  transition: color 170ms ease;
}

.record-link:hover .record-action {
  color: var(--live-light);
}

/* 6. Configurator — class names preserved from the old site so the
   Alpine markup lifts over unchanged. */

.configurator--section {
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--line);
}

.cfg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: 3.4rem;
}

.cfg-block {
  margin-bottom: 1.7rem;
}

.cfg-block > label {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--steel);
  font-family: var(--data);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cfg-block > label .cfg-value {
  margin-left: 0.5rem;
  color: var(--live-light);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.cfg-segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cfg-segmented button {
  flex: 1 1 auto;
  min-width: 70px;
  padding: 0.68rem 0.65rem;
  color: var(--body);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line-bright);
  border-radius: 3px;
  font-family: var(--data);
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.cfg-segmented button:hover {
  color: var(--white);
  border-color: var(--steel);
}

.cfg-segmented button.active {
  color: var(--white);
  background: var(--live-wash);
  border-color: var(--live);
}

.cfg-hint {
  margin-top: 0.5rem;
  color: var(--steel);
  font-size: 0.8rem;
  line-height: 1.5;
}

select.cfg-input,
textarea.cfg-input {
  width: 100%;
  padding: 0.68rem 0.75rem;
  color: var(--white);
  background: var(--ink-soft);
  border: 1px solid var(--line-bright);
  border-radius: 3px;
  font-family: var(--prose);
  font-size: 0.9rem;
  line-height: 1.5;
}

select.cfg-input:focus,
textarea.cfg-input:focus {
  outline: none;
  border-color: var(--live);
}

select.cfg-input option {
  color: var(--white);
  background: var(--ink-soft);
}

textarea.cfg-input::placeholder {
  color: var(--steel);
  opacity: 0.7;
}

/* Sliders */

.cfg-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  margin: 0.6rem 0 0.35rem;
  background: var(--line);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.cfg-slider:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cfg-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--live);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-bright);
  cursor: pointer;
  transition: transform 100ms ease;
}

.cfg-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.cfg-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--live);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-bright);
  cursor: pointer;
}

.cfg-snaps {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 0.45rem;
}

.cfg-snaps button {
  flex: 1 1 auto;
  min-width: 50px;
  padding: 0.38rem 0.5rem;
  color: var(--steel);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--data);
  font-size: 0.72rem;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.cfg-snaps button:hover {
  color: var(--white);
  border-color: var(--steel);
}

.cfg-snaps button.active {
  color: var(--white);
  background: var(--live-wash);
  border-color: var(--live);
}

/* Summary panel */

.cfg-summary {
  position: sticky;
  top: 1.5rem;
  padding: 1.8rem 1.7rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.cfg-summary h3 {
  margin: 0 0 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--steel);
  font-family: var(--data);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

#cfg-summary-list {
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
}

#cfg-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.45;
}

#cfg-summary-list li:last-child {
  border-bottom: 0;
}

#cfg-summary-list li .lbl {
  flex: 0 0 34%;
  color: var(--steel);
  font-family: var(--data);
  font-size: 0.72rem;
  padding-top: 0.1rem;
}

#cfg-summary-list li .val {
  flex: 1;
  color: var(--white);
  text-align: right;
}

.cfg-price {
  margin-bottom: 1.15rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.cfg-price-amt {
  color: var(--white);
  font-family: var(--data);
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1;
}

.cfg-price-unit {
  color: var(--steel);
  font-family: var(--data);
  font-size: 0.95rem;
}

.cfg-price-total {
  margin-top: 0.45rem;
  color: var(--steel);
  font-size: 0.78rem;
}

.cfg-price.is-quote .cfg-price-amt {
  color: var(--live-light);
  font-size: 1.35rem;
}

#cfg-mailto {
  width: 100%;
}

.cfg-disclaimer {
  margin-top: 0.9rem;
  color: var(--steel);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

/* Stock preset + badges */

.cfg-stock-tag {
  display: inline-block;
  padding: 0.14rem 0.5rem;
  color: #170c07;
  background: var(--live);
  border-radius: 2px;
  font-family: var(--data);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  vertical-align: middle;
}

.cfg-stock-preset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-bottom: 2rem;
  padding: 1.05rem 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 170ms ease, background 170ms ease;
}

.cfg-stock-preset.active {
  background: var(--live-wash);
  border-color: var(--live);
}

.cfg-stock-preset-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cfg-stock-preset-name {
  color: var(--white);
  font-size: 0.92rem;
}

.cfg-stock-preset-meta {
  color: var(--steel);
  font-family: var(--data);
  font-size: 0.72rem;
}

.cfg-stock-preset-action {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.cfg-stock-preset-price {
  color: var(--white);
  font-family: var(--data);
  font-size: 0.95rem;
  font-weight: 600;
}

.cfg-stock-preset .button {
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
}

.cfg-stock-badge {
  margin-bottom: 1rem;
  padding: 0.75rem 0.85rem;
  background: var(--live-wash);
  border: 1px solid rgba(255, 107, 44, 0.45);
  border-radius: 3px;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

.cfg-stock-badge strong {
  color: var(--live-light);
  letter-spacing: 0.06em;
}

/* 7. Pricing tables */

.table-scroll {
  margin-top: 3.4rem;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}

.price-table th {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--steel);
  font-family: var(--data);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-table td {
  padding: 1.05rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--data);
  font-size: 0.82rem;
  white-space: nowrap;
}

.price-table td:first-child {
  color: var(--white);
}

.price-table tbody tr {
  transition: background 170ms ease;
}

.price-table tbody tr:hover {
  background: var(--panel);
}

.price-table tr.is-stock {
  background: var(--live-wash);
}

.price-table td .price {
  color: var(--white);
  font-weight: 600;
}

/* 8. CTA band */

.cta {
  padding: 5.6rem 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.cta h2 {
  max-width: 640px;
  margin-inline: auto;
}

.cta .actions {
  justify-content: center;
}

.cta .note {
  margin-top: 1.4rem;
  color: var(--steel);
  font-family: var(--data);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

/* 9. Motion + responsive */

@keyframes route {
  to { stroke-dashoffset: -170; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 5.5rem 0;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-art {
    width: min(92vw, 640px);
    margin: -2rem auto -4.5rem;
    opacity: 0.64;
  }

  .hero-art::after {
    background: linear-gradient(180deg, var(--ink), transparent 18%, transparent 72%, var(--ink));
  }

  .split {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 5.5rem 0;
  }

  .section-intro {
    max-width: 640px;
  }

  .cfg-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cfg-summary {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 2.2rem), var(--shell));
  }

  .site-header {
    min-height: 68px;
  }

  .brand-tag {
    display: none;
  }

  .nav {
    gap: 0.5rem 1.05rem;
  }

  .nav .nav-cta {
    padding: 0.45rem 0.65rem;
    font-size: 0.68rem;
  }

  .hero {
    padding: 4.4rem 0 4.2rem;
  }

  h1 {
    font-size: clamp(2.9rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .page-hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .lead {
    margin-top: 1.55rem;
    font-size: 1rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    width: 118%;
    margin: -0.8rem -9% -3rem;
  }

  .art-labels {
    display: none;
  }

  .section,
  .configurator--section {
    padding: 4.6rem 0;
  }

  .split {
    gap: 3.5rem;
    padding: 4.6rem 0;
  }

  .service {
    grid-template-columns: 2rem 1fr;
    gap: 0.75rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    padding-right: 0;
  }

  .record-link {
    grid-template-columns: 1fr auto;
    gap: 0.35rem 1rem;
  }

  .record-link strong {
    grid-column: 1;
    grid-row: 2;
  }

  .record-action {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .cfg-summary {
    padding: 1.4rem 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
