:root {
  --violet: #26205d;
  --lavender: #cad4ff;
  --blush: #f2d8e1;
  --pink: #ffc8f7;
  --butter: #fff9d9;
  --sky: #c1dbe8;
  --line: color-mix(in srgb, var(--violet) 24%, transparent);
  --control-line: color-mix(in srgb, var(--violet) 54%, var(--butter));
  --ease: cubic-bezier(.32, .72, 0, 1);
  color-scheme: light;
  color: var(--violet);
  background: var(--lavender);
  font: 400 16px/1.6 'Google Sans Flex', sans-serif;
  scrollbar-color: var(--violet) var(--lavender);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: linear-gradient(145deg, var(--lavender), color-mix(in srgb, var(--sky) 45%, var(--lavender)) 48%, var(--blush));
}
::selection { background: var(--pink); color: var(--violet); }
a { color: inherit; text-underline-offset: 5px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 5px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, p { margin: 0; }
h1, .tagline, .wordmark { font-family: 'Comfortaa', sans-serif; }
h1 { font-size: 72px; font-weight: 500; letter-spacing: -.04em; line-height: 1.1; text-wrap: balance; }
.skip-link { position: fixed; top: 8px; left: 16px; transform: translateY(-160%); z-index: 10; padding: 12px 16px; color: var(--butter); background: var(--violet); }
.skip-link:focus { transform: none; }
.floral-page { min-height: 100svh; padding: 32px 48px 8px; }
.brand-header { display: flex; align-items: center; justify-content: center; max-width: 1280px; margin: auto; }
.wordmark { font-size: 32px; line-height: 1.25; font-weight: 700; letter-spacing: -.04em; }
.floral-main {
  position: relative;
  isolation: isolate;
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 64px 24px 48px;
  background:
    radial-gradient(ellipse at 0 15%, color-mix(in srgb, var(--pink) 32%, transparent), transparent 44%),
    radial-gradient(ellipse at 100% 75%, color-mix(in srgb, var(--sky) 40%, transparent), transparent 46%),
    linear-gradient(130deg, var(--butter) 30%, color-mix(in srgb, var(--blush) 24%, var(--butter)));
  border-radius: 48% 48% 16px 16px / 80px 80px 16px 16px;
  overflow: clip;
}
.floral-main::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid color-mix(in srgb, var(--violet) 12%, transparent);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}
.floral-garden { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.garden-flower { position: absolute; width: 248px; z-index: 1; }
.garden-flower-left { left: -64px; top: 80px; transform: rotate(-25deg); }
.garden-flower-right { right: -40px; bottom: 48px; transform: rotate(18deg); width: 216px; }
.garden-spark { position: absolute; width: 48px; height: 48px; right: 64px; top: 64px; transform: rotate(12deg); }
.garden-ink { position: absolute; width: 200px; left: -24px; bottom: -24px; z-index: 1; }
.garden-horizon { position: absolute; left: 0; bottom: 0; width: 100%; height: 120px; }
.floral-content { position: relative; z-index: 1; max-width: 640px; margin: auto; text-align: center; }
.tagline { max-width: 30ch; margin: 24px auto 0; font-size: 30px; line-height: 1.4; text-wrap: balance; }
.slogan-line { display: block; }
.slogan-emphasis {
  font-weight: 700;
  color: var(--violet);
  white-space: nowrap;
  background-image: linear-gradient(transparent 64%, var(--pink) 64%, var(--pink) 94%, transparent 94%);
}
.signup { max-width: 560px; margin: 32px auto 0; }
.hero-lead { font-size: 16px; line-height: 1.75; max-width: 65ch; }
.hero-lead strong { font-weight: 700; }
.lead-intro { display: block; font-size: 20px; line-height: 1.5; font-weight: 500; margin-bottom: 16px; text-wrap: balance; }
.waitlist-form { position: relative; display: flex; align-items: flex-end; gap: 12px; margin-top: 16px; }
.waitlist-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.waitlist-input-wrap { flex: 1; min-width: 0; }
.waitlist-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; text-align: left; }
.waitlist-input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--control-line);
  border-radius: 100px;
  padding: 12px 24px;
  color: var(--violet);
  background: var(--butter);
  caret-color: var(--violet);
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.waitlist-input::placeholder { color: color-mix(in srgb, var(--violet) 78%, var(--butter)); opacity: 1; }
.waitlist-input:focus-visible { outline-offset: 3px; }
.waitlist-input[aria-invalid='true'] { border-style: dashed; border-width: 2px; background: var(--blush); }
.btn-primary {
  display: flex; flex-shrink: 0; justify-content: center; align-items: center; gap: 16px;
  border: 1px solid var(--violet); min-height: 56px; border-radius: 100px; padding: 12px 24px;
  background: var(--violet); color: var(--butter); font-size: 16px; font-weight: 600;
  transition: background 250ms var(--ease), color 250ms var(--ease);
}
.btn-primary:hover { color: var(--violet); background: var(--pink); }
.btn-primary:active { transform: translateY(1px); }
.waitlist-submit {
  --waitlist-success: #d6e8cf;
  display: grid;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease);
}
.submit-state { grid-area: 1 / 1; display: flex; justify-content: center; align-items: center; gap: 16px; visibility: hidden; opacity: 0; }
.submit-state svg { flex: 0 0 18px; width: 18px; height: 18px; }
.waitlist-submit[data-state='idle'] .submit-idle,
.waitlist-submit[data-state='pending'] .submit-pending,
.waitlist-submit[data-state='success'] .submit-success { visibility: visible; opacity: 1; }
.waitlist-submit[aria-disabled='true'] { cursor: default; transform: none; color: var(--violet); }
.waitlist-submit[data-state='pending'] { background: color-mix(in srgb, var(--lavender) 38%, var(--butter)); border-color: var(--control-line); cursor: wait; }
.waitlist-submit[data-state='success'] { background: var(--waitlist-success); border-color: color-mix(in srgb, var(--violet) 32%, var(--waitlist-success)); }
.spinner-track { opacity: .22; }
.waitlist-input[readonly] { cursor: wait; }
.waitlist-feedback[data-feedback='success'] { background: transparent; padding: 0; text-align: center; text-wrap: pretty; }
@media (prefers-reduced-motion: no-preference) {
  .waitlist-submit[data-state='pending'] .submit-spinner { animation: waitlist-spin 800ms linear infinite; }
  .waitlist-submit[data-state='success'] .submit-success { animation: waitlist-confirm 280ms var(--ease); }
  .waitlist-submit[data-state='success'] .submit-check path { stroke-dasharray: 1; animation: waitlist-check 360ms var(--ease) both; }
  @keyframes waitlist-spin { to { transform: rotate(360deg); } }
  @keyframes waitlist-confirm { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes waitlist-check { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
.waitlist-feedback { margin-top: 16px; padding: 16px; border-radius: 12px; font-size: 14px; text-align: left; overflow-wrap: anywhere; }
.hero-highlights { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; max-width: 560px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.highlight-chip { display: block; }
.contact-row { display: flex; justify-content: center; padding: 24px 0; }
.corner-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.corner-social a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 4px; border-radius: 12px; text-decoration: none; }
.contact-symbol { display: grid; place-items: center; flex: 0 0 40px; height: 40px; background: var(--blush); border-radius: 14px; transition: background-color 180ms var(--ease); }
.corner-social li:nth-child(2) .contact-symbol { background: var(--sky); }
.contact-symbol svg { width: 24px; height: 24px; }
.contact-copy { display: grid; gap: 2px; text-align: left; }
.contact-title { font-family: Comfortaa, sans-serif; font-size: 14px; font-weight: 700; line-height: 1.5; }
.contact-detail { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.contact-arrow { flex: 0 0 16px; width: 16px; height: 16px; margin-left: 4px; }
.corner-social a:hover .contact-symbol { background: var(--pink); }
.corner-social a:hover .contact-detail { text-decoration: underline; text-underline-offset: 4px; }
.poster-footer { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); max-width: 1280px; margin: auto; font-size: 12px; padding-block: 16px; }
.poster-footer > span[aria-hidden] { display: none; }

/* Entrance choreography. These variables do not hide content without JavaScript. */
[data-enter] {
  --enter-x: 0px;
  --enter-y: 20px;
  --enter-scale: 1;
  --enter-delay: 0ms;
  --enter-scroll-delay: 0ms;
  --enter-duration: 640ms;
  --enter-ease: cubic-bezier(.16, 1, .3, 1);
}
.wordmark { --enter-y: 12px; --enter-duration: 560ms; }
h1[data-enter] { --enter-y: 28px; --enter-delay: 100ms; --enter-duration: 760ms; }
.tagline { --enter-delay: 180ms; --enter-duration: 700ms; }
.hero-lead { --enter-y: 18px; --enter-delay: 260ms; }
.waitlist-form { --enter-y: 16px; --enter-delay: 340ms; --enter-duration: 600ms; }
.highlight-chip { --enter-y: 10px; --enter-delay: 420ms; --enter-duration: 520ms; }
.highlight-chip:nth-child(2) { --enter-delay: 480ms; --enter-scroll-delay: 60ms; }
.highlight-chip:nth-child(3) { --enter-delay: 540ms; --enter-scroll-delay: 120ms; }
.corner-social li { --enter-y: 12px; --enter-delay: 480ms; --enter-duration: 520ms; }
.corner-social li:nth-child(2) { --enter-delay: 540ms; --enter-scroll-delay: 60ms; }
.poster-footer { --enter-y: 8px; --enter-delay: 560ms; --enter-duration: 480ms; }
.garden-flower-left { --enter-x: -28px; --enter-y: 12px; --enter-scale: .96; --enter-delay: 80ms; --enter-duration: 800ms; }
.garden-flower-right { --enter-x: 24px; --enter-y: 12px; --enter-scale: .96; --enter-delay: 160ms; --enter-duration: 800ms; }
.garden-spark { --enter-y: -10px; --enter-scale: .86; --enter-delay: 240ms; --enter-duration: 680ms; }
.garden-ink { --enter-x: -16px; --enter-y: 0px; --enter-delay: 300ms; --enter-duration: 600ms; }
.garden-horizon { --enter-y: 18px; --enter-delay: 100ms; --enter-duration: 780ms; }

@media (prefers-reduced-motion: no-preference) {
  .waitlist-feedback:not([hidden]) { animation: feedback-arrive 180ms var(--ease); }
  @keyframes feedback-arrive {
    from { opacity: .5; translate: 0 4px; }
    to { opacity: 1; translate: 0 0; }
  }
}

@media (max-width: 1100px) {
  .floral-page { padding-inline: 24px; }
  .garden-flower-left { width: 192px; left: -80px; }
  .garden-flower-right { width: 160px; right: -88px; bottom: 40px; }
  .garden-ink { width: 144px; left: -80px; }
  .garden-spark { width: 32px; height: 32px; right: 32px; top: 48px; }
  .floral-content { max-width: 560px; }
  h1 { font-size: 60px; }
}
@media (max-width: 760px) {
  .floral-page { padding: 24px 16px 8px; }
  .wordmark { font-size: 30px; }
  .floral-main { margin-top: 24px; padding: 48px 24px 56px; border-radius: 50% 50% 16px 16px / 36px 36px 16px 16px; }
  .floral-main::after { inset: 8px; }
  .floral-content { max-width: 480px; }
  h1 { font-size: 48px; }
  .tagline { font-size: 24px; margin-top: 16px; }
  .signup { margin-top: 24px; }
  .waitlist-form { margin-top: 16px; }
  .hero-highlights { gap: 8px 16px; margin-top: 24px; }
  .garden-flower-left { width: 96px; left: -24px; top: -40px; }
  .garden-flower-right { width: 112px; right: -16px; bottom: -24px; }
  .garden-spark { width: 28px; height: 28px; top: 28px; right: 28px; }
  .garden-ink { display: none; }
  .garden-horizon { height: 120px; }
  .corner-social { display: grid; gap: 12px; width: min(100%, 304px); }
  .corner-social a { width: 100%; }
  .contact-copy { flex: 1; }
  .poster-footer { display: block; text-align: center; }
  .poster-footer span { display: block; margin-top: 8px; }
}
@media (max-width: 540px) {
  .floral-page { padding: 16px 12px 8px; }
  .wordmark { font-size: 24px; }
  .floral-main { margin-top: 16px; padding: 48px 20px; border-radius: 50% 50% 16px 16px / 32px 32px 16px 16px; }
  h1 { font-size: 36px; }
  .tagline { font-size: 20px; line-height: 1.5; }
  .hero-lead { text-wrap: pretty; }
  .lead-intro { font-size: 16px; line-height: 1.5; }
  .lead-intro strong { font-size: 18px; }
  .waitlist-form { flex-direction: column; align-items: stretch; margin-top: 12px; }
  .btn-primary, .waitlist-input { min-height: 52px; }
  .waitlist-input { padding-inline: 16px; font-size: 16px; }
  .garden-flower-left { width: 80px; left: -24px; top: -32px; }
  .garden-flower-right { width: 80px; right: -24px; bottom: -24px; }
  .garden-spark { width: 24px; height: 24px; top: 16px; right: 20px; }
  .garden-horizon { height: 80px; }
}
@media (max-width: 360px) {
  .floral-main { padding-inline: 16px; }
  h1 { font-size: 30px; }
  .tagline { font-size: 18px; }
  .slogan-line { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Cierre editorial elegido en la revisión live. */
.bloomy-note { max-width: 560px; margin: 32px auto 0; padding-top: 20px; color: var(--violet); }
.note-signature { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0; text-align: center; font-family: Comfortaa, sans-serif; font-size: 14px; line-height: 1.5; }
.note-signature::before, .note-signature::after { content: ""; height: 1px; background: var(--line); flex: 1; max-width: 56px; }
@media (max-width: 540px) {
  .bloomy-note { margin-top: 24px; padding-top: 8px; }
  .note-signature { gap: 8px; }
  .note-signature::before, .note-signature::after { max-width: 32px; }
}

/* Footer principal: marca, redes y contacto en una sola superficie. */
.site-footer { max-width:1280px; margin:24px auto 16px; padding:32px 40px 16px; color:var(--violet); }
.footer-main { display:flex; justify-content:space-between; align-items:center; gap:32px 48px; padding-bottom:24px; }
.footer-brand { flex-shrink:0; }
.footer-wordmark { font-family:Comfortaa,sans-serif; font-size:30px; font-weight:700; letter-spacing:-.04em; line-height:1.25; }
.footer-brand p { margin-top:8px; font-size:14px; }
.footer-contacts { display:flex; flex-wrap:wrap; align-items:center; gap:24px 40px; margin:0; padding:0; list-style:none; }
.footer-contacts li { min-width:0; }
.footer-contacts a { display:flex; align-items:center; gap:12px; min-height:56px; padding:4px 0; text-decoration:none; border-radius:4px; }
.footer-contacts a > svg { width:24px; height:24px; flex:0 0 24px; }
.footer-contact-copy { display:grid; gap:4px; min-width:0; }
.footer-contact-label { font-family:Comfortaa,sans-serif; font-size:16px; font-weight:700; line-height:1.5; }
.footer-contact-value { font-size:14px; line-height:1.6; overflow-wrap:anywhere; text-decoration:underline; text-decoration-color:var(--line); text-underline-offset:5px; transition:text-decoration-color 200ms var(--ease); }
.footer-contacts a:hover .footer-contact-value { text-decoration-color:var(--violet); }
.footer-contacts a:active { opacity:.75; }
.footer-bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px 24px; padding-top:16px; border-top:1px solid var(--line); font-size:12px; line-height:1.6; }
@media(max-width:1100px) {
  .footer-main { align-items:flex-start; gap:32px; }
  .footer-contacts { gap:16px 24px; }
}
@media(max-width:900px) {
  .footer-main { flex-direction:column; gap:24px; }
  .footer-contacts { justify-content:space-between; width:100%; }
}
@media(max-width:540px) {
  .site-footer { margin-top:8px; padding:24px 20px 16px; }
  .footer-wordmark { font-size:24px; }
  .footer-contacts { flex-direction:column; align-items:stretch; gap:16px; }
  .footer-bottom { flex-direction:column; }
}
@media(max-width:360px) { .site-footer { padding-inline:16px; } }
@media(prefers-reduced-motion:reduce) { .footer-contact-value { transition:none; } }

/* Adaptación vertical para laptops de escritorio (ej. 16" con escalado estándar). */
@media (min-width: 761px) and (max-height: 900px) {
  .floral-page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-block: clamp(12px, 2.4svh, 24px) clamp(8px, 1.5svh, 16px);
  }
  .brand-header { width: 100%; margin-block: 0; }
  .wordmark { font-size: 30px; }
  .floral-main {
    width: 100%;
    margin-top: clamp(8px, 2svh, 24px);
    padding-block: clamp(28px, 5.5svh, 52px) clamp(20px, 3.8svh, 38px);
    border-radius: 48% 48% 16px 16px / 56px 56px 16px 16px;
  }
  h1 { font-size: clamp(48px, 7svh, 60px); }
  .tagline { margin-top: clamp(10px, 2svh, 20px); font-size: clamp(24px, 3.4svh, 30px); }
  .signup { margin-top: clamp(12px, 2.6svh, 26px); }
  .lead-intro { margin-bottom: clamp(8px, 1.5svh, 16px); }
  .waitlist-form { margin-top: clamp(12px, 1.8svh, 16px); }
  .btn-primary, .waitlist-input { min-height: 52px; }
  .bloomy-note { margin-top: clamp(12px, 2.4svh, 26px); padding-top: clamp(4px, 1.2svh, 14px); }
  .garden-horizon { height: clamp(80px, 11.5svh, 110px); }
  .site-footer {
    width: 100%;
    margin-block: clamp(8px, 1.8svh, 20px) 0;
    padding-block: clamp(8px, 2svh, 24px) clamp(4px, 1svh, 12px);
  }
  .footer-main { padding-bottom: clamp(8px, 1.8svh, 20px); }
  .footer-wordmark { font-size: 24px; }
  .footer-brand p { margin-top: 4px; }
  .footer-contacts a { min-height: 48px; }
  .footer-bottom { padding-top: clamp(8px, 1.5svh, 16px); }
}
@media (min-width: 1101px) and (max-height: 900px) {
  .garden-flower-left { width: 208px; top: 56px; }
  .garden-flower-right { width: 184px; bottom: 32px; }
  .garden-spark { width: 40px; height: 40px; top: 44px; right: 56px; }
  .garden-ink { width: 168px; }
}

/* Entrada del footer: continúa el ritmo de la composición Floral. */
.footer-brand[data-enter] { --enter-y:16px; --enter-delay:480ms; --enter-scroll-delay:0ms; --enter-duration:560ms; }
.footer-contacts li[data-enter] { --enter-y:12px; --enter-delay:540ms; --enter-scroll-delay:60ms; --enter-duration:520ms; }
.footer-contacts li[data-enter]:nth-child(2) { --enter-delay:600ms; --enter-scroll-delay:120ms; }
.footer-bottom[data-enter] { --enter-y:8px; --enter-delay:660ms; --enter-scroll-delay:180ms; --enter-duration:480ms; }
