:root {
  --noche: #0a1f16;
  --noche-2: #08231a;
  --selva: #103d2e;
  --selva-2: #16513d;
  --cal: #f0f1ea;
  --cal-2: #e8eadd;
  --tinta: #16231c;
  --niebla: #5f6b5e;
  --brote: #abd24f;
  --brote-2: #c5dd7e;
  --lampara: #e7a94b;
  --lampara-2: #f4d08a;
  --arcilla: #c2603c;
  --brass: #c9a05a;
  --ivory: #f3ecdc;
  --ivory-soft: rgba(243, 236, 220, 0.74);
  --ivory-mute: rgba(243, 236, 220, 0.58);
  --line-dark: rgba(243, 236, 220, 0.16);
  --line-light: rgba(22, 35, 28, 0.13);
  --max: 1200px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cal);
  color: var(--tinta);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--brote);
  color: var(--noche);
}

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

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

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

:focus-visible {
  outline: 2px solid var(--brote);
  outline-offset: 3px;
  border-radius: 2px;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 420;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 28, "WONK" 0;
  letter-spacing: -0.015em;
  margin: 0;
}

/* ---------- shared meta label (the "data layer" voice) ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lampara);
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brote);
  box-shadow: 0 0 0 3px rgba(171, 210, 79, 0.22), 0 0 12px rgba(171, 210, 79, 0.7);
}

.section--light .kicker,
.section--light-2 .kicker {
  color: #8a6a2f;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--ivory);
  transition: background 240ms ease, border-color 240ms ease, padding 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  padding-block: 11px;
  background: rgba(8, 27, 19, 0.86);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 18px 40px -32px rgba(0, 0, 0, 0.9);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-lockup img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.brand-lockup strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.01em;
}

.brand-lockup small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brote-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ivory-soft);
}

.nav-links a {
  position: relative;
  padding-block: 8px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.5px;
  background: var(--brote);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ivory);
}

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

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 160ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.nav-cta {
  border-color: var(--brote);
  background: rgba(171, 210, 79, 0.12);
  color: var(--ivory);
}

.nav-cta:hover {
  background: var(--brote);
  color: var(--noche);
}

.button.primary {
  background: var(--brote);
  color: var(--noche);
}

.button.primary:hover {
  background: var(--brote-2);
  transform: translateY(-2px);
}

.button.secondary {
  border-color: var(--line-dark);
  background: rgba(243, 236, 220, 0.06);
  color: var(--ivory);
}

.button.secondary:hover {
  border-color: var(--ivory-soft);
  background: rgba(243, 236, 220, 0.12);
}

.button .arrow {
  transition: transform 180ms ease;
}

.button:hover .arrow {
  transform: translateX(3px);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--noche);
  color: var(--ivory);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(1.04);
}

.hero-shade {
  background:
    linear-gradient(92deg, rgba(5, 19, 14, 0.94) 0%, rgba(5, 19, 14, 0.74) 38%, rgba(5, 19, 14, 0.18) 70%, rgba(5, 19, 14, 0.5) 100%),
    linear-gradient(0deg, rgba(5, 19, 14, 0.9) 2%, rgba(5, 19, 14, 0) 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - 40px));
  padding: clamp(150px, 22vh, 210px) 0 200px clamp(20px, 7vw, 96px);
}

.hero h1 {
  max-width: 12ch;
  margin: 6px 0 0;
  font-size: clamp(66px, 10.5vw, 138px);
  font-weight: 400;
  line-height: 0.86;
}

.hero h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  color: var(--brote-2);
}

.hero-copy {
  max-width: 50ch;
  margin: 30px 0 0;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.42;
  color: var(--ivory-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero-foot {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 5vw, 64px);
  bottom: 30px;
  left: clamp(20px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(243, 236, 220, 0.2);
}

.hero-place {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}

.hero-place b {
  color: var(--brote);
  font-weight: 400;
}

.hero-audiences {
  display: flex;
  gap: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}

.hero-audiences span {
  position: relative;
  padding-left: 16px;
}

.hero-audiences span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--lampara);
  box-shadow: 0 0 9px rgba(231, 169, 75, 0.8);
}

/* ---------- section frame ---------- */
.section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 64px);
}

.section--light {
  background: var(--cal);
  color: var(--tinta);
}

.section--light-2 {
  background: var(--cal-2);
  color: var(--tinta);
}

.section--dark {
  background: var(--noche);
  color: var(--ivory);
}

.section--green {
  background: var(--selva);
  color: var(--ivory);
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 52px;
}

.section-heading h2,
.intro-grid h2 {
  font-size: clamp(40px, 5.4vw, 74px);
  line-height: 0.98;
}

.lede {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  color: var(--niebla);
}

.section--dark .lede,
.section--green .lede {
  color: var(--ivory-soft);
}

/* ---------- intro band ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: end;
  max-width: var(--max);
  margin-inline: auto;
}

.intro-grid h2 {
  letter-spacing: -0.02em;
}

.intro-grid h2 em {
  font-style: italic;
  color: var(--arcilla);
  font-variation-settings: "SOFT" 60, "WONK" 1;
}

/* ---------- stakeholders ---------- */
.stakeholders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin-inline: auto;
  border: 1px solid var(--line-dark);
}

.stakeholders article {
  padding: clamp(32px, 3.5vw, 52px);
  border-right: 1px solid var(--line-dark);
}

.stakeholders article:last-child {
  border-right: 0;
}

.stakeholder-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--brote);
}

.stakeholders h3 {
  margin: 18px 0 16px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 480;
}

.stakeholders p {
  max-width: 36ch;
  color: var(--ivory-soft);
  font-size: 16px;
  line-height: 1.5;
}

/* ---------- demo ---------- */
.demo-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.78fr);
  gap: clamp(34px, 4vw, 60px);
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
}

.media-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 60px -50px rgba(10, 31, 22, 0.7);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-carousel {
  isolation: isolate;
}

.carousel-viewport {
  position: relative;
  background: var(--noche);
}

.carousel-slide {
  position: relative;
  display: none;
  margin: 0;
}

.carousel-slide.is-active {
  display: block;
}

.carousel-slide figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(247, 240, 227, 0.18);
  background: rgba(7, 31, 23, 0.84);
  color: var(--ivory);
  font-size: 14px;
  line-height: 1.35;
  backdrop-filter: blur(16px);
}

.carousel-controls {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(247, 240, 227, 0.18);
  background: rgba(7, 31, 23, 0.76);
  backdrop-filter: blur(16px);
}

.carousel-button,
.carousel-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--ivory);
  cursor: pointer;
}

.carousel-button {
  width: 34px;
  height: 34px;
  background: rgba(247, 240, 227, 0.12);
  font-size: 18px;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--brote);
  color: var(--noche);
}

.carousel-dots {
  display: inline-flex;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: rgba(247, 240, 227, 0.38);
}

.carousel-dot.is-active {
  background: var(--lampara);
}

.demo-copy h3 {
  margin: 16px 0 16px;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 440;
  line-height: 1.0;
}

.demo-copy p {
  color: var(--niebla);
  font-size: 18px;
  line-height: 1.5;
  max-width: 44ch;
}

.demo-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a6a2f;
}

.demo-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 44px);
  max-width: var(--max);
  margin: clamp(40px, 5vw, 64px) auto 0;
}

.demo-split article {
  border-top: 2px solid var(--tinta);
  padding-top: 22px;
}

.demo-split h3 {
  margin: 20px 0 10px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 480;
}

.demo-split p {
  color: var(--niebla);
  font-size: 16px;
  line-height: 1.5;
}

/* ---------- portfolio / index ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin-inline: auto;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.portfolio-grid article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 226px;
  padding: 28px 26px;
  background: var(--noche);
  transition: background 220ms ease;
}

.portfolio-grid article:hover {
  background: #0d2a1f;
}

.pf-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--brote);
}

.portfolio-grid h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 460;
}

.portfolio-grid p {
  margin: 0;
  color: var(--ivory-mute);
  font-size: 15px;
  line-height: 1.46;
}

.pf-cta {
  justify-content: space-between;
  background: linear-gradient(150deg, #19432f, #0e3024) !important;
}

.pf-cta .pf-num {
  color: var(--lampara);
}

.pf-cta h3 {
  color: var(--ivory);
}

.pf-cta .pf-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brote-2);
}

/* ---------- product details ---------- */
.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line-light);
}

.product-detail:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.product-detail.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.82fr);
}

.product-detail.reverse .product-copy {
  order: 2;
}

.product-detail.reverse .product-media,
.product-detail.reverse .product-screenshot,
.product-detail.reverse .product-carousel {
  order: 1;
}

.product-number {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a6a2f;
}

.product-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 430;
  line-height: 0.98;
}

.product-copy > p {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.48;
  color: var(--niebla);
  max-width: 46ch;
}

.product-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 32px;
}

.product-columns h4 {
  margin: 0 0 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--selva-2);
}

.product-columns ul {
  display: grid;
  gap: 11px;
}

.product-detail li {
  position: relative;
  padding-left: 19px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--tinta);
}

.product-detail li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brote);
  transform: rotate(45deg);
}

.product-media {
  margin: 0;
}

/* CSS mockup: merchant console */
.product-screenshot {
  min-height: 460px;
  padding: 26px;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  background:
    radial-gradient(circle at 16% 8%, rgba(171, 210, 79, 0.14), transparent 36%),
    linear-gradient(150deg, #0e3225, #0a261b);
  color: var(--ivory);
  box-shadow: 0 40px 60px -52px rgba(10, 31, 22, 0.8);
}

.screen-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}

.screen-topline b {
  color: var(--brote);
  font-weight: 400;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.stat-row span {
  display: block;
  min-height: 108px;
  padding: 16px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  background: rgba(243, 236, 220, 0.04);
}

.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 460;
}

.stat-row em {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brote-2);
}

.screen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.screen-grid section {
  min-height: 198px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  background: rgba(243, 236, 220, 0.04);
}

.screen-grid h5 {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brote);
}

.screen-grid p {
  margin: 9px 0;
  font-size: 14px;
  color: var(--ivory-soft);
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 120px;
  padding-top: 22px;
}

.mini-chart i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--selva-2);
}

.mini-chart i:nth-child(1) { height: 40%; }
.mini-chart i:nth-child(2) { height: 64%; }
.mini-chart i:nth-child(3) { height: 50%; }
.mini-chart i:nth-child(4) { height: 78%; }
.mini-chart i:nth-child(5) { height: 96%; background: var(--brote); }

/* ---------- roadmap (sendero) ---------- */
.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  max-width: var(--max);
  margin-inline: auto;
  padding-top: 30px;
}

.roadmap::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 4px;
  right: 4px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brote) 0 2px, transparent 2px 9px);
  opacity: 0.5;
}

.roadmap article {
  position: relative;
  padding-top: 30px;
}

.roadmap article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4px;
  width: 11px;
  height: 11px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--brote);
  box-shadow: 0 0 0 4px rgba(171, 210, 79, 0.18), 0 0 14px rgba(171, 210, 79, 0.65);
}

.roadmap .phase {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lampara);
}

.roadmap h3 {
  margin: 14px 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 480;
}

.roadmap p {
  font-size: 15px;
  line-height: 1.48;
  color: var(--ivory-soft);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--noche-2);
  color: var(--ivory);
  padding: clamp(56px, 6vw, 84px) clamp(20px, 5vw, 64px) 40px;
  border-top: 1px solid var(--line-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  max-width: var(--max);
  margin: 0 auto 52px;
}

.footer-brand {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  flex: none;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
}

.footer-brand p {
  margin: 10px 0 0;
  max-width: 38ch;
  color: var(--ivory-soft);
  font-size: 15.5px;
  line-height: 1.5;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.footer-cols h4 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brote);
}

.footer-cols li {
  margin-bottom: 9px;
  font-size: 14.5px;
  color: var(--ivory-soft);
}

.footer-cols a:hover {
  color: var(--brote-2);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin-inline: auto;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ivory-mute);
}

/* ---------- reveal motion (only when JS is present) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 720ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 720ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js .reveal[data-delay="1"] { transition-delay: 90ms; }
.js .reveal[data-delay="2"] { transition-delay: 180ms; }
.js .reveal[data-delay="3"] { transition-delay: 270ms; }

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

  .nav-links {
    display: none;
  }

  .intro-grid,
  .demo-feature,
  .product-detail,
  .product-detail.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .product-detail.reverse .product-copy {
    order: 1;
  }

  .product-detail.reverse .product-media,
  .product-detail.reverse .product-screenshot,
  .product-detail.reverse .product-carousel {
    order: 2;
  }

  .product-screenshot {
    min-height: auto;
  }

  .roadmap::before {
    display: none;
  }

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

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

  .site-header {
    padding: 14px 18px;
  }

  .brand-lockup img {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 94svh;
  }

  .hero-content {
    width: 100%;
    padding: 128px 20px 168px;
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .stakeholders,
  .demo-split,
  .product-columns,
  .portfolio-grid,
  .roadmap,
  .stat-row,
  .screen-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .stakeholders article {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .stakeholders article:last-child {
    border-bottom: 0;
  }

  .carousel-controls {
    top: 10px;
    right: 10px;
    padding: 6px;
  }

  .carousel-button {
    width: 30px;
    height: 30px;
  }

  .carousel-slide figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 10px 11px;
    font-size: 13px;
  }

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

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .js .reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
