/* Landing V2 RC: styles are constrained to the approved marketing root,
   so the PWA, owner dashboard, auth screens and legal pages remain unaffected. */
/* The "Cómo funciona" anchor scrolls smoothly on the public landing only.
   Native anchors still work with JS disabled; reduced-motion remains instant. */
@media (prefers-reduced-motion: no-preference) {
  html:has([data-sa-marketing-v2]) {
    scroll-behavior: smooth;
  }
}

@font-face {
  font-family: Jakarta;
  src: url("/fonts/plus-jakarta-sans/PlusJakartaSans-700.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter/Inter-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}


@scope ([data-sa-marketing-v2]) {
:scope {
  --jade: #176d53;
  --ink: #161918;
  --paper: #fcfbf8;
  --muted: #66706d;
  --line: #ece9e2;
  --desktop-header-height: 84px;
}
* {
  box-sizing: border-box;
}

:scope {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}
img {
  display: block;
  max-width: 100%;
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
.site-header {
  height: var(--desktop-header-height);
  display: flex;
  align-items: center;
}
.brand-symbol-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-symbol {
  display: block;
  width: 52px;
  height: auto;
}
.site-header {
  justify-content: space-between;
  gap: 16px;
}
/* The landing brand is now the standalone SA symbol, not a wordmark image. */
.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
}
.top-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.top-nav a:hover { color: var(--jade); }
.top-nav .nav-primary {
  border-radius: 999px;
  padding: 8px 19px;
  background: var(--jade);
  color: #fff;
}
.top-nav .nav-primary:hover { color: #fff; background: #115541; }


.hero {
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.07em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--jade);
}
.hero p {
  margin: 28px auto 0;
  max-width: 640px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 34px;
}
.hero-actions a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.hero-action-main {
  padding: 12px 24px;
  background: var(--jade);
  color: #fff;
}
.hero-action-main:hover { background: #115541; }
.hero-action-secondary { color: var(--jade); padding: 12px 8px; }
.hero-action-secondary:hover { text-decoration: underline; }

@media (width > 900px) {
  .hero {
    min-height: calc(100vh - var(--desktop-header-height));
    min-height: calc(100dvh - var(--desktop-header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
  }
}

.showcase {
  padding: 48px 0 56px;
}
.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.section-intro h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 800;
}
.section-intro p {
  margin: 14px auto 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.stage {
  position: relative;
  max-width: 1060px;
  margin: 30px auto 0;
  padding: 26px 0 38px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.phone-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.phone-col--left {
  width: 264px;
  order: -1;
  transform: translate(38px, 22px) rotate(-7deg);
  z-index: 1;
}
.phone-col--center {
  width: 298px;
  z-index: 3;
}
.phone-col--right {
  width: 246px;
  transform: translate(-38px, 24px) rotate(7deg);
  z-index: 2;
}

.device-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c6661;
}

.device {
  /* The transparent shadow extends beyond the existing phone column. */
  width: calc(100% + 18px);
  max-width: none;
  height: auto;
}
.carousel-nav {
  display: none;
}
.showcase-note {
  max-width: 440px;
  margin: 10px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}

/* Editorial value: useful copy with no cards or decorative imagery. */
.value-section {
  padding: clamp(84px, 9vw, 136px) 0 clamp(92px, 10vw, 148px);
  border-top: 1px solid var(--line);
  background: #f5f6f2;
}
.value-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  align-items: end;
  gap: clamp(36px, 6vw, 100px);
}
.value-eyebrow {
  margin: 0 0 22px;
  color: var(--jade);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.value-intro h2 {
  max-width: 710px;
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.09;
  letter-spacing: -0.065em;
  font-weight: 800;
  text-wrap: balance;
}
.value-summary {
  max-width: 470px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
}
.value-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 68px);
  margin-top: clamp(56px, 7vw, 100px);
}
.value-step {
  min-width: 0;
  padding-top: 20px;
  border-top: 1px solid #ccd4cb;
}
.value-step-number {
  color: var(--jade);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
}
.value-step h3 {
  margin: 19px 0 12px;
  font-size: clamp(26px, 2.5vw, 32px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.value-step p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* Fourth section — local owners, connected to the existing Pilot 0 form. */
.merchant-section {
  padding: clamp(88px, 10vw, 156px) 0;
  background: #134d3d;
  color: #fff;
}
.merchant-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(48px, 8vw, 136px);
}
.merchant-eyebrow {
  margin: 0 0 24px;
  color: #c4e5d7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.merchant-heading h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(60px, 7.5vw, 112px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.075em;
  text-wrap: balance;
}
.merchant-content {
  max-width: 480px;
}
.merchant-summary {
  margin: 0;
  color: #f3f8f5;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.65;
}
.merchant-pilot {
  margin: 22px 0 0;
  color: #d6e8e0;
  font-size: 15px;
  line-height: 1.6;
}
.merchant-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 52px;
  max-width: 100%;
  margin-top: 34px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #fff;
  color: #134d3d;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  transition: background-color 150ms ease, transform 150ms ease;
}
.merchant-cta:hover {
  background: #e8f2eb;
  transform: translateY(-2px);
}
.merchant-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.merchant-cta span {
  font-size: 20px;
  line-height: 1;
}
.merchant-note {
  margin: 14px 0 0;
  color: #c4e5d7;
  font-size: 12px;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}
.footer-nav a:hover { color: var(--jade); text-decoration-color: currentColor; }

.footnote {
  margin: 0;
  max-width: 540px;
  line-height: 1.6;
  font-size: 12px;
  color: #5c6661;
}

@media (max-width: 1020px) {
  .phone-col--left {
    width: 240px;
    transform: translate(22px, 18px) rotate(-6deg);
  }
  .phone-col--center {
    width: 282px;
  }
  .phone-col--right {
    width: 224px;
    transform: translate(-22px, 22px) rotate(6deg);
  }
}

@media (max-width: 900px) {
  .merchant-section {
    padding: 86px 0;
  }
  .merchant-layout {
    gap: 40px;
  }
  .merchant-heading h2 {
    font-size: clamp(56px, 8vw, 80px);
  }
  .value-section {
    padding: 76px 0 86px;
  }
  .value-intro {
    gap: 28px;
  }
  .value-steps {
    gap: 24px;
    margin-top: 58px;
  }
  .wrap {
    padding: 0 20px;
  }
  .site-header {
    height: 72px;
  }
  .top-nav a { font-size: 13px; }
  .top-nav .nav-primary { padding-inline: 14px; }
  .hero-actions { margin-top: 28px; }
  .brand-symbol { width: 44px; }
  /* Mobile hero uses the available screen below the 72px header.
     svh stays stable when browser controls expand/collapse, while min-height
     allows short devices and large-text settings to grow without clipping. */
  .hero {
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(36px, 7svh, 72px) 0;
  }
  .hero p {
    margin-top: 20px;
    font-size: 18px;
  }
  .showcase {
    padding: 56px 0 58px;
  }
  .section-intro p {
    font-size: 16px;
  }
  .stage {
    margin-top: 28px;
    padding: 16px 0 26px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    justify-content: start;
    align-items: start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--jade) var(--line);
  }
  .phone-col--left,
  .phone-col--center,
  .phone-col--right {
    transform: none;
    order: initial;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    width: auto;
    min-width: 0;
  }
  .device {
    width: min(calc(100% - 6px), 326px);
  }
  .device-label {
    font-size: 11px;
  }
  .carousel-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 16px;
  }
  .carousel-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 14px;
    color: var(--jade);
    border: 1px solid var(--line);
    border-radius: 999px;
    text-underline-offset: 4px;
    font-size: 14px;
  }
  .carousel-nav a:hover {
    background: var(--line);
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.stage:focus-visible,
.phone-col:focus-visible,
.carousel-nav a:focus-visible,
.top-nav a:focus-visible,
.hero-actions a:focus-visible,
.footer-nav a:focus-visible,
.site-header .brand-symbol-link:focus-visible,
.site-footer .brand-symbol-link:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: -2px;
}

h1,
h2 {
  font-family: Jakarta, system-ui, sans-serif;
}
figure {
  margin: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  padding: 12px;
  background: white;
  color: #161918;
  z-index: 10;
}
.skip:focus {
  top: 8px;
  outline: 3px solid #176d53;
}
@media (max-width: 620px) {
  .site-header { padding-inline: 16px; }
  .top-nav { gap: 12px; }
  .top-nav a { font-size: 12px; }
  .top-nav .nav-primary { padding-inline: 13px; }
  .hero-actions { gap: 8px 14px; }
  .hero-action-main { padding-inline: 20px; }
  .merchant-section {
    padding: 76px 0 86px;
  }
  .merchant-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .merchant-eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
  }
  .merchant-heading h2 {
    font-size: clamp(56px, 13vw, 78px);
  }
  .merchant-summary {
    font-size: 18px;
  }
  .merchant-cta {
    margin-top: 28px;
  }
  .value-section {
    padding: 68px 0 76px;
  }
  .value-intro {
    display: block;
  }
  .value-eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
  }
  .value-intro h2 {
    font-size: clamp(36px, 9vw, 52px);
  }
  .value-summary {
    max-width: 37ch;
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.7;
  }
  .value-steps {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 52px;
  }
  .value-step {
    padding-top: 16px;
  }
  .value-step h3 {
    margin-top: 15px;
  }
  .value-step p {
    max-width: 35ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .merchant-cta {
    transition: none;
  }
  .merchant-cta:hover {
    transform: none;
  }
  :scope {
    scroll-behavior: auto;
  }
}

}
