@font-face {
  font-family: "Kalam";
  src: url("assets/fonts/kalam-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

:root {
  --text: #1d334d;
  --muted: #61748e;
  --accent: #567ba7;
  --border-soft: #dfe7f0;
  --surface: #f3f7fc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: center; gap: 16px; padding-block: 28px 0; }
.brand { color: #456d9b; text-decoration: none; font-size: 44px; font-weight: 750; letter-spacing: -2px; line-height: 1.4; }
.brand-tagline { transform: translateY(5px); margin: 0; color: #345c89; font-family: "Kalam", cursive; font-size: 30px; font-weight: 400; line-height: 1.4; text-align: center; white-space: nowrap; }
.tagline-highlight { position: relative; display: inline-block; isolation: isolate; }
.tagline-highlight::before { content: ""; position: absolute; z-index: -1; inset: 18% -4px 14%; background: #ffe69a; border-radius: 7px 11px 5px 9px; transform: rotate(-2deg); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 42px; padding: 8px 20px; border: 1px solid transparent; border-radius: 7px; font-weight: 600; text-decoration: none; cursor: pointer; }
.primary { color: #fff; background: var(--accent); box-shadow: 0 3px 8px #34567b12; }
.primary:hover { background: #44698f; color: #fff !important; }
.button:disabled { opacity: .65; cursor: wait; }
.hero { text-align: center; padding-block: 32px 22px; }
.eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 600; color: var(--accent); margin: 0 0 25px; }
.hero .eyebrow { font-size: clamp(14px, 1.5vw, 18px); }
h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 750;
  margin: 0 auto;
}

.hero h1 { color: #284b73; }

h1 span {
  color: var(--accent);
}

.hero-underline { position: relative; display: inline-block; font-style: normal; }
.hero-underline::after { content: ""; position: absolute; inset-inline: -2px; bottom: -.13em; height: .1em; background: #ffe69a; border-radius: 60% 35% 55% 40%; transform: rotate(-1.5deg); }

/* Menos presencia solo en escritorio. */
@media (min-width: 761px) {
  .hero h1 span {
    display: inline-block;
    font-size: 0.88em;
    line-height: 1.04;
  }
}
.hero-copy { font-size: clamp(18px, 2vw, 23px); line-height: 1.6; color: var(--muted); margin: 25px auto 29px; }
.hero-copy-emphasis { font-weight: 400; color: var(--text); }
figure { margin: 0; }
h2 { margin: 0 0 22px; font-size: clamp(28px, 3vw, 39px); letter-spacing: -.035em; line-height: 1.23; }
.contact-copy p:not(.eyebrow) { color: var(--muted); font-size: 16px; margin: 0 0 22px; }
.waitlist-band { background: var(--surface); padding-block: 30px 21px; border-block: 1px solid #eaf0f7; }
.waitlist { text-align: center; }
.waitlist h2, .contact-copy h2 { font-size: clamp(25px, 3vw, 32px); }
.waitlist h2 { margin-bottom: 10px; }
.waitlist > p:not(.eyebrow) { color: var(--muted); }
.waitlist-form { display: flex; max-width: 520px; margin: 20px auto 12px; gap: 12px; }
input, textarea { width: 100%; min-width: 0; border: 1px solid #d5dfeb; border-radius: 6px; background: #fff; color: var(--text); padding: 8px 12px; font-size: 16px; font-weight: 400; line-height: 1.6; }
input::placeholder, textarea::placeholder { color: #8a99ad; }
.waitlist-form input { flex: 1; }
.waitlist-form button { flex-shrink: 0; }
.form-note { font-size: 12px !important; color: var(--muted); }
.form-note a { color: #476b96; }
.waitlist-feedback, .contact-feedback { min-height: 24px; font-size: 14px; margin: 10px 0 0; }
.waitlist .form-note { margin-bottom: 0; }
.waitlist-feedback { white-space: pre-line; }
.waitlist-feedback:empty { display: none; }
.success { color: #277450 !important; }
.error { color: #ac392b !important; }
.contact { display: flex; flex-direction: column; gap: 24px; max-width: 630px; padding-block: 50px 20px; }
.contact-copy { text-align: center; }
.contact-copy h2 { margin-bottom: 16px; }
.contact-copy .contact-intro { font-size: 14px; margin: 0; }
.contact-email { color: #476b96; font-size: inherit; font-weight: 600; text-decoration: none; }
.contact-form label { display: block; font-size: 16px; font-weight: 500; margin-bottom: 20px; }
.contact-form input, .contact-form textarea { display: block; margin-top: 8px; font-weight: 400; }
.contact-form input[type="email"] { max-width: 360px; }
textarea { resize: none; height: 145px; }
.contact-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.site-footer {
  padding-block: 18px 26px;
  color: var(--muted);
  font-size: 12px;
}
.footer-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}
.footer-copy {
  color: #456d9b;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}
.footer-home {
  color: inherit;
  text-decoration: none;
}
.footer-home:hover { text-decoration: underline; }
.footer-legal {
  color: #6f8198;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}
.footer-legal:hover { color: #243b5a; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  /* Mantiene el tamaño móvil original. */
  .hero h1 { font-size: 34px; line-height: 1.12; }
  .site-header { flex-wrap: wrap; gap: 10px; padding-top: 24px; }
  .brand-tagline { flex: 0 0 auto; max-width: 100%; transform: translateY(4px); font-size: 24px; line-height: 1.2; white-space: normal; min-width: 0; text-align: center; }
  .brand { font-size: 36px; flex-shrink: 0; }
  .hero { padding-top: 28px; }
  .eyebrow { font-size: 10px; letter-spacing: .1em; margin-bottom: 21px; }
  .waitlist-band { padding-block: 28px 22px; }
  .waitlist-form { flex-direction: column; }
  .contact { gap: 20px; padding-block: 35px 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.product-preview { max-width: 1080px; padding-block: 50px 10px; text-align: center; }
.product-preview > p { color: var(--muted); font-size: 15px; margin: 0 auto 26px; }
.product-preview figure { margin: 0; }
.preview-image { display: block; overflow: hidden; border: 1px solid var(--border-soft); border-radius: 10px; background: #fcfcfc; box-shadow: 0 18px 45px #324e7324; }
/* Hide the thin top edge already included in the screenshot before adding the frame. */
.preview-image img { display: block; width: 100%; height: auto; margin-top: -0.25%; }
.product-preview figcaption { padding-top: 12px; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) {
  .product-preview { padding-block: 20px 5px; }
  .product-preview > p { font-size: 14px; line-height: 1.45; margin-bottom: 12px; }
  .preview-image { position: relative; aspect-ratio: 1789 / 879; }
  .preview-image img { position: absolute; top: 0; left: 0; width: 180%; max-width: none; margin-top: -0.45%; }
}

.legal-page { width: min(760px, calc(100% - 40px)); margin-inline: auto; padding-block: 50px 70px; }
.legal-page h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 22px; }
.legal-page h2 { font-size: 23px; margin: 35px 0 12px; }
.legal-page h3 { font-size: 17px; margin: 24px 0 8px; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 15px; }
.legal-page p a, .legal-page li a { text-decoration: none; font-weight: 600; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 25px; text-decoration: none; }
.legal-back svg { flex: none; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.legal-nav a { text-decoration: none; }
.legal-nav a:hover { color: var(--accent); }
.legal-page .legal-updated { font-size: 12px; margin-top: 25px; }

.waitlist-action { max-width: 630px; text-align: center; padding-block: 45px; }
.waitlist-action h1 { font-size: clamp(28px, 4vw, 38px); }
.waitlist-action p { color: var(--muted); }
.waitlist-action p a { text-decoration: none; font-weight: 600; }
.waitlist-action #feedback { min-height: 26px; }

.capture-zoom { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; border: 0; padding: 0; background: var(--surface); color: var(--text); }
.capture-zoom[open] { display: flex; flex-direction: column; }
.capture-zoom::backdrop { background: #1d334d99; }
.capture-zoom-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left)); background: #fff; border-bottom: 1px solid var(--border-soft); font-size: 14px; flex: none; }
.capture-zoom-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 6px; background: var(--surface); color: var(--text); font-size: 30px; line-height: 1; cursor: pointer; }
.capture-zoom-viewport { flex: 1; min-height: 0; overflow: auto; touch-action: none; overscroll-behavior: contain; }
.capture-zoom-viewport img { display: block; max-width: none; height: auto; user-select: none; }
@media (max-width: 760px) {
  .preview-image { cursor: zoom-in; }
}


@media (max-width: 760px) {
  .footer-line { gap: 9px; }
  .footer-copy { font-size: 13px; }
  .footer-legal { font-size: 11px; }
}
