:root {
  color: #17211f;
  background: #f4f6f8;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #17211f;
  --muted: #60706c;
  --line: #dbe2e0;
  --surface: #ffffff;
  --soft: #eef3f2;
  --green: #0f8f70;
  --green-dark: #0d5d50;
  --amber: #c18422;
  --blue: #286e96;
  --charcoal: #10201d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #f4f6f8;
}

body,
button,
input,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 0;
}

code {
  border: 1px solid #d7e1de;
  border-radius: 6px;
  padding: 0.12em 0.38em;
  background: #f8fbfa;
  color: #294641;
  font-size: 0.92em;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 50;
  transform: translateY(-140%);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--charcoal);
  color: #ffffff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgb(219 226 224 / 0.9);
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 850;
}

.brand img {
  width: 32px;
  height: 34px;
  border-radius: 7px;
}

.brand--footer {
  color: #ffffff;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.site-nav a,
.header-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 8px;
  padding: 8px 12px;
  color: #40534e;
  font-size: 0.95rem;
  font-weight: 760;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: #e7f2ef;
  color: var(--green-dark);
}

.header-cta {
  justify-content: center;
  background: var(--charcoal);
  color: #ffffff;
}

.hero-section,
.content-section,
.contact-panel,
.page-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  gap: 22px;
  min-height: min(780px, calc(100svh - 72px));
  padding: clamp(36px, 6vw, 72px) 0 34px;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(24px, 5vw, 58px);
  align-items: end;
}

.hero-route-panel {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.hero-route-panel span {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 850;
}

.hero-route-panel strong {
  color: #243833;
  line-height: 1.36;
}

.hero-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
  gap: 14px;
  align-items: stretch;
}

.hero-copy p:not(.kicker),
.section-copy p,
.section-heading p,
.media-section p,
.contact-panel p,
.page-hero p,
.article-hero p,
.article-side p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero-copy p:not(.kicker) {
  max-width: 680px;
  margin: 22px 0 0;
}

.kicker {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 850;
}

.button--primary {
  background: var(--green);
  color: #ffffff;
}

.button--ghost {
  border: 1px solid #cbd8d5;
  background: #ffffff;
  color: #23423b;
}

.dashboard-shot,
.phone-shot {
  margin: 0;
  border: 1px solid #cbd8d5;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgb(16 32 29 / 0.16);
}

.dashboard-shot {
  display: grid;
  overflow: hidden;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 10px;
}

.dashboard-shot img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  max-height: 470px;
  border-radius: 6px;
  object-fit: contain;
  object-position: top center;
  background: #f8fbfa;
}

.dashboard-shot figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 8px 4px;
}

.dashboard-shot figcaption span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
}

.dashboard-shot figcaption strong {
  text-align: right;
}

.phone-shot {
  display: grid;
  overflow: hidden;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: end;
  padding: 10px;
  background: #10201d;
  color: #ffffff;
}

.phone-shot img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  max-height: 470px;
  border-radius: 6px;
  object-fit: cover;
  object-position: top center;
}

.phone-shot figcaption {
  padding: 12px 4px 2px;
  color: rgb(255 255 255 / 0.8);
  font-size: 0.84rem;
  font-weight: 850;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.signal-strip a {
  display: grid;
  gap: 5px;
  min-height: 86px;
  align-content: center;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.signal-strip a:last-child {
  border-right: 0;
}

.signal-strip span {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 850;
}

.signal-strip strong {
  color: #21332f;
}

.content-section {
  padding: clamp(54px, 8vw, 92px) 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 58px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:last-child,
.section-copy p {
  margin-top: 16px;
}

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

.feature-list article,
.price-grid article,
.article-card,
.install-notes article,
.article-side,
.inline-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature-list article {
  min-height: 164px;
  padding: 20px;
}

.feature-list h3 {
  font-size: 1.08rem;
}

.feature-list p,
.article-card p,
.install-notes p,
.price-grid small {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.download-preview,
.price-section,
.article-section {
  border-top: 1px solid var(--line);
}

.download-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.download-table__row {
  display: grid;
  grid-template-columns: 0.8fr 0.7fr 1.5fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.download-table__row:first-child {
  border-top: 0;
}

.download-table__head {
  background: #10201d;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 850;
}

.download-table__row:not(.download-table__head) span:first-child {
  font-weight: 900;
}

.download-table a {
  color: var(--green-dark);
  font-weight: 850;
}

.media-section {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.phone-panel {
  overflow: hidden;
  border: 1px solid #cbd8d5;
  border-radius: 8px;
  background: #dfe7e4;
}

.phone-panel img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  object-position: top;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  color: #344c47;
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

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

.price-grid article {
  min-height: 190px;
  padding: 22px;
}

.price-grid span {
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 850;
}

.price-grid strong {
  display: block;
  margin-top: 16px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.price-grid p {
  margin: 8px 0 0;
  color: #37534d;
  font-weight: 780;
}

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

.article-grid--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-card {
  display: flex;
  min-height: 226px;
  flex-direction: column;
  padding: 20px;
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 850;
}

.article-card h3 {
  margin-top: 18px;
  font-size: 1.18rem;
  line-height: 1.28;
}

.article-card h3 a:hover,
.text-link:hover {
  color: var(--green-dark);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 58px;
  border-radius: 8px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--charcoal);
  color: #ffffff;
}

.contact-panel p,
.contact-panel .kicker {
  color: rgb(255 255 255 / 0.76);
}

.contact-panel h2 {
  color: #ffffff;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 260px);
  gap: 28px;
  align-items: center;
  padding: clamp(42px, 8vw, 86px) 0 36px;
}

.page-hero img {
  max-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  object-position: top;
}

.list-hero {
  grid-template-columns: minmax(0, 820px);
}

.install-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--line);
}

.install-notes article {
  padding: 20px;
}

.install-notes h2 {
  font-size: 1.25rem;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--green-dark);
  font-weight: 850;
}

.article-layout {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
}

.article-hero {
  padding: clamp(42px, 8vw, 86px) 0 34px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-weight: 850;
}

.article-hero p:not(.kicker) {
  max-width: 760px;
  margin-top: 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  color: var(--muted);
  font-weight: 760;
}

.article-media {
  overflow: hidden;
  margin: 0 0 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.article-media img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  object-position: top center;
  background: #f8fbfa;
}

.article-media figcaption {
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.article-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 38px;
  align-items: start;
  padding-bottom: 82px;
}

.article-content {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.article-key-points {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: #f7fbf9;
}

.article-key-points h2 {
  margin: 0;
  font-size: 1.16rem;
}

.article-key-points ul {
  margin: 0;
}

.article-content h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.article-content h3 {
  margin: 26px 0 10px;
  color: var(--ink);
  font-size: 1.16rem;
}

.article-content p {
  color: #314640;
  font-size: 1.06rem;
  line-height: 1.82;
}

.article-content ul,
.article-content ol {
  margin: 16px 0 22px;
  padding-left: 1.35rem;
  color: #314640;
  line-height: 1.78;
}

.article-content li + li {
  margin-top: 8px;
}

.article-content strong {
  color: var(--ink);
}

.article-note {
  margin: 24px 0;
  border-left: 4px solid var(--green);
  padding: 14px 18px;
  background: #f7fbf9;
  color: #314640;
  line-height: 1.72;
}

.article-inline-image {
  overflow: hidden;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.article-inline-image img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: top center;
  background: #f8fbfa;
}

.article-inline-image figcaption {
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}

.article-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.article-side h2 {
  font-size: 1.2rem;
}

.article-toc {
  display: grid;
  gap: 8px;
}

.article-toc a {
  border-bottom: 1px solid var(--line);
  padding: 0 0 8px;
  color: #314640;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.45;
}

.inline-cta {
  display: grid;
  gap: 8px;
  margin: 28px 0;
  padding: 18px;
  border-left: 4px solid var(--green);
}

.inline-cta span {
  color: var(--muted);
  line-height: 1.55;
}

.inline-cta a {
  color: var(--green-dark);
  font-weight: 850;
}

.article-bottom-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgb(16 32 29 / 0.94);
  color: #ffffff;
  box-shadow: 0 18px 48px rgb(0 0 0 / 0.24);
}

.article-bottom-bar a {
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--green);
  font-weight: 850;
}

.pager {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.pager a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  background: #ffffff;
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 34px max(18px, calc((100vw - 1180px) / 2));
  background: #0b1513;
  color: #ffffff;
}

.site-footer p {
  max-width: 520px;
  margin: 12px 0 0;
  color: rgb(255 255 255 / 0.66);
  line-height: 1.6;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-footer nav a {
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 8px;
  padding: 9px 11px;
  color: rgb(255 255 255 / 0.82);
  font-weight: 760;
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 12px;
  }

  .hero-shell,
  .hero-media-grid,
  .section-grid,
  .media-section,
  .page-hero,
  .article-body-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .signal-strip,
  .price-grid,
  .article-grid,
  .article-grid--wide,
  .install-notes {
    grid-template-columns: 1fr;
  }

  .signal-strip a {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .signal-strip a:first-child {
    border-top: 0;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .article-side {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header__inner,
  .hero-section,
  .content-section,
  .contact-panel,
  .page-hero,
  .article-layout,
  .signal-strip {
    width: min(100% - 28px, 1180px);
  }

  .header-cta {
    display: none;
  }

  .site-nav a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 0.9rem;
  }

  .hero-actions,
  .contact-panel,
  .article-bottom-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .article-bottom-bar a {
    width: 100%;
  }

  .download-table,
  .download-table__row,
  .download-table__head {
    display: block;
  }

  .download-table__head {
    display: none;
  }

  .download-table__row {
    padding: 18px;
  }

  .download-table__row span {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
    padding: 7px 0;
  }

  .download-table__row span::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.86rem;
    font-weight: 850;
  }

  .dashboard-shot figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-shot figcaption strong {
    text-align: left;
  }

  .dashboard-shot img,
  .phone-shot img {
    min-height: 0;
    max-height: none;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
