:root {
  --blue: #0b66c3;
  --blue-dark: #0b3d66;
  --blue-deep: #082f52;
  --green: #4e9f3d;
  --green-dark: #2f7d32;
  --green-light: #eef8ea;
  --ink: #1e293b;
  --muted: #5c6878;
  --light: #f4f9ff;
  --soft: #f8fafc;
  --border: #d8e3ec;
  --shadow: 0 14px 38px rgba(9, 47, 82, .10);
  --shadow-lg: 0 24px 60px rgba(9, 47, 82, .16);
  --max: 1100px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
  overflow-x: hidden;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

/* TOP BAR */

.topbar {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-dark));
  color: #fff;
  font-size: .9rem;
}

.topbar .wrap {
  padding: 8px 0;
  text-align: center;
  letter-spacing: .01em;
}

/* HEADER + NAVIGATION */

.site-header {
  border-bottom: 1px solid rgba(216, 227, 236, .85);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 5px 22px rgba(9, 47, 82, .04);
}

.headrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
}

.brand {
  flex: 0 0 auto;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--blue-dark);
  text-decoration: none;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.brand span {
  color: var(--green);
}

nav {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

nav a {
  color: #334155;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  transition: color .2s ease;
}

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

/* BUTTONS */

.button,
.button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), #1681e8);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 19px;
  border-radius: 10px;
  border: 1px solid transparent;
  box-shadow: 0 8px 20px rgba(11, 102, 195, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 102, 195, .25);
}

.button.secondary {
  background: #fff;
  color: var(--blue);
  border-color: #a9cbed;
  box-shadow: none;
}

.button.secondary:hover {
  color: var(--blue-dark);
  background: #f5faff;
}

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

/* HOME HERO */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef8ff 0%, #f8fcff 48%, #eef8ea 100%);
  padding: 72px 0 60px;
  border-bottom: 1px solid #e7eef4;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 159, 61, .18) 0%, rgba(78, 159, 61, 0) 68%);
  right: -150px;
  top: -230px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 102, 195, .14) 0%, rgba(11, 102, 195, 0) 68%);
  left: -200px;
  bottom: -260px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  background: #fff;
  border: 1px solid #cfe7ca;
  padding: 6px 10px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2.45rem, 5.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: .28em 0 .3em;
  color: var(--blue-deep);
}

.lead {
  font-size: 1.17rem;
  color: var(--muted);
  max-width: 820px;
}

.product-visual {
  position: relative;
  background: linear-gradient(145deg, #0b3d66, #0a568f);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 24px;
  color: #fff;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, .08), transparent 45%);
  pointer-events: none;
}

.visual-label {
  position: relative;
  z-index: 3;
  max-width: 360px;
}

.visual-label strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.visual-label span {
  display: block;
  font-size: .92rem;
  color: #dceaf5;
}

.hero-photo-wrap {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(11, 61, 102, .18);
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 5;
  object-fit: cover;
}

.visual-badge {
  position: relative;
  display: inline-block;
  margin-top: 16px;
  background: #fff;
  color: var(--blue-dark);
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .84rem;
  z-index: 3;
}

/* PAGE HERO */

.breadcrumbs {
  font-size: .88rem;
  color: var(--muted);
  padding-top: 18px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 40px;
  background: linear-gradient(135deg, #eef8ff 0, #f8fcff 55%, #eef8ea 100%);
  border-bottom: 1px solid #e1ebf2;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  right: -95px;
  top: -130px;
  background: radial-gradient(circle, rgba(78, 159, 61, .18), transparent 68%);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--blue-deep);
  margin: .22em 0;
}

.page-hero .lead {
  max-width: 860px;
  margin-bottom: 0;
}

/* CONTENT */

section {
  padding: 58px 0;
}

.section-light {
  background: linear-gradient(180deg, #f7fbff, #f2f8fc);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--blue-dark);
  margin-top: 0;
  margin-bottom: 14px;
}

h3 {
  color: var(--blue-dark);
  line-height: 1.25;
}

p:first-child {
  margin-top: 0;
}

.section-intro {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: -4px;
  margin-bottom: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

/* CARDS */

.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(9, 47, 82, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.feature-card {
  padding-top: 70px;
}

.feature-icon {
  position: absolute;
  top: 22px;
  left: 24px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon {
  background: #edf6ff;
  color: var(--blue);
}

/* HOME SIZE STRIP */

.size-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 28px 0 12px;
}

.size-pill {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(9, 47, 82, .05);
}

.size-pill:first-child,
.size-pill:last-child {
  border-top-color: var(--green);
}

.size-pill strong {
  display: block;
  color: var(--blue-dark);
  font-size: 1.5rem;
  line-height: 1;
}

.size-pill span {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  margin-top: 7px;
}

/* INFOGRAPHIC: HOW IT WORKS */

.image-section {
  padding-top: 42px;
  padding-bottom: 48px;
}

.how-it-works-figure {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

.how-it-works-image {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

.how-it-works-caption {
  max-width: 980px;
  margin: 14px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

/* INFOGRAPHIC: SIZE GUIDE */

.size-chart-figure {
  width: 100%;
  max-width: 1000px;
  margin: 30px auto 36px;
  text-align: center;
}

.gutter-size-chart {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.size-chart-figure figcaption {
  max-width: 900px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: .92rem;
}

.size-guide-cards {
  margin-top: 8px;
}

.size-guide-cards .card {
  border-top: 4px solid var(--green);
}

.size-guide-cards .card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.measure-steps {
  margin: 18px 0 22px;
  padding-left: 1.4rem;
}

.measure-steps li {
  padding: 5px 0 5px 5px;
}

.measure-steps li::marker {
  color: var(--green-dark);
  font-weight: 800;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* TABLES */

.specs {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(9, 47, 82, .05);
}

.specs th,
.specs td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.specs tr:last-child td {
  border-bottom: 0;
}

.specs th {
  background: var(--blue-dark);
  color: #fff;
}

.specs tbody tr:nth-child(even) {
  background: #f8fbfd;
}

/* CALLOUTS + NOTICES */

.callout {
  border: 1px solid #cfe1f0;
  border-left: 5px solid var(--blue);
  background: linear-gradient(135deg, #f4f9ff, #fff);
  padding: 22px 24px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(9, 47, 82, .05);
}

.callout strong,
.callout h2,
.callout h3 {
  color: var(--blue-dark);
}

.notice {
  font-size: .94rem;
  background: #fff8e6;
  border: 1px solid #edd59b;
  border-left: 5px solid #d2a634;
  border-radius: 12px;
  padding: 16px 18px;
}

/* FAQ */

.faq details {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 0 19px;
  margin: 12px 0;
  box-shadow: 0 5px 20px rgba(9, 47, 82, .04);
}

.faq summary {
  font-weight: 800;
  cursor: pointer;
  color: var(--blue-dark);
  padding: 17px 0;
}

.faq details p {
  margin: 0 0 17px;
  color: #475569;
}

/* FOOTER */

.footer {
  background: linear-gradient(135deg, #0b2f4d, #102a43);
  color: #e7eef5;
  margin-top: 0;
}

.footer a {
  color: #fff;
}

.footer .wrap {
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.small {
  font-size: .9rem;
  color: #667085;
}

.footer .small {
  color: #c8d4df;
}

/* ACCESSIBILITY */

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(11, 102, 195, .35);
  outline-offset: 3px;
  border-radius: 4px;
}

/* TABLET */

@media (max-width: 900px) {
  .headrow {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    gap: 10px 14px;
    justify-content: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .size-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .how-it-works-figure,
  .size-chart-figure {
    max-width: 100%;
  }
}

/* MOBILE */

@media (max-width: 650px) {
  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  .topbar {
    font-size: .8rem;
  }

  .site-header {
    position: relative;
  }

  .headrow {
    padding: 11px 0;
  }

  .brand {
    font-size: 1.5rem;
  }

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
  }

  nav a {
    padding: 5px 0;
    font-size: .9rem;
    min-width: 0;
  }

  nav .button {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .hero {
    padding: 46px 0 40px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .page-hero {
    padding: 38px 0 34px;
  }

  section {
    padding: 44px 0;
  }

  .product-visual {
    padding: 18px;
    border-radius: 20px;
  }

  .hero-photo-wrap,
  .how-it-works-image,
  .gutter-size-chart {
    border-radius: 12px;
  }

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

  .size-pill:last-child {
    grid-column: 1 / -1;
  }

  .card,
  .callout {
    padding: 20px;
  }

  .specs {
    min-width: 620px;
  }

  .table-wrap .specs {
    min-width: 600px;
  }

  .how-it-works-caption,
  .size-chart-figure figcaption {
    text-align: left;
    font-size: .88rem;
  }

  .actions .button {
    width: 100%;
  }
}

/* VERY SMALL SCREENS */

@media (max-width: 420px) {
  nav {
    grid-template-columns: 1fr;
  }

  nav .button {
    grid-column: auto;
  }

  .size-strip {
    grid-template-columns: 1fr 1fr;
  }

  .button {
    width: 100%;
  }
}
/* COMMERCIAL GUTTER GUARDS PAGE */

.commercial-fit-figure {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto 36px;
  text-align: center;
}

.commercial-gutter-image {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.commercial-fit-figure figcaption {
  max-width: 960px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.commercial-applications .card {
  border-top: 4px solid var(--green);
}

.commercial-applications .card:nth-child(2) {
  border-top-color: var(--blue);
}

.commercial-applications .card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.commercial-measurements {
  margin-top: 22px;
}

.commercial-measurements strong {
  color: var(--blue-dark);
}

.commercial-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--green-light);
  border: 1px solid #cfe7ca;
  border-left: 5px solid var(--green);
}

.commercial-note strong {
  color: var(--green-dark);
}

/* Keep large technical graphics sharp without overflowing containers */

.image-section figure {
  max-width: 100%;
}

.image-section img {
  height: auto;
}

/* TABLET - COMMERCIAL PAGE */

@media (max-width: 900px) {
  .commercial-fit-figure {
    max-width: 100%;
  }
}

/* MOBILE - COMMERCIAL PAGE */

@media (max-width: 650px) {
  .commercial-gutter-image {
    border-radius: 12px;
  }

  .commercial-fit-figure figcaption {
    text-align: left;
    font-size: .88rem;
  }

  .commercial-note {
    padding: 16px;
  }
}