/* ================================================================
   Brand v0.2 — "Crayon Sticker" identity
   Palette: deep violet ink + grape + mango + bubblegum + sky
   Type: Baloo 2 (display) + Nunito (body)
   Motif: singing note buddy + floating melody path
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:wght@400;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ink: #2a2250;          /* deep violet ink — text & outlines */
  --ink-soft: #5c548a;
  --paper: #ffffff;
  --bg: #f6f3ff;           /* soft lilac */
  --grape: #6c4ce0;        /* primary brand */
  --grape-dark: #5334c9;
  --mango: #ffb731;        /* CTA */
  --mango-dark: #f5a213;
  --bubble: #ff6fa5;       /* accent pink */
  --sky: #4ec5f1;          /* accent blue */
  --mint: #2ec99b;         /* checkmarks */
  --line: #e6e0fb;
  --radius: 20px;
  --shadow: 0 8px 28px rgba(42, 34, 80, 0.10);
  --sticker: 0 4px 0 rgba(42, 34, 80, 0.18);
}
html { scroll-behavior: smooth; }
body {
  font-family: "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
h1, h2, h3 { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.12; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: .75rem; text-align: center; }
section { padding: 3.5rem 1.25rem; max-width: 1020px; margin: 0 auto; }
em { font-style: normal; color: var(--bubble); }

/* ============ Buttons ============ */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  font-family: "Baloo 2", sans-serif; font-size: 1.02rem;
  border-radius: 999px; padding: .95rem 1.9rem;
  transition: transform .12s ease, box-shadow .12s ease;
  text-align: center; border: 3px solid var(--ink);
}
.btn:active { transform: translateY(2px); box-shadow: none; }
.btn-primary { background: var(--mango); color: var(--ink); box-shadow: var(--sticker); }
.btn-primary:hover { background: var(--mango-dark); }
.btn-secondary { background: var(--paper); color: var(--ink); box-shadow: var(--sticker); }
.btn-secondary:hover { background: var(--bg); }
.btn.big { font-size: 1.2rem; padding: 1.1rem 2.4rem; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* ============ Hero ============ */
.hero {
  background: var(--bg);
  position: relative; overflow: hidden; padding-bottom: 2.5rem;
}
/* floating melody path */
.hero::before {
  content: "♪    ♫      ♪        ♩     ♫    ♪";
  position: absolute; top: 8%; left: -2%; right: -2%;
  font-size: 1.6rem; color: var(--grape); opacity: .16;
  letter-spacing: 2.2rem; white-space: nowrap;
  transform: rotate(-6deg); pointer-events: none;
}
.hero::after {
  content: "♫      ♪     ♩        ♪      ♫";
  position: absolute; bottom: 6%; left: -4%; right: -2%;
  font-size: 1.3rem; color: var(--bubble); opacity: .18;
  letter-spacing: 2.6rem; white-space: nowrap;
  transform: rotate(4deg); pointer-events: none;
}
.nav {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1020px; margin: 0 auto; padding: 1.1rem 1.25rem; position: relative; z-index: 2;
}
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.logo svg { width: 40px; height: 40px; }
.logo .wordmark {
  font-family: "Baloo 2", sans-serif; font-size: 1.5rem; font-weight: 800;
  color: var(--ink); letter-spacing: -.02em;
}
.nav-cta { font-weight: 800; color: var(--grape); text-decoration: none; font-size: .98rem; }

.hero-inner { max-width: 760px; margin: 0 auto; padding: 1.2rem 1.25rem 0; text-align: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2rem, 5.6vw, 3.2rem); margin-bottom: 1rem; }
.hero h1 .hl { color: var(--grape); }
.hero .sub { font-size: clamp(1rem, 2.6vw, 1.18rem); color: var(--ink-soft); max-width: 570px; margin: 0 auto 1.5rem; font-weight: 700; }

/* characters + video composition */
.hero-stage { position: relative; max-width: 620px; margin: 0 auto 1.6rem; }
.hero-video { position: relative; z-index: 1; }
.video-placeholder {
  aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--ink); color: #b9b0e8;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  box-shadow: var(--shadow); border: 3px solid var(--ink);
}
.video-placeholder span { font-size: 2.4rem; color: var(--mango); }
.video-placeholder p { font-size: .95rem; text-align: center; }
.char { position: absolute; z-index: 2; }
.char-girl { left: -14px; bottom: -12px; width: clamp(90px, 22%, 140px); transform: rotate(-3deg); }
.char-buddy { right: -10px; top: -34px; width: clamp(64px, 15%, 92px); transform: rotate(7deg); }

.hero-cta .trust-line { margin-top: .85rem; }
.trust-line { font-size: .95rem; color: var(--ink-soft); font-weight: 700; }

/* ============ Wave divider ============ */
.wave { display: block; width: 100%; height: 34px; }

/* ============ Demo ============ */
.demo { text-align: center; }
.demo-note { color: var(--ink-soft); max-width: 540px; margin: 0 auto 1.25rem; }
.player-card {
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--sticker); padding: 1.5rem; max-width: 540px; margin: 0 auto; position: relative;
}
.player-card::after {
  content: "♪"; position: absolute; top: -18px; right: 18px;
  font-size: 2rem; color: var(--bubble); transform: rotate(12deg);
}
.player-card audio { width: 100%; }
.player-caption { font-size: .95rem; color: var(--ink-soft); margin-top: .8rem; }
.adults-note { font-size: .9rem; color: var(--ink-soft); margin-top: 1rem; }

/* ============ How it works ============ */
.how { background: var(--bg); border-radius: var(--radius); }
.steps { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
.steps li {
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--sticker);
}
.step-num {
  display: inline-flex; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.05rem;
  align-items: center; justify-content: center; margin-bottom: .6rem;
  border: 3px solid var(--ink); color: var(--ink);
}
.steps li:nth-child(1) .step-num { background: var(--mango); }
.steps li:nth-child(2) .step-num { background: var(--bubble); }
.steps li:nth-child(3) .step-num { background: var(--sky); }
.steps h3 { margin-bottom: .35rem; font-size: 1.12rem; }
.steps p { color: var(--ink-soft); font-size: .95rem; }

/* ============ Protocol ============ */
.protocol { text-align: center; }
.protocol-intro { color: var(--ink-soft); max-width: 560px; margin: 0 auto 1.5rem; }
.protocol-steps { display: flex; flex-direction: column; gap: .6rem; max-width: 560px; margin: 0 auto 1rem; }
.chip {
  display: flex; align-items: center; gap: .8rem; text-align: left;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 999px;
  padding: .7rem 1.1rem; font-weight: 800; font-size: .95rem; box-shadow: var(--sticker);
}
.chip span {
  flex: 0 0 auto; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--grape); color: #fff; font-weight: 800; font-family: "Baloo 2", sans-serif;
  display: inline-flex; align-items: center; justify-content: center; font-size: .9rem;
  border: 2.5px solid var(--ink);
}
.fine { font-size: .9rem; color: var(--ink-soft); }
.fine.center { text-align: center; margin-top: 1rem; }

/* ============ Packages ============ */
.packages h2 { margin-bottom: .25rem; }
.cards { display: grid; gap: 1.4rem; grid-template-columns: 1fr; margin-top: 1.9rem; }
.card {
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--sticker); display: flex; flex-direction: column; position: relative;
}
.card.featured { background: #fff7e4; border-color: var(--ink); box-shadow: 0 6px 0 rgba(42,34,80,.22); }
.badge {
  position: absolute; top: -0.95rem; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--bubble); color: #fff; font-size: .85rem; font-weight: 800;
  font-family: "Baloo 2", sans-serif; border: 2.5px solid var(--ink);
  border-radius: 999px; padding: .28rem .95rem; white-space: nowrap;
}
.card h3 { font-size: 1.18rem; }
.price { font-family: "Baloo 2", sans-serif; font-size: 2.1rem; font-weight: 800; margin: .35rem 0 .9rem; color: var(--grape); }
.card.featured .price { color: var(--ink); }
.card ul { list-style: none; margin-bottom: 1.4rem; flex: 1; }
.card li { padding-left: 1.5rem; position: relative; margin-bottom: .55rem; color: var(--ink-soft); font-size: .95rem; }
.card li::before { content: "✔"; position: absolute; left: 0; color: var(--mint); font-weight: 800; }
.card .btn { width: 100%; }

/* ============ Proof ============ */
.proof-placeholder {
  background: var(--bg); border: 3px dashed var(--grape); border-radius: var(--radius);
  padding: 2rem; text-align: center; color: var(--ink-soft);
  max-width: 560px; margin: 1rem auto 0; font-weight: 700;
}

/* ============ Coming soon (umbrella tease) ============ */
.coming { text-align: center; background: var(--bg); border-radius: var(--radius); }
.coming-intro { color: var(--ink-soft); font-weight: 700; margin-bottom: 1.4rem; }
.coming-cards { display: grid; gap: 1rem; grid-template-columns: 1fr; max-width: 860px; margin: 0 auto 1.5rem; }
@media (min-width: 700px) { .coming-cards { grid-template-columns: repeat(3, 1fr); } }
.coming-card {
  background: var(--paper); border: 3px dashed var(--grape); border-radius: var(--radius);
  padding: 1.3rem 1rem; opacity: .92;
}
.coming-card .emoji { font-size: 2rem; display: block; margin-bottom: .4rem; }
.coming-card h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.coming-card p { font-size: .88rem; color: var(--ink-soft); }
.coming-waitlist { display: flex; gap: .6rem; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.coming-waitlist input {
  flex: 1 1 240px; padding: .85rem 1.1rem; border: 3px solid var(--ink); border-radius: 999px;
  font-family: "Nunito", sans-serif; font-weight: 700; font-size: .95rem; color: var(--ink);
}
.coming-waitlist input::placeholder { color: var(--ink-soft); opacity: .8; }

/* ============ FAQ ============ */
.faq details {
  background: var(--paper); border: 3px solid var(--line); border-radius: 14px;
  padding: 1rem 1.25rem; margin-bottom: .7rem; max-width: 680px; margin-left: auto; margin-right: auto;
}
.faq details[open] { border-color: var(--grape); }
.faq summary { font-weight: 800; cursor: pointer; font-family: "Baloo 2", sans-serif; }
.faq details p { margin-top: .6rem; color: var(--ink-soft); font-size: .95rem; }

/* ============ Final CTA ============ */
.final-cta {
  text-align: center; background: var(--grape); border-radius: var(--radius);
  color: #fff; position: relative; overflow: hidden;
}
.final-cta::before {
  content: "♪  ♫   ♩    ♪"; position: absolute; top: 12px; left: 6%;
  font-size: 1.4rem; opacity: .25; letter-spacing: 2rem;
}
.final-cta h2 { color: #fff; margin-bottom: 1.25rem; }
.final-cta .btn-primary { border-color: var(--ink); }
.final-cta .trust-line { margin-top: .85rem; color: #e6dfff; }

/* ============ Footer ============ */
footer { text-align: center; padding: 2.5rem 1.25rem 3rem; color: var(--ink-soft); font-size: .9rem; }
.foot-logo { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.foot-logo svg { width: 30px; height: 30px; }
.foot-logo .wordmark { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.foot-legal a, .foot-company a { color: var(--ink-soft); }

/* ============ Desktop ============ */
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .card.featured { transform: scale(1.05); }
  .char-girl { left: -64px; }
  .char-buddy { right: -48px; }
}

/* ================================================================
   v0.3 additions — language toggle, hero demo players, order
   builder, includes, checkout. APPEND-ONLY: nothing above changed.
   ================================================================ */

/* buttons as <button> */
button.btn { cursor: pointer; font-family: "Baloo 2", sans-serif; }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

/* ---- nav: language toggle ---- */
.nav-right { display: flex; align-items: center; gap: .9rem; }
.lang-toggle { display: inline-flex; border: 3px solid var(--ink); border-radius: 999px; background: var(--paper); overflow: hidden; box-shadow: var(--sticker); }
.lang-btn { border: 0; background: transparent; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: .95rem; color: var(--ink); padding: .42rem .85rem; cursor: pointer; }
.lang-btn[aria-pressed="true"] { background: var(--grape); color: #fff; }

/* ---- hero demo players ---- */
.demo-kicker { font-family: "Baloo 2", sans-serif; font-weight: 800; color: var(--grape); margin-bottom: .6rem; }
.hero-demos { display: grid; gap: .9rem; position: relative; z-index: 1; }
.hero-demos .player-card { position: relative; z-index: 1; padding: 1.1rem 1.1rem 1rem; text-align: left; }
.hero-stage .char { z-index: 0; } /* characters peek out from behind the players */
.player-lang { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: .95rem; margin-bottom: .5rem; }
.hero .demo-note { color: var(--ink-soft); margin: 1rem auto .35rem; max-width: 540px; font-size: .95rem; }
.hero .player-caption { margin: 0 auto 1.4rem; max-width: 540px; }

/* ---- form fields ---- */
.field { margin-bottom: .95rem; text-align: left; }
.field-label { display: block; font-weight: 800; font-size: .95rem; margin-bottom: .35rem; }
.field-input { width: 100%; padding: .75rem 1rem; border: 3px solid var(--ink); border-radius: 14px; font-family: "Nunito", sans-serif; font-weight: 700; font-size: 1rem; color: var(--ink); background: var(--paper); }
.field-input:focus { outline: 3px solid var(--sky); outline-offset: 2px; }
.field-input::placeholder { color: var(--ink-soft); opacity: .7; }
.field-row { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 2fr 1fr; } }

/* ---- builder ---- */
.builder-sub { text-align: center; color: var(--ink-soft); font-weight: 700; margin-bottom: 1.5rem; }
.preset-row { display: grid; gap: 1rem; grid-template-columns: 1fr; max-width: 640px; margin: 0 auto 1.6rem; }
@media (min-width: 560px) { .preset-row { grid-template-columns: 1fr 1fr; } }
.preset-card { position: relative; background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--sticker); padding: 1.25rem 1rem .95rem; text-align: center; cursor: pointer; font-family: "Nunito", sans-serif; color: var(--ink); }
.preset-card[aria-pressed="true"] { background: #fff7e4; outline: 3px solid var(--grape); outline-offset: 2px; }
.preset-title, .preset-desc, .preset-price { display: block; }
.preset-title { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.05rem; }
.preset-desc { font-size: .92rem; color: var(--ink-soft); font-weight: 700; margin: .15rem 0 .3rem; }
.preset-price { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--grape); }

.song-lang { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem .9rem; margin-bottom: 1.6rem; text-align: center; }
.song-lang-label { font-weight: 800; }
.song-lang-hint { width: 100%; font-size: .9rem; color: var(--ink-soft); font-weight: 700; }

.child-card { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--sticker); padding: 1.4rem 1.25rem; margin-bottom: 1.4rem; }
.child-head { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; margin-bottom: 1rem; }
.child-title { font-size: 1.2rem; }
.link-remove { background: none; border: 0; color: var(--bubble); font-weight: 800; font-family: "Nunito", sans-serif; cursor: pointer; font-size: .85rem; padding: .1rem .2rem; }
.link-remove:hover { text-decoration: underline; }

fieldset.recips { border: 0; margin: 0; padding: 0; }
.recips legend { font-weight: 800; font-size: .95rem; margin-bottom: .2rem; padding: 0; }
.recips-hint { font-size: .92rem; color: var(--ink-soft); font-weight: 700; margin-bottom: .65rem; }
.recip-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
.recip-chip { border: 3px solid var(--ink); border-radius: 999px; background: var(--paper); padding: .5rem 1.05rem; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: .95rem; color: var(--ink); box-shadow: var(--sticker); cursor: pointer; }
.recip-chip[aria-pressed="true"] { background: var(--grape); color: #fff; }
.recip-chip-other { border-style: dashed; box-shadow: none; }

.recipient-card { background: var(--bg); border: 3px solid var(--ink); border-radius: var(--radius); padding: 1.1rem 1rem .9rem; margin-bottom: 1rem; }
.recip-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; flex-wrap: wrap; }
.recip-title { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.05rem; }
.song-price { font-size: .85rem; font-weight: 800; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 999px; padding: .15rem .6rem; color: var(--ink-soft); white-space: nowrap; }
.recip-head .link-remove { margin-left: auto; font-size: 1.25rem; line-height: 1; }

.como-row { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.pill { border: 2.5px solid var(--ink); border-radius: 999px; background: var(--paper); padding: .35rem .8rem; font-weight: 800; font-family: "Nunito", sans-serif; font-size: .95rem; cursor: pointer; color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--mango); }
.como-custom-label { font-weight: 800; font-size: .95rem; }
.como-custom { flex: 1 1 130px; width: auto; min-width: 120px; padding: .45rem .8rem; border-width: 2.5px; border-radius: 999px; font-size: .95rem; }

.readback { margin-top: .6rem; }
.readback-label { font-weight: 800; font-size: .95rem; margin-bottom: .4rem; }
.readback-empty { font-size: .92rem; color: var(--ink-soft); font-weight: 700; }
.digit-strip { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .35rem; }
.digit-chip { width: 2rem; height: 2rem; border-radius: 50%; border: 2.5px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: .95rem; background: var(--paper); color: var(--ink); }
.dc0 { background: var(--mango); }
.dc1 { background: var(--bubble); color: #fff; }
.dc2 { background: var(--sky); }
.dc3 { background: var(--grape); color: #fff; }
.readback-words { font-size: .85rem; color: var(--ink-soft); font-weight: 700; }

.add-child-btn { display: block; margin: 0 auto .9rem; }
.builder .fine.center { margin-top: .25rem; }

.total-bar { position: sticky; bottom: .8rem; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; background: var(--paper); border: 3px solid var(--ink); border-radius: 999px; box-shadow: var(--shadow), var(--sticker); padding: .6rem .7rem .6rem 1.3rem; max-width: 640px; margin: 1.7rem auto 0; }
.total-info { display: flex; flex-direction: column; }
.total-count { font-size: .9rem; font-weight: 800; color: var(--ink-soft); }
.total-amount { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--grape); }
.total-cta { padding: .7rem 1.4rem; font-size: .95rem; }

/* ---- includes + guarantee ---- */
.includes { background: var(--bg); border-radius: var(--radius); text-align: center; }
.includes-list { list-style: none; display: grid; gap: .7rem; grid-template-columns: 1fr; max-width: 560px; margin: 1.4rem auto; text-align: left; }
.includes-list li { background: var(--paper); border: 3px solid var(--ink); border-radius: 999px; box-shadow: var(--sticker); padding: .65rem 1.1rem .65rem 2.6rem; position: relative; font-weight: 800; font-size: .95rem; }
.includes-list li::before { content: "✔"; position: absolute; left: 1.05rem; color: var(--mint); font-weight: 800; }
.guarantee-card { background: #fff7e4; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--sticker); max-width: 640px; margin: 0 auto 1rem; padding: 1.5rem 1.4rem; text-align: left; }
.guarantee-card h3 { margin-bottom: .4rem; }
.guarantee-card p { color: var(--ink-soft); font-size: .95rem; }

/* ---- checkout ---- */
.checkout { text-align: center; }
.checkout form { max-width: 640px; margin: 0 auto; }
.summary-card { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--sticker); max-width: 640px; margin: 1.4rem auto; padding: 1.4rem 1.3rem; text-align: left; }
.summary-title { margin-bottom: .8rem; }
.summary-empty { color: var(--ink-soft); font-weight: 700; }
.sum-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .55rem 0; border-bottom: 2px dashed var(--line); }
.sum-main { display: flex; flex-direction: column; }
.sum-song { font-weight: 800; font-size: .95rem; }
.sum-phone { font-size: .92rem; color: var(--ink-soft); font-weight: 700; letter-spacing: .06em; }
.sum-price { font-family: "Baloo 2", sans-serif; font-weight: 800; color: var(--grape); white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; padding-top: .8rem; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.15rem; }

.consent-card { border: 3px solid var(--ink); border-radius: var(--radius); background: var(--bg); box-shadow: var(--sticker); margin: 0 0 1.2rem; padding: 1.2rem 1.2rem .5rem; text-align: left; }
.consent-card legend { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1rem; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 999px; padding: .25rem .9rem; }
.consent-item { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .85rem; font-size: .95rem; font-weight: 700; color: var(--ink-soft); cursor: pointer; }
.consent-item input { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; margin-top: .1rem; accent-color: var(--grape); }
#payBtn { width: 100%; }
.pay-issues { font-size: .95rem; color: var(--bubble); font-weight: 800; margin: .7rem 0 .3rem; min-height: 1.2em; }
.checkout .fine { margin-top: .5rem; }

/* ---- desktop ---- */
@media (min-width: 700px) {
  .hero-demos { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   v0.4 additions — section reorder, single consent, nickname tip
   + live sung-line preview. APPEND-ONLY: nothing above changed.
   ================================================================ */
.how-cta { text-align: center; margin-top: 1.6rem; }
.como-tip { margin-top: .4rem; }
.sung-line { margin-top: .3rem; color: var(--grape); font-weight: 800; }
.consent-card .fine { margin: 0 0 .65rem; }
.consent-card .consent-item { margin-top: .95rem; margin-bottom: .7rem; }
.consent-item a { color: var(--grape); font-weight: 800; }
/* hero mini-teaser: try-it card above the fold */
.teaser-card {
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--sticker); padding: .9rem 1rem .95rem; max-width: 470px;
  margin: 0 auto .55rem; text-align: left; position: relative; z-index: 2;
}
.teaser-card .field { margin-bottom: .55rem; }
.teaser-card .field-label { margin-bottom: .2rem; font-size: .92rem; }
.teaser-card .field-input { padding: .5rem .85rem; font-size: .95rem; border-radius: 12px; }
.teaser-card .readback { margin-top: .1rem; }
.teaser-card .readback-label { margin-bottom: .3rem; }
.teaser-card .sung-line { margin: .3rem 0 0; }
.teaser-cta { display: block; width: 100%; margin-top: .7rem; padding: .75rem 1.2rem; font-size: 1rem; }
.hero-inner .trust-line { margin-bottom: 1.5rem; }
@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; margin-bottom: .6rem; }
  .hero .sub { font-size: 1rem; margin-bottom: .9rem; }
}

/* selector de idioma de la canción — pregunta prominente al inicio del armador */
.song-lang-top { margin-bottom: 1.6rem; }
.song-lang-label-big { display: block; width: 100%; text-align: center; font-family: "Baloo 2", sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: .55rem; }
.lang-btn-big { font-size: 1.08rem; padding: .68rem 1.5rem; }
.teaser-songlang { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.teaser-songlang .field-label { margin-bottom: 0; }

/* hint suave de apellido */
.name-hint { margin-top: .35rem; }
.link-suggest { background: none; border: 0; padding: 0; color: var(--grape); font-weight: 800; font-family: inherit; font-size: inherit; text-decoration: underline; cursor: pointer; }

/* nota de moneda bajo la barra de total */
.fine.center.currency-note { margin-top: .6rem; }
.currency-note:empty { display: none; }

/* consent compacto: notas colapsadas en details */
.consent-details { margin: 0 0 .8rem; }
.consent-details summary { font-weight: 800; font-size: .92rem; color: var(--ink-soft); cursor: pointer; }
.consent-details[open] summary { margin-bottom: .5rem; }

/* teaser → builder live sync */
.sync-caption { margin-top: .3rem; color: var(--mint); font-weight: 800; }
.sync-flash { outline: 3px solid var(--mango); outline-offset: 2px; transition: outline-color 1s ease; }

/* apodos: campo "Name:" opt-in tras pill reveladora */
.pill-reveal { border-style: dashed; background: transparent; color: var(--grape); }
.como-custom-wrap { display: inline-flex; align-items: center; gap: .45rem; }
.como-custom-wrap[hidden], .pill-reveal[hidden], .como-tip[hidden] { display: none; }

/* read-back: digit columns — circle on top, word aligned right below */
.digit-strip { column-gap: .45rem; row-gap: .5rem; }
.digit-col { display: inline-flex; flex-direction: column; align-items: center; gap: .2rem; min-width: 2rem; }
.digit-word { font-size: .9rem; font-weight: 700; line-height: 1.1; }

/* ================================================================
   v0.5 additions — QA móvil iPhone (375px). APPEND-ONLY:
   nada de lo de arriba cambió.
   ================================================================ */
/* El toggle EN/ES no se encoge: en el nav flex se comprimía por debajo
   del ancho de sus botones y "ES" quedaba cortado (overflow:hidden). */
.lang-toggle { flex-shrink: 0; }

/* iOS Safari hace zoom al enfocar inputs con font-size < 16px.
   Estos dos eran los únicos campos de texto por debajo de 16px. */
.teaser-card .field-input { font-size: 1rem; }
.como-custom { font-size: 1rem; }

@media (max-width: 540px) {
  /* El CTA del nav rompía en 2 líneas y apretaba el toggle de idioma;
     en móvil el mismo CTA vive en el teaser justo debajo. */
  .nav-cta { display: none; }
  /* Pills de apodo con tap target >= 44px de alto en touch. */
  .pill { padding: .65rem .95rem; }
  /* "Lo esencial" (summary del consent) con tap target >= 44px. */
  .consent-details summary { padding: .7rem 0; }
}

/* El nombre custom es opt-in DISCRETO: el default es "puro Dad/Papá".
   La pill reveladora baja a link de letra chica para no incitar. */
.pill.pill-reveal {
  border: none;
  background: none;
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: .55rem .3rem;
}
