:root {
  --bg: #07161c;
  --ink: #f4f7f6;
  --muted: #c5d5d0;
  --accent: #7ee0d6;
  --accent-ink: #082026;
  --line: rgba(244, 247, 246, 0.16);
  --panel: #102830;
}

body:has(#mode-heat:checked) {
  --bg: #1c120e;
  --ink: #fbf3ea;
  --muted: #e7d0bc;
  --accent: #e8a56e;
  --accent-ink: #1c120e;
  --line: rgba(251, 243, 234, 0.16);
  --panel: #2c1c15;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
  transition: background 0.35s ease, color 0.35s ease;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.logo,
h1,
h2,
.dial-core strong,
.job b,
.step b {
  font-family: Syne, Manrope, sans-serif;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 8.2vw, 5.3rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 700;
  max-width: 100%;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 16ch;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.lede,
.section-head p,
.card p,
.job p,
.step p,
.contact-copy p,
.faq-item p {
  color: var(--muted);
}

.lede {
  margin-top: 18px;
  max-width: 42ch;
  font-size: 1.08rem;
}

.hero {
  position: relative;
  display: grid;
  gap: 36px;
  padding: 28px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 72% 40%, #000, transparent 68%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  min-width: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.mode-switch {
  position: relative;
  display: inline-flex;
  margin-top: 28px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 4px;
}

.mode-switch label {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
}

.mode-switch .sr:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body:has(#mode-cool:checked) label[for="mode-cool"],
body:has(#mode-heat:checked) label[for="mode-heat"] {
  background: var(--accent);
  color: var(--accent-ink);
}

body:has(#mode-cool:checked) [data-show="heat"],
body:has(#mode-heat:checked) [data-show="cool"] {
  display: none !important;
}

.dial-face {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 1;
  margin-inline: auto;
}

.dial-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--accent) 0 132deg, var(--line) 132deg 360deg);
}

.dial-ring::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: var(--bg);
}

.dial-core {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dial-core strong {
  font-size: clamp(3.4rem, 8vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.dial-label {
  margin-top: 6px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.specs div {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.specs span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.specs b {
  font-weight: 650;
  white-space: nowrap;
}

section {
  padding: 28px 0 72px;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 48ch;
}

.cards {
  display: grid;
  gap: 12px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
}

.card .index {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

.card p {
  margin-top: 8px;
}

body:has(#mode-cool:checked) [data-feature="cool"],
body:has(#mode-heat:checked) [data-feature="heat"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, var(--panel));
}

.jobs {
  display: grid;
}

.job {
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.job:last-child {
  border-bottom: 1px solid var(--line);
}

.job > span {
  font-family: Syne, sans-serif;
  color: var(--accent);
  font-size: 1.1rem;
}

.job b {
  grid-column: 2;
  font-weight: 700;
}

.steps {
  display: grid;
  gap: 18px;
}

.step b {
  display: block;
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding-bottom: 16px;
  max-width: 62ch;
}

.contact {
  display: grid;
  gap: 28px;
}

.address {
  margin-top: 18px;
  display: grid;
  gap: 4px;
}

.address a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.fine,
.form-success {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-fields,
label,
.split {
  display: grid;
  gap: 8px;
}

.form-fields {
  gap: 14px;
}

label span,
legend {
  font-size: 0.88rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px;
  color-scheme: dark;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-success {
  border: 1px solid var(--accent);
  border-radius: 18px;
  padding: 22px;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--ink);
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding-top: 48px;
  }

  .cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .job {
    grid-template-columns: 64px 1fr auto;
    align-items: start;
    gap: 18px;
  }

  .job b {
    grid-column: auto;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 799px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 560px) and (max-width: 799px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}
