﻿@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Symbols;
  src: url("assets/symbols.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: block;
}

:root {
  color-scheme: light;
  --navy: #0a2540;
  --navy-deep: #081c31;
  --ink: #0c2b46;
  --muted: #496277;
  --sky: #58d8fa;
  --blue: #075e83;
  --ice: #f2f8fd;
  --line: #d5e5ef;
  --white: #fff;
  --radius: 14px;
  --shell: min(1192px, calc(100% - 96px));
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: white;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, p, figure {
  margin: 0;
}

button, input, select {
  font: inherit;
}

a {
  color: inherit;
}

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

:where(a, button, input, select, summary):focus-visible,
.calculator:focus-visible {
  outline: 3px solid #087da6;
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

main, section {
  scroll-margin-top: 91px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  margin-top: -90px;
  background: white;
  padding: 12px 15px;
  border-radius: 8px;
}

.skip-link:focus {
  margin-top: 0;
}

.icon {
  display: inline-block;
  direction: ltr;
  font: 500 24px/1 Symbols;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: var(--navy);
  color: white;
  border-bottom: 1px solid #ffffff24;
}

.header-inner, .navigation {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 76px;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.brand-region {
  color: #9be6fa;
  font-weight: 500;
}

.navigation {
  gap: clamp(15px, 2.35vw, 34px);
}

.navigation > a {
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 600;
  color: #e2edf6;
}

.navigation > a:not(.button):hover {
  color: var(--sky);
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: inherit;
  text-align: center;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}

.button-nav,
.button-primary,
.navigation > .button-nav {
  background: var(--sky);
  color: #082944;
}

.button-nav {
  min-height: 42px;
}

.button-nav:hover,
.button-primary:hover {
  background: #a0ecff;
}

.button-outline {
  border-color: #6788a2;
  background: transparent;
  color: white;
}

.button-outline:hover {
  border-color: var(--sky);
  background: #173c5b;
}

.site-header :focus-visible,
.hero-copy :focus-visible,
.summary-section :focus-visible,
footer :focus-visible {
  outline-color: var(--sky);
}

.hero {
  isolation: isolate;
  position: relative;
  padding-block: clamp(45px, 4.9vw, 71px) clamp(52px, 5.6vw, 81px);
  color: white;
  background: radial-gradient(ellipse at 91% 29%, #13577f 0, transparent 62%), var(--navy-deep);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  content: "";
  pointer-events: none;
  background: repeating-radial-gradient(ellipse at 98% 14%, transparent 0 45px, #8dddf312 46px 47px, transparent 48px 73px);
  mask-image: linear-gradient(110deg, transparent 53%, #000);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr);
  gap: clamp(28px, 5.3vw, 86px);
  align-items: center;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 22px;
  color: #9ce8fa;
  font-size: .9375rem;
  font-weight: 650;
}

.hero-label::before {
  content: "";
  width: 22px;
  height: 2px;
  flex: 0 0 22px;
  background: var(--sky);
}

h1, h2, h3 {
  font-weight: 800;
}

h1 {
  font-size: clamp(2.85rem, 4.6vw, 4.45rem);
  letter-spacing: -.066em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 em {
  display: block;
  color: var(--sky);
  font-style: normal;
}

.hero-description {
  max-width: 465px;
  margin-top: 22px;
  color: #d8e8f5;
  font-size: clamp(1.03rem, 1.43vw, 1.1875rem);
  line-height: 1.7;
}

.hero-actions, .summary-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-actions {
  margin-top: 28px;
}

.calculator {
  min-width: 0;
  padding: clamp(18px, 2.45vw, 32px);
  border: 1px solid #c2e1f4;
  border-top: 4px solid var(--sky);
  border-radius: 18px;
  background: #f9fcff;
  color: var(--ink);
  box-shadow: 0 18px 38px #040f2240;
}

.calculator-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.calculator h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.22;
  letter-spacing: -.045em;
}

.calculator-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-size: .875rem;
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border-radius: 10px;
  background: #dff3ff;
  color: var(--blue);
}

#calculator-form {
  display: grid;
  gap: 12px;
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 4px;
  font-size: .875rem;
  font-weight: 650;
}

.field select,
.number-field {
  min-height: 42px;
  border: 1px solid #c5dbe9;
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

.field select {
  width: 100%;
  padding: 6px 10px;
  font-weight: 500;
}

.field-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
}

.field-inline label {
  margin-bottom: 0;
}

.number-field {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
}

.field-inline .number-field {
  width: min(130px, 100%);
}

.number-field:focus-within {
  border-color: #087da6;
}

.number-field span {
  flex-shrink: 0;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 650;
}

.number-field input {
  width: 100%;
  min-width: 0;
  padding: 7px 2px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  appearance: textfield;
}

.number-field input:focus-visible {
  outline-offset: 1px;
}

.number-field input::-webkit-inner-spin-button,
.number-field input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

input[type="range"] {
  display: block;
  width: 100%;
  min-height: 20px;
  margin: 3px 0 0;
  accent-color: #087ca7;
  cursor: pointer;
}

.range-limits {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .8125rem;
}

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

.quote-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 13px;
  border: 1px solid #c5e8f7;
  border-radius: 10px;
  background: #e6f5fe;
}

.quote-result > div {
  min-width: 0;
}

.quote-result span,
.quote-result output {
  display: block;
}

.quote-result span {
  color: #34536b;
  font-size: .8125rem;
  font-weight: 650;
}

.quote-result output {
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

#monthly {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -.045em;
}

.quote-result div + div {
  padding-left: 12px;
  border-left: 1px solid #c1dcea;
}

.calculation-note,
.field-error {
  font-size: .8125rem;
  line-height: 1.45;
}

.calculation-note {
  color: var(--muted);
}

.field-error {
  color: #a12a32;
  font-weight: 600;
}

.calculator-link {
  width: fit-content;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 700;
  text-underline-offset: 3px;
}

.section {
  padding-block: clamp(53px, 6.5vw, 94px);
}

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

main section:not(.hero, .calculator) h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.13;
  letter-spacing: -.053em;
  text-wrap: balance;
}

.section-heading > p,
.requirements-copy > p {
  max-width: 510px;
  margin-top: 12px;
  color: var(--muted);
}

.products {
  background: var(--ice);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(19px, 2.2vw, 29px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.product-card:hover,
.product-card:focus-within {
  border-color: #76b8d0;
}

.product-card .icon-tile {
  margin-bottom: 16px;
}

.product-card h3 {
  margin-bottom: 7px;
  font-size: 1.175rem;
  letter-spacing: -.025em;
}

.product-card p {
  margin-bottom: 14px;
  color: var(--muted);
}

.product-details {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary .icon {
  flex-shrink: 0;
  color: var(--blue);
  font-size: 19px;
}

details[open] > summary .icon {
  transform: rotate(180deg);
}

.product-details summary {
  min-height: 45px;
  color: var(--blue);
  font-size: .9375rem;
  font-weight: 700;
}

.product-details ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--muted);
  font-size: .9375rem;
}

.button-product {
  min-height: 44px;
  border-color: #bfdeed;
  background: #edf8ff;
  color: var(--ink);
}

.button-product:hover {
  background: #dff4ff;
}

.requirements-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6.4vw, 92px);
}

.document-list {
  display: grid;
  gap: 13px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.document-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.document-list .icon-tile {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 7px;
}

.document-list .icon {
  font-size: 19px;
}

.document-list p {
  margin-top: 2px;
  color: var(--muted);
}

.requirements-photo {
  overflow: hidden;
  border-radius: 15px 42px 15px 15px;
  background: #d9e7ec;
}

.requirements-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.46;
  object-fit: cover;
}

.faq-section {
  background: var(--ice);
  border-block: 1px solid var(--line);
}

.faq-layout {
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
}

.faq-layout .section-heading {
  margin: 0;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: 4px;
}

.faq-list details {
  border-top: 1px solid #c9dcea;
}

.faq-list details:last-child {
  border-bottom: 1px solid #c9dcea;
}

.faq-list summary {
  padding: 14px 0;
  font-weight: 700;
}

.faq-list details p {
  padding: 0 17px 17px 0;
  color: var(--muted);
}

.summary-section {
  padding-block: clamp(35px, 5vw, 61px);
  background: var(--navy);
  color: white;
}

.summary-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px 40px;
}

main .summary-section h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.42rem);
  text-wrap: initial;
}

.summary-layout p {
  max-width: 580px;
  margin-top: 10px;
  color: #cfe2f1;
}

.summary-actions {
  flex: 0 1 auto;
}

.summary-actions > * {
  white-space: nowrap;
}

.summary-actions button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

footer {
  border-top: 1px solid #28425b;
  background: var(--navy-deep);
  color: #c4d6e6;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  padding-block: 24px;
}

.footer-layout p {
  max-width: 540px;
  font-size: .875rem;
}

@media (max-width: 970px) {
  :root {
    --shell: calc(100% - 60px);
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .quote-result {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .quote-result div + div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #c1dcea;
    border-left: 0;
    padding: 7px 0 0;
  }

  .summary-layout {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 36px);
  }

  .header-inner {
    min-height: 65px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #56728d;
    border-radius: 8px;
    background: #153555;
    color: white;
    cursor: pointer;
  }

  .navigation {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 12px 18px 19px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid #45647f;
    background: var(--navy);
  }

  .navigation.is-open {
    display: flex;
  }

  .navigation > a:not(.button) {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
  }

  .hero-layout,
  .products-grid,
  .requirements-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-block: 42px 39px;
  }

  .hero-copy {
    max-width: 570px;
  }

  h1 {
    font-size: clamp(2.5rem, 9vw, 3.7rem);
    text-wrap: initial;
  }

  .calculator {
    max-width: 560px;
  }

  .requirements-photo img {
    aspect-ratio: 1.45;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 375px) {
  .hero-actions .button {
    min-height: 44px;
    padding-inline: 12px;
  }

  .hero-label {
    font-size: .875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition: none !important;
  }
}
