/* Ai Ayuda website — premium edition. Same look as the app's premium themes: deep Talavera teal, one metal (gold),
   a serif for headlines only, readable Atkinson for everything else. Phone first; text grows naturally. */
@font-face { font-family: "Atkinson"; src: url(fonts/atkinson-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url(fonts/atkinson-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

/* Layout: dark teal opening and closing (header, hero, final, footer), warm ivory reading sections in between. */
:root {
  --ivory: #FFFCF4; --paper: #FFFFFF; --ink: #062A30; --muted: #45626A;
  --teal: #006C79; --teal-dark: #00535E; --deep: #082F35; --deep-2: #0D3F47; --deep-ink: #F5FFF8; --deep-muted: #BFD8D6;
  --mint: #EAF6F2; --gold: #E0BA66; --gold-deep: #8A6420; --gold-line: #C9A24A; --gold-ink: #2B1A00;
  --hair: rgba(201, 162, 74, .45); --shadow: 0 24px 48px -28px rgba(8, 47, 53, .45);
  --radius: 22px; --pad: 20px;
  --font: "Atkinson", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.125rem/1.6 var(--font); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 10vw, 2.75rem); }
h2 { font-size: clamp(1.9rem, 8.2vw, 2.35rem); }
h3 { font-weight: 700; font-size: 1.15rem; line-height: 1.3; margin: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--gold); color: var(--gold-ink); padding: 12px 16px; border-radius: 12px; z-index: 50; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* the metal line: a hairline of gold that fades out at both ends */
.metal { height: 1px; background: linear-gradient(90deg, rgba(201,162,74,0), var(--gold-line) 20%, var(--gold) 50%, var(--gold-line) 80%, rgba(201,162,74,0)); }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--deep); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(8, 47, 53, .96); backdrop-filter: blur(10px); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 68px; padding-block: 6px; }
.brand { flex-shrink: 0; }
.brand { text-decoration: none; }
.wordmark { font-family: var(--font); font-weight: 700; font-size: 1.7rem; line-height: 1; letter-spacing: -0.01em; color: var(--deep-ink); white-space: nowrap; }
.wordmark-foot { display: inline-block; font-size: 1.5rem; margin-bottom: 4px; }
.nav { display: none; gap: 30px; }
.nav a { color: var(--deep-ink); text-decoration: none; font-weight: 700; font-size: 1rem; padding: 10px 2px; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--gold); }
.top :focus-visible, .hero :focus-visible, .final :focus-visible, .foot :focus-visible { outline-color: var(--gold); }

/* buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 26px; border-radius: 14px; border: 1.5px solid transparent; font: 700 1.05rem/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--teal); color: #fff; border-color: var(--gold-line); box-shadow: 0 10px 24px -14px rgba(0, 83, 94, .9); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-gold { background: linear-gradient(180deg, #EBCB80, var(--gold) 55%, #CFA54E); color: var(--gold-ink); border-color: #F3D898; box-shadow: 0 12px 28px -14px rgba(201, 162, 74, .9); }
.btn-gold:hover { background: linear-gradient(180deg, #F0D48F, #E6C273 55%, #D6AE58); }
.btn-ghost-light { background: transparent; color: var(--deep-ink); border-color: rgba(224, 186, 102, .7); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .06); }
.btn-sm { min-height: 48px; padding: 8px 18px; font-size: 1rem; }
.inv { filter: brightness(0) invert(1); width: 24px; height: 24px; }
/* a slow pass of light across the main gold buttons (never with reduced motion) */
.shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; transform: skewX(-18deg); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0)); animation: shine 6.5s ease-in-out 1.2s infinite; pointer-events: none; }
@keyframes shine { 0% { left: -40%; } 22%, 100% { left: 130%; } }

/* hero */
.hero { position: relative; color: var(--deep-ink); background:
  radial-gradient(700px 420px at 90% 10%, rgba(0, 128, 143, .45), rgba(0, 128, 143, 0) 70%),
  radial-gradient(600px 380px at 0% 100%, rgba(224, 186, 102, .16), rgba(224, 186, 102, 0) 70%),
  linear-gradient(180deg, var(--deep) 0%, #0A3940 100%); padding-block: 40px 64px; overflow: hidden; }
.hero-in { display: grid; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 20px; }
.hero .eyebrow { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--deep-muted); max-width: 32em; }
.actions { display: grid; gap: 12px; margin-top: 10px; }
.phone-wrap { margin: 0; display: grid; justify-items: center; gap: 16px; }
.phone { width: min(76vw, 290px); padding: 8px; border-radius: 46px; background: linear-gradient(145deg, #F3D898, #B98D3C 40%, #F0D48F 70%, #9C7430); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255,255,255,.08); }
.phone img { width: 100%; border-radius: 38px; border: 6px solid #061E22; }
.hero figcaption { color: var(--deep-muted); font-size: .95rem; }

/* sections */
.section { padding-block: 72px; }
.band { padding-block: 72px; background: linear-gradient(180deg, var(--mint) 0%, var(--ivory) 100%); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .82rem; color: var(--gold-deep); margin-bottom: 14px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.sub { margin-top: 16px; color: var(--muted); }
.section > .wrap + .wrap, .band > .wrap + .wrap { margin-top: 32px; }

.card { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.window { position: relative; background: var(--paper); border: 1px solid var(--hair); border-radius: 26px; padding: 24px; display: grid; gap: 14px; box-shadow: 0 34px 60px -34px rgba(8, 47, 53, .55); }
.window::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: linear-gradient(90deg, rgba(201,162,74,0), var(--gold), rgba(201,162,74,0)); }
.bubble { border-radius: 20px; padding: 16px 18px; display: grid; gap: 6px; }
.bubble-user { background: var(--deep); color: var(--deep-ink); justify-self: end; max-width: 92%; border-bottom-right-radius: 6px; }
.bubble-user .tag { color: var(--gold); opacity: 1; }
.bubble-ai { background: var(--mint); border-bottom-left-radius: 6px; max-width: 96%; font-size: 1.12rem; }
.tag { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-bottom: 2px; }
.lang { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fine { color: var(--muted); font-size: .95rem; }

.chip { min-height: 48px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--teal); background: var(--paper); color: var(--teal); font: 700 1rem/1.2 var(--font); cursor: pointer; }
.chip.is-on { background: var(--deep); border-color: var(--gold-line); color: var(--deep-ink); }
.chip-big { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; justify-content: flex-start; border-radius: 16px; text-align: left; }
.chip-big.is-on img { filter: brightness(0) invert(1); }
.chip-big img { width: 28px; height: 28px; }
.chips { display: grid; gap: 10px; margin-bottom: 24px; }

.case { display: grid; gap: 16px; }
.case-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tagpill { margin-left: auto; border: 1px solid var(--gold-line); color: var(--gold-deep); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }
.q, .a { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; }
.q { background: #F5F1E6; }
.a { background: var(--mint); font-size: 1.08rem; }
.q .tag, .a .tag { color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { display: grid; gap: 10px; position: relative; }
.step .num { position: absolute; right: 20px; top: 12px; font-family: var(--serif); font-weight: 600; font-size: 2.6rem; color: var(--gold); line-height: 1; }
.step p { color: var(--muted); }
.sim { display: grid; gap: 16px; justify-items: center; text-align: center; }
.badge { border: 1px solid var(--gold-line); color: var(--gold-deep); font-weight: 700; font-size: .88rem; border-radius: 999px; padding: 6px 14px; }
.sim-out { min-height: 4.6em; display: grid; align-items: center; }
.sim-line { font-size: 1.12rem; }
.bars { display: flex; gap: 6px; align-items: end; height: 34px; opacity: 0; transition: opacity .2s; }
.bars i { width: 8px; height: 10px; border-radius: 4px; background: var(--teal); display: block; }
.sim.is-on .bars { opacity: 1; }
.sim.is-on .bars i { animation: bar .9s ease-in-out infinite; }
.sim.is-on .bars i:nth-child(2) { animation-delay: .12s; } .sim.is-on .bars i:nth-child(3) { animation-delay: .24s; } .sim.is-on .bars i:nth-child(4) { animation-delay: .36s; } .sim.is-on .bars i:nth-child(5) { animation-delay: .48s; }
@keyframes bar { 0%, 100% { height: 10px; } 50% { height: 32px; } }

.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tips h3::before { content: ""; display: block; width: 32px; height: 2px; background: var(--gold); margin-bottom: 14px; }
.tips p { color: var(--muted); margin-top: 8px; }
.limits { margin-top: 28px; background: var(--paper); border: 1px solid var(--hair); border-radius: 18px; padding: 18px 20px; color: var(--muted); }

.qa { background: var(--paper); border: 1px solid var(--hair); border-radius: 18px; margin-bottom: 12px; }
.qa summary { cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; list-style: none; position: relative; min-height: 58px; display: flex; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 1.8rem; color: var(--gold-deep); line-height: 1; }
.qa[open] summary::after { content: "–"; }
.qa p { padding: 0 20px 20px; color: var(--muted); }

.final { position: relative; background: radial-gradient(600px 360px at 50% 0%, rgba(0, 128, 143, .5), rgba(0,128,143,0) 70%), var(--deep); color: var(--deep-ink); padding-block: 0 72px; }
.final .wrap { display: grid; gap: 16px; justify-items: center; padding-top: 72px; }
.final .sub { color: var(--deep-muted); }
.final img { width: 96px; height: 96px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.4)); }
.foot { background: #05242A; color: var(--deep-muted); padding-block: 36px; }
.foot-in { display: grid; gap: 14px; justify-items: start; }
.foot a { color: var(--deep-ink); }
.foot nav { display: flex; gap: 18px; }
.copy { font-size: .9rem; opacity: .8; }

/* The controls that need JavaScript stay hidden without it; every example is then simply shown as text. */
.js-only { display: none; }
.js .js-only { display: inline-flex; }
.js .lang.js-only { display: flex; }
.js #msg-en[hidden], .js .case[hidden] { display: none; }
html:not(.js) #msg-en[hidden], html:not(.js) .case[hidden] { display: grid; }
html:not(.js) #msg-en { margin-top: 6px; }

@media (min-width: 640px) {
  .chips { display: flex; flex-wrap: wrap; justify-content: center; }
  .chip-big { border-radius: 999px; }
  .actions { display: flex; }
  .tips, .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  :root { --pad: 32px; }
  body { font-size: 1.25rem; }
  h1 { font-size: clamp(3.25rem, 5.4vw, 4.4rem); }
  h2 { font-size: 3rem; }
  .nav { display: flex; }
  .hero { padding-block: 88px 112px; }
  .hero-in { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .lead { font-size: 1.25rem; }
  .section, .band { padding-block: 112px; }
  .final { padding-block: 0 112px; }
  .final .wrap { padding-top: 112px; }
  .phone { width: 310px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .bars { transition: none; }
  .shine::after { animation: none; display: none; }
  .sim.is-on .bars i { animation: none; height: 22px; }
}

/* Footer socials + contact page */
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.socials a { display: inline-block; padding: 6px 0; min-height: 44px; line-height: 32px; font-weight: 700; }
.socials-lt a { color: var(--teal); }
.foot .copy { font-size: .9rem; }
.foot nav { flex-wrap: wrap; }
.h-page { font-size: clamp(2rem, 9vw, 2.75rem); }
.actions-c { margin-top: 24px; }
.contact-card { display: grid; gap: 14px; }
.contact-card .h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.contact-card p { margin: 0; }
.center .btn { max-width: 100%; white-space: normal; text-align: center; }

/* Plans and prices */
.plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; }
.plan h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; }
.plan-price { margin-top: 6px; }
.plan-price .amt { font-family: var(--serif); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--ink); }
.plan-price .per { color: var(--muted); font-weight: 700; }
.plan-alt { color: var(--gold-deep); font-weight: 700; font-size: .98rem; }
.plan-note { color: var(--muted); margin-top: 4px; }
.perks { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--hair); display: grid; gap: 10px; }
.perks li { position: relative; padding-left: 30px; }
.perks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.plan-featured { border: 2px solid var(--gold-line); box-shadow: 0 30px 60px -30px rgba(138, 100, 32, .55); }
.plan-badge { position: absolute; top: -14px; left: 24px; background: linear-gradient(180deg, #EBCB80, var(--gold)); color: var(--gold-ink); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }
.trial { margin-top: 28px; text-align: center; font-weight: 700; color: var(--teal-dark); background: var(--paper); border: 1px solid var(--gold-line); border-radius: 18px; padding: 16px 20px; }
.plan-fine { margin: 18px auto 0; max-width: 760px; padding-left: 1.2em; color: var(--muted); font-size: .98rem; display: grid; gap: 6px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

/* Privacy and terms pages */
.legal h1 { font-size: clamp(2rem, 7vw, 2.6rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.5rem; margin-top: 36px; margin-bottom: 8px; }
.legal p, .legal ul { margin-top: 10px; }
.legal li { margin: 6px 0; }
.legal .mut { color: var(--muted); font-size: 1rem; }
.legal hr { border: 0; border-top: 1px solid var(--hair); margin: 32px 0; }

/* Phones: the section links sit in a second row of the header, scrolling sideways if they don't fit. */
@media (max-width: 899px) {
  .nav { display: flex; order: 3; width: 100%; gap: 10px; justify-content: space-between; overflow-x: auto; scrollbar-width: none; margin-top: -4px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: .84rem; padding: 8px 0 10px; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
}

/* videos */
.vid { margin: 0; display: grid; justify-items: center; gap: 12px; }
.vid video { display: block; width: 100%; max-width: 320px; height: auto; aspect-ratio: 9 / 16; border-radius: 26px; background: #061E22; box-shadow: 0 24px 50px -24px rgba(6, 30, 34, .55); }
.vid figcaption { color: var(--muted, #46615f); font-size: .95rem; text-align: center; }
.vid-row { display: grid; gap: 36px; justify-items: center; }
.phone-video video { max-width: none; border-radius: 38px; border: 6px solid #061E22; box-shadow: none; }
.phone-video { width: min(76vw, 300px); }
.family-section .vid { margin-bottom: 8px; }
@media (min-width: 760px) { .vid-row { grid-template-columns: repeat(2, 1fr); align-items: start; } .phone-video { width: 320px; } }
.vid { position: relative; }
.vid video { grid-area: 1 / 1; }
.vid-play { grid-area: 1 / 1; align-self: end; margin-bottom: 9%; justify-self: center; z-index: 1; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 22px; border: 0; border-radius: 999px; background: #E3B95F; color: #1d1403; font: 700 1.1rem/1 inherit; font-family: inherit; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(0,0,0,.6); }
.vid-play[hidden] { display: none; }
.vid figcaption { grid-row: 2; }

/* notify button, English block, single video row, phone-first hero order */
.notify { justify-self: start; margin-top: 4px; }
.center .notify { justify-self: center; }
.notify-hint { font-size: .95rem; opacity: .85; }
.english-card { display: grid; gap: 14px; padding: 28px; }
.english-card h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 0; }
.english-card ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.vid-row:has(> .vid:only-child) { grid-template-columns: 1fr; }
@media (max-width: 899px) {
  .hero-in { gap: 22px; }
  .hero-copy { display: contents; }
  .hero-eyebrow { order: 1; } .hero h1 { order: 2; } .hero .lead { order: 3; } .hero .phone-wrap { order: 4; } .hero .download { order: 5; } .hero .text-link { order: 6; }
}

/* three videos side by side on wide screens */
@media (min-width: 1000px) { .vid-row:has(> .vid:nth-child(3)) { grid-template-columns: repeat(3, 1fr); } }

/* Everyday-help examples: photos and the written recipe that Ai Ayuda gives */
.ex-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ex-fotos figure { margin: 0; display: grid; gap: 6px; }
.ex-fotos img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--gold-line); display: block; }
.ex-fotos figcaption { text-align: center; font-weight: 700; color: var(--muted); font-size: .95rem; }
.receta { display: grid; gap: 8px; padding: 18px; border: 1.5px solid var(--gold-line); border-radius: 16px; background: #fff; }
.receta-foto { margin: 0 0 4px; }
.receta-foto img { width: 100%; height: auto; border-radius: 12px; display: block; }
.receta h4 { margin: 0; font-family: var(--serif); font-size: 1.4rem; }
.receta h5 { margin: 8px 0 0; font-size: 1.05rem; }
.receta-para { margin: 0; color: var(--muted); }
.receta ul, .receta ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; }
.ex-uno { grid-template-columns: 1fr; }

.ex-poster { margin: 0; display: grid; gap: 6px; justify-items: center; }
.ex-poster img { width: 100%; max-width: 560px; height: auto; border-radius: 14px; border: 1px solid var(--gold-line); display: block; }
.ex-poster figcaption { text-align: center; font-weight: 700; color: var(--muted); font-size: .95rem; }

/* ---------- Design refinements (formerly design-overrides.css; kept last so they win) ---------- */
/* Load AFTER styles.css. Numbered changes match DESIGN-REVIEW.md. */

/* 1. Shared download block: official Spanish artwork, unmodified. */
.download { display: grid; gap: 12px; min-width: 0; scroll-margin-top: 24px; }
.download-title { font-weight: 700; font-size: 1.375rem; line-height: 1.3; }
.download-note, .download-pending { font-size: 1.125rem; color: var(--deep-muted); }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0 -12px; }
.store-badge { display: inline-flex; align-items: center; justify-content: center; padding: 12px; min-width: 44px; min-height: 72px; border-radius: 8px; }
.store-badge img { display: block; width: auto; height: 48px; max-width: 100%; filter: none; border-radius: 0; }
.store-badge:hover, .store-badge:active { background: transparent; transform: none; }
.store-pending { flex: 1 1 180px; max-width: 260px; }
.badge-placeholder { display: block; width: 100%; border: 1px dashed var(--deep-muted); padding: 12px; color: var(--deep-ink); font-size: 1.125rem; line-height: 1.4; text-align: center; }
.download-pending { border-left: 2px solid var(--gold); padding-left: 12px; }
.final .download { width: 100%; justify-items: center; margin-top: 12px; }
.final .store-badges { justify-content: center; }
.final .store-badge img { width: auto; height: 48px; filter: none; }
/* Live store badges: Apple's art fills its box; Google's PNG has built-in clear space, so it is drawn larger and pulled in to match. */
.live-badges { gap: 4px 8px; margin: 4px -12px 0; }
.live-badges .store-badge { min-height: 0; padding: 8px 12px; transition: transform .15s ease; }
.live-badges .store-badge:hover { transform: translateY(-2px); }
.live-badges .badge-apple img { height: 56px; }
.live-badges .badge-google img { height: 84px; margin: -14px -14px; }
.final .live-badges .badge-apple img { height: 56px; }
.final .live-badges .badge-google img { height: 84px; }
.live-badges .badge-failed { padding: 12px 24px; min-height: 56px; }

/* 2. Explain the product before asking for a download. */
.hero { background: var(--deep); padding-block: 36px 48px; overflow: visible; }
.hero-in { gap: 32px; }
.hero-copy { gap: 20px; min-width: 0; }
.hero-eyebrow { color: var(--gold); font-size: 1.125rem; font-weight: 700; }
h1 { font-size: clamp(2.125rem, 5vw + 1rem, 3.75rem); line-height: 1.12; max-width: 16ch; }
.lead { font-size: 1.25rem; line-height: 1.55; max-width: 36ch; }
.phone { width: min(72vw, 260px); padding: 4px; border-radius: 34px; background: var(--gold); box-shadow: 0 20px 40px -24px rgba(0,0,0,.55); }
.phone img { border-radius: 30px; border-width: 4px; }
.phone-wrap { gap: 12px; }
.text-link { color: var(--deep-ink); font-size: 1.125rem; font-weight: 700; text-underline-offset: 5px; padding-block: 10px; min-height: 44px; justify-self: start; }

/* 3. Readability: all live text is at least 18px at a 16px root. */
:root { --muted: #36565D; --deep-muted: #D6E7E1; --hair: #D5DED8; --radius: 18px; --shadow: 0 4px 16px rgba(8,47,53,.06); }
body { font-size: 1.125rem; line-height: 1.6; }
.fine, .tag, .tagpill, .eyebrow, .badge, .copy, .foot .copy,
.plan-fine, .plan-alt, .plan-badge, .legal .mut, .hero figcaption,
.nav a, .btn, .btn-sm, .chip, .sim-line, .a, .bubble-ai {
  font-size: 1.125rem;
}
.eyebrow, .tag, .tagpill { letter-spacing: .02em; text-transform: none; opacity: 1; }
.eyebrow { margin-bottom: 12px; }
.eyebrow::before, .eyebrow::after { display: none; }
.copy { opacity: 1; }
h2 { font-size: clamp(1.875rem, 3vw + 1rem, 2.75rem); line-height: 1.16; }
h3 { font-size: 1.25rem; line-height: 1.35; }
.sub { margin-top: 16px; }
.wrap, .card, .window, .step, .plan { min-width: 0; }
[hidden] { display: none !important; }
html:not(.js) .case[hidden] { display: grid !important; }
html:not(.js) #msg-en[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.top :focus-visible, .hero :focus-visible, .final :focus-visible, .foot :focus-visible { outline-color: var(--gold); }

/* 4. A wrapping, static phone header; no horizontal navigation strip. */
html { scroll-behavior: auto; scroll-padding-top: 24px; }
.top { position: relative; top: auto; background: var(--deep); backdrop-filter: none; }
.top-in { gap: 12px 20px; padding-block: 14px; }
.brand img { width: 132px; min-width: 0; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.top-in > .btn { margin-left: auto; }
.nav.nav-desktop { display: none; }
.mobile-menu { flex: 1 1 100%; }
.mobile-menu summary { min-height: 44px; display: flex; align-items: center; padding: 8px 0; color: var(--deep-ink); font-weight: 700; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::after { content: "+"; margin-left: auto; color: var(--gold); }
.mobile-menu[open] summary::after { content: "−"; }
.mobile-menu nav { display: grid; gap: 4px; padding-block: 8px; border-top: 1px solid #557478; }
.mobile-menu a { display: flex; align-items: center; min-height: 48px; padding: 8px; color: var(--deep-ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* 5. One concrete demonstration and three compact steps. */
.section, .band { padding-block: 48px; }
.band { background: var(--mint); }
.section > .wrap + .wrap, .band > .wrap + .wrap { margin-top: 28px; }
.worked-example { margin-top: 28px; }
.worked-example h3 { font-family: var(--serif); font-weight: 600; font-size: 1.625rem; }
.worked-example .eyebrow { display: none; }
.worked-example .sub { margin-bottom: 20px; }
.window { padding: 20px; border-radius: 18px; box-shadow: var(--shadow); }
.window::before { display: none; }
.bubble { padding: 16px; }
.steps { gap: 24px; margin-top: 28px; }
.step { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; background: transparent; border: 0; box-shadow: none; padding: 0; }
.step .num { position: static; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--teal-dark); background: var(--paper); font: 700 1.25rem/1 var(--font); }
.step p { margin-top: 6px; }

/* 6. Four initial choices; five more remain one tap away. */
.chips { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; margin-bottom: 16px; }
.chip-big { border-radius: 14px; width: 100%; min-height: 60px; padding: 12px 16px; font-size: 1.125rem; }
.chip-big img, .case-head img { flex: 0 0 auto; object-fit: contain; }
.chip-big img { width: 28px; height: 28px; }
.chip-big.is-on { border-color: var(--deep); box-shadow: inset 4px 0 0 var(--gold); }
.more-topics { margin-bottom: 24px; border-block: 1px solid var(--hair); }
.js details.more-topics.js-only { display: block; }
.more-topics summary { min-height: 48px; padding-block: 12px; cursor: pointer; color: var(--teal-dark); font-weight: 700; }
.more-topics .chips { margin-top: 12px; }
.case-head { flex-wrap: wrap; gap: 12px; }
.case-head h3 { flex: 1 1 140px; }
.case-head img { width: 36px; height: 36px; }
.tagpill { margin-left: 0; padding: 4px 10px; }
.q, .a { padding: 16px; }
html:not(.js) .case + .case { margin-top: 20px; }

/* 7. Trust is evidence: retain all six claims and the limits, reduce chrome. */
.trust-section .tips { gap: 0 28px; }
.trust-section .card { background: transparent; border: 0; border-top: 1px solid #B4C9C0; border-radius: 0; box-shadow: none; padding: 24px 0; }
.tips h3::before { display: none; }
.limits { margin-top: 12px; border-color: #B4C9C0; }

/* 8. Family setup becomes one quiet panel. */
.family-section .tips { background: #F5F0E4; border-radius: 18px; padding: 24px; gap: 24px; }
.family-section .card { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; }

/* 9. Lead with trial terms, keep all plan details visible. */
.trial { margin: 0 0 24px; padding: 20px; border-color: #A6BDB4; text-align: left; }
.plans { gap: 20px; }
.plan { padding: 24px; gap: 8px; }
.plan.plan-featured { border: 2px solid var(--teal); box-shadow: none; }
.plan-price { line-height: 1.4; }
.plan-price .amt { font-size: 2.5rem; line-height: 1.15; }
.plan-alt[aria-hidden] { display: none; }
.plan-fine { font-size: 1.125rem; gap: 12px; margin-top: 24px; }

/* 10. Restraint in surfaces, controls and footer. */
.card { box-shadow: var(--shadow); border-color: var(--hair); }
.btn { min-height: 52px; border-radius: 12px; padding: 12px 20px; transition: background-color .15s ease; }
.btn:active { transform: none; }
.btn-gold, .btn-gold:hover { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); box-shadow: none; }
.shine::after { display: none; animation: none; }
.qa { border-color: var(--hair); margin-bottom: 12px; }
.qa summary { min-height: 60px; display: block; } /* block, not flex: in a flex row the spaces next to a span vanish ("What isAi Ayuda") */
.final { background: var(--deep); padding-bottom: 48px; }
.final .wrap { padding-top: 48px; gap: 16px; }
.final .wrap > img { width: 72px; height: 72px; filter: none; }
.foot { padding-block: 32px; }
.foot-in { gap: 16px; }
.foot nav { flex-wrap: wrap; gap: 8px 24px; }
.foot nav a, .foot p a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; }
.foot .copy { max-width: 60ch; }
.socials { gap: 8px 24px; }
.socials a { line-height: 1.5; padding-block: 10px; }

@media (min-width: 600px) {
  .chips { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tips, .steps { grid-template-columns: minmax(0,1fr); }
}
@media (min-width: 1000px) {
  .nav.nav-desktop { display: flex; width: auto; order: 0; gap: 22px; overflow: visible; margin: 0; }
  .nav a { padding: 10px 0; min-height: 44px; }
  .mobile-menu { display: none; }
  .brand img { width: 148px; }
  .hero { padding-block: 56px 64px; }
  .hero-in { grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 56px; }
  .phone { width: 280px; }
  .section, .band { padding-block: 72px; }
  .section > .wrap + .wrap, .band > .wrap + .wrap { margin-top: 32px; }
  .steps { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  .trust-section .tips { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .family-section .tips { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 32px; }
  .plans { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .final { padding-bottom: 72px; }
  .final .wrap { padding-top: 64px; }
  .foot-in { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .foot .copy { grid-column: 1 / -1; }
}
/* Undo original desktop columns at widths where text starts to feel cramped. */
@media (min-width: 900px) and (max-width: 999px) {
  .hero-in, .plans, .tips, .steps { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 599px) {
  .store-badges { flex-direction: column; align-items: flex-start; }
  .store-pending { flex: none; width: 100%; max-width: 260px; }
  .final .store-badges { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Spaces around names the translator must not touch (brand, email). They live in CSS, not in the text, because Chrome's
   translator trims spaces next to such spans ("What isAi Ayuda?"). */
.nt.sp-l::before { content: " "; white-space: pre; }
.nt.sp-r::after { content: " "; white-space: pre; }

/* ---------- "Avíseme por WhatsApp" form ---------- */
.aviso-form { display: grid; gap: 16px; margin-top: 20px; text-align: left; }
.aviso-field { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.aviso-field label, .aviso-field legend { font-weight: 700; color: var(--ink); }
.aviso-field input[type=text], .aviso-field input:not([type]), .aviso-field input[type=tel] { font: inherit; font-size: 1.25rem; min-height: 56px; padding: 10px 14px; border: 2px solid var(--muted); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.aviso-field input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--teal); }
.aviso-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.aviso-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 16px; border: 2px solid var(--muted); border-radius: 999px; font-weight: 700; cursor: pointer; }
.aviso-chip:has(input:checked) { border-color: var(--teal); background: rgba(0, 107, 117, .08); }
.aviso-chip input, .aviso-consent input { width: 24px; height: 24px; accent-color: var(--teal); flex: none; }
.aviso-consent label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.aviso-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aviso-msg { font-weight: 700; margin: 0; }
.aviso-msg:empty { display: none; }
.aviso-msg.is-error { color: #A12C1C; }
.aviso-msg a { display: inline-block; margin-top: 8px; }
.aviso-form .btn { justify-self: start; }
/* ---------- Testimonials (shown only when there are real quotes) ---------- */
.quotes { list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.quotes blockquote { margin: 0; font-size: 1.25rem; }
.quote-by { font-weight: 700; color: var(--muted); margin-top: 10px; }
/* ---------- English page ---------- */
.en-page h2 { margin-top: 32px; }
.en-card { margin-top: 20px; }
.en-card h2 { margin-top: 0; }
.en-plans { list-style: none; padding: 0; display: grid; gap: 12px; }
.en-price { font-family: var(--font); font-size: 1.125rem; color: var(--gold-deep); margin-left: 8px; }
.en-page .download-note { color: var(--muted); }
