:root {
  --ink: #16201d;
  --muted: #5d6964;
  --paper: #f8f5ef;
  --white: #ffffff;
  --teal: #16776f;
  --teal-dark: #0f5852;
  --copper: #a94831;
  --gold: #c49b45;
  --blue: #214e73;
  --line: #ded8cc;
  --shadow: 0 20px 60px rgba(22, 32, 29, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(22, 32, 29, 0.86);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 820;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.nav-links a,
.text-link {
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.text-link:hover {
  border-color: currentColor;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 760;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}

.header-cta {
  background: var(--white);
  color: var(--ink);
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.button.outline {
  border-color: rgba(22, 119, 111, 0.38);
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.86);
}

.compound-cta .button.secondary {
  border-color: rgba(22, 119, 111, 0.38);
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.76);
}

.button.full-width {
  width: 100%;
}

.mobile-sticky-cta {
  display: none;
}

.hide-mobile-cta .mobile-sticky-cta {
  display: none;
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media,
.hero-overlay {
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transition:
    opacity 180ms ease,
    transform 360ms ease;
}

.hero-media img.is-changing {
  opacity: 0.58;
  transform: scale(1.018);
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(13, 25, 22, 0.86) 0%,
    rgba(13, 25, 22, 0.72) 38%,
    rgba(13, 25, 22, 0.18) 68%,
    rgba(13, 25, 22, 0.02) 100%
  );
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 52px;
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  min-height: 76svh;
  margin: 0 auto;
  padding: 82px 0 28px;
}

.hero-content {
  width: 100%;
  min-width: 0;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c66f;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: 4.6rem;
  line-height: 0.96;
  letter-spacing: 0;
  white-space: pre-line;
}

h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

p {
  line-height: 1.62;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 820px;
  margin-top: 32px;
}

.hero-proof span,
.quote-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.hero-story {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 16px;
}

.hero-story-head span,
.hero-thumb span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 820;
  text-transform: uppercase;
}

.hero-story-head strong {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-size: 1rem;
}

.hero-story-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
}

.hero-thumb {
  flex: 0 0 142px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.hero-thumb:hover,
.hero-thumb:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.62);
  transform: translateY(-1px);
}

.hero-thumb.is-active {
  border-color: #f0c66f;
  background: rgba(240, 198, 111, 0.2);
}

.hero-thumb img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  border-radius: 6px;
  object-fit: cover;
}

.hero-thumb span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
}

.section,
.summary-band {
  padding: 88px 0;
}

.summary-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.summary-grid,
.data-layout,
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 58px;
  align-items: start;
}

.summary-grid > *,
.data-layout > *,
.quote-layout > *,
.requirements-layout > *,
.capabilities-layout > *,
.calculator-intro > *,
.calculator-card > * {
  min-width: 0;
}

.summary-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  width: min(1160px, calc(100% - 48px));
  margin: 40px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--paper);
}

.cta-strip span,
.sub-cta span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.cta-strip strong {
  display: block;
  margin-top: 5px;
  font-size: 1.08rem;
}

.cta-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.sub-cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.requirements-section {
  background: var(--paper);
}

.requirements-layout,
.capabilities-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 48px;
  align-items: start;
}

.requirements-layout > div > p,
.capabilities-layout > div > p,
.heading-note {
  margin: 18px 0 0;
  color: var(--muted);
}

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

.requirements-list article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
}

.requirements-list span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e1ece7;
  color: var(--teal-dark);
  font-weight: 820;
}

.requirements-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.split-heading {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.split-heading .heading-note {
  max-width: 420px;
  margin: 0;
}

.text-link {
  color: var(--teal);
  font-weight: 760;
}

.steps,
.study-grid,
.control-grid,
.compound-grid,
.capability-grid {
  display: grid;
  gap: 18px;
}

.steps,
.study-grid,
.compound-grid,
.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.step-card,
.study-card,
.control-grid article,
.compound-card,
.capability-grid article,
.quote-form,
.code-sample,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.step-card,
.study-card,
.control-grid article,
.compound-card,
.capability-grid article,
.panel {
  padding: 24px;
}

.step-number,
.study-card span,
.compound-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.step-card p,
.study-card p,
.control-grid p,
.compound-card p,
.capability-grid p,
.quote-layout p {
  margin: 12px 0 0;
  color: var(--muted);
}

.capabilities-section {
  background: #eef3ef;
}

.capability-grid article {
  box-shadow: none;
}

.capability-grid ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.calculator-section {
  background: var(--ink);
  color: var(--white);
}

.calculator-section .eyebrow {
  color: #f0c66f;
}

.calculator-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.calculator-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 32px;
  align-items: end;
}

.calculator-intro p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.calculator-note {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.calculator-note strong {
  color: var(--white);
}

.calculator-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.62fr);
  gap: 18px;
  align-items: start;
}

.calculator-controls,
.estimate-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.calculator-controls {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
}

.addon-fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.addon-fieldset legend {
  padding: 0 6px;
  color: var(--ink);
  font-weight: 820;
}

.estimate-panel {
  display: grid;
  align-self: start;
  gap: 18px;
  align-content: start;
  padding: 22px;
}

.estimate-teaser {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.estimate-teaser span {
  display: block;
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
}

.estimate-teaser p,
.estimate-caption,
.estimate-disclaimer {
  color: var(--muted);
}

.estimate-teaser h3 {
  font-size: 1.04rem;
  line-height: 1.22;
}

.estimate-teaser p {
  margin: 12px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.gate-grid {
  display: grid;
  gap: 12px;
}

.gate-grid > label {
  gap: 6px;
}

.review-loader {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #f4f7f4;
}

.review-loader[hidden] {
  display: none;
}

.loader-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce7e3;
}

.loader-bar span {
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  animation: loader-progress var(--lab-sim-duration, 12.5s) ease forwards;
}

.review-loader p {
  min-height: 2.85em;
  margin: 0;
  color: var(--ink);
  font-weight: 760;
  line-height: 1.42;
}

.review-loader ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-loader li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.review-loader li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  border: 1px solid #aebbb6;
  border-radius: 999px;
  background: var(--white);
}

.review-loader li.is-done::before {
  border-color: var(--teal);
  background: var(--teal);
}

.slot-fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.slot-fieldset legend {
  padding: 0 6px;
  font-size: 0.92rem;
  font-weight: 820;
}

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

.slot-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: var(--white);
  cursor: pointer;
}

.slot-option input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.slot-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.slot-copy strong,
.slot-copy span,
.slot-copy small {
  overflow-wrap: normal;
}

.slot-copy strong {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.08;
}

.slot-copy span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.08;
}

.slot-copy small {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.1;
}

.slot-option.is-unavailable {
  color: var(--muted);
  background: #f1eee8;
  cursor: not-allowed;
  opacity: 0.72;
}

.slot-option.is-unavailable .slot-copy small {
  color: var(--copper);
}

@keyframes loader-progress {
  from {
    width: 12%;
  }

  to {
    width: 100%;
  }
}

.estimate-range {
  margin: 0;
  color: var(--teal-dark);
  font-size: 2rem;
  font-weight: 850;
  line-height: 1.08;
}

.sim-plan {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #f4f7f4;
}

.sim-plan span {
  display: block;
  margin-bottom: 10px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
}

.sim-plan ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.estimate-caption {
  margin: 10px 0 0;
}

.estimate-lines {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.estimate-lines div {
  display: grid;
  grid-template-columns: minmax(96px, 0.42fr) 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.estimate-lines dt {
  color: var(--muted);
  font-weight: 760;
}

.estimate-lines dd {
  margin: 0;
}

.estimate-actions {
  margin-top: 18px;
}

.calculator-section .button.secondary {
  border-color: rgba(22, 119, 111, 0.38);
  color: var(--teal-dark);
  background: rgba(22, 119, 111, 0.08);
}

.estimate-disclaimer {
  margin: 0;
  font-size: 0.88rem;
}

.studies-section {
  background: #eef3ef;
}

.study-card {
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.study-card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 119, 111, 0.5);
}

.data-section {
  background: var(--ink);
  color: var(--white);
}

.data-section .eyebrow {
  color: #f0c66f;
}

.data-section p,
.data-section li {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--gold);
}

.code-sample {
  min-height: 292px;
  margin: 0;
  padding: 28px;
  overflow-x: auto;
  background: #101817;
  color: #d7f5eb;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.14);
}

.code-sample code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
  line-height: 1.7;
}

.controls-section {
  background: var(--paper);
}

.quote-section {
  background: var(--white);
}

.quote-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.quote-notes span {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 26px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 760;
}

.field-hint {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c9c1b5;
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(22, 119, 111, 0.18);
  border-color: var(--teal);
}

.checkbox-line {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.checkbox-line input {
  min-height: auto;
  margin-top: 3px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 760;
}

.site-footer {
  padding: 42px 0;
  background: #111817;
  color: rgba(255, 255, 255, 0.78);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.7fr);
  gap: 42px;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  max-width: 720px;
  margin: 16px 0 0;
}

.footer-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-underline-offset: 4px;
}

.compound-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(13, 25, 22, 0.94) 0%, rgba(13, 25, 22, 0.82) 46%, rgba(13, 25, 22, 0.52) 100%),
    url("assets/hero-lab.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
  padding: 96px 0 68px;
}

.compound-hero .eyebrow {
  color: #f0c66f;
}

.compound-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.compound-section {
  padding: 74px 0;
}

.compound-grid {
  margin-top: 28px;
}

.compound-card ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.compound-cta {
  background: #eef3ef;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.related-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 720;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .summary-grid,
  .requirements-layout,
  .capabilities-layout,
  .calculator-intro,
  .calculator-layout,
  .calculator-card,
  .data-layout,
  .quote-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .steps,
  .study-grid,
  .compound-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner {
    gap: 38px;
    padding-top: 72px;
  }

  .hero-story {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-story-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: baseline;
  }

  .hero-story-head strong {
    margin-top: 0;
  }

  .hero-thumb {
    flex-basis: 132px;
  }

  .cta-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-strip-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 74px;
  }

  .site-header {
    min-height: 66px;
    padding: 12px 18px;
  }

  .header-cta {
    display: none;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 16px;
    bottom: 14px;
    left: 16px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 16px 46px rgba(13, 25, 22, 0.28);
    font-weight: 820;
  }

  .brand {
    font-size: 0.95rem;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(13, 25, 22, 0.78) 0%,
      rgba(13, 25, 22, 0.58) 46%,
      rgba(13, 25, 22, 0.9) 100%
    );
  }

  .hero-media img {
    object-position: 58% 42%;
  }

  .hero-inner {
    text-shadow: 0 2px 18px rgba(13, 25, 22, 0.6);
  }

  .hero-inner,
  .section-inner,
  .cta-strip {
    width: min(100% - 32px, 1160px);
  }

  .hero-inner {
    min-height: 78svh;
    gap: 30px;
    padding: 58px 0 18px;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1.04;
    max-width: 320px;
  }

  h2 {
    font-size: 1.65rem;
    max-width: 320px;
  }

  .hero-copy,
  .compound-hero p {
    font-size: 1rem;
    max-width: 320px;
  }

  .hero-proof {
    gap: 8px;
    margin-top: 22px;
  }

  .hero-proof span {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  .hero-story {
    padding-top: 12px;
  }

  .hero-story-strip {
    margin-right: -16px;
    padding-right: 16px;
  }

  .hero-thumb {
    flex-basis: 112px;
    padding: 5px;
  }

  .hero-thumb span {
    font-size: 0.66rem;
  }

  .section,
  .summary-band,
  .compound-section {
    padding: 58px 0;
  }

  .split-heading {
    display: grid;
  }

  .cta-strip {
    margin-top: 30px;
    padding: 18px;
  }

  .cta-strip-actions,
  .cta-strip-actions .button,
  .sub-cta,
  .sub-cta .text-link {
    width: 100%;
  }

  .sub-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .steps,
  .requirements-list,
  .study-grid,
  .control-grid,
  .compound-grid,
  .capability-grid,
  .calculator-card,
  .form-row {
    grid-template-columns: 1fr;
  }

  .calculator-controls,
  .estimate-panel {
    padding: 20px;
  }

  .estimate-lines div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .quote-form {
    padding: 20px;
  }

  .code-sample {
    min-height: 220px;
    padding: 20px;
  }
}
