:root {
  --ink: #171a1c;
  --muted: #5d676b;
  --line: #d9dee1;
  --paper: #f6f7f8;
  --white: #ffffff;
  --steel: #22272a;
  --teal: #007c73;
  --teal-dark: #005f58;
  --red: #c43f32;
  --amber: #dea62e;
  --green: #2d7d46;
  --shadow: 0 16px 38px rgba(20, 24, 28, .13);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.62;
}
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 840;
  white-space: nowrap;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: conic-gradient(from 20deg, var(--red), var(--amber), var(--teal), var(--steel), var(--red));
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.56);
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}
.navlinks a { color: var(--muted); }
.btn {
  border: 0;
  border-radius: 6px;
  min-height: 44px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 780;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { color: white; background: var(--red); box-shadow: 0 10px 24px rgba(196, 63, 50, .24); }
.btn-primary:hover { background: #a93228; }
.btn-ghost { color: var(--ink); background: white; border: 1px solid var(--line); }
.btn-dark { color: white; background: var(--steel); }
.icon { width: 18px; height: 18px; }
.hero {
  color: white;
  background:
    linear-gradient(90deg, rgba(15,17,18,.98), rgba(28,32,34,.88) 48%, rgba(42,46,48,.55)),
    radial-gradient(circle at 78% 36%, rgba(222,166,46,.24), transparent 34%),
    linear-gradient(135deg, #151719, #3c4446 55%, #8d352d);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .52;
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72vh;
  padding: 78px 22px 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: 42px;
  align-items: center;
  position: relative;
}
.eyebrow {
  color: #f3c96a;
  font-weight: 860;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; }
h1 {
  font-size: clamp(40px, 5.5vw, 74px);
  margin: 0 0 18px;
}
.hero p {
  color: rgba(255,255,255,.84);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 800px;
  margin: 0 0 24px;
}
.hero-actions, .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.machine-visual {
  filter: drop-shadow(0 30px 42px rgba(0,0,0,.34));
}
.stat-strip {
  max-width: 1180px;
  margin: -26px auto 0;
  padding: 0 22px;
  position: relative;
  z-index: 3;
}
.stat-grid {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 22px; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 13px; }
main { background: white; }
.band { padding: 72px 22px; }
.band.alt { background: var(--paper); }
.container { max-width: 1180px; margin: 0 auto; }
.section-kicker {
  color: var(--red);
  text-transform: uppercase;
  font-weight: 860;
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
h2 { font-size: clamp(31px, 4vw, 48px); margin: 0 0 18px; }
h3 { font-size: 23px; margin: 0 0 12px; }
.lede { color: var(--muted); font-size: 19px; max-width: 870px; margin: 0 0 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 22px rgba(21, 23, 25, .04);
}
.card.dark {
  color: white;
  background: var(--steel);
  border-color: #3b4245;
}
.card.dark p, .card.dark li { color: rgba(255,255,255,.78); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  background: rgba(0, 124, 115, .08);
  border: 1px solid rgba(0, 124, 115, .18);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 780;
  margin-bottom: 14px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 22px rgba(21, 23, 25, .04);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 15px;
}
th, td {
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: white;
  background: var(--steel);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 760; color: var(--ink); }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  align-items: start;
}
.article-main > section { margin-bottom: 44px; }
.article-main p { font-size: 17px; }
.sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 16px;
}
.toc {
  border-left: 4px solid var(--teal);
  padding: 6px 0 6px 16px;
  font-size: 14px;
}
.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
}
.note {
  border-left: 4px solid var(--amber);
  background: #fff8e6;
  color: #5f4813;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 18px;
  margin: 20px 0;
}
.breadcrumb {
  color: rgba(255,255,255,.68);
  font-size: 14px;
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.88); }
.article-hero .hero-inner { min-height: 52vh; }
.quote-band {
  color: white;
  background: linear-gradient(90deg, rgba(20,24,26,.96), rgba(20,24,26,.78)), linear-gradient(135deg, var(--teal), var(--red));
}
.quote-band p { color: rgba(255,255,255,.82); }
.quote-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 32px;
  align-items: start;
}
.form-card {
  background: white;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}
input, select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  font: inherit;
}
textarea { min-height: 112px; resize: vertical; }
input[type="range"] { padding: 0; accent-color: var(--teal); }
.status {
  display: none;
  color: var(--green);
  font-weight: 760;
  margin-top: 12px;
}
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.calc-result {
  background: var(--steel);
  color: white;
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 16px;
}
.calc-result strong {
  display: block;
  color: #f3c96a;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1;
}
.mini { color: rgba(255,255,255,.72); font-size: 14px; margin: 0; }
footer {
  background: #101213;
  color: rgba(255,255,255,.72);
  padding: 34px 22px;
  font-size: 14px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
footer a { color: white; }
@media (max-width: 980px) {
  .navlinks { display: none; }
  .hero-inner, .article-layout, .quote-grid, .calc { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-4, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hero-inner { min-height: auto; padding: 62px 18px 44px; }
  .hero-actions, .button-row { display: grid; }
  .stat-grid, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .band { padding: 52px 18px; }
  .brand span { max-width: 170px; overflow-wrap: anywhere; line-height: 1.1; }
  .hero-actions .btn, .form-card .btn, .quote-band .btn { width: 100%; }
}