/* Word Search: Learning English - site styles.
   The header is the floating pill every dezeo landing uses; the rest follows
   the game: sky gradients, cream letter tiles, highlighter strokes and the
   rainbow cheers with their dark purple outline. */
@font-face {
  font-family: "Lilita One";
  src: url("fonts/LilitaOne-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #2b1257;
  --ink-2: #4a3a73;
  --muted: #6b5f8a;
  --line: rgba(43, 18, 87, .1);
  --card: #ffffff;
  --bg: #f4f1ff;
  --tile: #fff8ec;
  --tile-edge: #e4d4b8;
  --pink: #ff2d87;
  --orange: #ff7a00;
  --yellow: #ffd000;
  --violet: #a14cff;
  --cyan: #00c2ff;
  --green: #22c55e;
  --grad: linear-gradient(90deg, #ff7a00, #ff2d87);
  --rainbow: linear-gradient(90deg, #ffd000, #ff7a00, #ff2d87, #a14cff, #00c2ff);
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(43, 18, 87, .45);
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Header pill, same values as the other dezeo landings */
  --pill: rgba(18, 22, 48, .78);
  --pill-border: rgba(255, 255, 255, .14);
  --pill-text: #f4f4f6;
  --pill-muted: #c9cde6;
  --nav-h: 94px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; background: var(--bg); }
/* The sky lives on its own fixed layer so scrolling never repaints it. */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #72cfff 0%, #a3a9ff 42%, #f4f1ff 78%); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1.1; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; }

/* ---------- Header: the floating pill ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 0; pointer-events: none; }
.site-header .container {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 62px; max-width: 1140px; padding: 0 10px 0 20px;
  background: var(--pill); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--pill-border); border-radius: 18px; box-shadow: 0 10px 34px rgba(18, 22, 48, .28);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--pill-text); font-weight: 700; font-size: 18px; letter-spacing: .01em; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { color: var(--pill-muted); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .15s ease; }
.site-nav a:hover { color: var(--yellow); }
.site-nav .nav-cta { color: #fff; background: var(--grad); padding: 9px 18px; border-radius: 999px; font-weight: 700; }
.site-nav .nav-cta:hover { color: #fff; filter: brightness(1.06); }
.nav-toggle, .nav-burger { display: none; }
@media (max-width: 1023px) {
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 10px; cursor: pointer; border: 1px solid var(--pill-border); border-radius: 12px; }
  .nav-burger span { display: block; width: 100%; height: 2px; background: var(--pill-text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .site-nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(18, 22, 48, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--pill-border); border-radius: 18px; padding: 8px 18px 18px; box-shadow: 0 24px 40px rgba(0, 0, 0, .35);
  }
  .site-nav a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--pill-border); }
  .site-nav .nav-cta { margin-top: 14px; text-align: center; padding: 13px 18px; border-bottom: none; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  :root { --nav-h: 76px; }
  .site-header { padding: 10px 0; }
  .site-header .container { height: 56px; padding-left: 16px; margin: 0 12px; }
}

/* ---------- Highlighter: the found-word stroke, drawn when it scrolls in ---------- */
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::before {
  content: ""; position: absolute; z-index: -1; left: -.1em; right: -.1em; top: .1em; bottom: .02em;
  border-radius: .55em; background: var(--pink); opacity: .9; box-shadow: 0 0 18px rgba(255, 45, 135, .55);
  transform: scaleX(0); transform-origin: left center; transition: transform .7s cubic-bezier(.3, .8, .3, 1);
}
.hl.on::before { transform: scaleX(1); }
.hl-blue::before { background: var(--cyan); box-shadow: 0 0 18px rgba(0, 194, 255, .55); }
.hl-orange::before { background: var(--orange); box-shadow: 0 0 18px rgba(255, 122, 0, .55); }
.hl-green::before { background: var(--green); box-shadow: 0 0 18px rgba(34, 197, 94, .5); }
.hl-violet::before { background: var(--violet); box-shadow: 0 0 18px rgba(161, 76, 255, .55); }
.hl-yellow::before { background: var(--yellow); box-shadow: 0 0 18px rgba(255, 208, 0, .6); }
h1 .hl, h2 .hl, h3 .hl { color: #fff; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; text-shadow: 0 3px 0 var(--ink); }
.hl-yellow { color: var(--ink) !important; -webkit-text-stroke: 0 !important; text-shadow: none !important; }
p .hl { color: var(--ink); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .hl::before { transition: none; transform: none; } }

/* ---------- Buttons and store badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 10px 24px rgba(255, 45, 135, .35); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .75); border: 1px solid var(--line); }
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 200px; padding: 11px 22px 11px 18px; border-radius: 16px;
  text-decoration: none; color: #fff; background: #160a2e; box-shadow: 0 6px 0 #05031a, 0 14px 30px rgba(22, 10, 46, .3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #05031a, 0 18px 34px rgba(22, 10, 46, .32); }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 11.5px; opacity: .85; line-height: 1.2; }
.store strong { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.15; letter-spacing: .02em; }
.micro { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
.kicker { font-weight: 800; color: var(--pink); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; margin-bottom: 10px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 18px; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 36px) 0 30px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-2); }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); margin: 18px 0 16px; color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink); }
.hero .sub { font-size: 19px; color: var(--ink); font-weight: 550; max-width: 32em; margin-bottom: 26px; }
.hero .stores { margin-bottom: 18px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 8px; color: var(--ink); font-size: 15px; font-weight: 700; }
.proof > span::before { content: "✓"; color: #157a3c; margin-right: 6px; font-weight: 900; }
/* Hero en capas: el marco guarda la proporcion del arte (1180x1040) y cada capa
   va en su lugar con porcentajes, flotando con su propio ritmo. */
.hero-stage { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1180 / 1040; }
.hero-stage img { position: absolute; max-width: none; height: auto; }
.hero-phones { animation: float 7s ease-in-out infinite; }
.hero-piece { animation: bob var(--d) ease-in-out var(--delay) infinite; will-change: transform; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(var(--amp)) rotate(var(--rot)); } }
@media (prefers-reduced-motion: reduce) { .hero-phones, .hero-piece { animation: none; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero .stores, .proof { justify-content: center; }
  .hero-art { order: -1; }
  .hero-stage { max-width: 440px; }
}

/* ---------- Stats strip ---------- */
.stats { padding: 0 0 40px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 15px; color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Download / CTA bands ---------- */
.band { border-radius: 34px; padding: 56px 48px; color: #fff; position: relative; overflow: hidden; background: linear-gradient(120deg, #2b1257 0%, #6a2fb5 45%, #ff2d87 100%); box-shadow: 0 24px 60px rgba(43, 18, 87, .3); }
.band h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 12px; }
.band p { font-size: 18px; opacity: .94; max-width: 36em; margin-bottom: 26px; }
.band .kicker { color: var(--yellow); }
.band .store { background: #fff; color: var(--ink); box-shadow: 0 6px 0 rgba(0, 0, 0, .3); }
.band .micro { color: rgba(255, 255, 255, .85); margin-top: 16px; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.band-art img { width: 100%; max-width: 560px; margin-left: auto; }
@media (max-width: 860px) {
  .band { padding: 40px 24px; text-align: center; }
  .band p { margin-left: auto; margin-right: auto; }
  .band .stores { justify-content: center; }
  .band-grid { grid-template-columns: 1fr; }
  .band-art { order: -1; }
  .band-art img { margin: 0 auto; max-width: 320px; }
}

/* ---------- Screenshots ---------- */
.shots-scroller { display: flex; gap: 20px; overflow-x: auto; padding: 10px 24px 26px; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: thin; }
.shots-scroller figure { flex: 0 0 auto; width: min(250px, 68vw); scroll-snap-align: start; }
.shots-scroller figure:first-child { margin-left: auto; }
.shots-scroller figure:last-child { margin-right: auto; }
.shots-scroller img { border-radius: 26px; box-shadow: 0 18px 40px rgba(43, 18, 87, .22); background: #fff; border: 5px solid #fff; }
.shots-scroller figcaption { text-align: center; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-top: 12px; }

/* ---------- Inside the game: feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .feature-art { order: 2; }
.feature h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.feature p { color: var(--ink-2); font-size: 18px; margin-bottom: 12px; }
.feature ul { list-style: none; margin-top: 14px; }
.feature li { padding-left: 30px; position: relative; margin-bottom: 8px; color: var(--ink-2); }
.feature li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 5px; background: var(--tile); box-shadow: 0 3px 0 var(--tile-edge); border: 1px solid var(--tile-edge); }
.feature-art img { width: 100%; }
.feature .inline { color: var(--pink); font-weight: 700; text-decoration: none; }
.feature .inline:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 26px; margin-bottom: 72px; }
  .feature.flip .feature-art { order: 0; }
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(43, 18, 87, .07); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 14px; font-family: var(--display); font-size: 26px; color: var(--ink); background: var(--tile); border-radius: 14px; box-shadow: 0 5px 0 var(--tile-edge); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 16px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.perk { background: rgba(255, 255, 255, .82); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.perk .dot { width: 44px; height: 8px; border-radius: 9px; margin-bottom: 12px; }
.perk b { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; margin-bottom: 4px; }
.perk span { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps, .perks { grid-template-columns: 1fr; } }

/* ---------- Guides grid ---------- */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(43, 18, 87, .07); transition: transform .18s ease, box-shadow .18s ease; }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43, 18, 87, .16); }
.guide-card img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }
.guide-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide-card .tag { align-self: flex-start; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--pink); }
.guide-card h3 { font-size: 21px; }
.guide-card p { font-size: 15px; color: var(--muted); }
.guide-card .read { margin-top: auto; font-weight: 700; color: var(--ink); font-size: 15px; }
@media (max-width: 900px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .guides-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 34px 16px 0; position: relative; font-weight: 750; font-size: 18px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font: 400 28px/1.4 var(--display); color: var(--pink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 12px; }
.faq .more { display: inline-block; margin-bottom: 16px; font-weight: 700; color: var(--pink); text-decoration: none; }
.faq .more:hover { text-decoration: underline; }

/* ---------- Article (guides, legal, support) ---------- */
.article-hero { padding: calc(var(--nav-h) + 36px) 0 10px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--pink); }
.article h1 { font-size: clamp(34px, 4.8vw, 54px); margin-bottom: 14px; }
.article .meta { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.article .lede { font-size: 20px; font-weight: 550; color: var(--ink); background: #fff; border-left: 6px solid var(--pink); padding: 18px 22px; border-radius: 0 18px 18px 0; margin-bottom: 24px; }
.article .cover { border-radius: 26px; box-shadow: 0 20px 44px rgba(43, 18, 87, .18); margin: 8px 0 34px; }
.article h2 { font-size: clamp(26px, 3vw, 34px); margin: 44px 0 14px; }
.article h3 { font-size: 22px; margin: 28px 0 10px; }
.article p, .article li { font-size: 18px; color: var(--ink-2); }
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 18px 24px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--ink); }
.article a { color: var(--pink); font-weight: 600; }
.article a.store, .article a.store strong, .article a.store small, .article a.btn-primary { color: #fff; font-weight: 700; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 16px; background: #fff; border-radius: 14px; overflow: hidden; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.article th { background: var(--bg); color: var(--ink); }
.callout { background: #fff; border: 2px solid var(--yellow); border-radius: 24px; padding: 26px 28px; margin: 34px 0; box-shadow: 0 8px 0 #f0d26a; }
.callout h2, .callout h3 { margin-top: 0; }
.callout ol { margin-bottom: 20px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.aside { position: sticky; top: calc(var(--nav-h) + 10px); background: #fff; border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); }
.aside img.icon { width: 96px; border-radius: 24px; margin: 0 auto 12px; }
.aside h3 { font-size: 22px; }
.aside p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.aside .store { min-width: 0; width: 100%; justify-content: center; margin-bottom: 10px; }
.aside .shot { border-radius: 18px; margin: 14px auto 0; width: 70%; border: 4px solid var(--bg); }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } .aside { position: static; } }
.related { margin: 56px 0 20px; }
.related h2 { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; padding: 56px 0 30px; background: #160a2e; color: #c9cde6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer p { font-size: 15px; max-width: 30em; }
.site-footer h4 { color: #fff; font-family: var(--display); font-weight: 400; font-size: 18px; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9cde6; text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--yellow); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.site-footer .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #c9cde6; transition: background .15s ease, color .15s ease, transform .15s ease; }
.site-footer .footer-social a:hover { background: var(--yellow); color: #160a2e; transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #9a92b8; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Phones: less air between sections so the page doesn't feel empty. */
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .hero { padding-top: calc(var(--nav-h) + 12px); }
  .feature { margin-bottom: 56px; }
}

/* Antes del lanzamiento: el boton de tienda es un aviso, no un enlace */
.store.soon { cursor: default; }
.store.soon:hover { transform: none; }
.article .store.soon, .article .store.soon strong, .article .store.soon small { color: #fff; font-weight: 700; }
