:root {
  color-scheme: light;
  --ink: #0d3b31;
  --ink-strong: #082d26;
  --muted: #647c74;
  --forest: #0f5a45;
  --forest-deep: #063e32;
  --leaf: #b7e79d;
  --mint: #e1f1e3;
  --mint-pale: #f2f7f2;
  --ivory: #fbfcf7;
  --paper: #ffffff;
  --peach: #fff0e3;
  --line: #d5e2da;
  --shadow: 0 28px 80px rgba(9, 62, 49, 0.15);
  --shadow-soft: 0 18px 50px rgba(9, 62, 49, 0.09);
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", sans-serif;
  line-height: 1.5;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.shell {
  margin-inline: auto;
  width: min(var(--max), calc(100% - 48px));
}

.skip-link {
  left: 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-180%);
  z-index: 100;
  border-radius: 8px;
  background: var(--ink-strong);
  color: white;
  padding: 0.75rem 1rem;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(15, 90, 69, 0.12);
  background: rgba(251, 252, 247, 0.9);
  backdrop-filter: blur(20px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  min-height: 82px;
}

.brand {
  flex: 0 0 auto;
  width: clamp(190px, 18vw, 248px);
}

.brand img {
  aspect-ratio: 3000 / 820;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a,
.site-footer a,
.support-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  padding: 0.6rem 0.78rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"],
.site-footer a:hover,
.support-nav a:hover,
.support-nav a[aria-current="page"] {
  background: var(--mint);
  color: var(--ink-strong);
}

.nav-status {
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.55rem 0.8rem;
  white-space: nowrap;
}

.hero {
  align-items: start;
  display: grid;
  gap: clamp(2.5rem, 4.5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.04fr) minmax(470px, 0.96fr);
  min-height: calc(100vh - 82px);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hero-copy { min-width: 0; }

.product-lockup {
  align-items: center;
  display: flex;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.product-lockup img {
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(6, 62, 50, 0.18);
  width: 68px;
}

.product-lockup strong,
.product-lockup span { display: block; }
.product-lockup strong { font-size: 1.28rem; line-height: 1.15; }
.product-lockup span { color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }

.eyebrow {
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

h1 {
  color: var(--ink-strong);
  font-size: clamp(3.3rem, 5vw, 4.15rem);
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  color: var(--ink-strong);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-bottom: 1.25rem;
}

h3 {
  color: var(--ink-strong);
  font-size: 1.15rem;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

p { color: var(--muted); font-size: 1.04rem; }

.hero-lede {
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  max-width: 620px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 2.4rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 14px;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 820;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.15rem;
  text-decoration: none;
}

.button.primary {
  background: var(--forest);
  box-shadow: 0 14px 28px rgba(15, 90, 69, 0.2);
  color: white;
}

.button.secondary {
  border-color: rgba(15, 90, 69, 0.36);
  background: rgba(255, 255, 255, 0.66);
  color: var(--forest);
}

a.button:hover,
a.button:focus-visible { transform: translateY(-2px); }

.trust-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-list li {
  border-left: 2px solid var(--leaf);
  padding-left: 0.75rem;
}

.trust-list strong,
.trust-list span { display: block; }
.trust-list strong { font-size: 0.86rem; }
.trust-list span { color: var(--muted); font-size: 0.75rem; margin-top: 0.1rem; }

.hero-visual {
  min-height: 680px;
  position: relative;
}

.hero-visual::before {
  background: #e5f1e4;
  border-radius: 50%;
  content: "";
  filter: blur(2px);
  height: 540px;
  position: absolute;
  right: -14%;
  top: 8%;
  width: 540px;
}

.keyhole {
  background: rgba(183, 231, 157, 0.28);
  border-radius: 50% 50% 20% 20%;
  height: 340px;
  position: absolute;
  right: 22%;
  top: 2%;
  width: 215px;
}

.keyhole::after {
  background: rgba(183, 231, 157, 0.28);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  content: "";
  height: 280px;
  left: -44px;
  position: absolute;
  top: 170px;
  width: 303px;
}

.phone-frame {
  background: white;
  border: 7px solid #10231f;
  border-radius: 40px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
  position: absolute;
}

.phone-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.phone-main {
  aspect-ratio: 1242 / 2688;
  height: 620px;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  z-index: 3;
}

.phone-back {
  aspect-ratio: 1242 / 2688;
  height: 470px;
  opacity: 0.9;
  top: 120px;
  z-index: 2;
}

.phone-generator { left: 1%; transform: rotate(-7deg); }
.phone-history { right: 0; transform: rotate(7deg); }

.feature-section {
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding-block: clamp(5rem, 9vw, 8rem);
}

.feature-layout {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
}

.section-copy > p:not(.eyebrow) { max-width: 630px; }

.feature-list { margin-top: 2.6rem; }

.feature-list article {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 46px 1fr;
  padding: 1.15rem 0;
}

.feature-list article:last-child { border-bottom: 1px solid var(--line); }
.feature-list p { font-size: 0.94rem; margin-bottom: 0; }

.feature-number {
  align-items: center;
  background: var(--mint);
  border-radius: 50%;
  color: var(--forest);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 850;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.feature-composition {
  min-height: 720px;
  position: relative;
}

.feature-composition::before {
  background: radial-gradient(circle at 45% 44%, #e6f5e8 0, var(--mint-pale) 56%, rgba(239, 247, 239, 0) 72%);
  content: "";
  inset: 1rem -1rem;
  position: absolute;
}

.feature-phone {
  background: white;
  border: 6px solid var(--ink-strong);
  border-radius: 38px;
  box-shadow: 0 30px 70px rgba(13, 61, 50, 0.19);
  margin: 0;
  overflow: hidden;
  position: absolute;
}

.feature-phone img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.feature-phone-primary {
  height: 650px;
  left: 7%;
  top: 0;
  width: 300px;
  z-index: 2;
}

.feature-phone-secondary {
  bottom: 5px;
  height: 520px;
  right: 1%;
  transform: rotate(4deg);
  width: 240px;
  z-index: 1;
}

.feature-callout {
  background: var(--forest-deep);
  bottom: 60px;
  box-shadow: var(--shadow);
  color: white;
  max-width: 245px;
  padding: 1rem 1.2rem 1.1rem;
  position: absolute;
  right: 6%;
  z-index: 3;
}

.feature-callout span,
.feature-callout strong { display: block; }
.feature-callout span {
  color: #bde88e;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}
.feature-callout strong { font-size: 1.05rem; line-height: 1.25; }

.preview-section { padding-block: clamp(5rem, 9vw, 8rem); }

.section-heading {
  align-items: end;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.section-heading > p { max-width: 410px; }

.screen-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.75rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.screen-grid article { min-width: 0; text-align: center; }

.screen-frame {
  aspect-ratio: 1242 / 2688;
  background: white;
  border: 5px solid var(--ink-strong);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  margin: 0 0 1.25rem;
  overflow: hidden;
}

.screen-frame img { height: 100%; object-fit: cover; object-position: top; width: 100%; }
.screen-grid span { color: var(--ink-strong); display: block; font-size: 0.98rem; font-weight: 850; }
.screen-grid p { font-size: 0.84rem; margin: 0.3rem auto 0; max-width: 230px; }

.privacy-band {
  background: var(--forest-deep);
  color: white;
  overflow: hidden;
  position: relative;
}

.privacy-band::after {
  border: 1px solid rgba(183, 231, 157, 0.16);
  border-radius: 50%;
  content: "";
  height: 520px;
  position: absolute;
  right: -70px;
  top: -220px;
  width: 520px;
}

.privacy-layout {
  align-items: center;
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr auto;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  position: relative;
  z-index: 1;
}

.privacy-layout > div { max-width: 760px; }
.privacy-layout .eyebrow { color: var(--leaf); }
.privacy-layout h2 { color: white; }
.privacy-layout p { color: #c3d8cf; font-size: 1.1rem; }
.privacy-layout img { border-radius: 28%; box-shadow: 0 24px 60px rgba(0,0,0,0.28); width: clamp(150px, 18vw, 220px); }

.text-link { color: var(--leaf); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.support-section {
  align-items: center;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  padding-block: 4rem;
}

.support-section h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.support-section p { margin-bottom: 0; }

.disclaimer {
  border-top: 1px solid var(--line);
  padding-block: 2rem 3rem;
}

.disclaimer p { font-size: 0.8rem; margin: 0; max-width: 880px; }

.site-footer { border-top: 1px solid var(--line); background: white; }

.footer-inner {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto 1fr;
  min-height: 110px;
}

.footer-inner > div strong,
.footer-inner > div span { display: block; }
.footer-inner > div span,
.footer-inner > span { color: var(--muted); font-size: 0.82rem; }
.footer-inner nav { display: flex; gap: 0.3rem; }
.footer-inner > span { justify-self: end; }

/* Support and privacy pages */
.compact-header .nav { min-height: 76px; }
.support-brand { align-items: center; display: flex; gap: 0.7rem; text-decoration: none; }
.support-brand img { border-radius: 12px; width: 46px; }
.support-brand strong { font-size: 1.1rem; }
.support-nav { display: flex; gap: 0.25rem; }

.page-hero {
  display: grid;
  gap: 2rem;
  grid-template-columns: 108px 1fr;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.page-hero img { border-radius: 26px; box-shadow: var(--shadow-soft); }
.page-hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.4rem); max-width: 920px; }
.page-hero p:not(.eyebrow) { font-size: 1.2rem; max-width: 760px; }

.content-band { border-block: 1px solid var(--line); background: white; padding-block: clamp(4rem, 7vw, 6rem); }
.text-shell { margin-inline: auto; max-width: 780px; width: calc(100% - 48px); }
.text-shell h2 { font-size: clamp(2rem, 4vw, 3rem); }
.faq-list { display: grid; gap: 0.85rem; margin-top: 2rem; }
.faq-list details { border: 1px solid var(--line); background: var(--mint-pale); padding: 1.25rem 1.4rem; }
.faq-list summary { cursor: pointer; font-weight: 820; }
.faq-list p { font-size: 0.95rem; margin: 0.85rem 0 0; }

.contact-card,
.privacy-card,
.english-card {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto;
  padding-block: 4rem;
}

.contact-card h2,
.privacy-card h2,
.english-card h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.contact-card p,
.privacy-card p,
.english-card p { max-width: 720px; }

.policy-header { padding-block: clamp(4rem, 8vw, 7rem) 3rem; }
.policy-header h1 { font-size: clamp(2.8rem, 6.5vw, 5.4rem); }
.policy-body { padding-block: 1rem 4rem; }
.policy-body section { border-top: 1px solid var(--line); padding-block: 2.25rem; }
.policy-body h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.policy-body p { margin-bottom: 0; }
.english-policy { border: 1px solid var(--line); background: white; margin-bottom: 5rem; padding: 2rem; }
.english-policy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { margin-inline: auto; width: min(100%, 690px); }
  .feature-layout { grid-template-columns: 1fr; }
  .section-copy { max-width: 760px; }
  .feature-composition { margin-inline: auto; width: min(100%, 650px); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, var(--max)); }
  .nav { min-height: 72px; }
  .brand { width: 175px; }
  .nav-links a:first-child, .nav-status { display: none; }
  .nav-links a { font-size: 0.84rem; padding-inline: 0.58rem; }
  .hero { min-height: 0; padding-top: 3.5rem; }
  .product-lockup { margin-bottom: 1.5rem; }
  h1 { font-size: clamp(3rem, 12.5vw, 4.4rem); }
  .hero h1 span { white-space: normal; }
  .trust-list { gap: 0.65rem; }
  .trust-list span { display: none; }
  .hero-visual { min-height: 500px; }
  .hero-visual::before { height: 400px; right: -10%; width: 400px; }
  .phone-main { height: 455px; }
  .phone-back { height: 330px; top: 95px; }
  .phone-frame { border-width: 5px; border-radius: 28px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
  .screen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .privacy-layout { gap: 2rem; grid-template-columns: 1fr; }
  .privacy-layout img { grid-row: 1; width: 120px; }
  .support-section { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .footer-inner { grid-template-columns: 1fr auto; padding-block: 1.5rem; }
  .footer-inner nav { grid-column: 1 / -1; grid-row: 2; }
  .footer-inner > span { grid-column: 2; grid-row: 1; }
  .page-hero { grid-template-columns: 1fr; }
  .page-hero > img { width: 84px; }
  .contact-card, .privacy-card, .english-card { align-items: flex-start; grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .nav { gap: 0.35rem; }
  .brand { width: 124px; }
  .nav-links { gap: 0; }
  .nav-links a { padding-inline: 0.45rem; }
  .nav-links a { font-size: 0; }
  .nav-links a::after { font-size: 0.79rem; }
  .nav-links a:nth-child(2)::after { content: "Priv."; }
  .nav-links a:nth-child(3)::after { content: "Ayuda"; }
  .support-brand strong { display: none; }
  .support-brand img { width: 42px; }
  .support-nav { gap: 0; margin-left: auto; }
  .support-nav a { font-size: 0.7rem; padding: 0.5rem 0.42rem; }
  h1 { font-size: clamp(2.3rem, 11vw, 3rem); letter-spacing: -0.055em; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li { padding-block: 0.15rem; }
  .hero-visual { min-height: 430px; overflow: hidden; transform: translateX(0); }
  .phone-main { height: 390px; }
  .phone-back { height: 270px; top: 85px; }
  .phone-generator { left: -7%; }
  .phone-history { right: -7%; }
  .feature-composition { min-height: 560px; }
  .feature-composition::before { inset: 0 -1rem; }
  .feature-phone-primary {
    height: 540px;
    left: 50%;
    transform: translateX(-50%);
    width: 249px;
  }
  .feature-phone-secondary { display: none; }
  .feature-callout { bottom: 26px; right: 0; }
  .screen-grid { grid-template-columns: 1fr; }
  .screen-frame { margin-inline: auto; max-width: 290px; }
  .footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
