:root {
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --paper: #edeae1;
  --paper-2: #f7f4ec;
  --surface: #ffffff;
  --surface-soft: #fdfbf5;
  --ink: #11130f;
  --night: #0d0f0c;
  --night-2: #171a15;
  --text: #252823;
  --muted: #70746b;
  --muted-dark: #a8aea0;
  --line: rgb(17 19 15 / 0.14);
  --line-strong: rgb(17 19 15 / 0.24);
  --line-dark: rgb(237 234 225 / 0.14);
  --accent: #c9714d;
  --sage: #a9b29a;
  --steel: #6f8388;
  --stockflow: #2b70e4;
  --stockflow-dark: #0d397c;
  --shadow: 0 22px 70px rgb(13 15 12 / 0.16);
  --soft-shadow: 0 16px 44px rgb(13 15 12 / 0.09);
  --radius: 14px;
  --max: 1240px;
  --screen-cycle: 3600ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, var(--paper), var(--paper-2) 38%, var(--paper) 100%),
    repeating-linear-gradient(90deg, rgb(17 19 15 / 0.035) 0, rgb(17 19 15 / 0.035) 1px, transparent 1px, transparent 96px);
  font-family: var(--font-sans);
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

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

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

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid rgb(201 113 77 / 0.78);
  outline-offset: 3px;
  border-radius: 999px;
}

.ambient {
  display: none;
}

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

.container.nav,
.drawer .container {
  width: min(100% - 48px, 1200px);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgb(237 234 225 / 0.1);
  background: rgb(13 15 12 / 0.88);
  backdrop-filter: blur(16px) saturate(160%);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-inline: auto;
}

.brand,
.product-lockup,
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand {
  color: #f7f4ec;
  white-space: nowrap;
}

.brand img,
.foot-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand span {
  font-size: 0.98rem;
}

.navLinks,
.navActions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navLinks {
  gap: 24px;
  color: rgb(247 244 236 / 0.68);
  font-size: 0.92rem;
  font-weight: 700;
}

.navLinks a {
  padding: 12px 0;
}

.navLinks a:hover {
  color: #ffffff;
}

.btn,
.primary-button,
.secondary-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 18px;
  color: var(--ink);
  background: rgb(247 244 236 / 0.78);
  font-weight: 760;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.navActions .btn.primary {
  border-color: #f3efe5;
  background: #f3efe5;
  color: var(--night);
}

.navActions .btn.subtle {
  border-color: rgb(247 244 236 / 0.16);
  background: rgb(247 244 236 / 0.055);
  color: #f7f4ec;
}

.btn:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.iconBtn {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 1px solid rgb(247 244 236 / 0.16);
  border-radius: 999px;
  background: rgb(247 244 236 / 0.06);
  color: #f7f4ec;
  cursor: pointer;
}

.iconBtn span,
.iconBtn span::before,
.iconBtn span::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.iconBtn span::before {
  transform: translateY(-6px);
}

.iconBtn span::after {
  transform: translateY(4px);
}

.drawer {
  display: none;
  border-bottom: 1px solid rgb(237 234 225 / 0.12);
  background: var(--night);
}

.drawerInner {
  display: grid;
  gap: 10px;
  padding: 14px 0 22px;
}

.drawer a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgb(247 244 236 / 0.1);
  color: #f7f4ec;
  font-weight: 760;
}

main {
  overflow: hidden;
}

.hero-band {
  color: #f7f4ec;
  background:
    linear-gradient(180deg, rgb(13 15 12 / 0.97), rgb(13 15 12 / 0.99)),
    repeating-linear-gradient(90deg, rgb(237 234 225 / 0.055) 0, rgb(237 234 225 / 0.055) 1px, transparent 1px, transparent 86px);
}

.hero-section,
.metrics-strip,
.screens-section,
.flow-section,
.modules-section,
.local-section,
.cta-section {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.hero-section {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 72px;
  align-items: center;
  padding: 70px 0 64px;
}

.hero-copy,
.product-stage {
  min-width: 0;
}

.product-lockup {
  width: fit-content;
  margin-bottom: 22px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgb(247 244 236 / 0.14);
  border-radius: 999px;
  color: #f7f4ec;
  background: rgb(247 244 236 / 0.06);
}

.product-lockup img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #ffffff;
  object-fit: contain;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--steel);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero-band .eyebrow {
  color: var(--sage);
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 100%;
  margin-bottom: 24px;
  color: #f7f4ec;
  font-size: 4.7rem;
  line-height: 1;
  font-weight: 560;
}

h2 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: 3.15rem;
  line-height: 1.06;
  font-weight: 560;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 32px;
  color: rgb(247 244 236 / 0.76);
  font-size: 1.18rem;
}

.hero-actions,
.trust-row,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-button {
  border-color: #f3efe5;
  background: #f3efe5;
  color: var(--night);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.24);
}

.secondary-button {
  border-color: rgb(247 244 236 / 0.2);
  background: rgb(247 244 236 / 0.06);
  color: #f7f4ec;
}

.secondary-button.dark {
  border-color: rgb(247 244 236 / 0.18);
  color: #f7f4ec;
}

.secondary-button:hover {
  background: rgb(247 244 236 / 0.12);
}

.inverted {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--night);
  box-shadow: none;
}

.trust-row {
  margin-top: 28px;
  color: var(--muted-dark);
  font-size: 0.94rem;
}

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

.trust-row span::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 999px;
  background: var(--sage);
  content: "";
}

.product-stage {
  position: relative;
  padding: 48px 0;
}

.screen-frame {
  overflow: hidden;
  border: 1px solid rgb(247 244 236 / 0.14);
  border-radius: 20px;
  background: rgb(247 244 236 / 0.08);
  box-shadow: 0 34px 90px rgb(0 0 0 / 0.34);
  backdrop-filter: blur(18px);
}

.hero-screen {
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  animation: product-float 7s ease-in-out infinite;
}

.window-bar {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgb(247 244 236 / 0.12);
  padding: 0 16px;
}

.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgb(247 244 236 / 0.28);
}

.window-bar p {
  margin: 0 0 0 auto;
  color: rgb(247 244 236 / 0.46);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
}

.screen-window {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--surface-soft);
}

.screen-window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(15 15 15 / 0.08));
}

.screen-window img,
.screen-card img {
  width: 100%;
  object-fit: cover;
  object-position: top left;
}

.screen-window img {
  height: 100%;
}

.screen-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 14px 16px 16px;
  border-top: 1px solid rgb(247 244 236 / 0.12);
}

.screen-switcher button {
  position: relative;
  overflow: hidden;
  min-height: 38px;
  border: 1px solid rgb(247 244 236 / 0.14);
  border-radius: 999px;
  padding: 0 14px;
  color: rgb(247 244 236 / 0.72);
  background: rgb(247 244 236 / 0.06);
  font-size: 0.88rem;
  font-weight: 760;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.screen-switcher button::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: rgb(255 255 255 / 0.82);
}

.screen-switcher button:hover,
.screen-switcher button.is-active {
  color: var(--night);
  background: #f3efe5;
}

.screen-switcher button.is-active::after {
  animation: screen-cycle-progress var(--screen-cycle) linear both;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgb(247 244 236 / 0.14);
  border-radius: 999px;
  padding: 11px 15px;
  color: #f7f4ec;
  background: rgb(13 15 12 / 0.78);
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.2);
  backdrop-filter: blur(14px);
  animation: card-pulse 4.5s ease-in-out infinite;
}

.floating-card span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--stockflow);
}

.floating-card p {
  margin: 0;
  font-weight: 760;
}

.floating-a {
  right: 18px;
  top: 12px;
}

.floating-b {
  left: 10px;
  bottom: 12px;
  animation-delay: -1.5s;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  margin-bottom: 44px;
  border: 1px solid var(--line);
  background: var(--line);
}

.metrics-strip article {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  padding: 22px;
  background: rgb(255 255 255 / 0.72);
}

.metrics-strip strong {
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
}

.metrics-strip span {
  max-width: 26rem;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.28;
}

.screens-section,
.flow-section,
.modules-section,
.local-section {
  padding: 88px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.narrow {
  display: block;
  max-width: 780px;
}

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

.flow-card,
.screen-card,
.module-list article,
.local-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(255 255 255 / 0.72);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.65) inset;
}

.flow-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.flow-card span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--night);
  background: var(--paper);
  font-family: var(--font-mono);
  font-weight: 700;
}

.flow-card p,
.module-list p,
.screen-card p,
.local-card p,
.cta-section p {
  color: var(--muted);
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.screen-card {
  grid-column: span 2;
  display: flex;
  min-height: 430px;
  overflow: hidden;
  flex-direction: column;
}

.screen-card-large {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  min-height: 500px;
}

.screen-card-copy,
.screen-card > div {
  padding: 24px;
}

.screen-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen-card img {
  height: 280px;
  border-bottom: 1px solid var(--line);
}

.screen-card img.is-zoomable {
  cursor: zoom-in;
  transition: transform 180ms ease, filter 180ms ease;
}

.screen-card img.is-zoomable:hover,
.screen-card img.is-zoomable:focus-visible {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.012);
}

.screen-card img.is-zoomable:focus-visible {
  outline: 3px solid var(--stockflow);
  outline-offset: -3px;
}

.screen-card-large img {
  height: 100%;
  border-bottom: 0;
  border-left: 1px solid var(--line);
}

.screen-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.screen-card p {
  margin-bottom: 0;
}

.module-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.module-panel {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  padding: 28px;
}

.module-panel.dark {
  overflow: hidden;
  color: #f7f4ec;
  background:
    linear-gradient(135deg, rgb(13 15 12 / 0.98) 0 58%, rgb(111 131 136 / 0.26) 58.2%),
    var(--night);
}

.panel-label {
  margin: 0;
  color: rgb(247 244 236 / 0.58);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.module-panel h3 {
  max-width: 11ch;
  color: #f7f4ec;
  font-size: 3.9rem;
  line-height: 0.98;
  font-weight: 560;
}

.signal-list {
  display: grid;
  gap: 10px;
}

.signal-list span {
  width: fit-content;
  border: 1px solid rgb(247 244 236 / 0.14);
  border-radius: 999px;
  padding: 10px 14px;
  color: rgb(247 244 236 / 0.78);
  background: rgb(247 244 236 / 0.08);
}

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

.module-list article {
  min-height: 300px;
  padding: 24px;
}

.module-list h3 {
  max-width: 260px;
  margin-bottom: 54px;
  font-size: 1.65rem;
  line-height: 1.08;
}

.local-card {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 36px;
  align-items: end;
  overflow: hidden;
  padding: 34px;
}

.local-card p {
  margin: 0;
  font-size: 1.08rem;
}

.local-bars {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding-top: 12px;
}

.local-bars span {
  display: block;
  width: var(--size);
  height: 9px;
  transform-origin: left center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--steel), rgb(111 131 136 / 0.2));
  animation: grow-bar 900ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.cta-section {
  margin: 48px auto 78px;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  padding: 42px;
  color: #f7f4ec;
  background: #11130f;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-section .eyebrow,
.cta-section p {
  color: rgb(247 244 236 / 0.72);
}

.cta-section h2 {
  max-width: 860px;
  margin-inline: auto;
  color: #f7f4ec;
}

.cta-section p {
  max-width: 720px;
  margin: 20px auto 28px;
  font-size: 1.12rem;
}

.cta-actions {
  justify-content: center;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: #f6f3ea;
  background: var(--night);
}

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

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 34px;
  margin-bottom: 36px;
}

.foot-brand {
  margin-bottom: 14px;
  color: #ffffff;
}

.foot-grid p {
  max-width: 370px;
  margin: 0;
  color: rgb(246 243 234 / 0.68);
}

.foot-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.foot-col h4 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.foot-col a {
  color: rgb(246 243 234 / 0.68);
  font-size: 0.94rem;
}

.foot-col a:hover {
  color: #ffffff;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgb(246 243 234 / 0.14);
  color: rgb(246 243 234 / 0.6);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 360ms cubic-bezier(0.2, 0.9, 0.2, 1), transform 360ms cubic-bezier(0.2, 0.9, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgb(13 15 12 / 0.88);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-frame {
  width: min(100%, 1420px);
  max-height: min(86vh, 920px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  margin: 0;
}

.lightbox-frame img {
  width: 100%;
  max-height: min(80vh, 840px);
  border: 1px solid rgb(247 244 236 / 0.18);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 36px 120px rgb(0 0 0 / 0.42);
  object-fit: contain;
}

.lightbox-frame figcaption {
  color: rgb(247 244 236 / 0.82);
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  width: 44px;
  min-height: 44px;
  border: 1px solid rgb(247 244 236 / 0.2);
  border-radius: 999px;
  padding: 0;
  color: #f7f4ec;
  background: rgb(247 244 236 / 0.1);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgb(247 244 236 / 0.18);
}

@keyframes product-float {
  0%,
  100% {
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: perspective(1200px) rotateY(-2deg) rotateX(2deg) translateY(-12px);
  }
}

@keyframes card-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes grow-bar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes screen-cycle-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1020px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .navLinks,
  .navActions .btn {
    display: none;
  }

  .iconBtn {
    display: grid;
  }

  .drawer.isOpen {
    display: grid;
  }

  .hero-section,
  .section-heading,
  .module-layout,
  .local-card {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    gap: 36px;
  }

  .product-stage {
    max-width: 780px;
    padding-top: 10px;
  }

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

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

  .screen-card,
  .screen-card-large {
    grid-column: span 1;
  }

  .screen-card-large {
    grid-template-columns: 1fr;
  }

  .screen-card-large img {
    min-height: 360px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

@media (max-width: 720px) {
  .container,
  .hero-section,
  .metrics-strip,
  .screens-section,
  .flow-section,
  .modules-section,
  .local-section,
  .cta-section,
  .footer-inner {
    width: min(100% - 32px, var(--max));
  }

  .container.nav,
  .drawer .container {
    width: min(100% - 32px, 1200px);
  }

  .hero-section {
    padding: 46px 0 54px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-text,
  .cta-section p {
    font-size: 1.03rem;
  }

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

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .trust-row {
    display: grid;
    align-items: start;
  }

  .hero-screen {
    transform: none;
    animation: none;
  }

  .product-stage {
    padding: 20px 0 0;
  }

  .screen-window {
    aspect-ratio: 4 / 3;
  }

  .screen-switcher {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 14px;
  }

  .screen-switcher button {
    flex: 0 0 auto;
  }

  .floating-card {
    position: static;
    width: fit-content;
    margin-top: 10px;
  }

  .metrics-strip,
  .flow-grid,
  .screen-gallery,
  .module-list {
    grid-template-columns: 1fr;
  }

  .metrics-strip {
    margin-top: 24px;
    margin-bottom: 20px;
  }

  .screens-section,
  .flow-section,
  .modules-section,
  .local-section {
    padding: 70px 0;
  }

  .flow-card,
  .module-list article {
    min-height: 0;
  }

  .module-list h3 {
    margin-bottom: 20px;
  }

  .module-panel {
    min-height: 420px;
  }

  .module-panel h3 {
    font-size: 2.55rem;
  }

  .screen-card,
  .screen-card-large {
    min-height: 0;
  }

  .screen-card img,
  .screen-card-large img {
    height: 230px;
    min-height: 0;
  }

  .local-card,
  .cta-section {
    padding: 24px;
  }

  .local-bars span {
    width: 100%;
  }

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

  .foot-bottom {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .brand span {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2.18rem;
  }

  .product-lockup {
    max-width: 100%;
  }

  .window-bar p {
    display: none;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
