:root {
  --navy: #00223b;
  --navy-2: #0b3a5c;
  --blue: #067cc3;
  --blue-soft: #dff0fb;
  --orange: #f18500;
  --orange-2: #f8aa00;
  --bg: #f5f9fc;
  --white: #ffffff;
  --text: #1c2b38;
  --muted: rgba(28, 43, 56, .7);
  --line: rgba(0, 34, 59, .12);
  --line-strong: rgba(0, 34, 59, .22);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 34, 59, .06), 0 4px 14px rgba(0, 34, 59, .06);
  --shadow-md: 0 10px 34px rgba(0, 34, 59, .12);
  --shadow-lg: 0 26px 70px rgba(0, 34, 59, .22);
  --header-h: 72px;
  --container: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

body.is-locked {
  overflow: hidden;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.01em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 840px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: top .2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(0, 34, 59, .07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 112px;
  height: 38px;
  color: var(--orange);
}

.brand-logo-invert {
  width: 124px;
  height: auto;
}

.main-nav ul {
  display: flex;
  gap: 4px;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.main-nav a:hover {
  background: var(--blue-soft);
}

.main-nav a.is-active {
  background: var(--navy);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 27px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(241, 133, 0, .32);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(241, 133, 0, .42);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--blue-soft);
}

.hero {
  position: relative;
  padding: 56px 0 24px;
  background:
    radial-gradient(900px 420px at 85% -10%, var(--blue-soft), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--white));
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
}

.lead {
  margin-top: 20px;
  max-width: 560px;
  font-size: 19px;
  color: var(--muted);
}

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

.hero-visual {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.peaks {
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: linear-gradient(180deg, #dff0fb, #f5f9fc);
  box-shadow: var(--shadow-md);
}

.sun {
  fill: var(--orange-2);
  opacity: .9;
  animation: sun-pulse 6s ease-in-out infinite;
  transform-origin: 318px 64px;
}

.flakes circle {
  fill: #ffffff;
  stroke: #b9dcf3;
  stroke-width: 1;
  animation: flake 7s linear infinite;
}

.flakes circle:nth-child(2n) {
  animation-duration: 9s;
  animation-delay: -3s;
}

.flakes circle:nth-child(3n) {
  animation-duration: 11s;
  animation-delay: -6s;
}

.chip {
  position: absolute;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  animation: float 6s ease-in-out infinite;
}

.chip-1 {
  top: 8%;
  left: -4%;
}

.chip-2 {
  top: 46%;
  right: -4%;
  animation-delay: -2s;
}

.chip-3 {
  bottom: 8%;
  left: 6%;
  animation-delay: -4s;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.fact {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.fact strong {
  display: block;
  font-size: 20px;
  color: var(--navy);
}

.fact span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 96px 0;
}

.section-tinted {
  background: var(--bg);
}

.section-dark {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  color: rgba(255, 255, 255, .86);
}

.section-dark h2,
.section-dark h3,
.section-dark .eyebrow {
  color: var(--white);
}

.section-dark .eyebrow {
  color: var(--orange-2);
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
}

.section-head p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
}

.section-dark .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, .78);
}

.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cards {
  display: grid;
  gap: 20px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

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

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
}

.card-wide {
  padding: 32px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--blue-soft);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-dark {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
}

.card-dark p {
  color: rgba(255, 255, 255, .78);
}

.note {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  border: 1px solid rgba(6, 124, 195, .22);
}

.note h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.note p {
  color: var(--text);
}

.note-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.note-warn {
  background: #fff3e0;
  border-color: rgba(241, 133, 0, .35);
}

.note-warn .note-icon {
  background: var(--orange);
}

.production {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
}

.column-viz {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.viz-title {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}

.viz-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.column {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fraction {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #eaf4fb, #f5f9fc);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease);
}

.fraction:nth-child(1) {
  background: linear-gradient(90deg, #cfe6f6, #eaf4fb);
}

.fraction:nth-child(5) {
  background: linear-gradient(90deg, #f7f1e4, #fbf8f0);
}

.fraction span {
  font-weight: 700;
  color: var(--navy);
}

.fraction small {
  font-size: 13px;
  color: var(--muted);
}

.fraction.is-target {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-color: transparent;
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(241, 133, 0, .28);
}

.fraction.is-target span,
.fraction.is-target small {
  color: var(--white);
}

.timeline {
  position: relative;
  display: grid;
  gap: 8px;
  padding-left: 8px;
  --timeline-progress: 0%;
}

.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  width: 3px;
  border-radius: 3px;
}

.timeline::before {
  bottom: 28px;
  background: var(--line);
}

.timeline::after {
  height: calc(var(--timeline-progress) - 56px);
  max-height: calc(100% - 56px);
  background: linear-gradient(180deg, var(--blue), var(--orange));
  transition: height .2s linear;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 22px;
  padding: 14px 0;
}

.timeline-item h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--muted);
}

.timeline-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--line-strong);
  color: var(--navy);
  font-weight: 800;
  transition: background .3s, border-color .3s, color .3s;
}

.timeline-item.is-passed .timeline-dot {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: none;
}

.step {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}

.step-num {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: var(--muted);
}

.subsection {
  margin-top: 64px;
}

.subhead {
  margin-bottom: 22px;
  font-size: 24px;
}

.factor {
  padding: 22px 24px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg);
}

.factor h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.factor p {
  font-size: 15px;
  color: var(--muted);
}

.checklist-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
  padding: 36px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: rgba(255, 255, 255, .86);
}

.checklist-wrap .subhead {
  color: var(--white);
  margin-bottom: 8px;
}

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

.checklist-wrap .muted {
  color: rgba(255, 255, 255, .7);
}

.checklist {
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 6px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.calc {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.tabs {
  position: relative;
  display: inline-flex;
  padding: 5px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.tab {
  position: relative;
  z-index: 1;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  color: var(--muted);
  transition: color .25s;
}

.tab.is-active {
  color: var(--white);
}

.tab-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  transition: transform .35s var(--ease), width .35s var(--ease);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: panel-in .4s var(--ease);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.calc-form {
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field > span {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.field input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}

.field input[type="number"]:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(6, 124, 195, .16);
}

.field input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: var(--blue-soft);
  accent-color: var(--orange);
}

.hint {
  font-size: 14px;
  color: var(--muted);
}

.calc-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg);
}

.results {
  display: grid;
  gap: 16px;
  margin: 0;
}

.results dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.results dd {
  margin: 2px 0 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.results .result-main dd {
  font-size: 34px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.thermo {
  position: relative;
  width: 44px;
  height: 200px;
}

.thermo-tube {
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 22px;
  width: 22px;
  border-radius: 11px 11px 0 0;
  background: var(--white);
  border: 2px solid var(--line-strong);
  border-bottom: 0;
  overflow: hidden;
}

.thermo-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, var(--blue), #4aa8e0);
  transition: height .5s var(--ease), background .5s;
}

.thermo-fill.is-warm {
  background: linear-gradient(180deg, var(--orange), var(--orange-2));
}

.thermo-bulb {
  position: absolute;
  left: 2px;
  bottom: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--line-strong);
}

.slope {
  position: relative;
  width: 200px;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #dff0fb, #ffffff);
  border: 1px solid var(--line);
}

.slope-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: var(--navy);
}

.slope-line {
  position: absolute;
  left: 12px;
  bottom: 14px;
  width: 176px;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  transform-origin: 0 100%;
  transform: rotate(calc(var(--angle, 17deg) * -1));
  transition: transform .35s var(--ease);
}

.accordion {
  display: grid;
  gap: 12px;
}

.acc-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}

.acc-item.is-open {
  border-color: rgba(6, 124, 195, .4);
  box-shadow: var(--shadow-sm);
}

.acc-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.acc-icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transition: transform .3s var(--ease);
}

.acc-icon::after {
  transform: rotate(90deg);
}

.acc-item.is-open .acc-icon::after {
  transform: rotate(0deg);
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}

.acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
}

.acc-content {
  min-height: 0;
  overflow: hidden;
}

.acc-content p {
  padding: 0 24px 22px;
  color: var(--muted);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 40px;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 360px;
}

.footer-col h4 {
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--orange-2);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.legal-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .86);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-links button:hover {
  color: var(--orange-2);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.modal[hidden] {
  display: none;
}

.modal.is-open {
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 34, 59, .62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 760px;
  max-height: 86vh;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(.98);
  transition: transform .35s var(--ease);
}

.modal.is-open .modal-dialog {
  transform: none;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  font-size: 22px;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
}

.modal-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.modal-body {
  overflow-y: auto;
  padding: 8px 24px 28px;
  overscroll-behavior: contain;
}

.legal h3 {
  margin: 22px 0 8px;
  font-size: 16px;
}

.legal p {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes flake {
  0% {
    transform: translateY(-12px);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translateY(150px);
    opacity: 0;
  }
}

@keyframes sun-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--white);
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    padding: 20px 24px 40px;
    background: var(--white);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 6px;
  }

  .main-nav a {
    padding: 14px 16px;
    font-size: 18px;
    border-radius: var(--radius-sm);
  }

  .hero-inner,
  .production,
  .calc-grid,
  .checklist-wrap,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .column-viz {
    position: static;
  }

  .cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 18px;
  }

  .cards-3,
  .cards-2,
  .steps,
  .facts {
    grid-template-columns: 1fr;
  }

  .calc {
    padding: 20px;
  }

  .calc-result {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .tabs {
    display: flex;
    width: 100%;
  }

  .tab {
    flex: 1;
    padding: 10px 8px;
  }

  .chip-1 {
    left: 0;
  }

  .chip-2 {
    right: 0;
  }

  .timeline-item {
    grid-template-columns: 36px 1fr;
    gap: 16px;
  }

  .timeline-dot {
    width: 36px;
    height: 36px;
  }

  .timeline::before,
  .timeline::after {
    left: 25px;
  }

  .acc-trigger {
    padding: 16px 18px;
    font-size: 16px;
  }

  .acc-content p {
    padding: 0 18px 18px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
