@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --ink: #101716;
  --ink-soft: #4c5754;
  --paper: #f7f3eb;
  --paper-bright: #fffdfa;
  --moss: #1e6252;
  --moss-dark: #123f36;
  --mint: #bfe4d7;
  --mint-light: #e6f2ed;
  --line: rgba(16, 23, 22, 0.14);
  --line-light: rgba(255, 255, 255, 0.17);
  --night: #0a1513;
  --white: #fff;
  --max: 1180px;
  --header-height: 76px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-bright);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #4ec3a4;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--night);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  min-height: var(--header-height);
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--moss-dark);
  border-radius: 50%;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a,
.text-link {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 180ms ease;
}

nav a:hover,
.text-link:hover {
  color: var(--moss);
}

.button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--moss-dark);
  border: 1px solid var(--moss-dark);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(18, 63, 54, 0.15);
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  background: var(--moss);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(18, 63, 54, 0.22);
}

.button-small {
  min-height: 44px;
  padding-inline: 19px;
  font-size: 15px;
}

.button-light {
  color: var(--night);
  background: var(--white);
  border-color: var(--white);
  box-shadow: none;
}

.button-light:hover {
  color: var(--white);
  background: transparent;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

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

.section-intro h2,
.final-cta h2 {
  margin: 14px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 3.8vw, 50px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.section-intro > p:last-child {
  max-width: 670px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.section-intro-light {
  color: var(--white);
}

.section-intro-light > p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.eyebrow {
  margin: 0;
  color: var(--moss);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-intro-light .eyebrow,
.pricing-section .eyebrow {
  color: var(--mint);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 14%, rgba(191, 228, 215, 0.82), transparent 31%),
    linear-gradient(115deg, #f8f3e9 0%, #fffdfa 48%, #e8f2ed 100%);
}

.hero-ambient {
  position: absolute;
  top: 12%;
  right: 7%;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(30, 98, 82, 0.18);
  border-radius: 50%;
  animation: breathe 7s ease-in-out infinite;
}

.hero-ambient::before,
.hero-ambient::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(30, 98, 82, 0.12);
  border-radius: inherit;
}

.hero-ambient::before {
  inset: 12%;
}

.hero-ambient::after {
  inset: 28%;
  background: rgba(255, 255, 255, 0.28);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
  padding: 38px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.62fr);
  align-items: center;
  gap: clamp(56px, 8vw, 120px);
}

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

.hero h1 {
  margin: 18px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 3.7vw, 50px);
  line-height: 0.95;
  letter-spacing: -0.066em;
}

.hero h1 span {
  display: block;
  color: var(--moss);
}

.hero-lead {
  max-width: 700px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.65vw, 21px);
  line-height: 1.5;
}

.hero-note {
  max-width: 650px;
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--moss);
  color: var(--ink-soft);
  font-size: 15px;
}

.hero-actions {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-facts {
  margin: 28px 0 0;
  padding-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  min-width: 0;
}

.hero-facts dt {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.hero-portrait {
  position: relative;
  margin: 0;
  align-self: center;
}

.hero-portrait::before {
  display: none;
}

.hero-portrait img {
  position: relative;
  width: 100%;
  height: min(65vh, 555px);
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  filter: saturate(0.82) contrast(1.02);
  box-shadow: 0 30px 80px rgba(17, 58, 49, 0.24);
}

.hero-portrait figcaption {
  position: relative;
  width: calc(100% - 34px);
  margin: -34px auto 0;
  padding: 18px 20px;
  color: var(--white);
  background: rgba(10, 21, 19, 0.9);
  border-radius: 15px;
  backdrop-filter: blur(14px);
}

.hero-portrait figcaption strong,
.hero-portrait figcaption span {
  display: block;
}

.hero-portrait figcaption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.hero-step {
  opacity: 0;
  animation: hero-in 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-step:nth-child(2) {
  animation-delay: 80ms;
}

.hero-step:nth-child(3) {
  animation-delay: 160ms;
}

.hero-step:nth-child(4) {
  animation-delay: 220ms;
}

.hero-step:nth-child(5) {
  animation-delay: 280ms;
}

.hero-step:nth-child(6) {
  animation-delay: 340ms;
}

.hero-portrait.hero-step {
  animation-delay: 180ms;
}

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

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

.recognition-item {
  width: 100%;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition:
    color 180ms ease,
    padding 180ms ease,
    background 180ms ease;
}

.recognition-item:hover {
  padding-inline: 18px;
  color: var(--moss);
  background: var(--mint-light);
}

.recognition-item[aria-pressed="true"] {
  padding-inline: 18px;
  color: var(--white);
  background: var(--moss-dark);
}

.recognition-index {
  color: var(--moss);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.recognition-item[aria-pressed="true"] .recognition-index {
  color: var(--mint);
}

.recognition-action {
  padding: 8px 13px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
}

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

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  align-items: end;
  gap: clamp(60px, 9vw, 130px);
}

.calculator {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(39, 45, 42, 0.08);
}

.calculator-controls,
.calculator-result {
  padding: 40px;
}

.calculator-controls label {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.calculator-controls label:not(:first-child) {
  margin-top: 42px;
}

.calculator-controls output {
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  white-space: nowrap;
}

input[type="range"] {
  width: 100%;
  height: 5px;
  accent-color: var(--moss);
  cursor: pointer;
}

.calculator-result {
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(191, 228, 215, 0.2), transparent 38%),
    var(--moss-dark);
}

.calculator-result > p:first-child {
  margin: 0 0 26px;
  color: var(--mint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.time-result {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.time-result strong {
  font-size: clamp(50px, 5vw, 74px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.time-result span {
  color: rgba(255, 255, 255, 0.62);
}

.time-result.secondary {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.time-result.secondary strong {
  font-size: 36px;
}

.result-note {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.demo-section,
.pricing-section {
  color: var(--white);
  background: var(--night);
}

.demo-shell {
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.demo-tabs {
  padding: 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line-light);
}

.demo-tabs button {
  min-height: 43px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.demo-tabs button:hover {
  color: var(--white);
}

.demo-tabs button[aria-selected="true"] {
  color: var(--night);
  background: var(--mint);
  border-color: var(--mint);
}

.demo-panel {
  padding: clamp(28px, 5vw, 64px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

.demo-input {
  max-width: 780px;
}

.demo-input span,
.demo-flow span {
  color: var(--mint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-input blockquote {
  margin: 12px 0 38px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.demo-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.demo-flow div {
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.demo-flow p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.demo-boundary {
  max-width: 760px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.demo-panel.is-changing .demo-input,
.demo-panel.is-changing .demo-flow,
.demo-panel.is-changing .demo-boundary {
  animation: panel-change 280ms ease;
}

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

.system-layout > .section-intro {
  max-width: 900px;
}

.system-workbench {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 18px;
}

.file-browser {
  color: var(--white);
  background: var(--moss-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.file-browser-head {
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.64);
  border-bottom: 1px solid var(--line-light);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.file-browser ul {
  margin: 0;
  padding: 22px;
  list-style: none;
}

.file-browser li {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: baseline;
  border-bottom: 1px solid var(--line-light);
}

.file-browser li:last-child {
  border: 0;
}

.file-browser li > span {
  color: var(--mint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.file-browser li strong {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
}

.file-browser li em {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-style: normal;
}

.system-visual {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.system-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-visual figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 14px 18px;
  color: var(--white);
  background: rgba(10, 21, 19, 0.82);
  border-radius: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.ownership-list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.ownership-list div {
  min-height: 170px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ownership-list span {
  color: var(--moss);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.ownership-list p {
  margin: 22px 0 0;
}

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

.program-flow {
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.program-flow li {
  padding: 42px 0;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 44px;
  border-bottom: 1px solid var(--line);
}

.program-date span,
.program-date em {
  display: block;
}

.program-date span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.program-date em {
  margin-top: 6px;
  color: var(--moss);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.program-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  column-gap: 54px;
}

.program-kicker {
  grid-column: 1 / -1;
  margin: 0 0 9px;
  color: var(--moss);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-copy h3 {
  margin: 0;
  font-size: clamp(18px, 2.25vw, 29px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.program-copy > p:not(.program-kicker) {
  margin: 0;
  color: var(--ink-soft);
}

.program-copy strong {
  grid-column: 2;
  margin-top: 16px;
  color: var(--moss-dark);
  font-size: 14px;
}

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

.evidence-columns {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.evidence-columns > div {
  min-height: 360px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence-columns span {
  color: var(--moss);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-columns h3 {
  margin: 38px 0 16px;
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.evidence-columns p {
  margin: 0;
  color: var(--ink-soft);
}

.evidence-columns a {
  margin-top: auto;
  padding-top: 24px;
  color: var(--moss);
  font-weight: 600;
  text-decoration: none;
}

.author-section {
  background: var(--mint-light);
}

.author-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(56px, 9vw, 130px);
}

.author-photo {
  margin: 0;
}

.author-photo img {
  width: 100%;
  aspect-ratio: 0.85;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  filter: saturate(0.8);
  box-shadow: 0 28px 70px rgba(18, 63, 54, 0.18);
}

.author-copy h2 {
  margin: 14px 0 46px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 3.5vw, 48px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.author-layer {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  border-top: 1px solid rgba(18, 63, 54, 0.2);
}

.author-layer > span {
  color: var(--moss);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.author-layer h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.author-layer p {
  margin: 0;
  color: var(--ink-soft);
}

.author-boundary {
  margin: 28px 0 0;
  padding: 17px 20px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--moss);
  font-size: 14px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

.price-panel {
  padding-left: clamp(32px, 5vw, 70px);
  border-left: 1px solid var(--line-light);
}

.price-head {
  margin-bottom: 34px;
}

.price-head strong,
.price-head span {
  display: block;
}

.price-head strong {
  font-size: clamp(74px, 9vw, 126px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.price-head span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
}

.price-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-panel li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}

.price-panel li::before {
  content: "→";
  margin-right: 12px;
  color: var(--mint);
}

.tech-requirement {
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

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

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

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

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

summary {
  padding: 24px 44px 24px 0;
  position: relative;
  cursor: pointer;
  font-size: 21px;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 21px;
  right: 4px;
  color: var(--moss);
  font-family: "IBM Plex Mono", monospace;
  font-size: 24px;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 700px;
  margin: -2px 0 26px;
  color: var(--ink-soft);
}

.final-cta {
  padding: 120px 0;
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(191, 228, 215, 0.9), transparent 44%),
    var(--paper);
}

.final-cta h2 {
  max-width: 900px;
  margin-inline: auto;
}

.final-cta .button {
  margin-top: 30px;
}

footer {
  padding: 24px max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.55);
  background: var(--night);
  font-size: 13px;
}

footer a {
  color: var(--mint);
  text-decoration: none;
}

.noscript {
  position: fixed;
  z-index: 80;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 14px;
  color: var(--white);
  background: var(--night);
  border: 1px solid var(--line-light);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.98);
  }
  50% {
    transform: scale(1.03);
  }
}

@keyframes panel-change {
  from {
    opacity: 0.42;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.55fr);
    gap: 48px;
  }

  .calculator-layout,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .calculator-layout {
    align-items: start;
  }

  .price-panel {
    padding: 44px 0 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .program-copy {
    grid-template-columns: 1fr;
  }

  .program-copy > p:not(.program-kicker),
  .program-copy strong {
    grid-column: 1;
    margin-top: 17px;
  }

  .demo-flow,
  .ownership-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding-inline: 20px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 58px 0 74px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(34px, 8.4vw, 53px);
  }

  .hero-portrait {
    max-width: 450px;
    margin-inline: auto;
  }

  .hero-ambient {
    top: auto;
    bottom: 3%;
    width: 90vw;
  }

  .system-workbench,
  .author-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .author-photo {
    max-width: 430px;
    margin-inline: auto;
  }

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

  .evidence-columns > div {
    min-height: 280px;
  }

  .program-flow li {
    grid-template-columns: 130px 1fr;
  }
}

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

  .container,
  .hero-inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .section {
    padding: 82px 0;
  }

  .section-intro h2,
  .final-cta h2,
  .author-copy h2 {
    font-size: clamp(27px, 8.4vw, 39px);
  }

  .site-header .button {
    min-height: 42px;
    padding-inline: 15px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 9px;
  }

  .brand strong {
    font-size: 14px;
  }

  .hero-inner {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(33px, 10.2vw, 45px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-facts {
    gap: 12px;
  }

  .hero-facts dt {
    font-size: 19px;
  }

  .recognition-item {
    padding: 22px 0;
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .recognition-item:hover,
  .recognition-item[aria-pressed="true"] {
    padding-inline: 12px;
  }

  .recognition-action {
    grid-column: 2;
    justify-self: start;
  }

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

  .calculator-controls,
  .calculator-result {
    padding: 28px 22px;
  }

  .demo-tabs {
    padding: 11px;
  }

  .demo-tabs button {
    font-size: 13px;
  }

  .demo-panel {
    padding: 26px 18px;
  }

  .demo-flow,
  .ownership-list {
    grid-template-columns: 1fr;
  }

  .demo-flow div {
    min-height: 150px;
  }

  .system-workbench {
    margin-top: 44px;
  }

  .system-visual {
    min-height: 310px;
  }

  .program-flow {
    margin-top: 48px;
  }

  .program-flow li {
    padding: 32px 0;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .program-date {
    display: flex;
    align-items: baseline;
    gap: 14px;
  }

  .program-date em {
    margin: 0;
  }

  .evidence-columns > div {
    min-height: 310px;
    padding: 24px;
  }

  .author-layer {
    grid-template-columns: 38px 1fr;
  }

  .price-panel .button {
    width: 100%;
    min-height: 62px;
    padding: 14px 20px;
    text-align: center;
  }

  summary {
    font-size: 18px;
  }

  .final-cta {
    padding: 90px 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

  .reveal,
  .hero-step {
    opacity: 1;
    transform: none;
  }
}
