:root {
  --brand-accent: #2f9d5f;
  --brand-accent-dark: #23824c;
  --brand-accent-soft: rgba(47, 157, 95, 0.14);
  --grey-900: #1a1c1e;
  --grey-850: #222529;
  --grey-800: #2c3035;
  --grey-700: #3d434b;
  --grey-500: #6b7280;
  --grey-300: #c5cad3;
  --grey-100: #eef1f4;
  --white: #ffffff;
  --text: #1f2328;
  --text-muted: #5a6270;
  --max: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Raleway", "Century Gothic", sans-serif;
  --font-ui: "Rajdhani", "Raleway", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(47, 157, 95, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f8fa 0%, #eef1f4 40%, #f7f8fa 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.92em;
  background: var(--brand-accent-soft);
  color: var(--grey-800);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

pre {
  margin: 0;
  padding: 1.1rem 1.2rem;
  overflow: auto;
  max-width: 100%;
  background: var(--grey-900);
  color: #d7dde7;
  border-radius: 4px;
  font-size: 0.86rem;
  line-height: 1.55;
  border-left: 3px solid var(--brand-accent);
  tab-size: 2;
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-accent);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
}

.container.narrow {
  width: min(760px, calc(100% - 2.5rem));
}

/* Header — sticky bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 50, 56, 0.08);
}

.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--grey-850);
}

.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(280px, 58vw);
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.brand-logo-footer {
  height: 54px;
  max-width: 320px;
}

.primary-nav {
  display: none;
  gap: 1.55rem;
  margin-left: 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.primary-nav a {
  color: var(--grey-700);
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Header CTAs crowd the hamburger on phones — menu already has these links */
.header-cta {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
  border-radius: 2px;
  padding: 0.65rem 1.1rem;
  border: 2px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-accent-dark);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--grey-700);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--brand-accent-dark);
}

.btn-lg {
  padding: 0.9rem 1.45rem;
  font-size: 1rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--grey-300);
  background: var(--white);
  border-radius: 2px;
  padding: 0 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--grey-800);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(45, 50, 56, 0.08);
  background: var(--white);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.75rem 0.35rem;
  font-weight: 600;
  border-bottom: 1px solid var(--grey-100);
}

/* Hero — full-bleed, brand-first */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 20, 22, 0.88) 0%, rgba(18, 20, 22, 0.62) 48%, rgba(18, 20, 22, 0.28) 100%),
    linear-gradient(0deg, rgba(18, 20, 22, 0.55) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 7rem 0 5.5rem;
  max-width: 720px;
  margin-left: max(calc((100% - var(--max)) / 2), 1.25rem);
  animation: rise-in 0.9s var(--ease) both;
}

.hero-brand {
  margin: 0 0 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  line-height: 1.2;
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.16;
  max-width: 22ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand-accent);
}

.hero-lede {
  margin: 0 0 1.85rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--grey-300);
  max-width: 38ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Value band */
.value-band {
  padding: 4.5rem 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(238, 241, 244, 0.95)),
    repeating-linear-gradient(
      -60deg,
      transparent,
      transparent 18px,
      rgba(47, 157, 95, 0.04) 18px,
      rgba(47, 157, 95, 0.04) 19px
    );
}

.value-band h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.value-band p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* Alternating solution rows */
.solutions {
  padding: 1rem 0 2rem;
}

.solution-row {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto 1.25rem;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 2.5rem 0;
}

.solution-copy .eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  font-size: 0.92rem;
}

.solution-copy h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  line-height: 1.2;
}

.solution-copy p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  max-width: 46ch;
}

.text-link {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-accent-dark);
  border-bottom: 2px solid var(--brand-accent);
  padding-bottom: 0.1rem;
}

.text-link:hover {
  color: var(--grey-900);
}

.solution-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 18px 40px rgba(20, 24, 28, 0.14);
  background: var(--grey-900);
}

.lightbox-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.lightbox-trigger:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

.solution-visual img,
.compare-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.7s var(--ease);
}

.solution-row:hover .solution-visual img {
  transform: scale(1.03);
}

/* Lightbox modal */
.lightbox {
  width: min(1120px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(12, 16, 20, 0.82);
  backdrop-filter: blur(4px);
}

.lightbox[open] {
  display: grid;
  place-items: center;
  animation: lightbox-in 0.22s var(--ease);
}

.lightbox-image {
  display: block;
  width: auto;
  max-width: min(1120px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  height: auto;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: var(--white);
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--grey-900);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.lightbox-close:hover {
  transform: scale(1.05);
  background: var(--white);
}

.lightbox-close:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Compare */
.compare {
  padding: 5rem 0;
  background: var(--grey-900);
  color: var(--white);
}

.compare .section-head p {
  color: var(--grey-300);
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-head p {
  margin: 0 auto;
  max-width: 58ch;
  color: var(--text-muted);
}

.compare-visual {
  margin: 0 auto 2rem;
  max-width: 920px;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-grid {
  display: grid;
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
}

.compare-col {
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.compare-col.highlight {
  border-color: rgba(47, 157, 95, 0.45);
  background: rgba(47, 157, 95, 0.08);
}

.compare-col h3 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
}

.compare-col.muted h3 {
  color: var(--grey-300);
}

.compare-col.highlight h3 {
  color: var(--brand-accent);
}

.compare-col ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--grey-300);
}

.compare-col li + li {
  margin-top: 0.45rem;
}

/* Capabilities */
.capabilities {
  padding: 5rem 0;
}

.stage-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.stage-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  border-left: 3px solid var(--brand-accent);
  box-shadow: 0 8px 24px rgba(24, 28, 32, 0.05);
}

.stage-num {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brand-accent);
  letter-spacing: 0.04em;
}

.stage-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.stage-list p {
  margin: 0;
  color: var(--text-muted);
}

.capability-strip {
  display: grid;
  gap: 1rem;
}

.capability-strip article {
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border-top: 3px solid var(--brand-accent);
  box-shadow: 0 10px 28px rgba(24, 28, 32, 0.06);
}

.capability-strip h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.capability-strip p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Trust / platforms */
.trust {
  padding: 4.75rem 0 5.5rem;
  background:
    linear-gradient(135deg, #243028 0%, #1a1c1e 45%, #253226 100%);
  color: var(--white);
}

.trust .section-head {
  text-align: center;
}

.trust .section-head p {
  color: rgba(232, 240, 238, 0.88);
  font-size: 1.12rem;
  line-height: 1.6;
  max-width: 62ch;
}

.trust h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  color: var(--white);
}

.platform-grid {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.75rem;
}

.platform-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.55rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #f4f7f6;
  color: var(--text);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.platform-card:hover {
  border-color: rgba(47, 157, 95, 0.65);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px);
}

.platform-card .eyebrow {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent-dark);
  font-size: 0.95rem;
}

.platform-card h3 {
  margin: 0;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.platform-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.platform-card-action {
  margin-top: 0.35rem;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--brand-accent-dark);
  border-bottom: 2px solid rgba(47, 157, 95, 0.35);
  justify-self: start;
}

.trust-stats {
  display: grid;
  gap: 1rem;
  text-align: center;
}

.trust-stats > div {
  padding: 1.25rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #f4f7f6;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.stat {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brand-accent-dark);
  letter-spacing: 0.03em;
}

.stat-label {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
}

/* Get started */
.get-started {
  padding: 5rem 0;
}

.os-selector {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

.os-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(47, 157, 95, 0.18);
  box-shadow: 0 10px 28px rgba(24, 28, 32, 0.06);
}

.os-tab {
  display: grid;
  gap: 0.15rem;
  justify-items: start;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.os-tab:hover {
  color: var(--text);
  background: rgba(47, 157, 95, 0.06);
}

.os-tab[aria-selected="true"] {
  color: var(--text);
  background: var(--white);
  border-color: rgba(47, 157, 95, 0.45);
  box-shadow: 0 8px 18px rgba(47, 157, 95, 0.12);
}

.os-tab:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

.os-tab-label {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.98rem;
  color: inherit;
}

.os-tab[aria-selected="true"] .os-tab-label {
  color: var(--brand-accent-dark);
}

.os-tab-meta {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.82rem;
  color: var(--grey-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.os-panel[hidden] {
  display: none;
}

.os-panel {
  min-width: 0;
}

.start-panels {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  min-width: 0;
}

.start-panel {
  background: var(--white);
  padding: 1.35rem;
  box-shadow: 0 12px 30px rgba(24, 28, 32, 0.07);
  border-top: 3px solid var(--brand-accent);
  min-width: 0;
  overflow: hidden;
}

.start-panel h3 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
}

.start-panel pre {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.start-cta {
  margin-top: 2rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.start-cta .btn-ghost {
  border-color: rgba(47, 157, 95, 0.35);
  color: var(--brand-accent-dark);
}

.start-cta .btn-ghost:hover {
  border-color: var(--brand-accent);
  background: var(--brand-accent-soft);
}

/* Help / resources */
.help {
  padding: 4.5rem 0 5rem;
  background: var(--grey-100);
}

.help h2 {
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.help-grid {
  display: grid;
  gap: 1rem;
}

.help-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.4rem 1.25rem;
  background: var(--white);
  border: 1px solid transparent;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.help-card:hover {
  border-color: rgba(47, 157, 95, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(24, 28, 32, 0.08);
}

.help-icon {
  width: 36px;
  height: 36px;
  color: var(--grey-700);
}

.help-icon svg {
  width: 100%;
  height: 100%;
}

.help-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.help-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--grey-900);
  color: var(--grey-300);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand p {
  margin: 1rem 0 0;
  max-width: 36ch;
  font-size: 0.95rem;
}

.footer-brand .brand {
  color: var(--white);
}

.site-footer h4 {
  margin: 0 0 0.85rem;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-ui);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer a:hover {
  color: var(--brand-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 0;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--brand-accent);
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-content,
  [data-reveal],
  .solution-visual img,
  .btn,
  .help-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  [data-reveal] {
    opacity: 1;
  }
}

/* Breakpoints */
@media (min-width: 720px) {
  .compare-grid,
  .trust-stats,
  .help-grid,
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Inner pages */
.page {
  padding: 2.5rem 0 5rem;
}

.page-shell {
  width: min(760px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.page-shell.wide {
  width: min(980px, calc(100% - 2.5rem));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--brand-accent-dark);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--text);
}

.page-hero {
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 32, 51, 0.1);
}

.page-hero .eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent-dark);
  font-size: 0.9rem;
}

.page-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.page-hero .lede {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 54ch;
}

.prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.prose > * + * {
  margin-top: 1rem;
}

.prose h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
  line-height: 1.25;
}

.prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose p {
  max-width: 68ch;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose a {
  color: var(--brand-accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.prose a:hover {
  color: var(--text);
}

.prose pre {
  margin-top: 1.1rem;
}

.prose .callout {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  background: rgba(47, 157, 95, 0.08);
  border-left: 3px solid var(--brand-accent);
}

.prose .callout p {
  margin: 0;
}

.topic-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.topic-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(16, 32, 51, 0.1);
  box-shadow: 0 10px 24px rgba(24, 28, 32, 0.05);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.topic-card:hover {
  border-color: rgba(47, 157, 95, 0.5);
  transform: translateY(-2px);
  text-decoration: none;
}

.prose .topic-card,
.prose .topic-card:hover {
  text-decoration: none;
  color: inherit;
}

.topic-card h2,
.topic-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text);
}

.topic-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: none;
}

.page-cta {
  margin-top: 2.75rem;
  padding: 1.5rem;
  background: var(--grey-100);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.page-cta p {
  margin: 0;
  max-width: 40ch;
  color: var(--text-muted);
}

.page body,
body.page-body {
  background:
    radial-gradient(900px 420px at 8% -5%, rgba(47, 157, 95, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f8fa 0%, #ffffff 55%, #f7f8fa 100%);
}

/* Phones — compact chrome, readable hero, full-width CTAs */
@media (max-width: 719px) {
  :root {
    --header-h: 60px;
  }

  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .container,
  .container.narrow,
  .header-inner,
  .page-shell,
  .page-shell.wide {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .header-inner {
    gap: 0.75rem;
    min-height: var(--header-h);
  }

  .brand-logo {
    height: 38px;
    max-width: min(190px, 48vw);
  }

  .brand-logo-footer {
    height: 44px;
    max-width: min(240px, 70vw);
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-nav {
    padding: 0.35rem 1rem 1rem;
  }

  .mobile-nav a {
    padding: 0.9rem 0.25rem;
    font-size: 1.05rem;
  }

  .hero {
    min-height: min(100svh, 620px);
    align-items: end;
  }

  .hero-media img {
    object-position: 68% center;
    transform: none;
    animation: none;
  }

  .hero-veil {
    background:
      linear-gradient(180deg, rgba(18, 20, 22, 0.55) 0%, rgba(18, 20, 22, 0.78) 42%, rgba(18, 20, 22, 0.92) 100%),
      linear-gradient(90deg, rgba(18, 20, 22, 0.72) 0%, rgba(18, 20, 22, 0.35) 100%);
  }

  .hero-content {
    width: calc(100% - 1.5rem);
    max-width: none;
    margin: 0 auto;
    padding: calc(var(--header-h) + 1.75rem) 0 calc(1.75rem + env(safe-area-inset-bottom));
  }

  .hero-brand {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7.2vw, 2.15rem);
    line-height: 1.18;
    max-width: none;
    margin-bottom: 0.85rem;
  }

  .hero-lede {
    font-size: 1rem;
    line-height: 1.55;
    max-width: none;
    margin-bottom: 1.35rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero-ctas .btn {
    width: 100%;
    min-height: 48px;
  }

  .value-band {
    padding: 2.75rem 0;
  }

  .value-band h2 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  .value-band p {
    font-size: 1rem;
  }

  .solutions {
    padding: 0.25rem 0 1rem;
  }

  .solution-row {
    width: min(var(--max), calc(100% - 1.5rem));
    gap: 1.15rem;
    padding: 1.6rem 0;
    margin-bottom: 0.35rem;
  }

  .solution-copy h3 {
    font-size: clamp(1.35rem, 5.5vw, 1.65rem);
  }

  .solution-visual {
    margin: 0;
  }

  .btn-lg {
    padding: 0.85rem 1.2rem;
  }

  .get-started {
    padding: 3.25rem 0;
  }

  .os-tabs {
    gap: 0.3rem;
    padding: 0.3rem;
  }

  .os-tab {
    justify-items: center;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.65rem 0.35rem;
    min-height: 44px;
  }

  .os-tab-label {
    font-size: 0.82rem;
    letter-spacing: 0.03em;
  }

  .os-tab-meta {
    display: none;
  }

  .start-panel {
    padding: 1.1rem;
  }

  .start-panel h3 {
    font-size: 1.02rem;
  }

  .start-panels pre,
  .prose pre {
    font-size: 0.74rem;
    line-height: 1.45;
    padding: 0.85rem 0.9rem;
    -webkit-overflow-scrolling: touch;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .start-cta {
    margin-top: 1.35rem;
  }

  .start-cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .capability-strip,
  .compare-grid,
  .platform-grid,
  .help-grid,
  .footer-grid {
    gap: 0.85rem;
  }

  .footer-grid {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .page {
    padding: 1.5rem 0 3.5rem;
  }

  .page-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }

  .page-hero .lede {
    font-size: 1.02rem;
  }

}

/* Narrow tablets: still use hamburger */
@media (min-width: 720px) and (max-width: 959px) {
  .hero {
    min-height: min(88vh, 700px);
  }

  .hero-content {
    padding: 6rem 0 3.5rem;
  }

  .hero-ctas .btn {
    min-height: 48px;
  }
}

@media (min-width: 720px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .primary-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex !important;
  }

  .topic-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }

  .solution-row {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    padding: 3.25rem 0;
  }

  .solution-row.reverse .solution-copy {
    order: 2;
  }

  .solution-row.reverse .solution-visual {
    order: 1;
  }

  .capability-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-stats,
  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .start-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .os-tab {
    justify-items: start;
    text-align: left;
  }

  .help-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
