:root {
  --bg: #050505;
  --fg: #f7f7f2;
  --muted: #a7a7a0;
  --soft: #1a1a18;
  --line: rgba(247, 247, 242, 0.12);
  --accent: #d7ff5f;
  --max: 1180px;
  --header-offset: 96px;
  --panel-min-height: calc(100svh - var(--header-offset));
  --panel-pad-y: 54px;
  --gap: 16px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  scroll-snap-type: y proximity;
  width: 100%;
}

body {
  margin: 0;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fg);
  background:
    radial-gradient(circle at 75% 15%, rgba(215, 255, 95, 0.09), transparent 28rem),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

.page-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
}

.brand, .nav-links, .header-cta, .language-switcher { font-size: 14px; font-weight: 600; }
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
}
.brand-mark {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 30px rgba(215, 255, 95, 0.5);
}
.nav-links { display: flex; gap: 26px; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 10px;
  min-width: 0;
}
.language-switcher {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  min-height: 40px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}
.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 999px;
}
.language-switcher a:hover {
  color: var(--fg);
}
.language-switcher a.active {
  background: rgba(247, 247, 242, 0.1);
  color: var(--fg);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  white-space: nowrap;
}
.header-cta-short { display: none; }

main {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

section {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--header-offset);
}

.snap-panel, .snap-group {
  min-height: var(--panel-min-height);
  padding: var(--panel-pad-y) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.split-panel {
  scroll-margin-top: var(--header-offset);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 1120px;
  margin-bottom: 24px;
  font-size: 112px;
  line-height: 0.92;
  letter-spacing: 0;
}
html[lang="es"] h1,
html[lang="fr"] h1,
html[lang="pt"] h1 {
  font-size: 100px;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 38px;
}
.hero-content {
  min-width: 0;
}
.hero h1 {
  max-width: 660px;
  font-size: 68px;
  line-height: 0.95;
}
html[lang="es"] .hero h1,
html[lang="fr"] .hero h1,
html[lang="pt"] .hero h1 {
  font-size: 62px;
}
.hero-copy {
  max-width: 690px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
}
.hero .hero-copy {
  max-width: 580px;
  font-size: 20px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}
.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}
.primary-button { background: var(--fg); color: var(--bg); }
.secondary-button { border: 1px solid var(--line); color: var(--fg); }
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }

.hero-demo {
  min-width: 0;
}
.demo-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(247, 247, 242, 0.16);
  border-radius: 8px;
  background: #080808;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}
.demo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.28), transparent 34%, rgba(5, 5, 5, 0.52)),
    radial-gradient(circle at 78% 18%, rgba(215, 255, 95, 0.12), transparent 18rem);
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.demo-overlay {
  position: absolute;
  inset: 14px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.demo-badge {
  align-self: flex-start;
  padding: 8px 11px;
  border: 1px solid rgba(247, 247, 242, 0.22);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.58);
  color: var(--fg);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(14px);
}
.demo-states {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.demo-states span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(247, 247, 242, 0.18);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.62);
  color: var(--fg);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(14px);
}
.demo-states span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(215, 255, 95, 0.58);
}

.statement h2, .benefits h2, .closing h2, .section-heading h2 {
  max-width: 900px;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}
.section-heading {
  margin-bottom: 30px;
}

.statement-grid, .steps, .benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: var(--gap);
}
.statement-grid {
  margin-top: 34px;
}
.statement-grid p, .steps article, .use-list div, .benefit-grid p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}
.statement-grid p {
  min-height: 132px;
  padding: 22px;
  display: flex;
  align-items: end;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
}

.steps article {
  min-height: 218px;
  padding: 22px;
}
.steps span {
  display: block;
  margin-bottom: 46px;
  color: var(--accent);
  font-weight: 800;
}
.steps h3 {
  font-size: 24px;
  letter-spacing: 0;
}
.steps p, .use-list span, .benefit-grid p, .closing p {
  color: var(--muted);
  line-height: 1.45;
}

.use-cases {
  gap: 8px;
}
.use-panel + .use-panel {
  margin-top: 8px;
}
.use-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.use-list div {
  display: grid;
  gap: 6px;
  min-height: 64px;
  padding: 14px 18px;
}
.use-list strong {
  font-size: 18px;
  letter-spacing: 0;
}
.use-list span {
  font-size: 15px;
}

.benefit-grid {
  margin-top: 34px;
}
.benefit-grid p {
  min-height: 148px;
  padding: 22px;
  font-size: 18px;
}

.closing {
  align-items: flex-start;
}
.closing p {
  margin-bottom: 28px;
  font-size: 30px;
  letter-spacing: 0;
}
.site-footer {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 0 12px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.locale-entry-shell .hero {
  border-bottom: 0;
}

.section-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.section-reveal.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1280px) and (min-height: 820px) {
  :root { --panel-pad-y: 54px; }
  h1 { font-size: 124px; }
  html[lang="es"] h1,
  html[lang="fr"] h1,
  html[lang="pt"] h1 {
    font-size: 104px;
  }
  .hero h1 { font-size: 72px; }
  html[lang="es"] .hero h1,
  html[lang="fr"] .hero h1,
  html[lang="pt"] .hero h1 {
    font-size: 64px;
  }
  .hero-copy { font-size: 28px; }
  .hero .hero-copy { font-size: 21px; }
  .statement h2, .benefits h2, .closing h2, .section-heading h2 { font-size: 76px; }
  .statement-grid p { min-height: 168px; font-size: 36px; }
  .steps article { min-height: 260px; padding: 26px; }
  .steps span { margin-bottom: 70px; }
  .benefit-grid p { min-height: 178px; font-size: 20px; }
  .closing p { font-size: 36px; }
}

@media (max-width: 1120px) {
  :root { --panel-pad-y: 52px; }
  .page-shell { padding: 22px; }
  .hero-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 28px;
  }
  h1 { font-size: 88px; }
  html[lang="es"] h1,
  html[lang="fr"] h1,
  html[lang="pt"] h1 {
    font-size: 82px;
  }
  .hero h1 { font-size: 50px; }
  html[lang="es"] .hero h1,
  html[lang="fr"] .hero h1,
  html[lang="pt"] .hero h1 {
    font-size: 46px;
  }
  .hero-copy { font-size: 22px; }
  .hero .hero-copy { font-size: 18px; }
  .statement h2, .benefits h2, .closing h2, .section-heading h2 { font-size: 52px; }
  .statement-grid p { font-size: 28px; }
  .use-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px), (max-height: 800px) {
  .snap-group {
    min-height: 0;
    padding: 0;
    display: block;
    border-bottom: 0;
    scroll-snap-align: none;
  }
  .snap-group > .split-panel, .snap-group .steps > .split-panel {
    min-height: var(--panel-min-height);
    padding: var(--panel-pad-y) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    border-bottom: 1px solid var(--line);
  }
  .how .steps {
    display: block;
  }
  .how .steps article {
    min-height: var(--panel-min-height);
  }
  .how-intro .section-heading {
    margin-bottom: 0;
  }
  .use-panel + .use-panel {
    margin-top: 0;
  }
  .use-list {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 800px) and (min-width: 901px) {
  :root { --panel-pad-y: 34px; }
  .hero-layout { gap: 24px; }
  h1 { font-size: 96px; }
  .hero h1 { font-size: 52px; }
  html[lang="es"] .hero h1,
  html[lang="fr"] .hero h1,
  html[lang="pt"] .hero h1 {
    font-size: 46px;
  }
  .hero-copy { font-size: 22px; }
  .hero .hero-copy { font-size: 18px; }
  .statement h2, .benefits h2, .closing h2, .section-heading h2 { font-size: 50px; }
  .section-heading { margin-bottom: 24px; }
  .statement-grid { margin-top: 28px; }
  .statement-grid p { min-height: 112px; font-size: 26px; }
  .steps article { padding: 20px; }
  .steps span { margin-bottom: 38px; }
  .benefit-grid { margin-top: 28px; }
  .benefit-grid p { min-height: 126px; }
  .closing p { font-size: 28px; }
}

@media (max-width: 900px) {
  :root {
    --header-offset: 82px;
    --panel-pad-y: 46px;
  }
  .page-shell { padding: 18px; }
  .site-header { top: 12px; gap: 12px; }
  .nav-links { display: none; }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  h1 { font-size: 68px; line-height: 0.95; }
  html[lang="es"] h1,
  html[lang="fr"] h1,
  html[lang="pt"] h1 {
    font-size: 62px;
  }
  .hero h1 { font-size: 46px; }
  html[lang="es"] .hero h1,
  html[lang="fr"] .hero h1,
  html[lang="pt"] .hero h1 {
    font-size: 42px;
  }
  .hero-copy { max-width: 620px; font-size: 21px; }
  .hero .hero-copy { font-size: 18px; }
  .statement h2, .benefits h2, .closing h2, .section-heading h2 { font-size: 44px; }
  .statement-grid, .steps, .benefit-grid { gap: 14px; }
  .statement-grid p, .benefit-grid p { min-height: 132px; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 640px) {
  :root {
    --header-offset: 76px;
    --panel-pad-y: 38px;
  }
  .page-shell { padding: 16px; }
  .site-header {
    top: 10px;
    padding: 10px 12px;
  }
  .header-actions { gap: 8px; }
  .language-switcher {
    min-height: 38px;
    font-size: 12px;
  }
  .language-switcher a {
    min-width: 28px;
    min-height: 30px;
    padding: 0 6px;
  }
  .eyebrow {
    margin-bottom: 16px;
    font-size: 12px;
  }
  h1 {
    margin-bottom: 20px;
    font-size: 50px;
    line-height: 0.98;
  }
  html[lang="es"] h1,
  html[lang="fr"] h1,
  html[lang="pt"] h1 {
    font-size: 46px;
  }
  .hero-layout { gap: 22px; }
  .hero h1 { font-size: 38px; }
  html[lang="es"] .hero h1,
  html[lang="fr"] .hero h1,
  html[lang="pt"] .hero h1 {
    font-size: 35px;
  }
  .hero-copy {
    font-size: 19px;
    line-height: 1.35;
  }
  .hero .hero-copy { font-size: 17px; }
  .demo-overlay { inset: 10px; }
  .demo-badge {
    padding: 7px 9px;
    font-size: 11px;
  }
  .demo-states { gap: 6px; }
  .demo-states span {
    min-height: 28px;
    padding: 0 8px;
    font-size: 11px;
  }
  .statement h2, .benefits h2, .closing h2, .section-heading h2 {
    font-size: 36px;
    line-height: 1.08;
  }
  .section-heading { margin-bottom: 26px; }
  .statement-grid { margin-top: 26px; }
  .statement-grid p {
    min-height: 94px;
    padding: 18px;
    font-size: 25px;
  }
  .steps article, .benefit-grid p {
    padding: 20px;
  }
  .steps span { margin-bottom: 34px; }
  .steps h3 { font-size: 22px; }
  .use-list div {
    min-height: 0;
    padding: 13px 16px;
  }
  .use-list strong { font-size: 17px; }
  .use-list span { font-size: 15px; }
  .benefit-grid { margin-top: 28px; }
  .benefit-grid p {
    min-height: 104px;
    font-size: 17px;
  }
  .closing p {
    margin-bottom: 26px;
    font-size: 26px;
    line-height: 1.22;
  }
}

@media (max-width: 480px) {
  .page-shell { padding: 14px; }
  .brand, .nav-links, .header-cta { font-size: 13px; }
  .brand { gap: 8px; }
  .header-actions { gap: 6px; }
  .language-switcher {
    min-height: 36px;
    font-size: 11px;
  }
  .language-switcher a {
    min-width: 24px;
    min-height: 28px;
    padding: 0 5px;
  }
  .header-cta {
    min-height: 38px;
    padding: 8px 12px;
  }
  .header-cta-full { display: none; }
  .header-cta-short { display: inline; }
  h1 { font-size: 38px; }
  html[lang="es"] h1,
  html[lang="fr"] h1,
  html[lang="pt"] h1 {
    font-size: 36px;
  }
  .hero h1 { font-size: 31px; }
  html[lang="es"] .hero h1,
  html[lang="fr"] .hero h1,
  html[lang="pt"] .hero h1 {
    font-size: 30px;
  }
  .hero-copy { font-size: 18px; }
  .hero .hero-copy { font-size: 16px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .demo-badge { display: none; }
  .primary-button, .secondary-button {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
  }
  .statement h2, .benefits h2, .closing h2, .section-heading h2 { font-size: 34px; }
  .statement-grid p { font-size: 24px; }
  .site-footer { gap: 12px; }
}

@media (max-width: 360px) {
  :root { --panel-pad-y: 34px; }
  .page-shell { padding: 12px; }
  .site-header { padding: 9px 10px; }
  .site-header { gap: 8px; }
  .brand, .header-cta { font-size: 12px; }
  .language-switcher {
    min-height: 34px;
    font-size: 10px;
  }
  .language-switcher a {
    min-width: 22px;
    min-height: 26px;
    padding: 0 4px;
  }
  .brand-mark {
    width: 10px;
    height: 10px;
  }
  h1 { font-size: 34px; }
  html[lang="es"] h1,
  html[lang="fr"] h1,
  html[lang="pt"] h1 {
    font-size: 32px;
  }
  .hero h1 { font-size: 28px; }
  html[lang="es"] .hero h1,
  html[lang="fr"] .hero h1,
  html[lang="pt"] .hero h1 {
    font-size: 27px;
  }
  .hero-layout { gap: 18px; }
  .hero .hero-copy { font-size: 15px; }
  .demo-overlay { inset: 8px; }
  .demo-states span {
    min-height: 24px;
    padding: 0 7px;
    font-size: 10px;
  }
  .demo-states span::before {
    width: 6px;
    height: 6px;
    margin-right: 5px;
  }
  .statement h2, .benefits h2, .closing h2, .section-heading h2 { font-size: 30px; }
  .statement-grid p { font-size: 22px; }
  .closing p { font-size: 23px; }
  .benefit-grid {
    gap: 10px;
    margin-top: 18px;
  }
  .benefit-grid p {
    min-height: 0;
    padding: 14px;
    font-size: 15px;
    line-height: 1.32;
  }
}

@media (max-height: 620px) {
  html {
    scroll-snap-type: none;
  }
  .snap-panel, .snap-group, .snap-group > .split-panel, .snap-group .steps > .split-panel {
    min-height: auto;
    scroll-snap-align: none;
  }
  .snap-panel, .snap-group > .split-panel, .snap-group .steps > .split-panel {
    padding-top: 38px;
    padding-bottom: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .section-reveal, .section-reveal.visible { opacity: 1; transform: none; }
}
