:root {
  --fondo: #e7eae5;
  --superficie: #fcfdfb;
  --texto: #0c1512;
  --apagado: #5a665f;
  --accion: #0f4a3c;
  --accion-clara: #3fa37f;
  --borde: #d3d9d3;
  --oscuro: #0a0f0d;
  --oscuro-superficie: #121a16;
  --oscuro-texto: #e6ebe7;
  --dorado: #8a6512;
  --azul: #1c5a78;
  --ease: cubic-bezier(.32,.72,0,1);
  --page: min(1400px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { min-width: 0; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-family: "Bricolage Grotesque", Arial, sans-serif; line-height: 1.02; letter-spacing: -.032em; text-wrap: balance; }
p { margin: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-150%); padding: 10px 14px; border-radius: 6px; background: var(--superficie); color: var(--texto); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }

/* Kaza conserva su superficie clara; la navbar mantiene el contraste GT. */
.kaza-page .header { color: #f5f5f7; font-family: "Manrope",sans-serif; line-height: 1.7; }
.kaza-page .navbar.glass { background: rgba(10,11,14,.94); }
.kaza-page .header.is-scrolled .navbar.glass { background: rgba(8,9,12,.97); }
.kaza-page .hero { background: var(--fondo); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  gap: 32px;
  transform: translateX(-50%);
  border: 1px solid rgba(211,217,211,.8);
  border-radius: 20px;
  background: rgba(252,253,251,.82);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 4px 8px rgba(15,74,60,.06);
  transition: min-height .34s var(--ease), background-color .34s var(--ease);
}
.site-header.is-scrolled { min-height: 56px; background: rgba(252,253,251,.94); }
.site-header .brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Bricolage Grotesque", sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { width: 27px; height: 27px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 6px; transform: rotate(-2deg); }
.brand-mark span { width: 10px; height: 10px; border: 2px solid currentColor; border-top: 0; transform: rotate(45deg) translate(-1px,-1px); }
.site-header nav { display: flex; gap: 26px; margin: 0 auto; font-size: 14px; color: var(--apagado); }
.site-header nav a, .text-link { transition: color .2s ease; }
.site-header nav a:hover, .text-link:hover { color: var(--accion); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.gt-return { color: var(--apagado); font-size: 13px; font-weight: 500; transition: color .2s ease; }
.gt-return:hover { color: var(--accion); }
.header-cta { display: grid; place-items: center; min-height: 44px; padding: 0 18px; border-radius: 6px; background: var(--accion); color: var(--superficie); font-size: 14px; font-weight: 600; }


.hero { min-height: 100dvh; width: var(--page); margin: 0 auto; padding: 150px 0 92px; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(380px,.92fr); align-items: center; gap: clamp(40px,7vw,110px); }
.hero-copy { max-width: 760px; }
.status { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--apagado); font-size: 13px; font-weight: 500; }
.status span { width: 8px; height: 8px; border-radius: 50%; background: var(--accion); box-shadow: 0 0 0 5px rgba(15,74,60,.11); }
h1 { max-width: 12.7ch; font-size: clamp(3.35rem,6.4vw,5.85rem); }
.hero-lead { max-width: 62ch; margin-top: 30px; color: #3f4b45; font-size: clamp(1.05rem,1.5vw,1.25rem); line-height: 1.65; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 38px; }
.button { min-height: 50px; padding: 0 19px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; font-weight: 600; transition: transform .15s ease, background-color .2s ease; }
.button:active, .header-cta:active { transform: scale(.98); }
.button-primary { background: var(--accion); color: var(--superficie); }
.button-primary:hover { background: #0a3a2e; }
.release-note { color: var(--apagado); font-size: 13px; }

.hero-product { position: relative; min-height: 670px; display: grid; place-items: center; }
.phone-shell { width: min(100%, 390px); padding: 9px; border-radius: 46px; background: #101613; box-shadow: 0 28px 55px rgba(12,21,18,.2); transform: rotate(2.2deg); transition: transform .7s var(--ease); }
.hero-product:hover .phone-shell { transform: rotate(.2deg) translateY(-6px); }
.phone-top { height: 31px; display: grid; place-items: center; }
.phone-top span { width: 88px; height: 22px; border-radius: 999px; background: #050806; }
.phone-screen { position: relative; min-height: 605px; overflow: hidden; padding: 16px 17px 82px; border-radius: 33px; background: var(--fondo); }
.app-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.app-head div:first-child { display: grid; gap: 2px; }
.app-head small { color: var(--apagado); font-size: 11px; }
.app-head strong { max-width: 12ch; font-family: "Bricolage Grotesque", sans-serif; font-size: 22px; line-height: 1.05; letter-spacing: -.025em; }
.product-demo-note { width: fit-content; margin-top: 12px; padding: 4px 7px; border: 1px solid var(--borde); border-radius: 4px; color: var(--apagado); font: 600 8px/1.2 "IBM Plex Sans",sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.avatar, .pro-avatar { display: grid; place-items: center; flex: 0 0 auto; background: #cddfd6; color: var(--accion); font-weight: 600; }
.avatar { width: 42px; height: 42px; border-radius: 50%; font-size: 12px; }
.search-field { width: 100%; min-height: 46px; margin: 18px 0 12px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--borde); border-radius: 6px; background: var(--superficie); color: var(--apagado); text-align: left; }
.search-icon { width: 14px; height: 14px; border: 1.5px solid var(--accion); border-radius: 50%; position: relative; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.5px; right: -5px; bottom: -2px; background: var(--accion); transform: rotate(45deg); }
.trade-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: 12px; }
.trade-list > div { min-width: 0; padding: 11px 8px; border-radius: 6px; background: var(--superficie); }
.trade-list b, .trade-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trade-list b { margin-top: 8px; font-size: 10px; }
.trade-list small { margin-top: 2px; color: var(--apagado); font-size: 8px; }
.trade-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 4px; background: rgba(15,74,60,.1); color: var(--accion); font-size: 8px; font-weight: 600; }
.app-card { display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid var(--borde); border-radius: 6px; background: var(--superficie); }
.app-card.featured { margin-top: 10px; }
.pro-avatar { width: 47px; height: 47px; border-radius: 11px; font-size: 12px; }
.app-card div:nth-child(2) { min-width: 0; display: grid; }
.app-card strong { font-size: 13px; }
.app-card span { color: var(--apagado); font-size: 10px; }
.app-card small { margin-top: 5px; color: var(--dorado); font-size: 9px; }
.app-card .arrow { margin-left: auto; color: var(--accion); font-size: 24px; }
.app-nav { position: absolute; left: 10px; right: 10px; bottom: 10px; min-height: 60px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(211,217,211,.7); border-radius: 20px; background: rgba(252,253,251,.82); backdrop-filter: blur(13px); color: var(--apagado); font-size: 9px; }
.app-nav .active { color: var(--accion); font-weight: 600; }
.measure { position: absolute; color: var(--apagado); font-size: 9px; letter-spacing: .12em; }
.measure::before, .measure::after { content: ""; position: absolute; background: #9ba59e; }
.measure-top { top: 28px; left: 13%; right: 13%; height: 18px; border-top: 1px solid #9ba59e; text-align: center; }
.measure-top::before, .measure-top::after { top: -4px; width: 1px; height: 8px; }
.measure-top::before { left: 0; }.measure-top::after { right: 0; }
.measure-top span { position: relative; top: -20px; padding: 0 8px; background: var(--fondo); }
.measure-side { right: -3px; top: 23%; bottom: 20%; width: 20px; border-right: 1px solid #9ba59e; }
.measure-side::before, .measure-side::after { right: -4px; width: 8px; height: 1px; }
.measure-side::before { top: 0; }.measure-side::after { bottom: 0; }
.measure-side span { position: absolute; top: 50%; right: -66px; width: 150px; transform: rotate(90deg); text-align: center; background: var(--fondo); }

.promise { padding: clamp(80px,10vw,148px) max(24px,calc((100vw - 1180px)/2)); background: var(--accion); color: var(--superficie); }
.promise > p { margin-bottom: 24px; color: #b9d0c7; font-size: 15px; }
.promise h2 { max-width: 22ch; font-size: clamp(2.7rem,5.5vw,5.2rem); }
.promise-foot { margin-top: clamp(58px,8vw,100px); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(252,253,251,.28); color: #dbe8e2; font-size: 14px; }

.section-wrap { width: min(1180px,calc(100% - 48px)); margin: 0 auto; }
.process { padding: clamp(90px,11vw,160px) 0; display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(55px,10vw,140px); }
.section-intro { position: sticky; top: 130px; align-self: start; }
.section-label { margin-bottom: 22px; color: var(--accion); font-size: 13px; font-weight: 600; }
.section-intro h2 { max-width: 15ch; font-size: clamp(2.4rem,4vw,4rem); }
.section-intro > p:last-child { max-width: 54ch; margin-top: 25px; color: var(--apagado); }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { position: relative; min-height: 160px; padding: 28px 0 30px 76px; display: grid; grid-template-columns: 1fr auto; gap: 30px; border-top: 1px solid #bac2bb; }
.process-list li::before { content: attr(data-step); position: absolute; top: 29px; left: 0; color: var(--accion); font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; }
.process-list h3 { font-size: 28px; }
.process-list p { max-width: 46ch; margin-top: 10px; color: var(--apagado); }
.process-list li > span { align-self: start; padding: 6px 9px; border-radius: 999px; background: #d9ded9; color: #3f4b45; font-size: 10px; white-space: nowrap; }

.privacy { min-height: 760px; display: grid; grid-template-columns: 1fr 1fr; background: var(--oscuro); color: var(--oscuro-texto); }
.privacy-copy { padding: clamp(78px,10vw,145px) clamp(30px,7vw,110px); display: flex; flex-direction: column; justify-content: center; }
.section-label.light { color: var(--accion-clara); }
.privacy h2 { max-width: 13ch; font-size: clamp(2.7rem,5vw,4.9rem); }
.privacy-copy > p:nth-of-type(2) { max-width: 58ch; margin-top: 28px; color: #aab7b0; font-size: 18px; }
.privacy ul { margin: 38px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; color: #d4ddd8; }
.privacy li { display: flex; gap: 12px; }
.privacy li span { color: var(--accion-clara); }
.privacy-demo { position: relative; min-height: 620px; overflow: hidden; display: grid; place-items: center; background: #0d3129; }
.privacy-demo__note { position: absolute; z-index: 1; top: 24px; left: 24px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; color: #b9c9c1; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.blueprint-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(252,253,251,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(252,253,251,.12) 1px,transparent 1px); background-size: 32px 32px; }
.agreement-card { position: relative; width: min(430px,calc(100% - 48px)); padding: 25px; border-radius: 12px; background: var(--superficie); color: var(--texto); box-shadow: 0 8px 0 rgba(0,0,0,.13); transform: rotate(-1.6deg); }
.agreement-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--apagado); font-size: 12px; }
.accepted { padding: 5px 8px; border-radius: 999px; background: #dcebdc; color: #286b26; font-weight: 600; }
.agreement-card h3 { margin: 22px 0 26px; font-size: 27px; }
.agreement-row { padding: 12px 0; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--borde); font-size: 13px; }
.agreement-row span { color: var(--apagado); }
.agreement-row strong { text-align: right; }
.unlocked { margin-top: 18px; padding: 14px; display: flex; gap: 12px; border-radius: 6px; background: #e1ebe6; }
.unlocked div { display: grid; }.unlocked strong { font-size: 13px; }.unlocked small { color: var(--apagado); font-size: 11px; }
.lock { position: relative; width: 20px; height: 16px; margin-top: 8px; border: 2px solid var(--accion); border-radius: 3px; }
.lock::before { content: ""; position: absolute; left: 4px; top: -10px; width: 9px; height: 9px; border: 2px solid var(--accion); border-bottom: 0; border-radius: 7px 7px 0 0; transform: rotate(-24deg); transform-origin: bottom left; }

.audiences { padding: clamp(90px,10vw,150px) 0; }
.audience { display: grid; grid-template-columns: 90px minmax(280px,1fr) minmax(250px,.75fr); gap: clamp(24px,5vw,80px); padding: 54px 0; border-top: 1px solid #bac2bb; }
.audience:last-child { border-bottom: 1px solid #bac2bb; }
.audience-index { font-family: "Bricolage Grotesque", sans-serif; color: var(--accion); font-size: 52px; font-weight: 700; line-height: 1; }
.audience p { margin-bottom: 14px; color: var(--apagado); font-size: 14px; }
.audience h2 { max-width: 17ch; font-size: clamp(2rem,3.5vw,3.4rem); }
.audience ul { margin: 0; padding: 0; list-style: none; align-self: end; }
.audience li { padding: 13px 0; border-top: 1px solid var(--borde); color: #3f4b45; }

.closing { min-height: 720px; padding: 110px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--accion); color: var(--superficie); }
.closing-mark { width: 72px; height: 72px; margin-bottom: 34px; display: grid; place-items: center; border: 3px solid currentColor; border-radius: 12px; transform: rotate(-3deg); }
.closing-mark span { width: 27px; height: 27px; border: 3px solid currentColor; border-top: 0; transform: rotate(45deg) translate(-2px,-2px); }
.closing > p { color: #b9d0c7; }
.closing h2 { max-width: 19ch; margin-top: 22px; font-size: clamp(2.8rem,5.7vw,5.6rem); }
.closing-actions { margin-top: 42px; display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 26px; }
.button-light { background: var(--superficie); color: var(--accion); }
.closing .text-link { color: #dbe8e2; text-decoration: underline; text-underline-offset: 5px; }
footer { min-height: 150px; padding: 36px max(24px,calc((100vw - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 25px; background: var(--oscuro); color: #8d9a93; font-size: 13px; }
.brand-footer { color: var(--oscuro-texto); }
footer a:hover { color: var(--oscuro-texto); }

@media (max-width: 900px) {
  :root { --page: min(100% - 32px, 680px); }
  .site-header nav { display: none; }
  .site-header { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-product { min-height: 650px; }
  .process { grid-template-columns: 1fr; }
  .section-intro { position: static; }
  .section-intro h2 { max-width: 18ch; }
  .privacy { grid-template-columns: 1fr; }
  .privacy-demo { min-height: 600px; }
  .audience { grid-template-columns: 60px 1fr; }
  .audience ul { grid-column: 2; }
}

@media (max-width: 600px) {
  .site-header { top: 8px; width: calc(100% - 16px); padding-left: 13px; }
  .header-cta { min-height: 42px; padding: 0 13px; }
  .site-header .brand { font-size: 19px; }.brand-mark { width: 25px; height: 25px; }
  .hero { width: calc(100% - 32px); padding: 120px 0 70px; gap: 45px; }
  h1 { font-size: clamp(3.15rem,15vw,4.7rem); }
  .hero-lead { margin-top: 23px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-product { min-height: 580px; }
  .gt-return { display: none; }
  .phone-shell { width: min(330px,100%); border-radius: 39px; }
  .phone-screen { min-height: 535px; border-radius: 29px; }
  .measure-side { display: none; }
  .promise { padding: 80px 24px; }
  .promise h2 { font-size: 2.8rem; }
  .promise-foot { flex-direction: column; }
  .section-wrap { width: calc(100% - 32px); }
  .process { padding: 90px 0; }
  .process-list li { padding-left: 52px; grid-template-columns: 1fr; gap: 16px; }
  .process-list li > span { justify-self: start; }
  .privacy-copy { padding: 80px 24px; }
  .privacy-demo { min-height: 520px; }
  .audience { grid-template-columns: 42px 1fr; gap: 18px; padding: 42px 0; }
  .audience-index { font-size: 36px; }
  .audience ul { grid-column: 1 / -1; }
  .closing { min-height: 670px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .phone-shell { transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .app-nav { background: var(--superficie); backdrop-filter: none; }
}
