/* Layout: a technical spec-sheet page around one "printer enclosure" window —
   ruled grids, mono readouts and layer-line type; heat orange marks what is active. */
:root {
  --bg: #EDF0F2;
  --surface: #F8F9FA;
  --ink: #111518;
  --muted: #56606A;
  --line: #CDD3D8;
  --accent: #EC4E0E;
  --accent-strong: #B83A06;
  --on-accent: #140803;
  --layer-gap: rgba(237, 240, 242, .55);

  /* the enclosure is deliberately dark in both themes */
  --encl: #14171A;
  --encl-line: #2B3137;
  --encl-text: #E6EAEE;
  --encl-muted: #8C96A0;

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h3: 1.125rem;
  --fs-h2: clamp(1.75rem, 1.1rem + 2.3vw, 2.875rem);
  --fs-hero: clamp(2.35rem, 1.2rem + 4.2vw, 4.4rem);

  --radius: 12px;
  --header-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101316;
    --surface: #171B1F;
    --ink: #E9EDF0;
    --muted: #98A2AC;
    --line: #2A3036;
    --accent: #FF6B2C;
    --accent-strong: #FF8A55;
    --on-accent: #140803;
    --layer-gap: rgba(16, 19, 22, .6);
    --encl: #0C0E10;
    --encl-line: #262C31;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101316;
  --surface: #171B1F;
  --ink: #E9EDF0;
  --muted: #98A2AC;
  --line: #2A3036;
  --accent: #FF6B2C;
  --accent-strong: #FF8A55;
  --on-accent: #140803;
  --layer-gap: rgba(16, 19, 22, .6);
  --encl: #0C0E10;
  --encl-line: #262C31;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.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: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.ic { width: 1.25em; height: 1.25em; flex: none; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 14px; height: 10px; flex: none;
  background: repeating-linear-gradient(to bottom, var(--accent) 0 2px, transparent 2px 4px);
}

/* layer-line type: stripes cut into the letterforms like FDM layers */
.layered { color: var(--ink); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .layered {
    background-image: repeating-linear-gradient(to bottom, var(--ink) 0 .085em, var(--layer-gap) .085em .1em);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  .layered-hot { background-image: repeating-linear-gradient(to bottom, var(--accent) 0 .085em, var(--layer-gap) .085em .1em); }
}
.layered-hot { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { width: 1.15em; height: 1.15em; transition: transform .2s ease; }
.btn:active { transform: scale(.97); }
@media (hover: hover) {
  .btn:hover .ic { transform: translateX(3px); }
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
@media (hover: hover) { .btn-accent:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); } }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
@media (hover: hover) { .btn-ghost:hover { border-color: var(--ink); } }
.btn-ink { background: var(--ink); color: var(--bg); }
@media (hover: hover) { .btn-ink:hover { background: color-mix(in srgb, var(--ink) 85%, var(--accent)); } }

/* ---------- Header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60;
  background: var(--bg);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; }
.brand-mark-hot { fill: var(--accent); }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: .9875rem;
  padding: 8px 12px; border-radius: 8px; color: var(--muted);
  transition: color .15s ease, background-color .15s ease;
}
@media (hover: hover) { .nav a:not(.btn):hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); } }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .25);
    transform-origin: top;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    opacity: 0; transform: translateY(-6px); visibility: hidden;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .18s ease, transform .18s ease; }
  .nav a:not(.btn) { padding: 12px; font-size: 1.0625rem; color: var(--ink); }
  .nav-cta { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) 0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-title { font-size: var(--fs-hero); font-weight: 700; line-height: 1.04; letter-spacing: -.025em; }
.hero-title span { display: block; }
.hero-lead { font-size: var(--fs-lg); color: var(--muted); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--fs-sm); color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--accent); width: 1.15em; height: 1.15em; }

/* printer enclosure */
.rig {
  position: relative; margin: 0; min-width: 0;
  aspect-ratio: 1 / 1; max-width: 100%;
  border-radius: 22px;
  background: var(--encl);
  border: 1px solid var(--encl-line);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 40px 80px -40px rgba(17, 21, 24, .55);
  color: var(--encl-text);
}
.rig canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hud {
  position: absolute; left: 0; right: 0;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .04em;
  pointer-events: none;
}
.hud-top { top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hud-state {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
  text-transform: uppercase;
}
.hud-dot { width: 7px; height: 7px; border-radius: 50%; background: #FF6B2C; box-shadow: 0 0 0 3px rgba(255, 107, 44, .25); animation: pulse 1.6s ease-in-out infinite; }
.rig.is-done .hud-dot { background: #4FCFA6; box-shadow: 0 0 0 3px rgba(79, 207, 166, .25); animation: none; }
@keyframes pulse { 50% { opacity: .35; } }
.hud-file { color: var(--encl-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud-bottom {
  bottom: 0;
  background: linear-gradient(to top, rgba(12, 14, 16, .92) 30%, rgba(12, 14, 16, 0));
  padding-top: 40px;
  display: flex; flex-direction: column; gap: 12px;
}
.hud-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.hud-stats dt { color: var(--encl-muted); text-transform: uppercase; font-size: .625rem; margin-bottom: 3px; }
.hud-stats dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hud-progress { display: flex; align-items: center; gap: 12px; }
.hud-bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.hud-bar span { display: block; height: 100%; background: #FF6B2C; border-radius: inherit; }
.rig.is-done .hud-bar span { background: #4FCFA6; }
.hud-pct { font-variant-numeric: tabular-nums; min-width: 4.5ch; text-align: right; }

/* spec band */
.specs {
  margin: clamp(48px, 7vw, 88px) 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.specs > div { padding: 22px 24px; border-left: 1px solid var(--line); min-width: 0; }
.specs > div:first-child { border-left: 0; padding-left: 0; }
.specs dt { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.specs dd { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; font-variant-numeric: tabular-nums; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 20px 48px; align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head > div { display: flex; flex-direction: column; gap: 16px; }
.section-head h2, .faq-aside h2 { font-size: var(--fs-h2); max-width: 17ch; }
.section-intro { color: var(--muted); max-width: 52ch; }
.section-intro a { color: var(--accent-strong); text-underline-offset: 3px; }

/* services: ruled grid like a spec sheet */
.services {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.service {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  min-width: 0;
  transition: background-color .2s ease;
}
.service-icon {
  width: 48px; height: 48px; margin-bottom: 8px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.service-icon .ic { width: 24px; height: 24px; }
.service h3 { font-size: var(--fs-h3); font-weight: 500; }
.service p { color: var(--muted); }
.service .tags { margin-top: auto; padding-top: 8px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); letter-spacing: .02em; }
@media (hover: hover) {
  .service:hover { background: var(--surface); }
  .service:hover .service-icon { border-color: var(--accent); color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 10%, transparent); }
}

/* materials */
.materials {
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--bg);
  overflow: hidden;
}
.mat-tabs {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.mat-tab {
  appearance: none; border: 0; background: transparent; color: var(--muted);
  padding: 18px 20px; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
  border-left: 1px solid var(--line);
  position: relative;
  transition: color .15s ease, background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.mat-tab:first-child { border-left: 0; }
.mat-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.mat-tab[aria-selected="true"] { color: var(--ink); background: var(--surface); }
.mat-tab[aria-selected="true"]::after { transform: scaleX(1); }
@media (hover: hover) { .mat-tab:hover { color: var(--ink); } }
.mat-tab:focus-visible { outline-offset: -4px; }
.mat-tab-name { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.mat-tab-sub { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; }

.mat-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(24px, 4vw, 48px);
  background: var(--surface);
}
.mat-panel:focus-visible { outline-offset: -4px; }
.mat-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mat-kicker { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-strong); }
.mat-name { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); font-weight: 700; }
.mat-desc { color: var(--muted); max-width: 48ch; }
.mat-label { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }
.mat-uses { display: grid; gap: 8px; }
.mat-uses li { display: flex; align-items: center; gap: 10px; }
.mat-uses .ic { color: var(--accent); width: 1.1em; height: 1.1em; }
.mat-foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.mat-heat { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--fs-sm); }
.mat-heat strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.meters { display: grid; gap: 20px; align-content: center; min-width: 0; }
.meter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 16px; }
.meter-label { font-size: var(--fs-sm); font-weight: 500; }
.meter-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.meter-bar i {
  height: 10px; border-radius: 3px;
  background: color-mix(in srgb, var(--ink) 9%, transparent);
  transition: background-color .3s ease;
}
.meter-bar[data-v="1"] i:nth-child(-n+1),
.meter-bar[data-v="2"] i:nth-child(-n+2),
.meter-bar[data-v="3"] i:nth-child(-n+3),
.meter-bar[data-v="4"] i:nth-child(-n+4),
.meter-bar[data-v="5"] i:nth-child(-n+5) { background: var(--accent); }
.meter-bar i:nth-child(2) { transition-delay: .03s; }
.meter-bar i:nth-child(3) { transition-delay: .06s; }
.meter-bar i:nth-child(4) { transition-delay: .09s; }
.meter-bar i:nth-child(5) { transition-delay: .12s; }
.mat-note { margin-top: 18px; color: var(--muted); font-size: var(--fs-sm); }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: none; }
.step { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step-num {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-sm);
  border: 1px solid var(--ink);
}
.step:last-child .step-num { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.step-line {
  flex: 1; height: 2px;
  background: repeating-linear-gradient(to right, var(--line) 0 8px, transparent 8px 14px);
}
.step-icon { width: 28px; height: 28px; color: var(--accent); }
.step h3 { font-size: var(--fs-h3); font-weight: 500; }
.step p { color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 32px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-weight: 600; font-size: 1.0625rem;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--muted); transition: transform .25s cubic-bezier(.2, .8, .2, 1), color .2s ease; }
.faq details[open] summary .ic { transform: rotate(45deg); color: var(--accent); }
@media (hover: hover) { .faq summary:hover .ic { color: var(--ink); } }
.faq details p { color: var(--muted); padding: 0 48px 24px 0; max-width: 62ch; }

/* quote */
.quote { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.quote-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  padding: clamp(22px, 3.5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field [aria-invalid="true"] { border-color: #D93636; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 4px; }
.form-hint { color: var(--muted); font-size: var(--fs-sm); flex: 1 1 240px; }
.form-status { font-size: var(--fs-sm); font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-error { color: #D93636; }
.form-status.is-ok { color: var(--ink); }

.quote-aside { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; min-width: 0; }
.quote-aside h3 { font-size: var(--fs-h3); font-weight: 500; }
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checklist .ic { color: var(--ink); margin-top: 2px; }
.contact { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.contact-label { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.contact-mail { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; text-decoration: none; overflow-wrap: anywhere; user-select: all; }
@media (hover: hover) { .contact-mail:hover { color: var(--accent-strong); } }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--muted);
  font: 500 var(--fs-sm)/1 var(--font-body); cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.copy-btn .ic { width: 1em; height: 1em; }
@media (hover: hover) { .copy-btn:hover { color: var(--ink); border-color: var(--ink); } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 32px; overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
@media (hover: hover) { .footer-nav a:hover { color: var(--ink); } }
.footer-sign {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 6.6vw, 6.5rem);
  line-height: 1.05; letter-spacing: -.035em;
  margin-block: clamp(36px, 6vw, 72px);
  text-wrap: balance;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--muted); font-size: var(--fs-sm); }
.footer-bottom a { text-decoration: none; }
@media (hover: hover) { .footer-bottom a:hover { color: var(--ink); } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .rig { max-width: 620px; width: 100%; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .step:nth-child(2) .step-line { visibility: hidden; }
  .mat-panel { grid-template-columns: minmax(0, 1fr); }
  .quote { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-aside { position: static; }
}
@media (max-width: 760px) {
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs > div { padding: 18px 16px; }
  .specs > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .specs > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .mat-tabs { display: flex; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .mat-tabs::-webkit-scrollbar { display: none; }
  .mat-tab { flex: 1 0 auto; min-width: 104px; padding: 14px 16px; }
}
@media (max-width: 600px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .step-line { visibility: hidden; }
  .quote-form { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .rig { aspect-ratio: 4 / 5; }
  .hud { padding: 12px 14px; }
  .hud-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .hud-bottom { padding-top: 56px; }
  .meter { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .faq details p { padding-right: 0; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; flex: 1 1 auto; }
  .nav .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
