:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #130c18;
  color: #fff4fb;
  --ink: #fff4fb;
  --muted: #cdbdcc;
  --edge: #f1c4df35;
  --pink: #f0bad5;
  --display: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p { margin: 0; }
body { background: radial-gradient(ellipse 72% 34% at 50% 52%, #2e182d, transparent), #130c18; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid #ffafd7; outline-offset: 5px; }
.skip { position: fixed; top: 12px; left: 12px; transform: translateY(-180%); z-index: 10; padding: 12px; color: #211323; background: #fff4fb; }
.skip:focus { transform: none; }

header { position: relative; z-index: 2; isolation: isolate; background: #1c1020; border-bottom: 1px solid #e8b5d231; }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 78px; width: min(100% - 40px, 1160px); margin: auto; }
.brand { display: grid; place-items: center; min-height: 44px; padding: 3px 9px; mix-blend-mode: lighten; }
.brand img { display: block; width: 110px; height: auto; }
.navigation { position: relative; justify-self: start; z-index: 1; }
.quick-help { justify-self: end; }
.navigation summary, .quick-help {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px;
  padding: 8px 12px; border: 1px solid var(--edge); border-radius: 12px; color: #f4d8eb;
  background: #ffffff08; text-decoration: none; cursor: pointer; font-size: .86rem; font-weight: 650;
}
.navigation summary { font-size: 1rem; list-style: none; }
.navigation summary::-webkit-details-marker { display: none; }
.navigation summary:hover, .quick-help:hover { background: #ffffff17; }
.quick-help span:first-child { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid; border-radius: 50%; line-height: 1; }
nav { position: absolute; top: calc(100% + 8px); min-width: 164px; padding: 6px; border: 1px solid var(--edge); border-radius: 14px; background: #2e1b31; box-shadow: 0 14px 28px #0006; }
nav a { display: block; padding: 11px; border-radius: 8px; text-decoration: none; }
nav a:hover { background: #ffffff15; }

.hero {
  position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #e6accc29;
  background: radial-gradient(ellipse 65% 100% at 56% 27%, #8e49683b, transparent 76%),
    radial-gradient(ellipse 48% 100% at 92% 16%, #50366da3, transparent 80%),
    linear-gradient(137deg, #251326, #1c1025 60%, #180d20);
}
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.hero::before {
  inset: 0;
  background: radial-gradient(1px 1px at 6% 43%, #ffe1edb0 80%, transparent),
    radial-gradient(1.2px 1.2px at 29% 13%, #f4bfdba8 80%, transparent),
    radial-gradient(1px 1px at 42% 80%, #f4bfdbb0 80%, transparent),
    radial-gradient(1.4px 1.4px at 78% 14%, #f4bfdbcf 80%, transparent),
    radial-gradient(1px 1px at 95% 65%, #f4bfdbb0 80%, transparent);
}
.hero::after {
  width: min(1220px, 160vw); aspect-ratio: 1.48; right: -26%; top: -65%;
  border: 1px solid #f3cded20; border-radius: 50%; rotate: -22deg;
  box-shadow: 0 0 0 29px #eab9e20a, 0 0 0 61px #eab9e208, 0 0 0 93px #eab9e209;
}
.hero-inner { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(26px, 6vw, 90px); width: min(100% - 60px, 1130px); margin: auto; padding: clamp(62px, 8.7vw, 122px) 0 clamp(52px, 7.5vw, 104px); }
.hero-copy, .install-panel { min-width: 0; }
h1 small { display: block; margin-bottom: 12px; color: #f3c9dc; font-size: clamp(1rem, 1.65vw, 1.2rem); font-weight: 540; line-height: 1.2; }
h1 span {
  display: block; color: #f8d7e5; font: 400 clamp(2.95rem, 6.4vw, 5.4rem)/.97 var(--display); letter-spacing: -.065em;
  background: linear-gradient(115deg, #fff2e6 4%, #f1b9d1 59%, #bb9ae3); background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-copy p { max-width: 340px; margin: 20px 0 24px; color: #dfcadb; font-size: clamp(.97rem, 1.6vw, 1.08rem); line-height: 1.6; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 19px; border: 1px solid transparent;
  border-radius: 11px; text-decoration: none; color: #28142c; background: #f0bad5; cursor: pointer; font-size: .94rem; font-weight: 750;
  transition: filter .18s ease, transform .18s ease;
}
.button:hover { filter: brightness(1.09); }
.button:active { transform: translateY(1px); }
.hero-link { background: linear-gradient(125deg, #fbe3d9, #e5a5cb); box-shadow: 0 8px 24px #dd92c22e, inset 0 1px #fff8; }

.content { width: min(100% - 48px, 1060px); margin: auto; }
section { scroll-margin-top: 20px; }
.library { padding-top: 62px; }
.bonuses { margin-top: 64px; }
.intro { margin-bottom: 24px; }
.intro h2, .about h2 { font: 400 clamp(2.15rem, 4.8vw, 3.25rem)/1.06 var(--display); letter-spacing: -.045em; }
.intro p, .about p { color: var(--muted); margin-top: 9px; line-height: 1.58; }

.material {
  --accent: #f4bad6; --accent-ink: #2c1428; --panel: #271729;
  --glow: #a65a8c78; --stage: #352137; --book: #190b1d; --book-edge: #d891b181;
  min-width: 0; display: grid; border: 1px solid var(--edge); border-radius: 24px;
  background: linear-gradient(140deg, #ffffff07, transparent 60%), var(--panel);
  box-shadow: 0 19px 36px #07040b50, inset 0 1px #ffffff18;
}
.primary { grid-template-columns: 1fr 1.07fr; }
.cover-stage {
  position: relative; isolation: isolate; display: grid; place-items: center; min-height: 220px; padding: 30px 27px;
  overflow: hidden; perspective: 900px; color: var(--accent); text-decoration: none;
  background: radial-gradient(ellipse at 51% 45%, var(--glow), transparent 70%), linear-gradient(142deg, var(--stage), #130b1a);
  border-radius: 23px 0 0 23px; border-right: 1px solid #ffffff13;
}
.cover-stage:focus-visible { z-index: 1; outline-offset: -5px; }
.cover-stage::before {
  content: ""; position: absolute; z-index: -1; width: 76%; max-width: 370px; aspect-ratio: 1.55; top: 49%; left: 50%;
  transform: translate(-50%, -50%) rotate(-22deg); border: 1px solid #ffedf31b; border-radius: 50%;
  box-shadow: 0 0 0 16px #fff3f708, 0 0 0 32px #fff3f708;
}
.cover-stage::after {
  content: ""; position: absolute; z-index: -1; width: 68%; height: 13%; bottom: 12%; left: 16%;
  border-radius: 50%; filter: blur(13px); background: #07040ba6;
}
.cover-book {
  position: relative; display: grid; place-items: center; width: min(82%, 242px); min-height: 124px;
  border: 1px solid var(--book-edge); border-radius: 9px 12px 12px 9px;
  background: linear-gradient(115deg, #ffffff0b, transparent 43%), var(--book);
  box-shadow: 0 4px 0 1px #ffffff24, 5px 7px 0 #100916, 12px 17px 22px #08050bb3, inset 3px 0 #ffffff10;
  transform: rotateX(7deg) rotateY(-12deg) rotateZ(-6deg);
  transition: transform .24s ease, box-shadow .24s ease;
}
.cover-book::after { content: ""; position: absolute; pointer-events: none; inset: 6px; border: 1px solid #ffe4f124; border-radius: 5px; }
.cover-stage:hover .cover-book, .cover-stage:focus-visible .cover-book {
  transform: translateY(-5px) rotateX(1deg) rotateY(-5deg) rotateZ(-3deg);
  box-shadow: 0 4px 0 1px #ffffff24, 5px 7px 0 #100916, 14px 22px 26px #08050bb3, inset 3px 0 #ffffff10;
}
.primary .cover-book { aspect-ratio: 1.35; padding: 18px; }
.primary .cover-book img { display: block; width: 100%; height: auto; border-radius: 3px; }
.material-copy { min-width: 0; padding: clamp(23px, 4.6vw, 48px); }
.badge {
  display: inline-flex; align-items: center; min-height: 26px; padding: 4px 9px; border: 1px solid var(--book-edge);
  border-radius: 100px; color: var(--accent); background: #ffffff0a; font-size: .72rem; font-weight: 750; line-height: 1.2;
}
.material h3 { margin-top: 11px; font: 400 clamp(1.75rem, 3.75vw, 2.7rem)/1.05 var(--display); letter-spacing: -.038em; }
.material p { margin-top: 10px; color: var(--muted); line-height: 1.58; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 14px; margin-top: 19px; }
.material .button { color: var(--accent-ink); background: var(--accent); box-shadow: inset 0 1px #fff8, 0 7px 16px #0003; }
.download { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 650; font-size: .88rem; text-underline-offset: 4px; }

.bonus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.bonus-grid .material { grid-template-rows: auto 1fr; }
.bonus-grid .cover-stage { border-radius: 23px 23px 0 0; border-right: 0; border-bottom: 1px solid #ffffff17; }
.bonus-grid .cover-book { width: min(100%, 140px); min-height: 165px; padding: 9px 12px 15px; align-content: center; gap: 3px; }
.bonus-grid .cover-book img { display: block; width: 87px; height: 87px; object-fit: contain; }
.bonus-grid .cover-book span { font: 400 1rem/1.02 var(--display); text-align: center; }
.bonus-grid .material-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 24px clamp(23px, 3.1vw, 37px) 27px; }
.bonus-grid h3 { font-size: clamp(1.55rem, 3.15vw, 2.1rem); }
.bonus-grid .actions { padding-top: 14px; margin-top: auto; }
.follow-up-grid { margin-top: 22px; }
.follow-up-grid .reading-cover { display: block; min-height: 0; padding: 0; background: var(--panel); }
.reading-cover::before, .reading-cover::after { display: none; }
.reading-cover img { display: block; width: 100%; height: auto; aspect-ratio: 2.12; object-fit: cover; transition: transform .22s ease; }
.reading-cover:hover img, .reading-cover:focus-visible img { transform: scale(1.025); }
.bitacora { --accent: #efbbd1; }
.dialogo { --accent: #decaf9; }
.prosperity { --accent: #f4d497; --accent-ink: #32220d; --panel: #2c211d; --glow: #bc8d4a83; --stage: #433325; --book: #2b1e16; --book-edge: #d8ae667a; }
.immersion { --accent: #ded0ff; --accent-ink: #2c2043; --panel: #221b32; --glow: #9264bb8f; --stage: #362c50; --book: #241a3c; --book-edge: #beb0f080; }

.about {
  margin: 62px 0 32px; padding: 31px 26px 37px; text-align: center; border: 1px solid var(--edge); border-radius: 23px;
  background: radial-gradient(ellipse at 50% 0%, #5a2c4c54, transparent 78%), #201223;
  box-shadow: 0 14px 25px #07040b3d;
}
.about img { display: block; width: 132px; height: 70px; object-fit: contain; margin: 0 auto 13px; background: #190b1d; border-radius: 13px; padding: 4px; }
.about h2 { font-size: clamp(1.85rem, 4vw, 2.65rem); }
.about p { max-width: 620px; margin: 12px auto 0; }
.about ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 17px 0 0; }
.about li { color: #f2c4de; background: #f9c2de16; padding: 6px 11px; border-radius: 100px; font-size: .84rem; font-weight: 650; }
.help {
  margin: 0 auto; width: min(100%, 622px); text-align: center; color: #073521;
  background: radial-gradient(ellipse at 50% 0%, #72ec9b 0%, transparent 62%), linear-gradient(150deg, #28dd71, #20c66d);
  border: 1px solid #1cb961; border-radius: 22px; padding: 34px 27px; box-shadow: 0 16px 38px #07040b72, 0 0 24px #28dd711b;
}
.help-avatar { display: block; margin: 0 auto 16px; width: 96px; height: 96px; border-radius: 50%; border: 3px solid #e8fff0; box-shadow: 0 0 0 5px #ffffff36, 0 7px 15px #04532c37; object-fit: cover; }
.help h2 { font: 400 clamp(1.85rem, 4vw, 2.45rem)/1.06 var(--display); letter-spacing: -.035em; }
.help-name { font-weight: 700; margin: 6px 0 17px; }
.help-message { background: #ffffff45; border-radius: 12px; padding: 16px; line-height: 1.55; }
.help-button { margin-top: 16px; width: 100%; gap: 9px; background: #075c3c; color: #fff; }
.help-button:focus-visible { outline-color: #073521; }
footer { text-align: center; padding: 35px 15px 29px; color: var(--muted); font-size: .84rem; }

@media (max-width: 740px) {
  .hero-inner { grid-template-columns: 1fr; width: min(100% - 40px, 510px); gap: 24px; text-align: center; padding: 44px 0 36px; }
  .hero-copy p { margin: 13px auto 17px; }
  h1 span { font-size: clamp(3.05rem, 10.5vw, 4.8rem); }
  .hero::after { right: -44%; top: -23%; }
  .content { width: min(100% - 32px, 620px); }
  .library { padding-top: 38px; }
  .bonuses { margin-top: 42px; }
  .primary { grid-template-columns: 1fr; }
  .primary .cover-stage { border-radius: 23px 23px 0 0; border-right: 0; border-bottom: 1px solid #ffffff17; min-height: 202px; padding: 23px; }
  .primary .cover-book { max-width: 216px; }
  .about { margin-top: 43px; }
}
@media (max-width: 530px) {
  .topbar { height: 66px; width: calc(100% - 30px); }
  .brand img { width: 94px; }
  .quick-help-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .bonus-grid { grid-template-columns: 1fr; gap: 15px; }
  .bonus-grid .cover-stage { min-height: 193px; padding-block: 17px; }
  .help { padding: 27px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

[hidden] { display: none !important; }
.install-panel {
  display: flex; align-items: flex-start; gap: 21px; padding: clamp(23px, 4vw, 40px);
  border: 1px solid #f2c4df55; border-radius: 24px;
  background: linear-gradient(145deg, #ffffff0f, #28182ec9), #24162c;
  box-shadow: 0 18px 44px #0c071279;
}
.install-icon { flex: none; border: 1px solid #f2c4df58; border-radius: 16px; }
.install-panel h2 { font: 400 clamp(1.45rem, 3vw, 2rem)/1.12 var(--display); color: #fff1fa; }
.install-panel p, .install-dialog p { color: #dfcadb; line-height: 1.55; margin: 10px 0 16px; }
.install-button { background: #f0bad5; }
.install-panel .install-status { margin-bottom: 0; }
.install-dialog { width: min(90%, 445px); border: 1px solid var(--edge); border-radius: 20px; padding: 26px; background: #2c1a2e; color: var(--ink); }
.install-dialog::backdrop { background: #100714bd; }
.install-dialog h2 { font: 400 1.55rem/1.2 var(--display); padding-right: 20px; }
.install-close { position: absolute; top: 12px; right: 12px; border: 0; background: transparent; color: inherit; min-width: 44px; min-height: 44px; cursor: pointer; font-size: 1.45rem; }
@media (max-width: 700px) {
  .install-panel { flex-direction: column; align-items: center; gap: 14px; padding: 22px 17px; }
}
