:root {
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18253a;
  background: #f6f7f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #18253a;
  --muted: #56647a;
  --line: #d7deea;
  --blue: #2459d3;
  --paper: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f6f7f8; color: var(--ink); }
a { color: inherit; }
a:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 4px; }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header { min-height: 82px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { display: block; border-radius: 8px; }
.brand span { font-size: 16px; letter-spacing: -.03em; }
.brand strong { font-weight: 750; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 24px; }
.site-nav a, .site-footer > a:last-child { color: #39475d; font-size: 13px; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-footer > a:last-child:hover, .text-link:hover, .related-links a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav .nav-cta { padding: 11px 15px; border-radius: 5px; background: var(--blue); color: white; }
.site-nav .nav-cta:hover { background: #1747b6; color: white; }

.hero, .product-section, .simulator-band, .service-area, .site-footer, .service-page { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr); align-items: center; gap: clamp(28px, 5vw, 76px); padding-block: clamp(58px, 9vw, 112px) 78px; }
.hero-copy { max-width: 560px; }
.eyebrow { margin: 0 0 15px; color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1, h2 { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
h1 { max-width: 700px; margin-bottom: 20px; font-size: clamp(42px, 6vw, 72px); line-height: .99; }
h1 em { color: var(--blue); font-weight: 500; }
.hero-text { max-width: 560px; margin-bottom: 27px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 19px; border-radius: 5px; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: #1747b6; }
.button-light { background: white; color: #15233b; }
.button-light:hover { background: #eaf0fa; }
.text-link { color: var(--ink); font-size: 14px; font-weight: 650; text-underline-offset: 4px; }
.hero-note { margin: 20px 0 0; color: #6a7688; font-size: 12px; }
.hero-drawing { margin: 0; padding: clamp(18px, 3vw, 32px); border: 1px solid #d4deed; background: #eaf0f7; }
.hero-drawing svg { display: block; width: 100%; height: auto; }
.hero-drawing figcaption { margin: 8px 0 0; color: #637189; font-size: 11px; }

.product-section { padding-block: 28px 88px; }
.section-heading { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(280px, 1fr); align-items: end; gap: 0 50px; margin-bottom: 30px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
h2 { margin-bottom: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; }
.section-heading > p:last-child { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.product-list { border-top: 1px solid var(--line); }
.product-row { display: grid; grid-template-columns: 54px 1fr 34px; align-items: center; gap: 18px; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.product-row:hover { background: #eef2f8; }
.product-index { color: #7c8ba2; font-family: Georgia, serif; font-size: 19px; }
.product-row strong { display: block; margin-bottom: 5px; font-size: 17px; font-weight: 700; }
.product-row small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.row-mark { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #b7c3d5; border-radius: 50%; color: var(--blue); font-size: 15px; }

.simulator-band, .next-step { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: clamp(28px, 5vw, 55px); background: #17243a; color: white; }
.simulator-band { margin-bottom: 84px; }
.simulator-band h2, .next-step h2 { max-width: 570px; margin: 0 0 12px; color: white; }
.simulator-band p:last-child, .next-step p:last-child { max-width: 640px; margin: 0; color: #c8d2e1; font-size: 14px; line-height: 1.7; }
.eyebrow-light { color: #9ebaff; }
.simulator-band .button, .next-step .button { flex: 0 0 auto; }
.service-area { display: grid; grid-template-columns: .65fr 1.35fr; gap: 35px; padding-bottom: 92px; }
.service-area h2 { margin-bottom: 15px; }
.service-area p:not(.eyebrow) { max-width: 680px; margin-bottom: 14px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.service-area .text-link { display: inline-block; }
.site-footer { flex-wrap: wrap; min-height: 90px; padding-block: 20px; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; color: #6a7688; font-size: 12px; }

.service-page { padding-top: 24px; }
.breadcrumb { margin: 0 0 34px; color: #728097; font-size: 12px; }
.breadcrumb a { text-underline-offset: 3px; }
.service-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .62fr); align-items: center; gap: 50px; padding: 28px 0 76px; }
.service-hero h1 { max-width: 740px; font-size: clamp(40px, 6vw, 64px); }
.service-hero .button { margin-top: 2px; }
.product-drawing { position: relative; display: grid; min-height: 280px; align-items: center; justify-items: center; margin: 0; padding: 32px; border: 1px solid #d4deed; background: #eaf0f7; }
.drawing-window { grid-template-columns: 1fr 1fr; gap: 0; width: 100%; max-width: 360px; aspect-ratio: 1.18; min-height: 0; border: 12px solid #20324e; background: #d8e5f3; }
.drawing-window span { width: 100%; height: 100%; border: 3px solid #2459d3; background: #f8fafc; }
.drawing-door { width: min(230px, 100%); height: 300px; justify-self: center; grid-template-columns: repeat(2, 1fr); align-items: stretch; gap: 4px; padding: 15px 15px 0; border: 9px solid #20324e; border-bottom: 0; background: #eaf0f7; }
.drawing-door span { border: 3px solid #2459d3; background: #f8fafc; }
.drawing-door span:last-child { grid-column: 1 / -1; height: 76px; }
.drawing-fence { display: flex; width: 100%; max-width: 420px; height: 200px; justify-content: space-around; align-items: stretch; gap: 8px; padding: 22px 16px; border: 0; border-top: 7px solid #20324e; border-bottom: 7px solid #20324e; background: transparent; }
.drawing-fence span { width: 13px; height: 100%; background: #2459d3; }
.service-details { display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; padding-block: 46px 54px; border-top: 1px solid var(--line); }
.service-details h2 { max-width: 410px; font-size: clamp(29px, 4vw, 42px); }
.detail-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-list li { display: grid; grid-template-columns: minmax(145px, .55fr) 1fr; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.detail-list strong { font-size: 14px; }
.detail-list span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.notice-panel { max-width: 800px; margin: 0 0 70px auto; padding: 20px 0 0; border-top: 2px solid #2459d3; }
.notice-panel p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.next-step { margin-bottom: 48px; }
.next-step h2 { font-size: clamp(30px, 4vw, 42px); }
.related-links { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-bottom: 48px; }
.related-links a { color: #324158; font-size: 13px; font-weight: 650; text-underline-offset: 4px; }
.area-hero { min-height: 420px; }
.area-mark { display: flex; width: 100%; max-width: 440px; flex-direction: column; gap: 12px; margin: 0; padding: clamp(12px, 2vw, 18px); border: 1px solid #d4deed; background: #f0f4f3; }
.area-mark svg { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.area-map-ground { fill: #f1f3ef; }
.area-map-water { fill: #dcecf0; }
.area-map-neighbor { fill: #e2e9e4; stroke: #f8f8f5; stroke-width: 1.2; stroke-linejoin: round; }
.area-map-coverage { fill: #bd3028; fill-opacity: .26; stroke: #fffaf2; stroke-width: 1.2; stroke-linejoin: round; }
.area-map-labels { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 9px; font-weight: 750; letter-spacing: .04em; }
.area-map-labels text { fill: #54211d; paint-order: stroke; stroke: #fffaf2; stroke-width: 2.5px; stroke-linejoin: round; }
.area-mark figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; color: #53627a; font-size: 12px; }
.area-mark figcaption span { width: 11px; height: 11px; flex: 0 0 11px; border: 1px solid #ae2923; border-radius: 2px; background: rgb(189 48 40 / 24%); }
.area-details { margin-bottom: 12px; }
.coverage-checker { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 4vw, 52px); margin-bottom: 60px; padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.coverage-checker h2 { max-width: 420px; margin-bottom: 12px; font-size: clamp(28px, 3.4vw, 38px); }
.coverage-checker > div > p:last-child { max-width: 440px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.coverage-form { min-width: 0; }
.coverage-form > label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.coverage-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.coverage-controls input { min-width: 0; min-height: 48px; padding: 0 13px; border: 1px solid #aeb9ca; border-radius: 5px; background: white; color: var(--ink); font: inherit; }
.coverage-controls input:focus-visible { outline: 3px solid #9bb7ff; outline-offset: 2px; }
.coverage-result { margin: 14px 0 0; padding: 12px 14px; border: 1px solid #a6d4b0; border-radius: 6px; background: #edf8f0; color: #174d2b; font-size: 14px; line-height: 1.5; }
.coverage-result[data-state="unknown"] { border-color: #dfd2a5; background: #fff9e8; color: #5b4914; }
.coverage-hint { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.not-found { width: min(680px, calc(100% - 48px)); margin: 12vh auto 0; }
.not-found .eyebrow { margin-top: 75px; }
.not-found h1 { font-size: clamp(42px, 7vw, 64px); }
.not-found > p:not(.eyebrow) { color: var(--muted); font-size: 15px; }

@media (max-width: 760px) {
  .site-header, .site-footer, .hero, .product-section, .simulator-band, .service-area, .service-page { width: min(100% - 32px, 1200px); }
  .site-header { align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; padding-block: 15px; }
  .site-nav { justify-content: flex-start; gap: 8px 16px; }
  .site-nav a { font-size: 12px; }
  .site-nav .nav-cta { padding: 9px 12px; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 55px 64px; }
  h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero-drawing { max-width: 600px; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .section-heading .eyebrow { grid-column: auto; }
  .section-heading > p:last-child { max-width: 560px; }
  .product-section { padding-bottom: 64px; }
  .product-row { grid-template-columns: 38px 1fr 30px; gap: 10px; padding-block: 18px; }
  .simulator-band, .next-step { align-items: flex-start; flex-direction: column; gap: 24px; }
  .simulator-band { margin-bottom: 64px; }
  .service-area { grid-template-columns: 1fr; gap: 5px; padding-bottom: 66px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 23px; }
  .service-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 10px 55px; }
  .service-hero .product-drawing, .service-hero .area-mark { justify-self: center; }
  .service-details { grid-template-columns: 1fr; gap: 22px; padding-block: 38px 43px; }
  .coverage-checker { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 50px; padding: 20px; }
  .coverage-controls { grid-template-columns: minmax(0, 1fr); }
  .coverage-controls .button { width: 100%; }
  .detail-list li { grid-template-columns: minmax(110px, .6fr) 1fr; gap: 12px; }
  .notice-panel { margin-bottom: 50px; padding-left: 19px; }
  .next-step { margin-bottom: 34px; }
  .related-links { flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 12px auto auto 12px;
  padding: 12px 16px;
  background: var(--paper);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.landing .product-row { grid-template-columns: minmax(0, 1fr); }
.landing .product-row small { font-size: 1rem; }
.quote-steps { margin: 0; padding-inline-start: 1.3em; line-height: 1.65; }
.quote-steps li + li { margin-top: .5rem; }
.landing .site-nav a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 760px) {
  .landing .hero-actions .button { width: 100%; }
  .landing .hero-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
}

.landing .hero { padding-block: clamp(24px, 4vw, 52px); gap: clamp(16px, 3vw, 40px); }
.landing h1 { font-size: clamp(2.15rem, 4.5vw, 4rem); line-height: 1.04; }
.landing .hero-drawing svg { max-height: 300px; }
.landing .section-heading { display: block; margin-bottom: 16px; }
.landing .product-section { padding-block: 8px 36px; }
.landing .product-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border: 0; }
.landing .product-row { align-content: start; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.landing .product-row:hover { border-color: var(--blue); }
.catalog-sketch { display: block; width: 100%; height: 80px; color: var(--blue); background: #eaf0f7; border-radius: 5px; }
.catalog-sketch path { fill: none; stroke: currentColor; stroke-width: 2; }
.catalog-sketch text { fill: var(--ink); font-size: 8px; }
.landing .simulator-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); margin-bottom: 24px; border-radius: 12px; }
.quote-example { min-width: 0; margin: 0; padding: 16px; border-radius: 8px; background: white; color: var(--ink); }
.quote-example figcaption { margin-top: 8px; font-weight: 700; }
.quote-example dl { margin-block: 8px 14px; }
.quote-example dl div { display: flex; justify-content: space-between; gap: 8px; padding-block: 5px; border-bottom: 1px solid var(--line); }
.quote-example dd { margin: 0; white-space: nowrap; }
.landing .service-area { display: block; padding: 18px 0 28px; }
.landing .service-area .eyebrow { margin-bottom: 8px; }

@media (max-width: 760px) {
  .landing .hero-drawing svg { max-height: 160px; }
  .landing .product-list, .landing .simulator-band { grid-template-columns: minmax(0, 1fr); }
  .landing .product-row { grid-template-columns: minmax(0, 66px) minmax(0, 1fr); }
  .landing .simulator-band { padding: 16px; }
  .quote-example .button { width: 100%; }
}

.measure-guide { scroll-margin-top: 1rem; }
.measure-guide h2 { margin-bottom: 16px; }
.measure-guide p { color: var(--muted); line-height: 1.65; }
.measure-guide figure { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.measure-guide svg { display: block; width: 100%; height: 180px; margin-bottom: 12px; background: #eaf0f7; }
.measure-guide path { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.measure-guide text { fill: var(--ink); font-size: 9px; }
.measure-guide figcaption p { margin-top: 6px; }
