:root {
  --scarlet: #d7262e;
  --scarlet-dark: #aa141b;
  --ink: #121316;
  --graphite: #2a2d33;
  --steel: #696f79;
  --fog: #eef0f3;
  --paper: #fcfcfd;
  --panel: rgba(255, 255, 255, 0.8);
  --line: rgba(18, 19, 22, 0.08);
  --shadow: 0 20px 60px rgba(18, 19, 22, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--graphite);
  background:
    radial-gradient(circle at top left, rgba(215, 38, 46, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f5f7 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 40px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 16px;
  z-index: 20;
  padding: 14px 18px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-lockup img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong,
.site-footer strong {
  font-family: "Space Grotesk", Arial, sans-serif;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-copy span {
  color: var(--steel);
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--graphite);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--scarlet);
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
}

.button-primary,
.nav-button {
  background: var(--scarlet);
  color: #fff;
  box-shadow: 0 12px 24px rgba(215, 38, 46, 0.18);
}

.button-primary:hover,
.nav-button:hover {
  background: var(--scarlet-dark);
}

.button-secondary {
  background: rgba(18, 19, 22, 0.04);
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: rgba(215, 38, 46, 0.28);
  color: var(--scarlet);
}

.hero,
.section-grid,
.page-hero,
.contact-panel,
.policy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 245, 247, 0.96)),
    var(--paper);
}

.hero-copy h1,
.page-hero h1,
.support-banner h2,
.section-heading h2,
.split-panel h2,
.detail-card h2,
.policy-card h2 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  color: var(--ink);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  max-width: 12ch;
}

.hero-text,
.page-hero p,
.section-heading p,
.split-panel p,
.detail-card p,
.policy-card p,
.contact-panel p {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--steel);
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--scarlet);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.hero-facts,
.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-facts {
  display: grid;
  gap: 12px;
}

.hero-facts li,
.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--graphite);
  line-height: 1.6;
}

.hero-facts li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--scarlet), #f36c72);
}

.hero-panel {
  display: grid;
  gap: 18px;
  align-content: center;
}

.hero-card,
.product-card,
.detail-card,
.split-panel,
.contact-panel,
.policy-card {
  background: var(--panel);
  backdrop-filter: blur(12px);
}

.hero-card,
.product-card,
.split-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
}

.mini-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(215, 38, 46, 0.1);
  color: var(--scarlet);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-card h2,
.product-card h3,
.detail-card h2 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", Arial, sans-serif;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.hero-card p,
.product-card p,
.detail-card p {
  margin: 0;
  color: var(--steel);
  line-height: 1.7;
}

.support-banner,
.section-grid,
.page-hero,
.stacked-cards,
.contact-panel,
.policy-card {
  margin-top: 28px;
}

.support-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(215, 38, 46, 0.95), rgba(123, 14, 19, 0.95));
  color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.support-banner .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.support-email,
.footer-email {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  text-decoration: none;
}

.section-grid {
  padding: clamp(28px, 5vw, 44px);
  background: rgba(255, 255, 255, 0.72);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-logo {
  height: 46px;
  width: auto;
  margin-bottom: 18px;
}

.thermovue-logo {
  filter: saturate(1.05);
}

.future-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(215, 38, 46, 0.12), rgba(18, 19, 22, 0.06));
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  color: var(--scarlet);
}

.section-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.accent-panel {
  background: linear-gradient(180deg, rgba(18, 19, 22, 0.96), rgba(31, 34, 40, 0.96));
  color: rgba(255, 255, 255, 0.92);
}

.accent-panel h2,
.accent-panel p,
.accent-panel li {
  color: inherit;
}

.inner-page .page-hero {
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(circle at top left, rgba(215, 38, 46, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 248, 0.96));
}

.page-hero p {
  max-width: 760px;
}

.stacked-cards {
  display: grid;
  gap: 18px;
}

.detail-card,
.contact-panel,
.policy-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.detail-card .product-logo,
.detail-card .future-mark {
  flex: 0 0 auto;
  margin: 0;
}

.contact-panel,
.policy-card {
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 245, 247, 0.92));
}

.contact-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: 28px 30px;
  border-radius: var(--radius-xl);
  background: #101115;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-email {
  color: #fff;
}

@media (max-width: 960px) {
  .site-header,
  .hero,
  .card-grid,
  .section-split,
  .site-footer,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .site-header,
  .support-banner,
  .detail-card,
  .contact-panel,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .support-email,
  .footer-email {
    word-break: break-word;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .site-header {
    padding: 16px;
    border-radius: 28px;
    top: 12px;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .brand-lockup img {
    width: 54px;
    height: 54px;
  }

  .hero,
  .section-grid,
  .page-hero,
  .contact-panel,
  .policy-card {
    padding: 22px;
    border-radius: 26px;
  }

  .product-card,
  .hero-card,
  .split-panel,
  .detail-card {
    padding: 20px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.3rem, 14vw, 3.6rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button,
  .nav-button {
    width: 100%;
  }
}
