:root {
  color-scheme: light;
  --ink: #10211d;
  --ink-soft: #1b312b;
  --forest: #173d34;
  --forest-deep: #0c2620;
  --ivory: #f3efe5;
  --paper: #faf8f2;
  --paper-bright: #fffdf8;
  --sand: #e8e0d0;
  --line: #d8d0c1;
  --line-dark: rgba(241, 236, 223, 0.16);
  --copper: #a85e32;
  --copper-dark: #7f3f1f;
  --gold: #dfc27e;
  --gold-bright: #ecd59c;
  --muted: #67746e;
  --muted-dark: #aebbb5;
  --success: #2c6c55;
  --danger: #a13d35;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 22px 70px rgba(16, 33, 29, 0.1);
  --shadow-deep: 0 32px 90px rgba(4, 18, 15, 0.26);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-base: 0;
  --z-raised: 10;
  --z-header: 50;
  --z-overlay: 100;
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--paper-bright);
  background: var(--forest);
}

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

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

button,
a {
  touch-action: manipulation;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

figure,
blockquote,
h1,
h2,
h3,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

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

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: var(--z-overlay);
  padding: 12px 16px;
  color: var(--paper-bright);
  background: var(--forest-deep);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section {
  padding-block: clamp(88px, 10vw, 152px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--copper-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.kicker > span {
  width: 22px;
  height: 1px;
  background: currentColor;
}

.kicker-light {
  color: var(--gold);
}

.section-index,
.panel-label {
  color: var(--copper-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.deployment-copy h2,
.faq-heading h2 {
  max-width: 840px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-heading > p,
.section-heading > div + p,
.deployment-copy > p,
.faq-heading > p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.72fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-bottom: clamp(52px, 7vw, 88px);
}

.centered-heading {
  max-width: 900px;
  margin: 0 auto clamp(56px, 7vw, 88px);
  text-align: center;
}

.centered-heading h2,
.centered-heading > p {
  margin-inline: auto;
}

.centered-heading > p:last-child {
  margin-top: 26px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
}

.button svg,
.text-link-light svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease);
}

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

.button:hover svg,
.text-link-light:hover svg {
  transform: translateX(3px);
}

.button-primary {
  color: var(--paper-bright);
  background: var(--forest);
  box-shadow: 0 12px 28px rgba(23, 61, 52, 0.2);
}

.button-primary:hover {
  background: var(--forest-deep);
  box-shadow: 0 16px 34px rgba(23, 61, 52, 0.28);
}

.button-quiet {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.58);
  border-color: #bcb2a0;
}

.button-gold {
  color: var(--forest-deep);
  background: var(--gold-bright);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
}

.button-gold:hover {
  background: #f2dda8;
}

.button-outline-light {
  color: var(--paper-bright);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-elevated,
.site-header.is-menu-open {
  background: rgba(250, 248, 242, 0.92);
  border-color: rgba(16, 33, 29, 0.1);
  box-shadow: 0 10px 34px rgba(16, 33, 29, 0.05);
  backdrop-filter: blur(18px) saturate(1.15);
}

.nav-shell {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  min-height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand img {
  width: 140px;
  height: auto;
  filter: contrast(2.4);
}

.brand span {
  padding-left: 14px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  color: #3f4d48;
  font-size: 13px;
  font-weight: 600;
}

.nav-links > a:not(.nav-cta) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: color 180ms ease;
}

.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.nav-links > a:hover,
.nav-links > a.is-active {
  color: var(--ink);
}

.nav-links > a:hover::after,
.nav-links > a.is-active::after {
  transform: scaleX(1);
}

.nav-links .login-link {
  padding-left: clamp(12px, 1.6vw, 22px);
  border-left: 1px solid var(--line);
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: var(--paper-bright);
  background: var(--forest);
  border-radius: 999px;
  transition: background 180ms ease, transform 180ms var(--ease);
}

.nav-cta:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  padding: 0;
  position: relative;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle > span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 220ms var(--ease), top 220ms var(--ease);
}

.nav-toggle > span:first-child {
  top: 19px;
}

.nav-toggle > span:last-child {
  top: 27px;
}

.nav-toggle[aria-expanded="true"] > span:first-child {
  top: 23px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:last-child {
  top: 23px;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  min-height: 100svh;
  padding-top: 82px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 24%, rgba(223, 194, 126, 0.19), transparent 28%),
    radial-gradient(circle at 86% 9%, rgba(23, 61, 52, 0.1), transparent 25%),
    linear-gradient(180deg, var(--paper-bright), var(--ivory));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.32;
  background-image: radial-gradient(rgba(16, 33, 29, 0.22) 0.65px, transparent 0.65px);
  background-size: 15px 15px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(16, 33, 29, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 720px;
  height: 720px;
  top: -330px;
  right: -210px;
}

.orbit-two {
  width: 420px;
  height: 420px;
  right: 70px;
  bottom: -260px;
}

.hero-grid {
  min-height: calc(100svh - 210px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, 0.95fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
  padding-block: clamp(70px, 8vw, 118px) 72px;
}

.hero-copy {
  animation: hero-enter 720ms var(--ease) both;
}

.hero-copy .kicker {
  margin-bottom: 30px;
}

.hero-copy h1 {
  max-width: 750px;
  font-family: var(--font-display);
  font-size: clamp(54px, 6.9vw, 100px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.hero-copy h1 em {
  display: block;
  color: var(--copper-dark);
  font-weight: 400;
}

.hero-lede {
  max-width: 675px;
  margin-top: 30px;
  color: #52615b;
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.62;
}

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

.hero-promises {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  color: #46534e;
  font-size: 13px;
}

.hero-promises span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-promises svg,
.check-list svg,
.commercial-card li svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--success);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ownership-visual {
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  overflow: hidden;
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 95% 0%, rgba(223, 194, 126, 0.15), transparent 32%),
    linear-gradient(145deg, var(--ink-soft), var(--forest-deep));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  animation: hero-enter 780ms 120ms var(--ease) both;
}

.ownership-visual::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -82px;
  bottom: -90px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.visual-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.visual-topline span,
.visual-badge {
  color: var(--muted-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-topline h2 {
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.visual-badge {
  padding: 7px 10px;
  color: var(--gold);
  border: 1px solid rgba(223, 194, 126, 0.28);
  border-radius: 999px;
}

.cost-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: #c0cac6;
  font-size: 11px;
}

.cost-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cost-legend span::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--copper);
}

.cost-legend .legend-own::before {
  background: var(--gold);
}

.cost-chart {
  width: 100%;
  height: auto;
  margin-top: 4px;
  overflow: visible;
}

.chart-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.075);
  stroke-width: 1;
}

.rent-area {
  fill: url(#rent-fill);
}

.own-area {
  fill: url(#own-fill);
}

.rent-line,
.own-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.rent-line {
  stroke: #bf7448;
}

.own-line {
  stroke: var(--gold);
}

.rent-point {
  fill: #bf7448;
}

.own-point {
  fill: var(--gold);
}

.chart-labels text {
  fill: #91a09a;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.cost-callout {
  max-width: 330px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: -8px;
  padding: 16px 18px;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.callout-number {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.cost-callout > span:last-child {
  color: #bfcbc6;
  font-size: 12px;
  line-height: 1.45;
}

.cost-callout b {
  display: block;
  color: var(--paper-bright);
  font-size: 13px;
}

.ownership-visual figcaption {
  max-width: 500px;
  margin-top: 22px;
  color: #91a09a;
  font-size: 11px;
  line-height: 1.55;
}

.principle-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(16, 33, 29, 0.15);
  border-bottom: 1px solid rgba(16, 33, 29, 0.15);
}

.principle-strip article {
  min-height: 118px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px clamp(20px, 3vw, 36px);
}

.principle-strip article + article {
  border-left: 1px solid rgba(16, 33, 29, 0.15);
}

.principle-strip article > span {
  color: var(--copper-dark);
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
}

.principle-strip p {
  color: #596660;
  font-size: 13px;
  line-height: 1.55;
}

.principle-strip strong {
  color: var(--ink);
}

/* Statement */
.statement-section {
  padding-block: clamp(90px, 11vw, 160px);
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 18% 105%, rgba(223, 194, 126, 0.12), transparent 32%),
    var(--forest-deep);
}

.statement-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 7vw, 104px);
  align-items: start;
}

.statement-grid .section-index {
  padding-top: 14px;
  color: var(--gold);
}

.statement-grid blockquote {
  max-width: 920px;
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

.statement-grid em {
  color: var(--gold);
  font-weight: 400;
}

/* Ownership comparison */
.ownership-section {
  background: var(--paper);
}

.comparison-wrap {
  overflow: hidden;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.comparison-table th,
.comparison-table td {
  padding: 24px clamp(20px, 3vw, 38px);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  color: var(--muted);
  background: #f2eee5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison-table thead th:first-child,
.comparison-table tbody th {
  width: 24%;
}

.comparison-table thead th:not(:last-child),
.comparison-table td:not(:last-child),
.comparison-table tbody th {
  border-right: 1px solid var(--line);
}

.comparison-table tbody th {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.comparison-table tbody td {
  color: var(--muted);
  font-size: 15px;
}

.comparison-table .stringlab-column {
  color: var(--ink);
  background: #edf1e9;
}

.comparison-table thead .stringlab-column {
  color: var(--forest);
  background: #dfe8df;
}

.comparison-table tbody tr:last-child > * {
  border-bottom: 0;
}

.ownership-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ownership-notes article {
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper-bright);
}

.ownership-notes span {
  color: var(--copper-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ownership-notes h3 {
  max-width: 520px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

/* Module builder */
.module-section {
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 85% 4%, rgba(223, 194, 126, 0.12), transparent 24%),
    linear-gradient(145deg, var(--ink-soft), var(--forest-deep) 72%);
}

.module-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.72fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 76px);
}

.module-heading h2 {
  color: var(--paper-bright);
}

.module-heading > p {
  color: var(--muted-dark);
}

.foundation-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
}

.foundation-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--forest-deep);
  background: var(--gold);
  border-radius: 50%;
}

.foundation-icon svg,
.module-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.foundation-bar span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.foundation-bar h3 {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.2;
}

.foundation-bar > p {
  max-width: 150px;
  color: var(--muted-dark);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.module-builder {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.configuration-panel {
  padding: 28px;
  position: sticky;
  top: 104px;
  background: var(--paper-bright);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--shadow-deep);
}

.configuration-panel h3 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.configuration-panel > p[data-selection-list] {
  min-height: 48px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.preset-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 22px;
  padding: 4px;
  background: #eee9df;
  border-radius: 999px;
}

.preset-buttons button {
  min-height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.preset-buttons button.is-active {
  color: var(--paper-bright);
  background: var(--forest);
  box-shadow: 0 4px 12px rgba(16, 33, 29, 0.16);
}

.configuration-rule {
  height: 1px;
  margin-block: 24px;
  background: var(--line);
}

.dependency-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.configuration-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.configuration-actions .button {
  width: 100%;
  background: var(--forest);
  color: var(--paper-bright);
}

.configuration-actions .button:hover {
  background: var(--forest-deep);
}

.text-button {
  min-height: 44px;
  padding: 0;
  color: var(--forest);
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.module-card {
  min-height: 252px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto 1fr auto;
  gap: 0 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  color: var(--paper-bright);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  transition: color 240ms ease, background 240ms ease, border-color 240ms ease, transform 240ms var(--ease), box-shadow 240ms ease;
}

.module-card::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -88px;
  bottom: -90px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.module-card:hover {
  border-color: rgba(223, 194, 126, 0.45);
  transform: translateY(-3px);
}

.module-card[aria-pressed="true"] {
  color: var(--ink);
  background: var(--paper-bright);
  border-color: var(--paper-bright);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.module-card[aria-pressed="true"]::before {
  border-color: rgba(16, 33, 29, 0.08);
}

.module-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  grid-column: 1;
  grid-row: 1;
  color: var(--gold);
  background: rgba(223, 194, 126, 0.1);
  border: 1px solid rgba(223, 194, 126, 0.22);
  border-radius: 50%;
}

.module-card[aria-pressed="true"] .module-icon {
  color: var(--forest);
  background: #e9eee7;
  border-color: #d3ded1;
}

.module-number {
  grid-column: 3;
  grid-row: 1;
  color: var(--muted-dark);
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
}

.module-card[aria-pressed="true"] .module-number {
  color: var(--copper-dark);
}

.module-card > strong {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.3vw, 32px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.module-card > small {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 12px;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.55;
}

.module-card[aria-pressed="true"] > small {
  color: var(--muted);
}

.module-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: 1 / -1;
  grid-row: 4;
  margin-top: 20px;
  padding-top: 16px;
  color: var(--muted-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.module-card[aria-pressed="true"] .module-toggle {
  color: var(--success);
  border-color: var(--line);
}

.module-toggle i {
  width: 27px;
  height: 27px;
  position: relative;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.module-toggle i::before,
.module-toggle i::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 1px;
  top: 12px;
  left: 8px;
  background: currentColor;
}

.module-toggle i::after {
  transform: rotate(90deg);
}

.module-card[aria-pressed="true"] .module-toggle i::before {
  width: 7px;
  top: 13px;
  left: 6px;
  transform: rotate(45deg);
}

.module-card[aria-pressed="true"] .module-toggle i::after {
  width: 12px;
  top: 11px;
  left: 9px;
  transform: rotate(-48deg);
}

/* Connected product proof */
.product-section {
  background: var(--ivory);
}

.workflow-map {
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.workflow-lane {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.workflow-lane + .workflow-lane {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.lane-label {
  color: var(--copper-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-lane ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
}

.workflow-lane li {
  min-height: 56px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--ink);
  background: #eef0e9;
  border: 1px solid #d7ddd4;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.workflow-lane li + li {
  margin-left: 18px;
}

.workflow-lane li + li::before {
  content: "";
  width: 19px;
  height: 1px;
  position: absolute;
  top: 50%;
  left: -19px;
  background: #b2bdb6;
}

.product-proof {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  margin-top: clamp(54px, 7vw, 92px);
}

.product-proof-copy h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.product-proof-copy > p:not(.section-index) {
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.product-tabs {
  display: inline-flex;
  gap: 5px;
  margin-top: 30px;
  padding: 4px;
  background: #e4ded1;
  border-radius: 999px;
}

.product-tabs button {
  min-height: 44px;
  padding: 0 18px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.product-tabs button[aria-selected="true"] {
  color: var(--paper-bright);
  background: var(--forest);
}

.product-window {
  min-width: 0;
  padding: 10px;
  overflow: hidden;
  background: #050706;
  border: 1px solid rgba(16, 33, 29, 0.14);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(16, 33, 29, 0.22);
}

.product-window figure {
  position: relative;
}

.product-window img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.product-window figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  color: var(--paper-bright);
  background: rgba(6, 18, 15, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Deployment */
.deployment-section {
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 100% 100%, rgba(223, 194, 126, 0.13), transparent 34%),
    var(--forest);
}

.deployment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.1fr);
  gap: clamp(56px, 9vw, 126px);
  align-items: center;
}

.deployment-copy h2 {
  color: var(--paper-bright);
}

.deployment-copy > p {
  margin-top: 28px;
  color: #c0cbc6;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  list-style: none;
  color: #dce4e0;
  font-size: 14px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-list svg {
  stroke: var(--gold);
}

.architecture-card {
  padding: clamp(26px, 4vw, 48px);
  color: var(--ink);
  background: var(--paper-bright);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}

.architecture-eyebrow {
  color: var(--copper-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.architecture-users,
.architecture-hosts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.architecture-users span,
.architecture-hosts span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--muted);
  background: #f1eee6;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.architecture-line {
  width: 1px;
  height: 42px;
  margin-inline: auto;
  position: relative;
  background: var(--line);
}

.architecture-line i {
  width: 7px;
  height: 7px;
  position: absolute;
  right: -3px;
  bottom: 0;
  background: var(--copper);
  border-radius: 50%;
}

.architecture-core {
  padding: 26px;
  color: var(--paper-bright);
  background: var(--forest-deep);
  border-radius: var(--radius);
  text-align: center;
}

.architecture-core > span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.architecture-core strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}

.architecture-core > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.architecture-core small {
  padding: 6px 9px;
  color: #c5d0cb;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 9px;
}

.architecture-hosts {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0;
}

.architecture-card > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

/* Commercial model */
.commercial-section {
  background: var(--paper);
}

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

.commercial-card {
  padding: clamp(26px, 4vw, 44px);
  overflow: hidden;
  position: relative;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.commercial-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -95px;
  bottom: -105px;
  border: 1px solid rgba(16, 33, 29, 0.08);
  border-radius: 50%;
}

.commercial-card h3 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

.commercial-card > p {
  max-width: 550px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.commercial-badge {
  display: inline-flex;
  color: var(--copper-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.commercial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.one-time-mark {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.purchase-card {
  min-height: 490px;
  grid-column: span 7;
  grid-row: span 2;
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 100% 0%, rgba(223, 194, 126, 0.15), transparent 34%),
    var(--forest-deep);
  border-color: var(--forest-deep);
}

.purchase-card::after {
  width: 260px;
  height: 260px;
  right: -120px;
  bottom: -155px;
  border-color: rgba(255, 255, 255, 0.1);
}

.purchase-card .commercial-badge {
  color: var(--gold);
}

.purchase-card h3 {
  max-width: 560px;
  margin-top: 70px;
  font-size: clamp(42px, 5vw, 72px);
}

.purchase-card > p {
  color: #b9c5c0;
}

.commercial-card ul {
  display: grid;
  gap: 13px;
  margin-top: 34px;
  list-style: none;
  color: #d8e0dc;
  font-size: 13px;
}

.commercial-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.commercial-card li svg {
  stroke: var(--gold);
}

.optional-card,
.ongoing-card {
  min-height: 239px;
  grid-column: span 5;
}

.optional-card {
  background: #e9eee6;
}

.ongoing-card {
  background: #f0e7d8;
}

.package-card {
  grid-column: 1 / -1;
}

.package-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.package-options > div {
  min-height: 132px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: var(--paper-bright);
}

.package-options b {
  color: var(--copper-dark);
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
}

.package-options span,
.package-options strong,
.package-options small {
  display: block;
}

.package-options strong {
  font-size: 14px;
}

.package-options small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.licence-note {
  max-width: 870px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}

/* Implementation */
.implementation-section {
  background: var(--ivory);
}

.implementation-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  list-style: none;
}

.implementation-steps::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: var(--line);
}

.implementation-steps li {
  display: grid;
  grid-template-rows: 42px auto;
  gap: 22px;
  padding-inline: clamp(12px, 2vw, 28px);
  position: relative;
  text-align: center;
}

.implementation-steps li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  z-index: 1;
  color: var(--paper-bright);
  background: var(--forest);
  border: 6px solid var(--ivory);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
}

.implementation-steps h3 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
}

.implementation-steps p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

/* FAQ */
.faq-section {
  background: var(--paper-bright);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.1fr);
  gap: clamp(52px, 10vw, 150px);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 120px;
}

.faq-heading > p:last-child {
  margin-top: 24px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span {
  width: 30px;
  height: 30px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-list summary > span::before,
.faq-list summary > span::after {
  content: "";
  width: 10px;
  height: 1px;
  position: absolute;
  top: 14px;
  left: 9px;
  background: var(--ink);
  transition: transform 220ms var(--ease);
}

.faq-list summary > span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary > span::after {
  transform: rotate(0);
}

.faq-list details > p {
  max-width: 700px;
  padding: 0 56px 28px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Final proposal */
.proposal-section {
  padding-block: clamp(104px, 13vw, 190px);
  position: relative;
  overflow: hidden;
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 82% 12%, rgba(223, 194, 126, 0.16), transparent 24%),
    radial-gradient(circle at 10% 100%, rgba(168, 94, 50, 0.18), transparent 28%),
    var(--forest-deep);
}

.proposal-section::before,
.proposal-section::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.proposal-section::before {
  width: 600px;
  height: 600px;
  top: -360px;
  right: -120px;
}

.proposal-section::after {
  width: 360px;
  height: 360px;
  right: 60px;
  bottom: -260px;
}

.proposal-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.proposal-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(62px, 9.5vw, 132px);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.06em;
}

.proposal-inner h2 em {
  color: var(--gold);
  font-weight: 400;
}

.proposal-summary {
  max-width: 720px;
  margin: 40px auto 0;
  color: #c3cec9;
  font-size: 18px;
  line-height: 1.6;
}

.proposal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.text-link-light {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #c4d0cb;
  font-size: 13px;
  font-weight: 700;
}

.proposal-note {
  max-width: 680px;
  margin: 26px auto 0;
  color: #849690;
  font-size: 11px;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  padding-block: 72px 28px;
  color: var(--paper-bright);
  background: #071713;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 80px;
}

.footer-brand img {
  width: 190px;
  height: auto;
  filter: none;
}

.footer-brand p {
  max-width: 430px;
  margin-top: 24px;
  color: #8da09a;
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 70px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links span {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #b9c7c2;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--paper-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 62px;
  padding-top: 24px;
  color: #6f837c;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
}

/* Progressive enhancement: content is visible if JavaScript is absent. */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

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

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .nav-links {
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
    gap: 44px;
  }

  .module-builder {
    grid-template-columns: 290px minmax(0, 1fr);
  }

  .configuration-panel {
    padding: 24px;
  }

  .deployment-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(430px, 1fr);
    gap: 54px;
  }
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 82px 0 auto;
    display: grid;
    gap: 0;
    padding: 14px var(--gutter) 26px;
    background: rgba(250, 248, 242, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(16, 33, 29, 0.08);
    transform: translateY(-125%);
    visibility: hidden;
    transition: transform 260ms var(--ease), visibility 260ms;
  }

  .nav-links.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links > a,
  .nav-links > a:nth-child(4),
  .nav-links > a:nth-child(5) {
    min-height: 50px !important;
    display: flex;
    border-bottom: 1px solid var(--line);
  }

  .nav-links > a::after {
    display: none;
  }

  .nav-links .login-link {
    padding-left: 0;
    border-left: 0;
  }

  .nav-links .nav-cta {
    min-height: 50px !important;
    justify-content: center;
    margin-top: 14px;
    border-bottom: 0;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 82px 0 auto;
    display: grid;
    gap: 0;
    padding: 14px var(--gutter) 26px;
    background: rgba(250, 248, 242, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(16, 33, 29, 0.08);
    transform: translateY(-125%);
    visibility: hidden;
    transition: transform 260ms var(--ease), visibility 260ms;
  }

  .nav-links.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links > a,
  .nav-links > a:nth-child(4),
  .nav-links > a:nth-child(5) {
    min-height: 50px !important;
    display: flex;
    border-bottom: 1px solid var(--line);
  }

  .nav-links > a::after {
    display: none;
  }

  .nav-links .login-link {
    padding-left: 0;
    border-left: 0;
  }

  .nav-links .nav-cta {
    min-height: 50px !important;
    justify-content: center;
    margin-top: 14px;
    border-bottom: 0;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 58px;
    padding-top: 98px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .ownership-visual {
    max-width: 720px;
    margin-inline: auto;
  }

  .principle-strip {
    grid-template-columns: 1fr;
  }

  .principle-strip article + article {
    border-top: 1px solid rgba(16, 33, 29, 0.15);
    border-left: 0;
  }

  .split-heading,
  .module-heading,
  .deployment-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .module-heading {
    gap: 28px;
    align-items: start;
  }

  .module-heading > p {
    max-width: 680px;
  }

  .module-builder {
    grid-template-columns: 1fr;
  }

  .configuration-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 24px;
    position: static;
  }

  .configuration-panel > .panel-label,
  .configuration-panel > h3,
  .configuration-panel > p[data-selection-list],
  .configuration-panel > .preset-buttons,
  .configuration-panel > .configuration-rule,
  .configuration-panel > .dependency-note {
    grid-column: 1;
  }

  .configuration-panel > .configuration-actions {
    min-width: 220px;
    grid-column: 2;
    grid-row: 1 / 7;
    align-content: center;
  }

  .product-proof {
    grid-template-columns: 1fr;
  }

  .product-proof-copy {
    max-width: 700px;
  }

  .deployment-grid {
    gap: 50px;
  }

  .deployment-copy {
    max-width: 760px;
  }

  .purchase-card,
  .optional-card,
  .ongoing-card {
    grid-column: 1 / -1;
  }

  .purchase-card {
    min-height: 440px;
    grid-row: auto;
  }

  .implementation-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .implementation-steps::before {
    width: 1px;
    height: calc(100% - 40px);
    top: 20px;
    right: auto;
    bottom: 20px;
    left: 20px;
  }

  .implementation-steps li {
    min-height: 130px;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto;
    gap: 22px;
    padding: 0;
    text-align: left;
  }

  .implementation-steps li > span {
    margin: 0;
  }

  .implementation-steps li > div {
    padding-bottom: 34px;
  }

  .faq-heading {
    max-width: 720px;
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }

  .section {
    padding-block: 88px;
  }

  .brand img {
    width: 122px;
  }

  .brand span {
    display: none;
  }

  .hero {
    padding-top: 74px;
  }

  .nav-shell {
    min-height: 74px;
  }

  .nav-links {
    inset-block-start: 74px;
  }

  .hero-grid {
    padding-block: 72px 56px;
  }

  .hero-copy h1 {
    font-size: clamp(52px, 16vw, 76px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .ownership-visual {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .visual-topline {
    display: block;
  }

  .visual-badge {
    display: none;
  }

  .cost-legend {
    gap: 8px 16px;
  }

  .cost-callout {
    max-width: none;
  }

  .principle-strip article {
    min-height: 106px;
    padding-inline: 18px;
  }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .statement-grid .section-index {
    padding-top: 0;
  }

  .statement-grid blockquote {
    font-size: clamp(42px, 13vw, 64px);
  }

  .comparison-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100% !important;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tr {
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--paper-bright);
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 18px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .comparison-table tbody th {
    background: #f2eee5;
    font-size: 13px;
  }

  .comparison-table td {
    display: grid;
    grid-template-columns: minmax(104px, 0.72fr) minmax(0, 1.28fr);
    gap: 14px;
    font-size: 13px;
  }

  .comparison-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .comparison-table tr > *:last-child {
    border-bottom: 0;
  }

  .ownership-notes {
    grid-template-columns: 1fr;
  }

  .foundation-bar {
    grid-template-columns: auto 1fr;
    padding: 20px;
  }

  .foundation-bar > p {
    display: none;
  }

  .configuration-panel {
    display: block;
  }

  .configuration-panel > .configuration-actions {
    min-width: 0;
  }

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

  .module-card {
    min-height: 230px;
  }

  .workflow-lane {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .workflow-lane ol {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .workflow-lane li + li {
    margin-left: 0;
  }

  .workflow-lane li + li::before {
    display: none;
  }

  .product-tabs {
    width: 100%;
  }

  .product-tabs button {
    flex: 1;
  }

  .product-window {
    padding: 6px;
    border-radius: 14px;
  }

  .product-window img {
    border-radius: 9px;
  }

  .product-window figcaption {
    position: static;
    padding: 12px 8px 8px;
    color: #b9c7c2;
    background: transparent;
    border: 0;
    text-align: center;
  }

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

  .architecture-hosts {
    grid-template-columns: 1fr;
  }

  .architecture-core {
    padding: 22px 14px;
  }

  .package-options {
    grid-template-columns: 1fr;
  }

  .package-options > div {
    min-height: 110px;
  }

  .proposal-inner h2 {
    font-size: clamp(60px, 19vw, 94px);
  }

  .proposal-actions {
    display: grid;
  }

  .proposal-actions .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-links {
    gap: 36px;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 440px) {
  .hero-copy h1 {
    font-size: 50px;
  }

  .hero-copy .kicker {
    align-items: flex-start;
  }

  .hero-copy .kicker > span {
    margin-top: 7px;
  }

  .cost-chart {
    margin-block: 8px;
  }

  .chart-labels text {
    font-size: 9px;
  }

  .ownership-visual figcaption {
    font-size: 10px;
  }

  .preset-buttons {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .preset-buttons button {
    border-radius: 10px;
  }

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

  .architecture-card {
    padding: 22px 16px;
  }

  .faq-list summary {
    grid-template-columns: 1fr 30px;
    font-size: 20px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .button:hover,
  .module-card:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .button,
  .nav-cta,
  .module-card,
  .commercial-card,
  .architecture-card {
    border: 1px solid CanvasText;
  }
}
