:root {
  /* Niebla urbana + bosque suave (≠ cream Makketia / verde Luxidox) */
  --ink: #1c2a32;
  --ink-soft: #4a5e68;
  --forest: #2f6f5e;
  --forest-deep: #265a4b;
  --paper: #f4f7f8;
  --paper-mist: #e8eef2;
  --sun: #d4896c;
  --card: #fafcfe;
  --line: rgba(28, 42, 50, 0.14);
  --muted: rgba(28, 42, 50, 0.55);
  --shadow: 0 22px 50px rgba(47, 111, 94, 0.12);
  --radius: 18px;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, serif;
  --font-ui: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.5;
  background: var(--paper);
  overflow-x: hidden;
}

.levante-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 88% 8%, rgba(212, 137, 108, 0.35), transparent 58%),
    radial-gradient(ellipse 55% 45% at 12% 92%, rgba(47, 111, 94, 0.08), transparent 55%),
    linear-gradient(165deg, #f4f7f8 0%, #eef3f6 45%, #e8eef2 100%);
}

.levante-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.page {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 68rem);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3.5rem) 0 clamp(2rem, 5vw, 3rem);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  animation: rise 0.75s ease-out both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero {
  max-width: 34rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  animation: soft-in 0.85s 0.05s ease-out both;
}

@keyframes soft-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.brand-mark {
  display: block;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 22%;
  box-shadow: 0 10px 24px rgba(47, 111, 94, 0.22);
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--forest);
}

.brand-tagline {
  margin: -0.65rem 0 1.1rem;
  max-width: 28rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0 0 0.95rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.8vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--forest);
}

.lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.55;
  max-width: 32rem;
}

.lede strong {
  color: var(--forest);
  font-weight: 600;
}

.hero-demo {
  margin: 1.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
}

.demo-link {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: rgba(47, 111, 94, 0.1);
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.demo-link:hover {
  background: rgba(47, 111, 94, 0.16);
}

.demo-link:active {
  transform: translateY(1px);
}

.demo-link--secondary {
  background: transparent;
  border: 1px solid rgba(47, 111, 94, 0.28);
}

.demo-link--secondary:hover {
  background: rgba(47, 111, 94, 0.06);
}

.demo-hint {
  font-size: 0.82rem;
  color: var(--muted);
}

.waitlist {
  width: 100%;
  max-width: 26rem;
  justify-self: stretch;
  animation: rise 0.8s 0.12s ease-out both;
}

.card {
  margin: 0;
  padding: 1.35rem 1.3rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin-bottom: 0.95rem;
}

.field span {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--forest);
}

.field em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.65;
}

.field input,
.field select {
  width: 100%;
  margin: 0;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffefb;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  outline: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='none' stroke='%231F4A3A' stroke-width='1.6' stroke-linecap='round' d='M1 1.5 7 6.5 13 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.4rem;
}

.field input:focus,
.field select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(47, 111, 94, 0.16);
}

.cta {
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.92rem 1rem;
  border: 0;
  border-radius: 12px;
  background: var(--forest);
  color: #f7f3ec;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cta:hover {
  background: var(--forest-deep);
}

.cta:active {
  transform: translateY(1px);
}

.cta:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-hint {
  min-height: 1.35rem;
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.form-hint.is-ok {
  color: var(--forest);
}

.form-hint.is-err {
  color: #8b3a2a;
}

.fineprint {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.waitlist-disclaimer {
  margin: 1.5rem 0 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1.5px solid rgba(47, 111, 94, 0.22);
  background: rgba(47, 111, 94, 0.08);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink);
}

.waitlist-disclaimer p {
  margin: 0 0 0.5rem;
}

.waitlist-disclaimer ul {
  margin: 0;
  padding-left: 1.15rem;
}

.waitlist-disclaimer li + li {
  margin-top: 0.35rem;
}

.foot {
  text-align: center;
  margin-top: auto;
  padding-top: 0.5rem;
}

.foot p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.84rem;
  color: var(--muted);
}

.foot a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
}

.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 (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 26rem);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
  }

  .waitlist {
    justify-self: end;
  }

  .brand-mark {
    width: 3.5rem;
    height: 3.5rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 3.2vw, 2.9rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .split,
  .brand,
  .waitlist {
    animation: none;
  }
}
