:root {
  --navy: #002060;
  --blue: #0070C0;
  --cyan: #00B0F0;
  --white: #FFFFFF;
  --pale-blue: #F3FBFF;
  --content: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "Instrument Sans", "Aptos", "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input, optgroup, select, textarea { font-family: inherit; }

a { color: inherit; }

main {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 560px;
  padding: 82px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: center;
  column-gap: min(9vw, 112px);
  row-gap: 36px;
  border: 0;
  border-bottom: 1px solid var(--cyan);
}

.hero-copy { min-width: 0; }
.eyebrow, .kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.12; }
h1 { max-width: 760px; font-size: clamp(64px, 10vw, 124px); font-weight: 650; letter-spacing: -0.06em; }
h2 { font-size: clamp(30px, 4vw, 43px); font-weight: 650; letter-spacing: -0.035em; }
h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.015em; }
p { margin: 0; }

.lead {
  max-width: 720px;
  margin-top: 20px;
  color: var(--navy);
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.42;
}

.hero-note { max-width: 690px; margin-top: 17px; color: var(--blue); }

.hero-install {
  margin-top: 32px;
  padding-top: 28px;
  display: grid;
  grid-template-areas:
    "copy"
    "action"
    "video";
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  border-top: 1px solid var(--cyan);
  scroll-margin-top: 92px;
}

.hero-install__copy {
  grid-area: copy;
  display: grid;
  gap: 8px;
}

.hero-install__copy h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.hero-install__copy p {
  max-width: 650px;
  color: var(--blue);
}

.hero-install__actions {
  grid-area: action;
  width: min(100%, 720px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.install-option {
  display: grid;
  align-content: start;
  gap: 8px;
}

.install-option .button {
  width: 100%;
}

.install-option__note {
  max-width: 42ch;
  color: var(--blue);
  font-size: 0.82rem;
  line-height: 1.45;
}

.hero-install__video {
  grid-area: video;
  width: min(100%, 520px);
  display: block;
  color: inherit;
  text-decoration: none;
}

.hero-install__video .video-story__thumb {
  min-height: 0;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--cyan);
  border-radius: 12px;
}

.hero-install__video img {
  transition: transform 160ms ease;
}

.hero-install__video:hover img {
  transform: scale(1.015);
}

.button {
  min-height: 46px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button.secondary { color: var(--navy); background: var(--white); border-color: var(--blue); }
.button:hover { border-color: var(--blue); background: var(--blue); transform: translateY(-1px); }
.button.secondary:hover { color: var(--white); }

.clara-mark {
  width: auto;
  height: auto;
  display: block;
  flex: initial;
  margin: 0;
  padding-left: clamp(32px, 5vw, 64px);
  border-left: 1px solid var(--cyan);
}

.clara-mark img { display: block; width: 100%; height: auto; }

.promise-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--cyan);
}

.promise { min-height: 166px; padding: 30px 22px 30px 0; }
.promise + .promise { padding-left: 22px; border-left: 1px solid var(--cyan); }
.promise p { margin-top: 11px; color: var(--blue); }
.promise[href] { text-decoration: none; transition: background-color 160ms ease; }
.promise[href]:hover, .promise[href]:focus-visible { background: var(--pale-blue); }
.promise[href]:hover p, .promise[href]:focus-visible p { color: var(--navy); }
.retail-flow { border-top: 2px solid var(--navy); }
.retail-paths { margin-top: 32px; }

section { padding: 78px 0; border: 0; }
section + section { border-top: 1px solid var(--cyan); }
section[id], .card[id] { scroll-margin-top: 92px; }

.section-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 36px;
}

.section-head p { max-width: 660px; margin: 0; color: var(--blue); font-size: 17px; }

.video-story {
  max-width: 920px;
  margin: 0 0 36px;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--cyan);
  border-radius: 12px;
  background: var(--pale-blue);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.video-story:hover { border-color: var(--blue); transform: translateY(-1px); }

.video-story__thumb {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background: var(--navy);
}

.video-story__thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }

.video-story__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(0, 32, 96, 0.9);
  color: var(--white);
  font-size: 19px;
  transform: translate(-50%, -50%);
}

.video-story__duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(0, 32, 96, 0.9);
  color: var(--white);
  font-size: 12px;
  font-weight: 650;
}

.video-story__body { padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; }
.video-story__kicker { color: var(--blue); font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.video-story strong { margin-top: 8px; color: var(--navy); font-size: 21px; line-height: 1.25; }
.video-story__meta { margin-top: 10px; color: var(--blue); font-size: 14px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--cyan);
}

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

.card {
  min-height: 190px;
  padding: 28px 26px;
  border: 0;
  border-radius: 0;
  background: var(--white);
}

.card + .card { border-left: 1px solid var(--cyan); }
.card p { margin-top: 11px; color: var(--blue); }
.card .button { margin-top: 22px; }

.method {
  max-width: none;
  padding: 0;
  border: 0;
  border-top: 2px solid var(--navy);
  border-radius: 0;
  background: var(--white);
}

.plain-list { display: grid; gap: 0; margin: 0; }
.plain-row {
  min-height: 100px;
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 30px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--cyan);
}

.plain-row strong { color: var(--navy); font-size: 18px; font-weight: 650; }
.plain-row > span { color: var(--blue); }
.quote { display: block; margin-top: 7px; color: var(--navy); font-family: "Instrument Sans", "Aptos", sans-serif; font-size: 14px; font-weight: 600; }

.table-scroll { width: 100%; overflow-x: auto; border-top: 2px solid var(--navy); }
.quiet-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--white);
}

.quiet-table th, .quiet-table td {
  padding: 17px 16px;
  color: var(--blue);
  text-align: left;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid var(--cyan);
  overflow-wrap: anywhere;
}

.quiet-table th {
  color: var(--navy);
  background: var(--pale-blue);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quiet-table td:first-child { color: var(--navy); font-weight: 600; }

.rule {
  max-width: none;
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid var(--blue);
  border-left: 8px solid var(--cyan);
  background: var(--white);
  color: var(--blue);
}

.rule strong { color: var(--navy); }
.output-list { display: grid; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; color: var(--blue); }
.output-list li { padding: 11px 0; border-bottom: 1px solid var(--cyan); }

.method > .kicker, .method > h3, .method > .output-list { margin-right: 28px; margin-left: 28px; }
.method > .kicker { margin-top: 28px; }
.method > .output-list { margin-bottom: 28px; }

.approval-section { padding-top: 0; border-top: 0; }
.approval-section .section-head {
  margin: 0;
  padding: 34px;
  border: 1px solid var(--blue);
  box-shadow: inset 8px 0 0 var(--cyan);
}

footer {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--blue);
  font-size: 13px;
}

footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  text-decoration: none;
}

footer a:hover { color: var(--navy); }

a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 900px) {
  .promise-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise:nth-child(3) { padding-left: 0; border-top: 1px solid var(--cyan); border-left: 0; }
  .promise:nth-child(4) { border-top: 1px solid var(--cyan); }
}

@media (max-width: 760px) {
  .hero { min-height: 0; grid-template-columns: 1fr; padding: 58px 0 48px; }
  .clara-mark { display: none; }
  .promise-strip, .grid { grid-template-columns: 1fr; }
  .grid.two-col { grid-template-columns: 1fr; }
  .promise { min-height: 0; padding: 25px 0; }
  .promise + .promise { padding-left: 0; border-top: 1px solid var(--cyan); border-left: 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .video-story { max-width: 540px; grid-template-columns: 1fr; }
  .video-story__thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .video-story__body { padding: 22px 24px; }
  .card { min-height: 0; padding: 25px 0; }
  .card + .card { border-top: 1px solid var(--cyan); border-left: 0; }
  .plain-row { grid-template-columns: 1fr; gap: 8px; }
  .quiet-table { min-width: 720px; }
  .hero-install {
    grid-template-areas:
      "copy"
      "action"
      "video";
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero-install__actions { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  main, footer { width: calc(100% - 32px); }
  h1 { font-size: 42px; }
  section { padding: 58px 0; }
  .approval-section .section-head { padding: 28px 24px; }
  footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}

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