:root {
  --ink: #10221d;
  --muted: #5d6c66;
  --green: #0b5c4a;
  --green-2: #1c8b68;
  --lime: #b5da4d;
  --aqua: #c7f1eb;
  --gold: #e6b84e;
  --paper: #f7faf4;
  --white: #ffffff;
  --line: rgba(16, 34, 29, 0.14);
  --shadow: 0 24px 70px rgba(13, 67, 54, 0.16);
}

@font-face {
  font-family: "ProticksLogo";
  src: url("assets/toxigenesis.otf") format("opentype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(247, 250, 244, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(16, 34, 29, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: auto;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-word {
  display: block;
  color: #060806;
  font-family: "ProticksLogo", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover {
  color: var(--green);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  color: var(--white);
  background: var(--green);
  white-space: nowrap;
}

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

.btn-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 16px 34px rgba(11, 92, 74, 0.22);
}

.btn-secondary {
  color: var(--green);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(11, 92, 74, 0.22);
}

.btn-video {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(230, 184, 78, 0.48);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid rgba(11, 92, 74, 0.22);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 92, 74, 0.14);
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--green);
  border-radius: 999px;
}

.section,
.section-band,
.stats {
  padding-inline: clamp(18px, 5vw, 70px);
}

section {
  scroll-margin-top: 86px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding-top: clamp(36px, 6vw, 74px);
  padding-bottom: clamp(36px, 6vw, 70px);
  background:
    linear-gradient(90deg, rgba(11, 92, 74, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 92, 74, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 12% 10%, rgba(199, 241, 235, 0.9), transparent 26%),
    linear-gradient(130deg, #f7faf4 0%, #edf7ee 52%, #e9f8f3 100%);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 6.2vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.18;
}

.hero-lede,
.section-intro p,
.fertiliser-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-strip span,
.benefit-grid span {
  padding: 10px 13px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 92, 74, 0.14);
  border-radius: 8px;
  font-weight: 720;
}

.hero-visual {
  position: relative;
}

.hero-visual img,
.fertiliser-media img {
  width: 100%;
  filter: drop-shadow(0 28px 46px rgba(9, 68, 54, 0.18));
}

.visual-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 92, 74, 0.16);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(9, 68, 54, 0.12);
  font-size: 0.82rem;
  font-weight: 850;
}

.visual-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
}

.tag-membrane {
  top: 22%;
  left: 34%;
}

.tag-methane {
  top: 48%;
  right: 4%;
  color: #6d8f16;
}

.tag-carbon {
  right: 18%;
  bottom: 18%;
  color: #188a9b;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--green);
}

.stat {
  padding: clamp(20px, 4vw, 34px);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.stat strong {
  display: block;
  color: var(--lime);
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding-top: clamp(74px, 9vw, 128px);
  padding-bottom: clamp(74px, 9vw, 128px);
}

.section-grid,
.contact,
.fertiliser {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.section-intro {
  max-width: 680px;
}

.solution-list,
.why-grid {
  display: grid;
  gap: 16px;
}

.solution-card,
.why-item,
.lead-form,
.calc-panel,
.tech-shell,
.comparison-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.solution-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.solution-card h3,
.solution-card p {
  grid-column: 2;
}

.solution-card h3 {
  align-self: end;
  margin-bottom: 0;
}

.solution-card p,
.why-item p,
.tab-panel p,
.tab-panel li,
.faq p,
.form-note {
  color: var(--muted);
}

.icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--green);
  background: #edf8ed;
  border-radius: 8px;
}

.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.technology,
.fertiliser,
.faq {
  padding-top: clamp(74px, 9vw, 128px);
  padding-bottom: clamp(74px, 9vw, 128px);
  background:
    linear-gradient(180deg, rgba(199, 241, 235, 0.46), rgba(247, 250, 244, 0.2)),
    #eef7ef;
}

.tech-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
  margin-top: 32px;
}

.membrane-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  margin-top: 32px;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  color: var(--green);
  background: #edf8ed;
  border: 1px solid rgba(11, 92, 74, 0.12);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 780;
}

.dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.methane-dot,
.methane-molecule circle {
  fill: var(--lime);
}

.carbon-dot,
.carbon-molecule circle {
  fill: #55c2d3;
}

.feed-dot,
.feed-molecule circle {
  fill: var(--gold);
}

.membrane-animation {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(199, 241, 235, 0.36), rgba(247, 250, 244, 0.92)),
    #f7fbf6;
  border: 1px solid rgba(11, 92, 74, 0.12);
  border-radius: 8px;
}

.membrane-animation svg {
  width: 100%;
  min-height: 260px;
}

.membrane-animation text {
  fill: var(--green);
  font: 800 18px Inter, Arial, sans-serif;
}

.pipe {
  stroke: #0b5c4a;
  stroke-width: 18;
  stroke-linecap: round;
  opacity: 0.25;
}

.carbon-pipe {
  stroke: #55c2d3;
}

.molecule {
  filter: drop-shadow(0 8px 8px rgba(11, 92, 74, 0.16));
}

.molecule-a {
  animation: feedMove 7.2s ease-in-out infinite;
}

.molecule-b {
  animation: feedMove 7.2s ease-in-out infinite 3.2s;
}

.molecule-c {
  animation: methaneMove 7.2s ease-in-out infinite 1.6s;
}

.molecule-d {
  animation: methaneMove 7.2s ease-in-out infinite 4.8s;
}

.molecule-e {
  animation: carbonMove 7.2s ease-in-out infinite 2.2s;
}

.molecule-f {
  animation: carbonMove 7.2s ease-in-out infinite 5.4s;
}

.arrow {
  fill: var(--lime);
}

.carbon-arrow {
  fill: #55c2d3;
}

@keyframes feedMove {
  0% {
    transform: translate(62px, 180px);
    opacity: 0;
  }
  12%,
  76% {
    opacity: 1;
  }
  100% {
    transform: translate(316px, 180px);
    opacity: 0;
  }
}

@keyframes methaneMove {
  0% {
    transform: translate(318px, 180px);
    opacity: 0;
  }
  14%,
  78% {
    opacity: 1;
  }
  100% {
    transform: translate(660px, 180px);
    opacity: 0;
  }
}

@keyframes carbonMove {
  0% {
    transform: translate(374px, 180px);
    opacity: 0;
  }
  16%,
  78% {
    opacity: 1;
  }
  100% {
    transform: translate(374px, 292px);
    opacity: 0;
  }
}

.tabs {
  display: grid;
  align-content: start;
  background: #0e463b;
}

.tab {
  padding: 24px;
  color: rgba(255, 255, 255, 0.76);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.tab.is-active {
  color: var(--white);
  background: rgba(181, 218, 77, 0.16);
}

.tab-panels {
  min-height: 300px;
  padding: clamp(24px, 4vw, 44px);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.comparison {
  margin-top: clamp(28px, 5vw, 56px);
}

.comparison-heading {
  max-width: 760px;
}

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

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.comparison-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(20px, 3vw, 30px);
}

.comparison-card.is-featured {
  border-color: rgba(11, 92, 74, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 248, 237, 0.92));
}

.comparison-card span {
  width: max-content;
  padding: 7px 10px;
  color: var(--green);
  background: #edf8ed;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 850;
}

.comparison-card h4 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.2;
}

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

.comparison-card p,
.comparison-card ul {
  margin: 0;
}

.comparison-card ul {
  display: grid;
  gap: 8px;
  padding-left: 19px;
}

.comparison-card strong {
  color: var(--green);
  font-size: 0.94rem;
  line-height: 1.4;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.calc-panel {
  padding: clamp(22px, 4vw, 42px);
}

.calc-panel label {
  display: block;
  margin-bottom: 16px;
  font-weight: 800;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

output {
  min-width: 120px;
  padding: 8px 12px;
  color: var(--green);
  text-align: center;
  background: #edf8ed;
  border-radius: 8px;
  font-weight: 800;
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.calc-results div {
  padding: 18px;
  background: #f7fbf6;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.calc-results span {
  display: block;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.88rem;
}

.calc-results strong {
  display: block;
  color: var(--green);
  font-size: 1.15rem;
}

.fertiliser {
  align-items: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.why-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.why-item {
  padding: clamp(20px, 3vw, 32px);
}

.why-item strong {
  color: var(--gold);
}

.faq-list {
  display: grid;
  max-width: 920px;
  gap: 12px;
  margin-top: 28px;
}

details {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  padding: 20px 22px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

address {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  font-style: normal;
}

address a {
  color: var(--green);
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
}

.botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 760;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 4px rgba(28, 139, 104, 0.14);
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(420px, 1.2fr);
  align-items: start;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.76);
  background: #0e342d;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: "ProticksLogo", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
  color: #eaffb5;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.policy-page {
  max-width: 920px;
  margin: 0 auto;
}

.policy-page h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.policy-card {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.policy-card h2 {
  margin-top: 18px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

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

.policy-card ul {
  margin-top: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  white-space: nowrap;
  border: 1px solid rgba(234, 255, 181, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(181, 218, 77, 0.16);
  transform: translateY(-1px);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 4vw, 34px);
}

.video-modal.is-open {
  display: flex;
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 15, 0.72);
  backdrop-filter: blur(8px);
}

.video-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: #f7faf4;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.video-topbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(16px, 3vw, 26px);
}

.video-topbar h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

.video-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--green);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.youtube-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #071512;
}

.youtube-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px clamp(16px, 3vw, 26px) clamp(16px, 3vw, 24px);
  color: var(--muted);
  font-weight: 720;
}

.video-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 12px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: clamp(14px, 4vw, 28px);
    left: clamp(14px, 4vw, 28px);
    z-index: 30;
    display: none;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav a {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 8px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: #edf8ed;
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero,
  .section-grid,
  .calculator,
  .fertiliser,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 700px;
    margin-inline: auto;
  }

  .stats,
  .why-grid,
  .comparison-grid,
  .calc-results {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-shell {
    grid-template-columns: 1fr;
  }

  .membrane-demo {
    grid-template-columns: 1fr;
  }

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

  .tab {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-word {
    font-size: 1.42rem;
  }

  h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .video-modal {
    align-items: start;
    padding: 10px;
  }

  .video-topbar {
    padding: 12px;
  }

  .video-topbar .eyebrow {
    margin-bottom: 6px;
  }

  .video-topbar h2 {
    font-size: 1.1rem;
  }

  .video-close {
    width: 38px;
    height: 38px;
  }

  .video-dialog {
    max-height: calc(100dvh - 20px);
  }

  .youtube-frame {
    aspect-ratio: 9 / 16;
  }

  .visual-tag {
    position: static;
    margin: 6px 6px 0 0;
    font-size: 0.78rem;
  }

  .stats,
  .why-grid,
  .comparison-grid,
  .calc-results,
  .benefit-grid,
  .solution-card {
    grid-template-columns: 1fr;
  }

  .solution-card h3,
  .solution-card p {
    grid-column: 1;
  }

  .tabs {
    grid-template-columns: 1fr;
  }

  .membrane-demo {
    padding: 18px;
  }

  .membrane-animation svg {
    min-height: 210px;
  }

  .membrane-animation text {
    font-size: 15px;
  }

  .range-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .footer-links a {
    white-space: normal;
    text-align: center;
  }
}

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

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