:root {
  color-scheme: dark;
  --ink-1000: #020c14;
  --ink-950: #03141f;
  --ink-900: #061d2c;
  --ink-850: #09283c;
  --ink-800: #0c344d;
  --cyan: #00b8e6;
  --cyan-soft: #72ddf7;
  --blue: #1976f3;
  --violet: #7216da;
  --paper: #f5f1e9;
  --paper-cool: #edf5f7;
  --paper-bright: #fbfdfd;
  --ink: #071a2f;
  --ink-muted: #526876;
  --white: #f8fcff;
  --mist: #d4e6ed;
  --muted: #91aab6;
  --dark-line: rgba(114, 221, 247, .2);
  --light-line: rgba(7, 57, 83, .14);
  --shadow-lg: 0 30px 80px rgba(0, 12, 24, .26);
  --shadow-md: 0 18px 48px rgba(0, 19, 33, .16);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --heading: "Space Grotesk", "Avenir Next", Avenir, system-ui, sans-serif;
  --body: "Manrope", "Avenir Next", Avenir, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .72, .18, 1);
  --content-max: 1240px;
  --slide-x: max(clamp(34px, 5vw, 84px), calc((100vw - var(--content-max)) / 2));
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: var(--ink-950);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink-950);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .19;
  background-image: radial-gradient(rgba(114, 221, 247, .5) .65px, transparent .65px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.ambient-layer,
#ambient-dotfield {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ambient-layer {
  background:
    radial-gradient(58rem 42rem at 10% 13%, rgba(0, 184, 230, .13), transparent 66%),
    radial-gradient(56rem 42rem at 90% 72%, rgba(25, 118, 243, .14), transparent 68%),
    radial-gradient(42rem 32rem at 52% 105%, rgba(114, 22, 218, .075), transparent 72%);
}

.ambient-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

#ambient-dotfield { opacity: .95; }
.ambient-dots-ready body::before { opacity: .08; }
.ambient-waves-ready .slide--light::after { opacity: .18; }

main {
  position: relative;
  z-index: 1;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(0, 184, 230, .34);
  color: #fff;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 18px;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink-950);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: none;
}

/* Fixed presentation chrome */
.brand {
  position: fixed;
  z-index: 90;
  top: max(16px, calc(env(safe-area-inset-top) + 10px));
  left: max(18px, calc(env(safe-area-inset-left) + 14px));
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 7px;
  border: 1px solid rgba(7, 48, 70, .14);
  border-radius: 999px;
  background: rgba(251, 253, 254, .94);
  box-shadow: 0 12px 36px rgba(0, 8, 16, .2);
  backdrop-filter: blur(16px);
  color: var(--ink);
  font: 800 11px/1 var(--heading);
  letter-spacing: .065em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  overflow: visible;
  filter: drop-shadow(0 5px 8px rgba(25, 118, 243, .2));
}

.deck-progress {
  position: fixed;
  z-index: 110;
  inset: 0 0 auto;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
  pointer-events: none;
}

.deck-progress span {
  display: block;
  width: calc(100% / 14);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue) 62%, var(--violet));
  box-shadow: 0 0 20px rgba(0, 184, 230, .72);
  transition: width .5s var(--ease);
}

.pager {
  position: fixed;
  z-index: 90;
  bottom: max(16px, calc(env(safe-area-inset-bottom) + 10px));
  left: max(20px, calc(env(safe-area-inset-left) + 16px));
  display: flex;
  min-height: 40px;
  max-width: min(390px, calc(100vw - 160px));
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(3, 20, 31, .82);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  backdrop-filter: blur(16px);
  color: #d9e8ee;
  font: 700 10px/1 var(--heading);
  letter-spacing: .08em;
  text-transform: uppercase;
}

#pageNow {
  color: var(--cyan-soft);
  font-size: 12px;
}

#pageLabel {
  margin-left: 5px;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.keyboard-hint {
  position: fixed;
  z-index: 88;
  bottom: max(15px, calc(env(safe-area-inset-bottom) + 9px));
  left: 50%;
  display: flex;
  min-height: 32px;
  align-items: center;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(3, 20, 31, .92);
  color: #e5f1f7;
  font: 700 9px/1 var(--heading);
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

#rail {
  position: fixed;
  z-index: 92;
  top: 50%;
  right: max(12px, calc(env(safe-area-inset-right) + 7px));
  display: grid;
  padding: 3px 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(3, 20, 31, .64);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.rail-dot {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.rail-dot::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 1px rgba(3, 20, 31, .28);
  transition: transform .22s var(--ease), background .22s ease, box-shadow .22s ease;
}

.rail-dot[aria-current="true"]::before {
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 184, 230, .85);
  transform: scale(1.75);
}

/* Slides and type */
.slide {
  position: relative;
  isolation: isolate;
  display: grid;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  align-content: center;
  padding: clamp(86px, 9.5vh, 108px) var(--slide-x) max(92px, calc(env(safe-area-inset-bottom) + 78px));
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.slide > * {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  margin-right: auto;
  margin-left: auto;
}

.slide::before,
.slide::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.slide--dark {
  background: transparent;
  color: var(--white);
}

.slide--photo {
  background: var(--ink-950);
  color: #fff;
}

.slide--dark::before {
  opacity: .92;
  background:
    radial-gradient(62rem 38rem at 92% 7%, rgba(0, 184, 230, .12), transparent 67%),
    radial-gradient(48rem 36rem at 5% 96%, rgba(25, 118, 243, .13), transparent 70%),
    linear-gradient(145deg, rgba(10, 45, 70, .58), rgba(3, 20, 31, .18) 48%, rgba(17, 18, 45, .5));
}

.slide--dark::after {
  opacity: .25;
  background-image:
    radial-gradient(rgba(114, 221, 247, .5) .65px, transparent .65px),
    linear-gradient(rgba(114, 221, 247, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 221, 247, .05) 1px, transparent 1px);
  background-size: 29px 29px, 116px 116px, 116px 116px;
  mask-image: linear-gradient(135deg, #000, transparent 82%);
}

.slide--light {
  background-color: #f7fbfc;
  background-image: url("assets/effects/light-coastal-tech-texture-v2.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--ink);
}

.slide--light::before {
  background:
    radial-gradient(48rem 28rem at 8% 3%, rgba(0, 184, 230, .1), transparent 71%),
    radial-gradient(44rem 32rem at 96% 94%, rgba(25, 118, 243, .085), transparent 72%),
    linear-gradient(145deg, rgba(252, 253, 251, .84), rgba(237, 245, 245, .8) 54%, rgba(247, 244, 239, .84));
}

.slide--light::after {
  opacity: .32;
  background:
    repeating-radial-gradient(ellipse at 18% 108%, transparent 0 24px, rgba(0, 132, 174, .1) 25px 26px, transparent 27px 48px),
    repeating-radial-gradient(ellipse at 112% -8%, transparent 0 33px, rgba(25, 118, 243, .07) 34px 35px, transparent 36px 65px);
  mask-image: linear-gradient(90deg, #000, transparent 42%, #000);
}

.slide > canvas.light-wavefield {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  opacity: .82;
  pointer-events: none;
}

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

h1,
h2,
h3 {
  font-family: var(--heading);
  text-wrap: balance;
}

h1,
h2 {
  overflow-wrap: normal;
  word-break: normal;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 5.45vw, 5.55rem);
  font-weight: 700;
  line-height: .97;
  letter-spacing: -.052em;
}

h2 {
  max-width: 1040px;
  margin-bottom: 13px;
  font-size: clamp(2rem, 3.55vw, 3.65rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.043em;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}

p {
  margin-bottom: 0;
}

.section-header {
  margin-bottom: clamp(20px, 3.2vh, 32px);
}

.section-header > p:not(.kicker, .lead) {
  max-width: 72ch;
  color: inherit;
  opacity: .72;
  font-size: clamp(.9rem, 1.05vw, 1.02rem);
  line-height: 1.58;
}

.slide--dark .section-header > p:not(.kicker, .lead) {
  opacity: .8;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
  color: var(--cyan);
  font: 800 10.5px/1 var(--heading);
  letter-spacing: .19em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  flex: none;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.slide--light .kicker {
  color: #087899;
}

.lead {
  max-width: 65ch;
  color: var(--mist);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.58;
}

.slide--light .lead {
  color: var(--ink-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.button,
.team-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border-radius: 999px;
  font: 800 13px/1 var(--heading);
  text-align: center;
  text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease;
}

.button--primary {
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(100deg, #008eb6, var(--blue) 58%, var(--violet));
  box-shadow: 0 16px 42px rgba(25, 118, 243, .3);
  color: #fff;
}

.button--secondary {
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(3, 20, 31, .42);
  backdrop-filter: blur(12px);
  color: #fff;
}

.slide--light .button--secondary {
  border-color: rgba(7, 55, 84, .2);
  background: #fff;
  color: #123a55;
}

.micro-note {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
}

/* Reusable editorial photography */
.story-photo {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 103, 134, .24);
  border-radius: var(--radius-xl);
  background: #dce9ec;
  box-shadow: var(--shadow-md);
}

.story-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: inherit;
  box-shadow: inset 0 1px rgba(255, 255, 255, .18);
  pointer-events: none;
}

.slide--dark .story-photo {
  border-color: rgba(114, 221, 247, .25);
  background: #153747;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .3);
}

.story-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-position, 50% 50%);
}

.story-photo--opportunity {
  --photo-position: 61% 50%;
  aspect-ratio: 16 / 9;
}

.story-photo--paths {
  --photo-position: 50% 56%;
  aspect-ratio: 4 / 3;
}

.story-photo--attribution {
  --photo-position: 44% 54%;
  aspect-ratio: 4 / 3;
}

.story-photo--arrival {
  --photo-position: 46% 52%;
  aspect-ratio: 16 / 9;
}

.product-frame {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  margin: 0;
  padding: 11px;
  overflow: hidden;
  border: 1px solid rgba(8, 58, 84, .16);
  border-radius: var(--radius-lg);
  background: #f9fbfc;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.product-frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
}

.product-frame > * {
  position: relative;
  z-index: 1;
}

.product-frame img {
  width: 100%;
  min-height: 0;
  border: 1px solid rgba(7, 40, 61, .1);
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  object-position: center;
}

.product-frame figcaption,
.product-frame__caption {
  padding: 9px 4px 1px;
  color: #5a6f7c;
  font-size: 10px;
  line-height: 1.4;
}

.record-kicker,
.integration-badge,
.option-ribbon {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  margin: 0 0 8px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 140, 182, .22);
  border-radius: 999px;
  background: #e8f6f9;
  color: #08738f;
  font: 800 8.5px/1.15 var(--heading);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* 01 — Cover */
.cover {
  display: flex;
  align-items: center;
  background: var(--ink-950);
  color: #fff;
}

.cover > * {
  z-index: 3;
}

.cover__media {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}

.cover__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(1.04) contrast(1.03);
}

.cover::before {
  z-index: 2;
  background: linear-gradient(90deg, rgba(3, 20, 31, .96) 0%, rgba(3, 20, 31, .88) 29%, rgba(3, 20, 31, .56) 50%, rgba(3, 20, 31, .1) 72%, rgba(3, 20, 31, .16) 100%);
}

.cover::after {
  z-index: 2;
  background:
    linear-gradient(to top, rgba(3, 20, 31, .82), transparent 38%),
    radial-gradient(44rem 34rem at 12% 52%, rgba(0, 184, 230, .14), transparent 72%);
}

.cover__content {
  z-index: 3;
  width: min(52%, 690px);
  margin: 0;
}

.cover > .cover__ambient {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  background:
    radial-gradient(34rem 26rem at 77% 22%, rgba(0, 184, 230, .08), transparent 72%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.26'/%3E%3C/svg%3E");
  opacity: .22;
  pointer-events: none;
}

.cover__content h1 {
  max-width: 690px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, .35);
}

.cover__content .lead {
  max-width: 590px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .34);
}

/* 02 — Opportunity */
#oportunidad {
  grid-template-columns: minmax(0, .74fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}

#oportunidad .section-header {
  margin: 0;
}

#oportunidad .section-header h2 {
  max-width: 620px;
}

.opportunity-layout {
  display: grid;
  min-width: 0;
  gap: 12px;
}

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

.benefit-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  min-height: 128px;
  padding: 14px;
  border: 1px solid var(--light-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 34px rgba(7, 45, 66, .07);
}

.benefit-card span {
  color: #0b8fb3;
  font: 800 8px/1 var(--heading);
  letter-spacing: .14em;
}

.benefit-card strong {
  color: #123d52;
  font: 800 clamp(.78rem, 1.08vw, .98rem)/1.15 var(--heading);
  letter-spacing: -.025em;
}

.benefit-card p {
  margin: 0;
  color: #577080;
  font-size: clamp(.66rem, .78vw, .76rem);
  line-height: 1.4;
}

/* 03 — Two paths */
#dos-caminos .section-header {
  max-width: 920px;
  margin-bottom: 18px;
}

.path-layout {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  align-items: stretch;
  gap: clamp(22px, 3.5vw, 48px);
}

.path-layout > .story-photo {
  order: 1;
}

.path-grid {
  position: relative;
  order: 2;
  display: grid;
  align-content: center;
  gap: 12px;
  padding-top: 38px;
}

.path-origin-label {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid rgba(114, 221, 247, .26);
  border-radius: 999px;
  background: rgba(0, 184, 230, .1);
  color: var(--cyan-soft);
  font: 800 8.5px/1 var(--heading);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.path-grid::after {
  content: "";
  position: absolute;
  top: 31px;
  bottom: 26px;
  left: 17px;
  width: 1px;
  background: linear-gradient(var(--cyan), var(--blue), var(--violet));
  opacity: .7;
}

.path-card {
  position: relative;
  z-index: 1;
  min-height: 120px;
  padding: 20px 22px 20px 32px;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(10, 50, 73, .9), rgba(3, 20, 31, .9));
  box-shadow: 0 20px 48px rgba(0, 0, 0, .2);
}

.path-card::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 11px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--ink-850);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(114, 221, 247, .42), 0 0 14px rgba(0, 184, 230, .45);
}

.path-card:nth-child(2)::before {
  background: var(--violet);
}

.path-card .signal-card__step {
  margin-bottom: 8px;
  color: var(--cyan-soft);
  font: 800 8.5px/1 var(--heading);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.path-card > p:last-child {
  color: #b8ccd4;
  font-size: .78rem;
  line-height: 1.52;
}

/* 04 — Team */
#equipo .section-header {
  max-width: 930px;
  margin-bottom: 18px;
}

.team-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.founder-card {
  --portrait-image: none;
  --portrait-width: 100%;
  --portrait-top: 0px;
  --portrait-mobile-width: 100%;
  --portrait-mobile-top: 0px;
  min-width: 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 18px 45px rgba(7, 45, 66, .09);
}

.founder-card--jonathan {
  --portrait-image: url("assets/tools/jonathan-argumedo-founder.webp");
  --portrait-width: 100%;
  --portrait-top: -4px;
  --portrait-mobile-width: 120%;
  --portrait-mobile-top: 18px;
}

.founder-card--ivan {
  --portrait-image: url("assets/tools/ivan-guaderrama-founder.webp");
  --portrait-width: 64%;
  --portrait-top: -2px;
  --portrait-mobile-width: 85%;
  --portrait-mobile-top: 20px;
}

.founder-card--israel {
  --portrait-image: url("assets/tools/israel-calderon-founder.webp");
  --portrait-width: 82%;
  --portrait-top: -22px;
  --portrait-mobile-width: 100%;
  --portrait-mobile-top: 12px;
}

.founder-portrait {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #b9c8ce;
}

.founder-portrait::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18px;
  background-image: var(--portrait-image);
  background-position: center 22%;
  background-size: cover;
  filter: blur(16px) saturate(.62) brightness(.82);
  opacity: .68;
  transform: scale(1.08);
}

.founder-portrait::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background-image: var(--portrait-image);
  background-position: center var(--portrait-top);
  background-repeat: no-repeat;
  background-size: var(--portrait-width) auto;
  filter: saturate(.88) contrast(1.06) brightness(1.01);
  pointer-events: none;
}

.founder-portrait img {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  opacity: 0;
}

.founder-card h3 {
  margin: 12px 4px 4px;
  font-size: 1rem;
}

.founder-card p {
  margin: 0 4px 3px;
  color: var(--ink-muted);
  font-size: .72rem;
  line-height: 1.4;
}

.team-link {
  grid-column: 1 / -1;
  justify-self: start;
  min-width: 190px;
  margin-top: 2px;
  border: 1px solid rgba(0, 122, 157, .23);
  background: #e8f6f9;
  color: #086c87;
}

/* 05 — Tools */
#herramientas .section-header {
  margin-bottom: 18px;
}

#herramientas .tools-team-statement {
  position: relative;
  max-width: 64ch;
  padding-left: 18px;
  color: #f5fbff;
  opacity: 1;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  font-weight: 600;
  line-height: 1.5;
}

.tools-team-statement::before {
  position: absolute;
  top: .15em;
  bottom: .15em;
  left: 0;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--cyan), #54d8f4 58%, var(--blue));
  box-shadow: 0 0 14px rgba(0, 184, 230, .42);
  content: "";
}

.tools-grid,
.tool-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(114, 221, 247, .25);
  border-radius: var(--radius-lg);
  background: #071824;
  box-shadow: 0 24px 62px rgba(0, 0, 0, .3);
  color: #fff;
  text-decoration: none;
}

.tool-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 30% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(2, 12, 20, .92));
  pointer-events: none;
}

.tool-card video {
  width: 100%;
  height: 100%;
  background: #071824;
  object-fit: cover;
}

.tool-card--radar video {
  position: absolute;
  top: -35.2%;
  left: -5.7%;
  width: 162%;
  height: 162%;
  max-width: none;
}

.tool-card--radar::after {
  inset: 50% 0 0;
}

.tool-card > span {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: grid;
  gap: 6px;
}

.tool-card small {
  justify-self: start;
  padding: 6px 8px;
  border: 1px solid rgba(114, 221, 247, .34);
  border-radius: 999px;
  background: rgba(3, 20, 31, .62);
  color: var(--cyan-soft);
  font: 800 7.5px/1 var(--heading);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tool-card strong {
  font: 700 clamp(1rem, 1.5vw, 1.28rem)/1.1 var(--heading);
}

.tool-controls {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.tool-controls button {
  min-width: 134px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(114, 221, 247, .32);
  border-radius: 999px;
  background: rgba(0, 184, 230, .1);
  color: var(--cyan-soft);
  font: 800 10px/1 var(--heading);
  cursor: pointer;
}

.tool-controls p {
  max-width: 80ch;
  color: #a9c3ce;
  font-size: .72rem;
  line-height: 1.5;
}

.tool-controls strong {
  color: #fff;
}

.scroll-cue {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-self: end;
  gap: 8px;
  margin: -8px 0 8px;
  padding: 7px 11px;
  border: 1px solid rgba(5, 123, 156, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #17617a;
  font: 800 9.5px/1.2 var(--heading);
  letter-spacing: .025em;
}

.scroll-cue span {
  color: #087c9d;
  font-size: 15px;
  line-height: .8;
}

.scroll-cue--tools {
  display: none;
  border-color: rgba(114, 221, 247, .28);
  background: rgba(0, 184, 230, .1);
  color: #d8f6fc;
}

.scroll-cue--tools span {
  color: var(--cyan-soft);
}

.scroll-cue--steps {
  display: none;
  justify-self: start;
  margin: 0 0 8px;
}

/* 06 — Network */
#red-connect .section-header {
  max-width: 930px;
  margin-bottom: 14px;
}

.network-heading {
  max-width: 100%;
  color: #07283d;
  font-size: clamp(3rem, 5.35vw, 6.35rem);
  letter-spacing: -.075em;
  line-height: .86;
}

.network-heading span {
  position: relative;
  z-index: 1;
}

.network-heading em {
  position: relative;
  display: inline-block;
  padding-left: .1em;
  color: #087fa1;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -.09em;
}

.network-heading em::after {
  position: absolute;
  right: 0;
  bottom: -.07em;
  left: .12em;
  height: .08em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), #286df2 76%, transparent);
  content: "";
}

.network-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(245px, .48fr);
  align-items: center;
  gap: clamp(22px, 4.2vw, 64px);
}

.network-stage {
  position: relative;
  display: grid;
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: minmax(190px, .92fr) minmax(250px, 1.25fr) minmax(150px, .75fr);
  gap: 14px;
  min-height: 330px;
  padding: clamp(22px, 2.3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(8, 112, 144, .2);
  border-radius: 30px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, .96), rgba(236, 249, 251, .9) 62%, rgba(229, 241, 248, .92)),
    #f3fafb;
  box-shadow: 0 26px 70px rgba(10, 65, 90, .15), inset 0 1px rgba(255, 255, 255, .9);
  isolation: isolate;
}

.network-stage::before,
.network-stage::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.network-stage::before {
  top: -40%;
  left: 20%;
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 184, 230, .12);
  box-shadow: 0 0 0 36px rgba(0, 184, 230, .025), 0 0 0 72px rgba(34, 101, 245, .018);
}

.network-stage::after {
  right: -14%;
  bottom: -55%;
  width: 42%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(47, 98, 244, .13), transparent 67%);
}

.network-stage__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.network-stage__glow--one {
  top: 10%;
  left: 9%;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(0, 184, 230, .18), transparent 68%);
}

.network-stage__glow--two {
  right: 5%;
  bottom: 6%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(114, 22, 218, .1), transparent 67%);
}

.network-node {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 174px;
  align-content: center;
  gap: 7px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(5, 121, 153, .19);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .95), rgba(235, 248, 250, .78));
  box-shadow: 0 18px 35px rgba(6, 71, 95, .1);
  color: #123d52;
}

.network-node--restaurant {
  border-color: rgba(31, 91, 220, .2);
  background: linear-gradient(150deg, rgba(249, 252, 255, .97), rgba(232, 239, 255, .82));
}

.network-node--sources {
  align-content: start;
}

.network-node__index {
  position: absolute;
  top: 13px;
  left: 15px;
  color: #1687a6;
  font: 800 9px/1 var(--heading);
  letter-spacing: .13em;
}

.network-node__eyebrow {
  color: #3f7183;
  font: 800 8px/1.2 var(--heading);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.network-node strong {
  color: #082f46;
  font: 700 clamp(1.1rem, 1.7vw, 1.55rem)/1 var(--heading);
  letter-spacing: -.045em;
}

.network-node small {
  color: #527080;
  font-size: .7rem;
  line-height: 1.4;
}

.network-sources {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.network-sources__item {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 8px 6px;
  border: 1px solid rgba(0, 142, 187, .46);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(235, 250, 253, .98), rgba(238, 243, 255, .96));
  box-shadow: 0 8px 18px rgba(6, 88, 119, .1), inset 0 1px rgba(255, 255, 255, .95);
  color: #0b425d;
  font: 800 .82rem/1.2 var(--heading);
  letter-spacing: -.015em;
  text-align: center;
}

.network-route {
  position: relative;
  display: grid;
  min-height: 208px;
  align-items: center;
  padding: 22px 7px;
}

.network-route__line {
  position: absolute;
  top: 50%;
  right: 4%;
  left: 4%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 184, 230, .35), rgba(0, 184, 230, .97), #3970f0, rgba(57, 112, 240, .33));
  box-shadow: 0 0 0 6px rgba(0, 184, 230, .065), 0 0 28px rgba(0, 184, 230, .29);
}

.network-route__line::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 17px;
  height: 17px;
  border: 3px solid rgba(255, 255, 255, .96);
  border-radius: 50%;
  background: #00b8e6;
  box-shadow: 0 0 0 5px rgba(0, 184, 230, .16), 0 0 24px 9px rgba(0, 184, 230, .3);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.network-route__line::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 184, 230, .23), 0 0 22px 8px rgba(0, 184, 230, .28);
  content: "";
  transform: translate(-50%, -50%);
}

.network-milestones {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.network-milestones li {
  display: grid;
  min-height: 96px;
  align-content: end;
  gap: 7px;
  padding: 10px 8px;
  text-align: center;
}

.network-milestones span {
  display: grid;
  width: 29px;
  height: 29px;
  justify-self: center;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #00b8e6, #206de8);
  box-shadow: 0 0 0 4px rgba(0, 184, 230, .13), 0 7px 16px rgba(8, 91, 164, .18);
  color: #fff;
  font: 800 8px/1 var(--heading);
}

.network-milestones strong {
  color: #163e52;
  font: 700 clamp(.65rem, 1.05vw, .86rem)/1.17 var(--heading);
  letter-spacing: -.025em;
}

.network-stage.is-route-active.is-visible .network-route__line::before {
  animation: network-route-travel 2.7s var(--ease) both;
}

.network-stage.is-route-active.is-visible .network-milestones li {
  animation: network-milestone-pulse .62s var(--ease) backwards;
}

.network-stage.is-route-active.is-visible .network-milestones li:nth-child(1) {
  animation-delay: .28s;
}

.network-stage.is-route-active.is-visible .network-milestones li:nth-child(2) {
  animation-delay: 1.02s;
}

.network-stage.is-route-active.is-visible .network-milestones li:nth-child(3) {
  animation-delay: 1.76s;
}

@keyframes network-route-travel {
  0% {
    left: 0;
    opacity: 0;
  }
  8%, 88% {
    opacity: 1;
  }
  48% {
    background: #286df2;
    box-shadow: 0 0 0 5px rgba(40, 109, 242, .15), 0 0 24px 9px rgba(40, 109, 242, .28);
  }
  100% {
    left: 100%;
    background: #7216da;
    box-shadow: 0 0 0 5px rgba(114, 22, 218, .14), 0 0 24px 9px rgba(114, 22, 218, .26);
    opacity: 0;
  }
}

@keyframes network-milestone-pulse {
  0% {
    opacity: .62;
    transform: translateY(4px);
  }
  52% {
    opacity: 1;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.app-proof {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 100%;
  max-width: 340px;
  margin: 0;
  padding: 11px;
  overflow: hidden;
  border: 1px solid rgba(7, 63, 90, .16);
  border-radius: 30px;
  background: linear-gradient(145deg, #fff, #dfecef);
  box-shadow: var(--shadow-lg);
}

.app-proof__header {
  display: flex;
  min-height: 26px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-inline: 4px;
}

.app-proof__label {
  display: inline-flex;
  margin: 0;
  color: #14819f;
  font: 800 8px/1 var(--heading);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.app-proof__status {
  flex: none;
  margin: 0;
  color: #5e7784;
  font: 800 8px/1 var(--heading);
}

.app-proof__viewport {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(8, 54, 78, .12);
  border-radius: 20px;
  background: #fff;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.app-proof__viewport::-webkit-scrollbar {
  display: none;
}

.app-proof__track {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
}

.app-proof__screen {
  display: grid;
  flex: 0 0 100%;
  min-width: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  scroll-snap-align: start;
}

.app-proof__media {
  position: relative;
  display: grid;
  height: min(42vh, 385px);
  place-items: center;
  padding: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 184, 230, .16), transparent 46%),
    linear-gradient(145deg, #eef9fb, #f4f1fb 72%);
}

.app-proof__device {
  position: relative;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 1284 / 2778;
  padding: 5px;
  overflow: hidden;
  border-radius: 27px;
  background: linear-gradient(145deg, #173550, #060b14 55%, #241744);
  box-shadow: 0 22px 48px rgba(5, 20, 34, .28), inset 0 0 0 1px rgba(113, 220, 246, .25);
}

.app-proof.is-tilt-enabled .app-proof__device {
  transform: perspective(900px) translate3d(0, var(--phone-lift, 0), 0) rotateX(var(--phone-tilt-x, 0deg)) rotateY(var(--phone-tilt-y, 0deg));
  transform-origin: 50% 56%;
  transition: transform .34s var(--ease), box-shadow .34s ease;
}

.app-proof.is-tilt-enabled .app-proof__device.is-tilting {
  box-shadow: 0 28px 58px rgba(5, 20, 34, .34), inset 0 0 0 1px rgba(113, 220, 246, .34);
  will-change: transform;
}

.app-proof__device::before {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 31%;
  height: 10px;
  border-radius: 999px;
  background: #090510;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
  content: "";
  transform: translateX(-50%);
}

.app-proof__device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 23px;
  background: #f7f5fd;
}

.app-proof__screen:nth-child(3) .app-proof__device-screen::after {
  position: absolute;
  z-index: 3;
  top: 14.5%;
  right: 4%;
  left: 4%;
  height: 9.4%;
  box-sizing: border-box;
  border: 2px solid #00b8e6;
  border-radius: 13px;
  box-shadow: 0 0 18px rgba(0, 184, 230, .36);
  content: "";
  opacity: 0;
  pointer-events: none;
}

.app-proof__screen:nth-child(3).is-scan-running .app-proof__device-screen::after {
  animation: connect-notification-scan 4.2s var(--ease) both;
}

@keyframes connect-notification-scan {
  0% {
    top: 11%;
    border-color: #00b8e6;
    box-shadow: 0 0 18px rgba(0, 184, 230, .36);
    opacity: 0;
  }
  7%, 24% {
    top: 14.5%;
    border-color: #00b8e6;
    box-shadow: 0 0 18px rgba(0, 184, 230, .36);
    opacity: 1;
  }
  36%, 50% {
    top: 24.8%;
    border-color: #7a63ed;
    box-shadow: 0 0 18px rgba(122, 99, 237, .34);
    opacity: 1;
  }
  62%, 76% {
    top: 35.6%;
    border-color: #ffb300;
    box-shadow: 0 0 18px rgba(255, 179, 0, .36);
    opacity: 1;
  }
  88% {
    top: 14.5%;
    border-color: #00b8e6;
    box-shadow: 0 0 18px rgba(0, 184, 230, .36);
    opacity: 1;
  }
  100% {
    top: 14.5%;
    border-color: #00b8e6;
    box-shadow: 0 0 18px rgba(0, 184, 230, .36);
    opacity: 0;
  }
}

.app-proof__device-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.app-proof__screen figcaption {
  display: grid;
  gap: 3px;
  min-height: 68px;
  padding: 10px 12px 11px;
  color: #58717e;
  font-size: 10px;
  line-height: 1.4;
}

.app-proof__screen figcaption strong {
  color: #103e54;
  font: 800 11px/1.2 var(--heading);
}

.app-proof__controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px 3px 2px;
}

.app-proof__controls > button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(7, 112, 144, .23);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: #0c7696;
  font: 800 8px/1 var(--heading);
  cursor: pointer;
}

.app-proof__controls > button:disabled {
  opacity: .38;
  cursor: default;
}

.app-proof__steps {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.app-proof__steps button {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(7, 112, 144, .2);
  border-radius: 50%;
  background: #fff;
  color: #54717f;
  font: 800 8px/1 var(--heading);
  cursor: pointer;
}

.app-proof__steps button[aria-current="step"] {
  border-color: transparent;
  background: linear-gradient(145deg, #00b8e6, #286df2);
  color: #fff;
  box-shadow: 0 6px 16px rgba(20, 117, 190, .22);
}

.app-proof__disclosure {
  margin: 7px 4px 0;
  color: #6a7f89;
  font-size: 9px;
  line-height: 1.35;
}

/* 07 — Official channel */
#canal-oficial .section-header {
  max-width: 1240px;
  margin-bottom: 17px;
}

#canal-oficial .section-header h2 {
  max-width: 1240px;
  text-wrap: pretty;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(250px, .52fr);
  align-items: stretch;
  gap: 18px;
}

.booking-layout > .product-frame {
  width: min(100%, 850px);
  justify-self: start;
}

.booking-demo,
.attribution-record,
.reservation-row,
.pos-relationship-card {
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(10, 48, 70, .9), rgba(3, 20, 31, .94));
  box-shadow: 0 22px 56px rgba(0, 0, 0, .22);
}

.booking-demo {
  display: grid;
  align-content: center;
  padding: 23px;
}

.slide--dark .record-kicker,
.slide--dark .integration-badge {
  border-color: rgba(114, 221, 247, .28);
  background: rgba(0, 184, 230, .1);
  color: var(--cyan-soft);
}

.booking-demo dl,
.attribution-record dl {
  display: grid;
  margin: 10px 0 0;
}

.booking-demo dl > div,
.attribution-record dl > div {
  display: grid;
  grid-template-columns: minmax(88px, .7fr) 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(114, 221, 247, .14);
}

.booking-demo dl > div:last-child,
.attribution-record dl > div:last-child {
  border-bottom: 0;
}

.booking-demo dt,
.attribution-record dt {
  color: #89a9b7;
  font: 700 9px/1.35 var(--heading);
  letter-spacing: .075em;
  text-transform: uppercase;
}

.booking-demo dd,
.attribution-record dd {
  margin: 0;
  color: #fff;
  font: 700 .76rem/1.35 var(--heading);
}

/* 08 — Operation */
#operacion .section-header {
  margin-bottom: 13px;
}

.operation-tabs {
  min-width: 0;
}

.operation-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 9px;
  color: #567686;
  font: 800 9px/1 var(--heading);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.operation-status__progress {
  width: 42px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7, 118, 155, .17);
}

.operation-status__progress::after {
  content: "";
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00b8e6, #2776f3);
  transform: translateX(-110%);
}

.operation-status[data-autoplay-state="running"] .operation-status__progress::after {
  animation: operation-progress 4s linear infinite;
}

.operation-tabs > [role="tablist"] {
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

[data-operation-tab] {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 15px;
  border: 1px solid rgba(7, 71, 99, .17);
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  color: #486272;
  font: 800 10px/1 var(--heading);
  cursor: pointer;
}

[data-operation-tab][aria-selected="true"] {
  border-color: rgba(0, 142, 182, .36);
  background: linear-gradient(100deg, #087d9e, #1976f3);
  box-shadow: 0 10px 26px rgba(25, 118, 243, .2);
  color: #fff;
}

[data-operation-panel] {
  min-width: 0;
}

@media (min-width: 821px) {
  [data-operation-panel].is-entering {
    animation: operation-panel-enter .38s var(--ease) both;
  }
}

.operation-module {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: 10px;
  margin: 0 auto 8px;
  width: min(100%, 960px);
}

.operation-module__eyebrow {
  grid-row: 1 / span 2;
  align-self: stretch;
  display: grid;
  align-content: center;
  margin: 0;
  padding: 0 10px;
  border: 1px solid rgba(8, 125, 158, .18);
  border-radius: 999px;
  background: rgba(233, 248, 252, .88);
  color: #087d9e;
  font: 800 8px/1.15 var(--heading);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.operation-module__name,
.operation-module__descriptor {
  margin: 0;
}

.operation-module__name {
  color: #0a344b;
  font: 800 clamp(1.05rem, 1.8vw, 1.55rem)/.98 var(--heading);
  letter-spacing: -.055em;
}

.operation-module__descriptor {
  color: #5a7787;
  font: 700 .7rem/1.25 var(--heading);
}

@keyframes operation-progress {
  from { transform: translateX(-110%); }
  to { transform: translateX(310%); }
}

@keyframes operation-panel-enter {
  0% {
    opacity: 0;
    transform: translateY(9px) scale(.995);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* Progressive fallback: full operation content stays in document flow until tabs initialize. */
@media screen {
  html:not(.operation-tabs-enhanced) {
    scroll-snap-type: none;
  }

  html:not(.operation-tabs-enhanced) #operacion {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    align-content: start;
    overflow: visible;
    scroll-snap-stop: normal;
  }

  html:not(.operation-tabs-enhanced) #operacion .operation-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 0;
    overflow: visible;
  }

  html:not(.operation-tabs-enhanced) #operacion .operation-tabs > [role="tablist"] {
    display: none;
  }

  html:not(.operation-tabs-enhanced) #operacion [data-operation-panel] {
    grid-row: auto;
    grid-column: auto;
  }
}

@media screen and (max-width: 820px) {
  html:not(.operation-tabs-enhanced) #operacion .operation-tabs {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 821px) {
  html.operation-tabs-enhanced .operation-stage {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: clamp(320px, 46vh, 430px);
  }

  html.operation-tabs-enhanced .operation-stage > [role="tablist"] {
    grid-row: 1;
  }

  html.operation-tabs-enhanced .operation-stage > [data-operation-panel] {
    display: grid;
    grid-row: 2;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    height: 100%;
  }

  html.operation-tabs-enhanced .operation-stage [data-operation-panel] .product-frame {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    height: 100%;
  }

  html.operation-tabs-enhanced .operation-stage [data-operation-panel] .product-frame img {
    min-height: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .operation-status[data-autoplay-state="running"] .operation-status__progress::after {
    animation: none;
    transform: translateX(0);
  }
}

[data-operation-panel] .product-frame img {
  height: auto;
  max-height: none;
}

#operation-panel-floor .product-frame {
  width: min(100%, 960px);
  margin-inline: auto;
}

#operation-panel-areas .product-frame {
  width: min(100%, 740px);
  margin-inline: auto;
}

#operation-panel-schedule .product-frame {
  width: min(100%, 760px);
  margin-inline: auto;
}

#operation-panel-plan .product-frame {
  width: min(100%, 800px);
  margin-inline: auto;
}

.reservation-row {
  margin-top: 10px;
  padding: 10px 13px 8px;
  overflow-x: auto;
  border-color: var(--light-line);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 34px rgba(7, 45, 66, .08);
  color: var(--ink);
}

@media (min-width: 821px) {
  .reservation-row {
    display: grid;
    grid-template-columns: max-content minmax(680px, 1fr);
    align-items: center;
    gap: 12px;
  }

  .reservation-row .demo-badge {
    margin: 0;
  }
}

.reservation-row:focus-visible,
.next-steps:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.reservation-row .demo-badge {
  margin-bottom: 6px;
}

.reservation-row table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 10px;
  text-align: left;
}

.reservation-row caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.reservation-row th {
  padding: 5px 9px;
  border-bottom: 1px solid rgba(7, 71, 99, .13);
  color: #5c7482;
  font: 800 8px/1.2 var(--heading);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.reservation-row td {
  padding: 6px 9px 4px;
  color: #173f53;
  font-weight: 700;
}

/* 09 — Attribution */
#atribucion .section-header {
  max-width: 940px;
  margin-bottom: 16px;
}

.attribution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  align-items: stretch;
  gap: 18px;
}

.attribution-record {
  padding: 20px 22px;
}

.attribution-record dl {
  margin-top: 7px;
}

.attribution-record dl > div {
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 7px 0;
}

.attribution-record dd {
  justify-self: end;
  text-align: right;
}

.attribution-record dl > div:nth-child(2) dd,
.attribution-record dl > div:nth-child(7) dd {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 184, 230, .11);
  color: var(--cyan-soft);
}

.privacy-note {
  position: relative;
  margin-top: 12px;
  padding: 13px 16px 13px 48px;
  border: 1px solid rgba(114, 221, 247, .2);
  border-radius: 15px;
  background: rgba(8, 43, 64, .68);
  color: #acc4cf;
  font-size: .72rem;
  line-height: 1.45;
}

.privacy-note::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 18px;
  width: 17px;
  height: 14px;
  border: 2px solid var(--cyan-soft);
  border-radius: 4px;
}

.privacy-note::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 22px;
  width: 9px;
  height: 10px;
  border: 2px solid var(--cyan-soft);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

/* 10 — Results */
#resultados .section-header,
#sin-pos .section-header {
  margin-bottom: 14px;
}

.dashboard-frame img {
  width: 100%;
}

.dashboard-frame,
.metric-callouts {
  width: min(100%, 1100px);
}

.metric-callouts,
.menu-callouts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.metric-callouts li,
.menu-callouts li {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(5, 117, 148, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 9px 24px rgba(7, 45, 66, .06);
  color: #1d5268;
  font: 800 10px/1 var(--heading);
}

/* 11 — No POS */
.menu-frame img {
  width: 100%;
}

.menu-callouts li {
  border-color: rgba(114, 221, 247, .22);
  background: rgba(0, 184, 230, .08);
  box-shadow: none;
  color: #d7ecf3;
}

/* 12 — Expansion */
#expansion .section-header {
  max-width: 870px;
  margin-bottom: 12px;
}

.expansion-intro {
  max-width: 710px;
  margin-top: 8px;
  color: #537080;
  font-size: clamp(.85rem, 1.15vw, 1.04rem);
  line-height: 1.45;
}

.expansion-intro strong {
  display: inline-block;
  margin-right: .32em;
  color: #087b9b;
  font-family: var(--heading);
  font-weight: 800;
  letter-spacing: -.025em;
}

.expansion-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(245px, 1fr));
  gap: 14px;
  padding: 3px 2px 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(5, 123, 156, .46) rgba(5, 123, 156, .08);
  scrollbar-width: thin;
}

.expansion-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 44px rgba(7, 45, 66, .09);
  scroll-snap-align: start;
}

.option-ribbon {
  margin: 0 0 9px;
  background: #e9f4f8;
}

.capability-copy {
  display: grid;
  min-height: 59px;
  align-content: start;
  gap: 4px;
  padding: 0 4px 10px;
}

.capability-name {
  display: block;
  color: #0a344b;
  font: 800 clamp(.88rem, 1.35vw, 1.28rem)/.95 var(--heading);
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
}

.capability-detail {
  color: #4f7180;
  font: 700 .67rem/1.22 var(--heading);
  letter-spacing: .01em;
}

.expansion-card .product-frame {
  display: grid;
  min-height: 0;
  height: 100%;
  box-shadow: none;
}

.expansion-card .product-frame img {
  width: 100%;
  height: clamp(190px, 24vh, 255px);
  object-fit: contain;
  object-position: top center;
}

.expansion-card:first-child .product-frame img {
  height: clamp(190px, 24vh, 255px);
}

.expansion-card--synthetic {
  grid-template-rows: auto auto minmax(0, 1fr);
}

.pos-relationship-card {
  display: grid;
  min-height: 0;
  height: 100%;
  align-content: center;
  padding: 25px;
  border-color: rgba(7, 75, 102, .15);
  background:
    radial-gradient(circle at 80% 15%, rgba(114, 22, 218, .12), transparent 35%),
    linear-gradient(145deg, #fff, #e8f5f8);
  box-shadow: none;
  color: var(--ink);
}

.pos-relationship-card p {
  color: var(--ink-muted);
  font-size: .73rem;
  line-height: 1.5;
}

.pos-relationship-card p:last-child {
  margin-top: 18px;
  padding: 12px;
  border: 1px dashed rgba(0, 133, 169, .26);
  border-radius: 14px;
  color: #087694;
  text-align: center;
}

/* 13 — Scope */
#alcance .section-header {
  max-width: 950px;
  margin-bottom: 15px;
}

.scope-statement {
  max-width: 720px;
  margin-top: 10px;
  color: #bdeffa;
  font: 700 clamp(.92rem, 1.28vw, 1.2rem)/1.32 var(--heading);
  letter-spacing: -.025em;
}

.scope-grid {
  display: grid;
  grid-template-columns: minmax(205px, .78fr) minmax(230px, .9fr) minmax(360px, 1.42fr);
  align-items: start;
  gap: 15px;
}

.scope-card {
  position: relative;
  min-height: 300px;
  padding: 54px 24px 22px;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(10, 50, 73, .92), rgba(3, 20, 31, .94));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.scope-card::before {
  content: "Disponible";
  position: absolute;
  top: 16px;
  left: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(75, 227, 184, .3);
  border-radius: 999px;
  background: rgba(47, 184, 141, .12);
  color: #8ef0cf;
  font: 800 8.5px/1 var(--heading);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.scope-card:nth-child(2) {
  margin-top: 14px;
}

.scope-card:nth-child(2)::before {
  content: "Se configura";
  border-color: rgba(255, 193, 80, .3);
  background: rgba(255, 172, 43, .12);
  color: #ffd58b;
}

.scope-card:nth-child(3) {
  margin-top: 0;
}

.scope-card:nth-child(3)::before {
  content: "Opcional";
  border-color: rgba(180, 121, 255, .32);
  background: rgba(114, 22, 218, .16);
  color: #d1adff;
}

.scope-card h3 {
  font-size: 1.18rem;
}

.scope-card ul {
  display: grid;
  gap: 9px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.scope-card li {
  position: relative;
  padding-left: 17px;
  color: #c3d6dd;
  font-size: .78rem;
  line-height: 1.35;
}

.scope-card li::before {
  content: "";
  position: absolute;
  top: .48em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 184, 230, .5);
}

.scope-card:nth-child(2) li::before {
  background: #ffb340;
}

.scope-card:nth-child(3) li::before {
  background: #a763f4;
}

.scope-card > p {
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid rgba(114, 221, 247, .12);
  color: #91adb8;
  font-size: .67rem;
  line-height: 1.45;
}

.scope-card--optional {
  min-height: 300px;
  padding-top: 54px;
  border-color: rgba(180, 121, 255, .29);
  background:
    radial-gradient(circle at 88% 12%, rgba(130, 68, 237, .18), transparent 35%),
    linear-gradient(145deg, rgba(20, 45, 79, .96), rgba(8, 20, 42, .97));
}

.scope-card--optional h3 {
  max-width: 300px;
}

.optional-module-note {
  max-width: 480px;
  margin: 8px 0 13px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #c7b1ed !important;
  font-size: .7rem !important;
}

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

.optional-module {
  display: grid;
  min-height: 54px;
  align-items: end;
  padding: 9px 10px;
  border: 1px solid rgba(191, 147, 255, .3);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(133, 71, 236, .2), rgba(57, 42, 120, .2));
  box-shadow: inset 0 1px rgba(255, 255, 255, .07);
  color: #f5edff;
  font: 800 clamp(1.05rem, 1.5vw, 1.3rem)/.96 var(--heading);
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.optional-module:last-child {
  grid-column: 1 / -1;
  min-height: 45px;
  color: #d4f7ff;
}

/* 14 — Partners and allies */
.restaurant-partners {
  text-align: center;
}

.restaurant-partners .section-header {
  max-width: 1040px;
  margin-right: auto;
  margin-bottom: clamp(22px, 3.4vh, 34px);
  margin-left: auto;
}

.restaurant-partners .kicker {
  justify-content: center;
}

.restaurant-partners h2,
.restaurant-partners .section-header > p:not(.kicker, .lead) {
  margin-right: auto;
  margin-left: auto;
}

.restaurant-partners__accent {
  background: linear-gradient(92deg, #72ddf7 0%, #2a93ff 46%, #a76bf4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: #72ddf7;
  -webkit-text-fill-color: transparent;
}

.restaurant-partners__logos {
  display: flex;
  width: min(100%, 1120px);
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.restaurant-partner {
  display: grid;
  min-width: 0;
  min-height: clamp(88px, 11vh, 104px);
  flex: 0 1 calc(20% - 12px);
  place-items: center;
  padding: 13px 17px;
  overflow: hidden;
  border: 1px solid rgba(114, 221, 247, .43);
  border-radius: 20px;
  background:
    radial-gradient(circle at 15% 10%, rgba(114, 221, 247, .13), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(236, 246, 250, .96));
  box-shadow: 0 20px 48px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .92);
  transition: transform .24s var(--ease), border-color .24s ease, box-shadow .24s ease, filter .24s ease;
}

.restaurant-partner img {
  display: block;
  width: auto;
  max-width: min(100%, 188px);
  height: auto;
  max-height: 68px;
  object-fit: contain;
}

.restaurant-partner--wide img {
  max-width: min(100%, 215px);
}

.restaurant-partner--tall img {
  max-width: 112px;
  max-height: 76px;
}

.restaurant-partner--thin {
  padding-inline: 10px;
}

.restaurant-partner--thin img {
  max-width: min(100%, 226px);
  max-height: 34px;
}

/* 15 — Closing */
.closing {
  text-align: left;
}

.closing .section-header {
  max-width: 1050px;
  margin-bottom: 16px;
}

.closing-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
}

.closing-actions {
  display: grid;
  align-content: center;
}

.next-steps {
  counter-reset: closing-step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.next-steps li {
  counter-increment: closing-step;
  position: relative;
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 27px 12px 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 142, 182, .24);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .98), rgba(237, 247, 250, .94));
  box-shadow: 0 18px 38px rgba(7, 45, 66, .12), inset 0 1px rgba(255, 255, 255, .85);
  color: #174359;
  font: 800 clamp(.78rem, .9vw, .95rem)/1.15 var(--heading);
  letter-spacing: -.02em;
  text-align: center;
}

.next-steps li::before {
  content: counter(closing-step, decimal-leading-zero);
  position: absolute;
  top: 11px;
  left: 13px;
  color: #087fa6;
  font: 800 8px/1 var(--heading);
  letter-spacing: .12em;
}

.next-steps li::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--blue) 62%, var(--violet));
}

.next-steps li:nth-child(3) {
  border-color: rgba(25, 118, 243, .36);
  background: linear-gradient(150deg, rgba(238, 251, 255, .98), rgba(239, 235, 255, .96));
  box-shadow: 0 20px 44px rgba(25, 118, 243, .18), inset 0 1px rgba(255, 255, 255, .88);
  color: #0b3f68;
}

.closing-actions.is-visible .next-steps.is-motion-active li {
  animation: closing-step-enter .58s var(--ease) backwards;
}

.next-steps.is-motion-active li:nth-child(1) { animation-delay: .08s; }
.next-steps.is-motion-active li:nth-child(2) { animation-delay: .2s; }
.next-steps.is-motion-active li:nth-child(3) { animation-delay: .32s; }
.next-steps.is-motion-active li:nth-child(4) { animation-delay: .44s; }
.next-steps.is-motion-active li:nth-child(5) { animation-delay: .56s; }

@keyframes closing-step-enter {
  0% {
    opacity: .18;
    transform: translateY(15px) scale(.965);
  }
  65% {
    opacity: 1;
    transform: translateY(-3px) scale(1.008);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}


.closing-actions > .journey-line {
  display: none;
}

.closing-actions .button {
  justify-self: start;
}

/* Subtle interaction system: visible feedback without making informational cards feel clickable. */
.benefit-card,
.network-sources__item,
.metric-callouts li,
.menu-callouts li,
.booking-demo dl > div,
.attribution-record dl > div,
.path-origin-label,
.path-card::before,
.app-proof__controls > button,
.app-proof__steps button,
[data-operation-tab],
.founder-portrait::after,
.tool-card video {
  transition:
    transform .24s var(--ease),
    border-color .24s ease,
    background-color .24s ease,
    box-shadow .24s ease,
    filter .24s ease;
}

.attribution-record dl > div {
  --record-cue: transparent;
  border-radius: 10px;
}

.attribution-record dl > div:nth-child(2) {
  --record-cue: rgba(0, 184, 230, .12);
}

.attribution-record dl > div:nth-child(5) {
  --record-cue: rgba(25, 118, 243, .1);
}

.attribution-record dl > div:nth-child(7) {
  --record-cue: rgba(114, 22, 218, .1);
}

.metric-callouts li:last-child {
  border-color: rgba(0, 142, 187, .36);
  background: linear-gradient(135deg, rgba(238, 251, 253, .96), rgba(239, 243, 255, .94));
  box-shadow: 0 11px 28px rgba(8, 90, 122, .1);
  color: #0a6681;
}

.team-block:focus-visible .founder-card,
.tool-card:focus-visible {
  border-color: rgba(0, 184, 230, .52);
  box-shadow: 0 24px 54px rgba(7, 75, 104, .2);
}

.team-block:focus-visible .founder-portrait::after,
.tool-card:focus-visible video {
  filter: saturate(1.04) contrast(1.07) brightness(1.04);
  transform: scale(1.018);
}

.app-proof__controls > button:focus-visible,
.app-proof__steps button:focus-visible,
[data-operation-tab]:focus-visible,
.tool-controls button:focus-visible {
  border-color: rgba(0, 184, 230, .56);
  box-shadow: 0 9px 24px rgba(20, 117, 190, .18);
}

.tool-controls button[aria-pressed="true"] {
  border-color: rgba(114, 221, 247, .58);
  background: rgba(0, 184, 230, .2);
  box-shadow: 0 8px 22px rgba(0, 184, 230, .14);
}

.reveal-ready .benefit-grid.is-visible .benefit-card,
.reveal-ready .metric-callouts.is-visible li,
.reveal-ready .menu-callouts.is-visible li {
  animation: micro-card-enter .42s var(--ease) backwards;
}

.reveal-ready .benefit-grid.is-visible .benefit-card:nth-child(2),
.reveal-ready .metric-callouts.is-visible li:nth-child(2),
.reveal-ready .menu-callouts.is-visible li:nth-child(2) {
  animation-delay: .07s;
}

.reveal-ready .benefit-grid.is-visible .benefit-card:nth-child(3),
.reveal-ready .metric-callouts.is-visible li:nth-child(3),
.reveal-ready .menu-callouts.is-visible li:nth-child(3) {
  animation-delay: .14s;
}

.reveal-ready .metric-callouts.is-visible li:nth-child(4),
.reveal-ready .menu-callouts.is-visible li:nth-child(4) {
  animation-delay: .21s;
}

.reveal-ready .metric-callouts.is-visible li:nth-child(5),
.reveal-ready .menu-callouts.is-visible li:nth-child(5) {
  animation-delay: .28s;
}

.reveal-ready .attribution-record.is-visible dl > div {
  animation: micro-record-enter .38s var(--ease) backwards;
}

.reveal-ready .attribution-record.is-visible dl > div:nth-child(2) { animation-delay: .08s; }
.reveal-ready .attribution-record.is-visible dl > div:nth-child(3) { animation-delay: .14s; }
.reveal-ready .attribution-record.is-visible dl > div:nth-child(4) { animation-delay: .2s; }
.reveal-ready .attribution-record.is-visible dl > div:nth-child(5) { animation-delay: .26s; }
.reveal-ready .attribution-record.is-visible dl > div:nth-child(6) { animation-delay: .32s; }
.reveal-ready .attribution-record.is-visible dl > div:nth-child(7) { animation-delay: .38s; }
.reveal-ready .attribution-record.is-visible dl > div:nth-child(8) { animation-delay: .44s; }

@keyframes micro-card-enter {
  from {
    opacity: .35;
    transform: translateY(7px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes micro-record-enter {
  0% {
    opacity: .42;
    background-color: var(--record-cue);
    transform: translateX(-5px);
  }
  72% {
    opacity: 1;
    background-color: var(--record-cue);
  }
  100% {
    opacity: 1;
    background-color: transparent;
    transform: none;
  }
}

/* Future-ready reveal: content remains visible unless Task 5 opts in. */
.reveal-ready [data-reveal] {
  --micro-lift-y: 0px;
  --micro-scale: 1;
  --reveal-y: 14px;
  opacity: 0;
  filter: blur(3px);
  transform: translateY(calc(var(--reveal-y) + var(--micro-lift-y))) scale(var(--micro-scale));
  transition: opacity .52s var(--ease), transform .3s var(--ease), filter .52s ease;
}

.reveal-ready [data-reveal].is-visible {
  --reveal-y: 0px;
  opacity: 1;
  filter: none;
  transform: translateY(var(--micro-lift-y)) scale(var(--micro-scale));
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .team-block:hover .team-link,
  .tool-controls button:hover {
    border-color: rgba(114, 221, 247, .55);
    box-shadow: 0 20px 46px rgba(25, 118, 243, .28);
    transform: translateY(-2px);
  }

  .founder-card,
  .path-card,
  .tool-card,
  .scope-card,
  .expansion-card,
  .next-steps li {
    transition: transform .24s var(--ease), border-color .24s ease, box-shadow .24s ease;
  }

  .founder-card:hover {
    border-color: rgba(0, 184, 230, .42);
    box-shadow: 0 24px 54px rgba(7, 75, 104, .18);
    transform: translateY(-3px);
  }

  .founder-card:hover .founder-portrait::after {
    filter: saturate(1.04) contrast(1.07) brightness(1.04);
    transform: scale(1.018);
  }

  .path-card:hover,
  .tool-card:hover {
    --micro-lift-y: -3px;
    border-color: rgba(0, 184, 230, .48);
  }

  .path-card:hover {
    box-shadow: 0 24px 56px rgba(0, 0, 0, .26), 0 0 28px rgba(0, 184, 230, .08);
  }

  .path-grid:hover .path-origin-label {
    border-color: rgba(114, 221, 247, .58);
    background-color: rgba(0, 184, 230, .17);
    box-shadow: 0 0 20px rgba(0, 184, 230, .18);
    transform: translateY(-1px);
  }

  .path-card:hover::before {
    box-shadow: 0 0 0 1px rgba(114, 221, 247, .62), 0 0 20px rgba(0, 184, 230, .65);
    transform: scale(1.12);
  }

  .benefit-card:hover,
  .network-sources__item:hover,
  .metric-callouts li:hover,
  .menu-callouts li:hover {
    border-color: rgba(0, 184, 230, .43);
    box-shadow: 0 17px 36px rgba(7, 70, 98, .14);
    transform: translateY(-2px);
  }

  .network-sources__item:hover {
    background: linear-gradient(135deg, rgba(228, 250, 253, 1), rgba(233, 239, 255, 1));
  }

  .attribution-record dl > div:hover {
    background-color: rgba(0, 184, 230, .065);
    box-shadow: inset 3px 0 rgba(0, 184, 230, .48);
    transform: translateX(3px);
  }

  .app-proof__controls > button:not(:disabled):hover {
    border-color: rgba(0, 184, 230, .48);
    box-shadow: 0 8px 20px rgba(20, 117, 190, .15);
    transform: translateY(-2px);
  }

  .app-proof__steps button:not([aria-current="step"]):hover {
    border-color: rgba(0, 184, 230, .58);
    box-shadow: 0 6px 16px rgba(20, 117, 190, .14);
    transform: scale(1.1);
  }

  [data-operation-tab]:not([aria-selected="true"]):hover {
    border-color: rgba(0, 142, 182, .4);
    background: #fff;
    box-shadow: 0 8px 20px rgba(20, 117, 190, .12);
    color: #087d9e;
    transform: translateY(-2px);
  }

  .tool-card:hover {
    box-shadow: 0 29px 68px rgba(0, 0, 0, .36), 0 0 34px rgba(0, 184, 230, .09);
  }

  .tool-card:hover video {
    filter: saturate(1.05) contrast(1.04) brightness(1.04);
    transform: scale(1.018);
  }

  .scope-card:hover,
  .expansion-card:hover {
    --micro-lift-y: -2px;
    border-color: rgba(0, 184, 230, .36);
  }

  .restaurant-partner:hover {
    border-color: rgba(114, 221, 247, .78);
    box-shadow: 0 26px 58px rgba(0, 0, 0, .3), 0 0 30px rgba(0, 184, 230, .13);
    filter: saturate(1.04);
    transform: translateY(-3px);
  }

  .rail-dot:not([aria-current="true"]):hover::before {
    background: rgba(114, 221, 247, .9);
    box-shadow: 0 0 0 1px rgba(3, 20, 31, .28), 0 0 13px rgba(0, 184, 230, .55);
    transform: scale(1.35);
  }

  .next-steps li:hover {
    border-color: rgba(0, 184, 230, .46);
    box-shadow: 0 25px 48px rgba(7, 65, 94, .18), inset 0 1px rgba(255, 255, 255, .9);
    transform: translateY(-4px);
  }
}

.tool-card:focus-visible {
  --micro-lift-y: -2px;
}

.rail-dot:not([aria-current="true"]):focus-visible::before {
  background: rgba(114, 221, 247, .9);
  box-shadow: 0 0 0 1px rgba(3, 20, 31, .28), 0 0 13px rgba(0, 184, 230, .55);
  transform: scale(1.35);
}

.button:active,
.app-proof__controls > button:not(:disabled):active,
[data-operation-tab]:active,
.tool-controls button:active {
  transform: scale(.985);
}

.app-proof__steps button:active {
  transform: scale(.92);
}

.team-block:active {
  --micro-scale: .992;
}

.tool-card:active {
  --micro-lift-y: -1px;
  --micro-scale: .99;
}

.rail-dot:not([aria-current="true"]):active::before {
  transform: scale(.88);
}

.next-steps:focus-visible li:nth-child(3) {
  border-color: rgba(25, 118, 243, .52);
  box-shadow: 0 24px 48px rgba(25, 118, 243, .22), inset 0 1px rgba(255, 255, 255, .9);
  transform: translateY(-3px);
}

/* Tablet and compact desktop */
@media (max-width: 1100px) {
  :root {
    --slide-x: clamp(30px, 4.5vw, 52px);
  }

  .slide {
    padding-top: 82px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: clamp(2.7rem, 5.6vw, 4.5rem);
  }

  h2 {
    font-size: clamp(1.9rem, 3.8vw, 3.05rem);
  }

  #oportunidad {
    grid-template-columns: minmax(0, .76fr) minmax(0, 1fr);
    gap: 32px;
  }

  .path-layout,
  .closing-layout {
    gap: 26px;
  }

  .network-layout {
    grid-template-columns: minmax(0, 1fr) minmax(235px, .52fr);
    gap: 30px;
  }

  .booking-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(230px, .55fr);
  }

  .attribution-layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .92fr);
  }

  .scope-card {
    padding-right: 19px;
    padding-left: 19px;
  }

  .restaurant-partner {
    flex-basis: calc(25% - 12px);
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .reservation-row {
    display: block;
    overflow-x: auto;
  }
}

@media (min-width: 1101px) {
  .reservation-row {
    overflow: visible;
  }
}

@media (min-width: 821px) and (max-width: 1400px) {
  #expansion {
    padding-right: 100px;
  }
}

@media (min-width: 821px) and (max-height: 780px) {
  .slide {
    padding-top: 68px;
    padding-bottom: 72px;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(2.7rem, 5vw, 4.25rem);
  }

  h2 {
    margin-bottom: 9px;
    font-size: clamp(1.72rem, 3vw, 2.65rem);
  }

  h3 {
    font-size: .98rem;
  }

  .section-header {
    margin-bottom: 14px;
  }

  .section-header > p:not(.kicker, .lead) {
    font-size: .82rem;
    line-height: 1.45;
  }

  .kicker {
    margin-bottom: 9px;
    font-size: 8.5px;
  }

  .lead {
    font-size: .92rem;
    line-height: 1.48;
  }

  .actions {
    margin-top: 20px;
  }

  .button {
    min-height: 46px;
    padding-inline: 19px;
    font-size: 12px;
  }

  .product-frame figcaption {
    padding-top: 7px;
    font-size: 12px;
  }

  #dos-caminos .section-header,
  #equipo .section-header,
  #herramientas .section-header,
  #red-connect .section-header,
  #canal-oficial .section-header,
  #atribucion .section-header,
  #resultados .section-header,
  #sin-pos .section-header,
  #expansion .section-header,
  #alcance .section-header,
  #partners .section-header,
  .closing .section-header {
    margin-bottom: 11px;
  }

  .restaurant-partners__logos {
    gap: 10px;
  }

  .restaurant-partner {
    min-height: 82px;
    flex-basis: calc(20% - 8px);
    padding: 9px 13px;
  }

  .restaurant-partner img {
    max-width: min(100%, 168px);
    max-height: 54px;
  }

  .restaurant-partner--wide img {
    max-width: min(100%, 186px);
  }

  .restaurant-partner--tall img {
    max-width: 84px;
    max-height: 58px;
  }

  .restaurant-partner--thin img {
    max-width: min(100%, 196px);
    max-height: 34px;
  }

  .benefit-card {
    min-height: 104px;
    padding: 11px;
  }

  .benefit-card p {
    font-size: .67rem;
  }

  .path-grid {
    gap: 9px;
    padding-top: 34px;
  }

  .path-card {
    min-height: 100px;
    padding: 15px 18px 15px 30px;
  }

  .path-card > p:last-child {
    font-size: .75rem;
  }

  .founder-card {
    padding: 9px;
  }

  .founder-portrait {
    height: 170px;
    aspect-ratio: auto;
  }

  .founder-card h3 {
    margin-top: 9px;
    font-size: .88rem;
  }

  .founder-card p {
    font-size: .75rem;
  }

  .team-link {
    min-height: 44px;
    margin-top: 0;
  }

  .tools-grid,
  .tool-showcase {
    gap: 11px;
  }

  .tool-card > span {
    right: 12px;
    bottom: 11px;
    left: 12px;
  }

  .tool-controls {
    min-height: 44px;
    margin-top: 9px;
  }

  .tool-controls p {
    font-size: .82rem;
    line-height: 1.45;
  }

  .network-flow {
    padding: 18px;
  }

  .network-stage {
    min-height: 265px;
    padding: 18px;
  }

  .network-node {
    min-height: 142px;
    padding: 19px 14px 13px;
  }

  .flow-node {
    min-height: 64px;
    padding: 12px;
  }

  .app-proof__media {
    height: 100%;
  }

  .app-proof__media {
    height: min(37vh, 315px);
  }

  .booking-layout {
    grid-template-columns: minmax(0, 1fr) minmax(250px, .42fr);
  }

  .booking-layout > .product-frame {
    width: min(100%, 720px);
  }

  .booking-layout > .product-frame img {
    height: auto;
  }

  .booking-demo {
    padding: 16px 18px;
  }

  .booking-demo dl > div {
    padding: 7px 0;
  }

  #operation-panel-floor .product-frame {
    width: min(100%, 820px);
  }

  #operation-panel-areas .product-frame {
    width: min(100%, 520px);
  }

  #operation-panel-schedule .product-frame {
    width: min(100%, 550px);
  }

  #operation-panel-plan .product-frame {
    width: min(100%, 600px);
  }

  [data-operation-panel] .product-frame img {
    height: auto;
  }

  .operation-tabs > [role="tablist"] {
    margin-bottom: 7px;
  }

  .reservation-row {
    margin-top: 7px;
    padding: 7px 12px;
  }

  .reservation-row .demo-badge {
    margin: 0;
    font-size: 9.5px;
  }

  .attribution-record {
    padding: 15px 18px;
  }

  .attribution-layout {
    grid-template-columns: minmax(0, .92fr) minmax(410px, 1fr);
    gap: 14px;
  }

  .attribution-record dl > div {
    padding: 5px 0;
  }

  .privacy-note {
    margin-top: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: .75rem;
  }

  .privacy-note::before {
    top: 12px;
  }

  .privacy-note::after {
    top: 5px;
  }

  .dashboard-frame,
  .metric-callouts {
    width: min(100%, 900px);
  }

  .dashboard-frame img {
    height: auto;
  }

  .menu-frame img {
    height: min(33vh, 235px);
  }

  .metric-callouts,
  .menu-callouts {
    margin-top: 8px;
  }

  .metric-callouts li,
  .menu-callouts li {
    min-height: 34px;
    font-size: 12px;
  }

  .expansion-gallery {
    grid-template-columns: repeat(5, minmax(235px, 1fr));
  }

  .expansion-card .product-frame,
  .pos-relationship-card {
    min-height: 215px;
  }

  .expansion-card .product-frame img,
  .expansion-card:first-child .product-frame img {
    height: min(26vh, 180px);
  }

  .scope-card {
    min-height: 250px;
    padding-top: 47px;
  }

  .scope-card ul {
    gap: 6px;
    margin-top: 11px;
  }

  .scope-card li {
    font-size: .75rem;
  }

  .scope-card--optional {
    min-height: 250px;
  }

  .optional-module {
    min-height: 42px;
    font-size: 1rem;
  }

  .closing-layout .story-photo {
    max-height: 340px;
  }

  .next-steps li {
    min-height: 82px;
    padding-top: 25px;
    font-size: 13px;
  }

  .record-kicker,
  .integration-badge,
  .option-ribbon,
  .path-card .signal-card__step,
  .tool-card small,
  .tool-controls button,
  .extension-node small,
  .extension-node strong,
  .app-proof figcaption,
  .booking-demo dt,
  .attribution-record dt,
  [data-operation-tab],
  .reservation-row table,
  .reservation-row th,
  .scope-card::before {
    font-size: 12px;
  }

  .booking-demo dd,
  .attribution-record dd,
  .scope-card > p {
    font-size: 12px;
  }
}

/* Mobile/tablet vertical flow */
@media (max-width: 820px) {
  html {
    scroll-snap-type: y proximity;
  }

  .slide {
    display: grid;
    height: auto;
    min-height: 100svh;
    align-content: start;
    padding: 94px max(24px, calc(env(safe-area-inset-left) + 20px)) 82px max(24px, calc(env(safe-area-inset-right) + 20px));
    overflow: hidden;
    scroll-snap-stop: normal;
  }

  h1 {
    font-size: clamp(2.55rem, 9vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 7vw, 3.25rem);
  }

  .section-header {
    margin-bottom: 22px;
  }

  #rail,
  .keyboard-hint {
    display: none;
  }

  .visual-split,
  #oportunidad,
  .path-layout,
  .network-layout,
  .booking-layout,
  .attribution-layout,
  .closing-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  #oportunidad {
    gap: 22px;
  }

  #oportunidad .section-header {
    margin-bottom: 0;
  }

  .path-layout > .story-photo {
    order: 1;
  }

  .path-grid {
    order: 2;
  }

  .network-layout {
    gap: 22px;
  }

  .network-flow {
    padding: 20px;
  }

  .network-stage {
    min-height: 310px;
  }

  .app-proof {
    grid-column: 1;
    grid-row: 1;
    max-width: 390px;
  }

  .network-stage {
    grid-column: 1;
    grid-row: 2;
  }

  .network-stage__glow--two {
    display: none;
  }

  .app-proof__media {
    height: min(58vh, 500px);
  }

  .booking-layout,
  .attribution-layout,
  .closing-layout {
    gap: 18px;
  }

  .booking-demo {
    min-height: 250px;
  }

  .operation-tabs {
    display: grid;
    grid-template-columns: repeat(4, min(86vw, 390px));
    gap: 12px;
    padding-bottom: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
  }

  .operation-tabs > [role="tablist"] {
    position: sticky;
    left: 0;
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(100%, calc(100vw - 48px));
    margin-bottom: 0;
  }

  [data-operation-panel] {
    grid-row: 2;
    scroll-snap-align: start;
  }

  [data-operation-panel]:nth-of-type(1) {
    grid-column: 1;
  }

  [data-operation-panel]:nth-of-type(2) {
    grid-column: 2;
  }

  [data-operation-panel]:nth-of-type(3) {
    grid-column: 3;
  }

  [data-operation-panel]:nth-of-type(4) {
    grid-column: 4;
  }

  [data-operation-panel] .product-frame img {
    height: auto;
    max-height: none;
  }

  .reservation-row {
    margin-top: 12px;
  }

  .attribution-record dd {
    overflow-wrap: anywhere;
  }

  .tools-grid,
  .tool-showcase {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(74vw, 340px);
    padding-bottom: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
  }

  .tool-card {
    scroll-snap-align: start;
  }

  .scroll-cue--tools {
    display: inline-flex;
  }

  .scroll-cue--steps {
    display: inline-flex;
  }

  .tool-controls {
    align-items: flex-start;
  }

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

  .scope-card,
  .scope-card:nth-child(2),
  .scope-card:nth-child(3) {
    min-height: 0;
    margin-top: 0;
  }

  .scope-card--optional {
    min-height: 0;
  }

  .restaurant-partners__logos {
    gap: 12px;
  }

  .restaurant-partner {
    min-height: 92px;
    flex-basis: calc(33.333% - 8px);
  }

  .closing-actions .button {
    justify-self: stretch;
  }
}

/* Tablet cover uses an editorial split so whole words and the approved image stay dominant. */
@media (min-width: 621px) and (max-width: 820px) {
  .cover {
    display: grid;
    min-height: max(100svh, 980px);
    align-content: start;
    padding-top: calc(clamp(500px, 45svh, 580px) + 42px);
    padding-bottom: max(70px, calc(env(safe-area-inset-bottom) + 52px));
    background: var(--ink-950);
  }

  .cover__media {
    inset: 0 0 auto;
    height: clamp(500px, 45svh, 580px);
  }

  .cover__media img {
    object-position: 64% center;
  }

  .cover::before {
    background: linear-gradient(to bottom, rgba(3, 20, 31, .01), rgba(3, 20, 31, .08) 32%, rgba(3, 20, 31, .82) 44%, var(--ink-950) 50%, var(--ink-950));
  }

  .cover::after {
    background: radial-gradient(42rem 26rem at 14% 78%, rgba(0, 184, 230, .13), transparent 72%);
  }

  .cover__content {
    width: 100%;
    max-width: 720px;
  }

  .cover__content h1 {
    max-width: 720px;
    font-size: clamp(3rem, 6.4vw, 3.55rem);
    line-height: 1;
    text-wrap: balance;
    text-shadow: none;
  }

  .cover__content .lead {
    max-width: 670px;
    text-shadow: none;
  }

}

/* Compact widths keep the whole route inside one stage before the phone proof. */
@media (min-width: 821px) and (max-width: 1100px) {
  .network-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .network-stage {
    grid-template-columns: minmax(126px, .85fr) minmax(190px, 1.3fr) minmax(126px, .85fr);
    min-height: 246px;
    padding: 18px;
  }

  .network-node {
    min-height: 132px;
    padding: 19px 13px 13px;
  }

  .network-node--sources {
    min-height: 220px;
  }

  .network-node small {
    font-size: .63rem;
  }

  .network-milestones strong {
    font-size: .67rem;
  }

  .app-proof {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 310px);
    justify-self: center;
  }

  .app-proof__media {
    height: min(43vh, 230px);
  }

}

@media (min-width: 821px) and (max-width: 1100px) and (max-height: 780px) {
  #red-connect {
    padding-top: 79px;
  }

  #red-connect .section-header {
    margin-bottom: 10px;
  }

  .network-layout {
    grid-template-columns: minmax(0, 1fr) minmax(190px, .3fr);
    align-items: center;
    gap: 14px;
  }

  .app-proof {
    grid-column: 2;
    grid-row: 1;
    max-width: 230px;
  }

  .app-proof__media {
    height: min(42vh, 298px);
  }
}

@media (min-width: 821px) and (max-width: 900px) {
  .scope-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-card,
  .scope-card:nth-child(2),
  .scope-card:nth-child(3) {
    min-height: 0;
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  body::before {
    opacity: .12;
  }

  .story-photo--opportunity,
  .story-photo--arrival {
    aspect-ratio: 4 / 3;
  }

  #rail,
  .pager,
  .keyboard-hint {
    display: none;
  }

  .brand {
    top: max(11px, calc(env(safe-area-inset-top) + 7px));
    left: max(13px, calc(env(safe-area-inset-left) + 9px));
    min-height: 44px;
    padding-right: 11px;
    font-size: 8.5px;
  }

  .brand__mark {
    width: 30px;
    height: 30px;
  }

  .slide {
    padding: 78px max(20px, calc(env(safe-area-inset-left) + 17px)) 64px max(20px, calc(env(safe-area-inset-right) + 17px));
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.75rem);
    line-height: 1.04;
  }

  h3 {
    font-size: 1rem;
  }

  .kicker {
    font-size: 8.5px;
    letter-spacing: .15em;
  }

  .lead {
    font-size: .94rem;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 21px;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .cover {
    display: grid;
    min-height: max(100svh, 760px);
    align-content: start;
    padding-top: calc(clamp(270px, 45svh, 390px) + 34px);
    padding-bottom: max(54px, calc(env(safe-area-inset-bottom) + 40px));
    background: var(--ink-950);
  }

  .cover__media {
    inset: 0 0 auto;
    height: clamp(270px, 45svh, 390px);
  }

  .cover__media img {
    object-position: 65% center;
  }

  .cover::before {
    background: linear-gradient(to bottom, rgba(3, 20, 31, .02), rgba(3, 20, 31, .08) 30%, rgba(3, 20, 31, .78) 43%, var(--ink-950) 51%, var(--ink-950));
  }

  .cover::after {
    background: radial-gradient(34rem 24rem at 12% 72%, rgba(0, 184, 230, .12), transparent 72%);
  }

  .cover__content {
    width: 100%;
    margin: 0;
  }

  .cover__content h1,
  .cover__content .lead {
    text-shadow: none;
  }

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

  .benefit-card {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 0;
    column-gap: 8px;
    padding: 12px;
  }

  .benefit-card span {
    grid-row: 1 / 3;
    align-self: center;
  }

  .benefit-card p {
    grid-column: 2;
  }

  .path-grid {
    padding-top: 40px;
  }

  .path-card {
    min-height: 0;
  }

  .team-block {
    grid-template-columns: 1fr;
  }

  .founder-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 13px;
    align-items: center;
  }

  .founder-portrait {
    grid-row: 1 / 3;
    width: 88px;
    height: 88px;
    aspect-ratio: 1;
    border-radius: 13px;
  }

  .founder-portrait::after {
    background-position: center var(--portrait-mobile-top);
    background-size: var(--portrait-mobile-width) auto;
  }

  .founder-card h3 {
    align-self: end;
    margin: 0 0 3px;
  }

  .founder-card p {
    align-self: start;
    margin: 0;
  }

  .team-link {
    width: 100%;
  }

  .tools-grid,
  .tool-showcase {
    grid-auto-columns: min(76vw, 310px);
  }

  .tool-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tool-controls button {
    width: 100%;
  }

  .network-flow {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .network-heading {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .network-stage {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .app-proof {
    width: 100%;
    max-width: none;
  }

  .app-proof__media {
    height: min(60vh, 460px);
  }

  .app-proof__controls {
    gap: 4px;
  }

  .app-proof__controls > button {
    min-height: 44px;
    padding-inline: 8px;
  }

  .app-proof__steps {
    gap: 2px;
  }

  .app-proof__steps button {
    width: 44px;
    height: 44px;
  }

  .network-node {
    min-height: 0;
    padding: 22px 17px 16px;
  }

  .network-route {
    min-height: 162px;
    padding: 12px 0;
  }

  .network-milestones li {
    min-height: 82px;
    padding-inline: 3px;
  }

  .network-milestones strong {
    font-size: .61rem;
  }

  .flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .extension-node {
    grid-column: auto;
  }

  .booking-demo,
  .attribution-record,
  .pos-relationship-card {
    padding: 18px;
  }

  .booking-demo dl > div,
  .attribution-record dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .attribution-record dd {
    justify-self: start;
    text-align: left;
  }

  .operation-tabs {
    grid-template-columns: repeat(4, min(86vw, 390px));
  }

  .operation-tabs > [role="tablist"] {
    width: calc(100vw - 40px);
  }

  .metric-callouts,
  .menu-callouts {
    gap: 7px;
  }

  .metric-callouts li,
  .menu-callouts li {
    min-height: 36px;
    padding-inline: 12px;
    font-size: 9px;
  }

  .expansion-gallery {
    grid-template-columns: repeat(5, min(82vw, 340px));
    align-items: start;
  }

  .expansion-card {
    height: 420px;
    align-self: start;
  }

  .expansion-card .product-frame {
    height: 308px;
    min-height: 0;
  }

  .expansion-card .product-frame img,
  .expansion-card:first-child .product-frame img {
    height: 226px;
    max-height: 226px;
    object-fit: contain;
  }

  .expansion-card .pos-relationship-card {
    height: 308px;
    min-height: 0;
    padding: 18px;
  }

  .scope-grid {
    gap: 11px;
  }

  .scope-card {
    padding: 53px 20px 20px;
  }

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

  .optional-module,
  .optional-module:last-child {
    grid-column: auto;
    min-height: 49px;
  }

  .restaurant-partners .section-header {
    margin-bottom: 16px;
  }

  .restaurant-partners .kicker {
    justify-content: flex-start;
  }

  .restaurant-partners .section-header,
  .restaurant-partners h2,
  .restaurant-partners .section-header > p:not(.kicker, .lead) {
    text-align: left;
  }

  .restaurant-partners__logos {
    gap: 8px;
  }

  .restaurant-partner {
    min-height: 70px;
    flex-basis: calc(50% - 4px);
    padding: 8px 10px;
    border-radius: 15px;
  }

  .restaurant-partner img,
  .restaurant-partner--wide img {
    max-width: min(100%, 138px);
    max-height: 50px;
  }

  .restaurant-partner--tall img {
    max-width: 70px;
    max-height: 52px;
  }

  .restaurant-partner--thin img {
    max-width: min(100%, 145px);
    max-height: 28px;
  }

  .next-steps {
    display: flex;
    gap: 10px;
    padding-bottom: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
  }

  .next-steps li {
    min-width: 158px;
    min-height: 88px;
    flex: 0 0 158px;
    scroll-snap-align: start;
  }
}

/* Short mobile landscape must flow vertically instead of compressing. */
@media (max-height: 500px) and (orientation: landscape) {
  html {
    scroll-snap-type: y proximity;
  }

  #rail,
  .pager,
  .keyboard-hint {
    display: none;
  }

  .slide,
  .cover {
    height: auto;
    min-height: max(100svh, 680px);
    align-content: start;
    padding-top: 72px;
    padding-bottom: 58px;
    overflow: hidden;
    scroll-snap-stop: normal;
  }

  .cover {
    display: flex;
    align-items: center;
  }

  .cover__content {
    width: min(62%, 640px);
  }

  .network-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .app-proof {
    grid-column: 1;
    grid-row: 1;
    width: min(100%, 390px);
    max-width: 390px;
    justify-self: center;
  }

  .network-stage {
    grid-column: 1;
    grid-row: 2;
  }

  .restaurant-partners__logos {
    gap: 10px;
  }

  .restaurant-partner {
    min-height: 78px;
    flex-basis: calc(25% - 8px);
  }

  .next-steps {
    display: flex;
    gap: 8px;
    padding: 4px 4px 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .scroll-cue--steps {
    display: inline-flex;
  }

  .next-steps li {
    min-width: 158px;
    min-height: 88px;
    flex: 0 0 158px;
    scroll-snap-align: start;
  }
}

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

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

  .reveal-ready [data-reveal],
  [data-reveal] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .reveal-ready .benefit-grid.is-visible .benefit-card,
  .reveal-ready .metric-callouts.is-visible li,
  .reveal-ready .menu-callouts.is-visible li,
  .reveal-ready .attribution-record.is-visible dl > div {
    animation: none !important;
  }

  .reveal-ready [data-reveal],
  .reveal-ready [data-reveal].is-visible {
    --micro-lift-y: 0px;
    --micro-scale: 1;
  }

  .benefit-card,
  .network-sources__item,
  .metric-callouts li,
  .menu-callouts li,
  .attribution-record dl > div,
  .path-origin-label,
  .path-card::before,
  .founder-card,
  .founder-portrait::after,
  .tool-card video,
  .button,
  .app-proof__controls > button,
  .app-proof__steps button,
  [data-operation-tab],
  .tool-controls button,
  .next-steps li,
  .rail-dot:not([aria-current="true"])::before {
    transform: none !important;
  }

  .restaurant-partner {
    filter: none !important;
    transform: none !important;
  }

  .light-wavefield { display: none !important; }
}

@page {
  size: landscape;
  margin: 0;
}

@media print {
  :root {
    color-scheme: light;
  }

  html,
  body {
    overflow: visible;
    background: #fff;
    color: #111;
    scroll-snap-type: none;
  }

  body::before,
  .ambient-layer,
  #ambient-dotfield,
  .light-wavefield,
  .cover__ambient,
  .brand,
  .deck-progress,
  .pager,
  .keyboard-hint,
  #rail,
  .skip-link,
  .tool-controls {
    display: none !important;
  }

  .slide,
  .cover {
    height: 100vh;
    min-height: 100vh;
    break-after: page;
    overflow: hidden;
    background: #fff !important;
    color: #111 !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    scroll-snap-align: none;
  }

  .slide::before,
  .slide::after {
    display: none;
  }

  .cover__media {
    opacity: .24;
  }

  .cover__content,
  .lead,
  .section-header > p,
  .path-card > p:last-child,
  .tool-controls p,
  .scope-card li,
  .scope-card > p,
  .privacy-note {
    color: #222 !important;
    text-shadow: none !important;
  }

  .booking-demo dt,
  .attribution-record dt,
  .reservation-row th {
    color: #444 !important;
  }

  .booking-demo dd,
  .attribution-record dd,
  .reservation-row td,
  .menu-callouts li,
  .scope-card h3,
  .pos-relationship-card h3,
  .pos-relationship-card p {
    color: #111 !important;
  }

  .slide--dark .record-kicker,
  .slide--dark .integration-badge,
  .path-origin-label,
  .scope-card::before {
    border-color: #8aa9b3 !important;
    background: #edf5f7 !important;
    color: #075c73 !important;
  }

  .path-card,
  .booking-demo,
  .attribution-record,
  .scope-card,
  .pos-relationship-card,
  .privacy-note,
  .restaurant-partner {
    border-color: #bbb !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #111 !important;
  }

  .story-photo {
    border-color: #999 !important;
    background: #f2f2f2 !important;
    box-shadow: none !important;
  }

  .product-frame figcaption {
    color: #333 !important;
  }

  .product-frame,
  .founder-card,
  .expansion-card,
  .network-flow,
  .reservation-row {
    box-shadow: none !important;
  }

  .tool-card video {
    object-fit: cover;
  }

  .reveal-ready [data-reveal],
  [data-reveal] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
