@font-face { font-family: "Golos Text"; src: url("../fonts/golos-text-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("../fonts/golos-text-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("../fonts/golos-text-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("../fonts/golos-text-latin-700-normal.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("../fonts/golos-text-latin-800-normal.woff2") format("woff2"); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-mono-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-mono-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-mono-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-mono-latin-700-normal.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --font-sans: "Golos Text", "Segoe UI", Arial, sans-serif;
  --font-mono: "Martian Mono", Consolas, "Courier New", monospace;

  --paper: #f2f1ec;
  --ink: #111817;
  --muted: #59625f;
  --line: rgba(17, 24, 23, 0.16);
  --line-strong: rgba(17, 24, 23, 0.34);
  --panel: #e8e8e1;
  --dark: #101716;
  --dark-2: #17201e;
  --light: #f5f5ef;

  --accent: #f1a83b;
  --accent-text: #754300;
  --accent-soft: #f8d59a;
  --cold: #4aa3e8;
  --hot: #ef6b45;

  --radius: 14px;
  --max: 1220px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%; max-width: 100%; scroll-behavior: smooth;
}
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { display: block; max-width: 100%; height: auto; }
*:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: #08110f; }

.site-nav {
  width: min(calc(100% - 32px), var(--max)); margin-inline: auto;
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-wrapper {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0.06em; font-weight: 700;
}
.brand b { color: var(--accent-text); font-weight: 700; }
.brand-mark { width: 28px; height: 28px; flex: 0 0 28px; }

.nav-links { display: flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 700; }
.nav-links > a:not(.nav-cta) { color: var(--muted); transition: color 0.18s ease; }
.nav-links > a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: var(--paper); padding: 9px 18px; border-radius: 100px;
  transition: opacity 0.18s ease, transform 0.18s ease; font-size: 12.5px; font-weight: 700;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.section { padding: clamp(48px, 6vw, 90px) 0; }

.hero-section {
  padding: clamp(36px, 5vw, 64px) 0 40px;
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.status-line {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong);
  padding: 6px 12px; border-radius: 100px; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.05em; font-weight: 600; color: var(--muted);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
}
.status-line span {
  flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 6%, transparent); } }

.kicker {
  font-family: var(--font-mono); font-size: 10px; line-height: 1.5; letter-spacing: 0.1em;
  font-weight: 600; color: var(--accent-text); margin: 20px 0 12px;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800;
  margin: 0 0 18px; text-wrap: pretty;
}
h1 em {
  font-style: normal; color: transparent;
  -webkit-text-stroke: 1.3px color-mix(in srgb, var(--accent) 68%, var(--ink));
}
.lead { font-size: clamp(14.5px, 1.2vw, 16px); line-height: 1.6; color: var(--muted); max-width: 58ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.btn-primary {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 100px; font-weight: 800; font-size: 13px; cursor: pointer;
  color: #0a1412; background: var(--accent); border: 1px solid var(--accent);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 24%, transparent);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 32%, transparent); }
.btn-secondary {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 100px; font-weight: 700; font-size: 13px;
  background: transparent; color: var(--ink); border: 1px solid var(--line-strong);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.btn-secondary:hover { border-color: var(--accent-text); color: var(--accent-text); }

.signal-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line-strong);
}
.signal {
  padding: 18px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px;
}
.signal:last-child { border-right: none; }
.signal strong { font-family: var(--font-mono); font-size: clamp(14.5px, 1.4vw, 19px); letter-spacing: -0.02em; font-weight: 700; }
.signal span { color: var(--muted); font-size: 12px; }

.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border-block: 1px solid var(--line-strong); margin-top: 40px;
}
.problem-grid > *, .grid-cols-2 > *, .grid-cols-3 > *, .grid-cols-4 > * { min-width: 0; }
.problem-grid.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.problem-grid.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.problem-grid.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section-grid-gap { margin-top: 36px; }
.problem-card { background: var(--paper); padding: 26px 22px 30px; }
.problem-card .index { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--accent-text); font-weight: 700; }
.problem-card h3 { margin: 12px 0 8px; font-size: 17.5px; font-weight: 700; letter-spacing: -0.02em; }
.problem-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.model-section {
  width: 100%; padding: clamp(56px, 6vw, 90px) max(16px, calc((100vw - var(--max)) / 2));
  background: var(--dark); color: var(--light);
}
.model-section .lead { color: #aab4b0; }
.model-section .kicker, .assurance-section .kicker { color: var(--accent); }
.cooling-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); margin-top: 40px; }
.cooling-card {
  border: 1px solid rgba(255,255,255,0.17); border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,0.02); transition: border-color 0.25s ease, transform 0.25s ease;
}
.cooling-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.cooling-card .pic { background: #0a100f; border-bottom: 1px solid rgba(255,255,255,0.14); padding: 12px; }
.cooling-card .body { padding: 18px 18px 22px; }
.cooling-card .kw { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.cooling-card h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.cooling-card .sub { margin: 0 0 14px; color: var(--accent-soft); font-family: var(--font-mono); font-size: 10px; }
.cooling-card ul { list-style: none; }
.cooling-card li { padding: 6px 0 6px 14px; border-top: 1px solid rgba(255,255,255,0.12); color: #c5cdca; font-size: 12.5px; position: relative; }
.cooling-card li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.ladder {
  margin-top: 36px; border: 1px solid rgba(255,255,255,0.17); border-radius: var(--radius);
  padding: 22px; background: rgba(255,255,255,0.02);
}
.ladder figcaption { margin-top: 12px; font-family: var(--font-mono); font-size: 9.5px; color: #8e9a96; line-height: 1.5; }

.assurance-section {
  width: 100%; padding: clamp(56px, 6vw, 90px) max(16px, calc((100vw - var(--max)) / 2));
  background: var(--dark-2); color: var(--light);
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 72px); align-items: start;
}
.assurance-section .lead { color: #aab4b0; }
.assurance-table { margin: 0; border-top: 1px solid rgba(255,255,255,0.24); }
.assurance-table > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.13); align-items: center; }
.assurance-table dt { font-family: var(--font-mono); color: var(--accent); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.assurance-table dd { margin: 0; font-size: 13.5px; line-height: 1.5; color: #c5cdca; }

.request-section {
  width: 100%; padding: clamp(56px, 6vw, 90px) max(16px, calc((100vw - var(--max)) / 2));
  display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(28px, 4vw, 64px);
  background: var(--panel); border-block: 1px solid var(--line);
}
.form-panel {
  background: var(--light); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: clamp(18px, 3vw, 36px); box-shadow: 0 20px 60px rgba(17,24,23,0.08); width: 100%; max-width: 100%;
}
.form-panel, .form-grid, .field { min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; }
.field label b { color: #8d341f; }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); padding: 11px 12px; color: var(--ink); outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease; font-size: 13.5px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.field-error { color: #dc2626; font-size: 11px; font-weight: 600; display: none; margin-top: 2px; }
.field-help { color: var(--muted); font-size: 11px; line-height: 1.45; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #dc2626; }

.truth-note { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 10px; font-family: var(--font-mono); }
.consent-row { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 12px; color: var(--muted); }
.consent-row input[type="checkbox"] { margin-top: 3px; accent-color: var(--accent); width: 15px; height: 15px; flex-shrink: 0; }
.consent-row a { text-decoration: underline; color: var(--ink); }
.turnstile-wrap { margin-top: 14px; min-height: 65px; display: flex; justify-content: flex-start; width: 100%; max-width: 100%; }
.turnstile-wrap .cf-turnstile { width: 100%; max-width: 100%; }
.honeypot { position: fixed !important; width: 1px !important; height: 1px !important; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.form-alert-error, .form-alert-pending {
  padding: 10px 14px; border-radius: 8px; font-size: 12.5px; font-weight: 650;
  margin-bottom: 14px; line-height: 1.45;
}
.field input, .field select { min-height: 44px; }
.form-alert-error { background: #fee2e2; border: 1px solid #b91c1c; color: #7f1d1d; }
.form-alert-pending { background: #fff7df; border: 1px solid #9a6700; color: #604000; }

.btn-submit {
  width: 100%; min-height: 48px; background: var(--accent); color: #0a1412; font-weight: 800; font-size: 13.5px;
  padding: 12px 20px; border-radius: 100px; border: 1px solid var(--accent); cursor: pointer;
  margin-top: 16px; transition: transform 0.18s ease, opacity 0.18s ease;
}
.btn-submit:hover:not(:disabled) { transform: translateY(-1px); opacity: 0.95; }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.cookie-banner {
  position: fixed; right: 16px; bottom: 16px; left: auto; width: min(calc(100% - 32px), 440px); max-width: 440px; margin: 0;
  z-index: 9999; background: var(--dark); color: var(--light); padding: 13px 16px 14px; border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.18);
  font-size: 12px; line-height: 1.4; display: flex; flex-direction: column; gap: 9px;
}
.cookie-banner strong { display: block; font-size: 12.5px; line-height: 1.3; }
.cookie-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: stretch; }
.cookie-btn {
  min-height: 44px; padding: 6px 12px; border-radius: 100px; font-size: 11px; line-height: 1.2; font-weight: 700; cursor: pointer; border: none;
}
.cookie-accept { background: var(--accent); color: #08110f; }
.cookie-reject { background: rgba(255,255,255,0.12); color: var(--light); }
.cookie-manage { background: transparent; color: var(--light); border: 1px solid rgba(255,255,255,0.45); }

.success-modal {
  position: fixed; inset: 0; z-index: 99999; background: rgba(16,23,22,0.85);
  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
  padding: 16px; font-family: var(--font-sans);
}
.cookie-banner[hidden] { display: none; }
.success-modal[hidden] { display: none; }
.success-dialog {
  background: #fdfdfc; border: 1px solid rgba(17,24,23,0.3); border-radius: 14px;
  max-width: 480px; width: 100%; padding: 28px 24px; color: var(--ink);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3); position: relative;
}
.success-dialog h2 { margin: 0 32px 8px 0; font-size: 20px; line-height: 1.25; }
.success-dialog p { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.modal-close { position: absolute; right: 12px; top: 10px; width: 44px; height: 44px; background: none; border: none; font-size: 18px; cursor: pointer; }
.reference-box { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin-bottom: 20px; display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.reference-box span { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; }
.reference-box strong { font-family: var(--font-mono); font-size: 13.5px; color: var(--ink); overflow-wrap: anywhere; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.modal-action { min-height: 44px; padding: 8px 16px; border-radius: 100px; font-size: 12px; font-weight: 750; cursor: pointer; }
.modal-copy { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.modal-ok { background: var(--accent); border: 1px solid var(--accent); color: #0a1412; }

.site-footer {
  border-top: 1px solid var(--line); padding: 40px 0; font-size: 12px; color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}
.footer-brand strong { color: var(--ink); font-family: var(--font-mono); font-size: 13px; line-height: 1.5; }
.footer-brand p { margin-top: 4px; font-size: 11.5px; line-height: 1.5; }
.footer-contact { min-height: 44px; padding-top: 1px; text-align: center; font-size: 11.5px; line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 16px; align-items: flex-start; justify-content: flex-end; white-space: nowrap; }
.footer-links a,
.footer-cookie-button { display: inline-flex; min-height: 44px; align-items: flex-start; line-height: 1.5; }
.footer-links a:hover { color: var(--ink); }
.footer-cookie-button { min-height: 44px; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }
.cookie-banner p { margin-top: 3px; }
.cookie-banner a { text-decoration: underline; }
.cookie-settings { border-top: 1px solid rgba(255,255,255,0.22); padding-top: 8px; font-size: 11.5px; line-height: 1.35; }
.cookie-settings label { display: flex; gap: 8px; align-items: flex-start; }
.cookie-settings input { margin-top: 2px; flex: 0 0 auto; }

/* Strict Responsive Rules */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .footer-contact { padding-top: 0; }
  .footer-links { justify-content: center; }
  .footer-links a,
  .footer-cookie-button { align-items: center; }
}

@media (max-width: 980px) {
  .hero-section { grid-template-columns: 1fr; }
  .problem-grid, .problem-grid.grid-cols-2, .problem-grid.grid-cols-3, .problem-grid.grid-cols-4, .cooling-row { grid-template-columns: 1fr; }
  .assurance-section, .request-section { grid-template-columns: 1fr; }
  .signal-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-nav { width: calc(100% - 24px); }
  .nav-links > a:not(.nav-cta) { display: none; }
  .container { width: calc(100% - 24px); }
  .form-grid { grid-template-columns: 1fr; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal { border-right: none; border-bottom: 1px solid var(--line); }
  .signal:last-child { border-bottom: none; }
  .assurance-table > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 360px) {
  .site-nav { width: calc(100% - 16px); }
  .container { width: calc(100% - 16px); }
  .brand { font-size: 12px; }
  .nav-cta { font-size: 11px; padding: 7px 12px; }
  h1 { font-size: 23px; }
  .form-panel { padding: 14px 12px; }
  .reference-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .cookie-banner {
    right: 10px; bottom: 10px; left: 10px; width: auto; max-width: none;
    padding: 12px 12px 13px; gap: 8px;
  }
  .cookie-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .cookie-btn {
    width: 100%; min-width: 0; padding: 4px 3px; font-size: 10.5px; line-height: 1.05;
    white-space: normal; overflow-wrap: anywhere;
  }
  .cookie-manage { grid-column: auto; }
  .cookie-settings { padding-top: 6px; font-size: 10.5px; line-height: 1.25; }
}

/* Turnstile renders a fixed-width iframe; scale only that third-party widget on narrow forms. */
@media (max-width: 330px) {
  .turnstile-wrap { min-height: 54px; }
  .turnstile-wrap .cf-turnstile {
    width: 300px !important; max-width: none !important; flex: 0 0 300px;
    transform: scale(.82); transform-origin: left top;
  }
}

@media (min-width: 331px) and (max-width: 370px) {
  .turnstile-wrap { min-height: 56px; }
  .turnstile-wrap .cf-turnstile {
    width: 300px !important; max-width: none !important; flex: 0 0 300px;
    transform: scale(.86); transform-origin: left top;
  }
}

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