:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #5c6862;
  --line: #d8ddd8;
  --surface: #f3f5f2;
  --panel: #ffffff;
  --field: #e7ebe6;
  --teal: #1f7f82;
  --teal-dark: #12585b;
  --amber: #c47a20;
  --shadow: 0 18px 40px rgba(23, 32, 28, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(243, 245, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--teal-dark);
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 34px);
  color: var(--muted);
  font-weight: 600;
}

nav a {
  text-decoration: none;
}

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

.hero {
  display: flex;
  align-items: center;
  padding: 104px clamp(20px, 5vw, 72px) 118px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 25, 23, 0.88), rgba(15, 25, 23, 0.66) 42%, rgba(15, 25, 23, 0.12)),
    url("images/ammeter-cover.png") center / cover no-repeat;
}

.hero-content {
  width: min(760px, 100%);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.support-hero h1 {
  margin: 0;
  font-size: 84px;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.button.secondary {
  color: #fff;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro {
  background: var(--panel);
}

.intro h2,
.section-heading h2,
.contact-band h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0;
}

.intro p,
.contact-band p,
.support-hero p,
.support-content p,
.plain-list {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  margin-bottom: 34px;
}

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

.asset-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.asset-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: var(--field);
}

.asset-body {
  padding: 26px;
}

.asset-type {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.asset-body h3,
.workflow-item h3,
.support-content h2 {
  margin: 8px 0 10px;
  font-size: 24px;
  letter-spacing: 0;
}

.asset-body p,
.asset-body li,
.workflow-item p {
  color: var(--muted);
}

.asset-body ul,
.plain-list {
  padding-left: 20px;
}

.workflow {
  background: #e8ece7;
}

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

.workflow-item {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.workflow-item span {
  color: var(--amber);
  font-weight: 900;
}

.contact-band {
  background: var(--teal-dark);
  color: #fff;
}

.contact-band .eyebrow {
  color: #f0b35b;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.82);
}

.text-link,
.contact-link {
  color: #fff;
  font-weight: 900;
}

.contact-links {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.contact-link {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.contact-link span {
  min-width: 72px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.support-hero {
  padding: clamp(70px, 12vw, 150px) clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 28, 26, 0.88), rgba(18, 28, 26, 0.6)),
    url("images/thermo-cover.png") center / cover no-repeat;
}

.support-hero p {
  width: min(680px, 100%);
  color: rgba(255, 255, 255, 0.86);
}

.support-content {
  background: var(--panel);
}

.support-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 28px;
}

.contact-card {
  display: block;
  margin-top: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.contact-card-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-card-list .contact-card {
  margin-top: 0;
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-top: 6px;
  color: var(--teal-dark);
  font-size: 20px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 700;
}

.icp-record {
  flex: 0 0 100%;
  text-align: center;
}

.site-footer .icp-record a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer .icp-record a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

@media (max-width: 1040px) {
  .hero h1,
  .support-hero h1 {
    font-size: 64px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .intro h2,
  .section-heading h2,
  .contact-band h2 {
    font-size: 40px;
  }
}

@media (max-width: 820px) {
  .site-header,
  nav,
  .hero-actions,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 76px;
    padding-bottom: 88px;
    background:
      linear-gradient(90deg, rgba(15, 25, 23, 0.6), rgba(15, 25, 23, 0.22) 56%, rgba(15, 25, 23, 0.04)),
      url("images/ammeter-social.png") left center / cover no-repeat;
  }

  .hero h1,
  .support-hero h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .intro h2,
  .section-heading h2,
  .contact-band h2 {
    font-size: 32px;
  }

  .two-column,
  .asset-grid,
  .workflow-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
}
