:root {
  --ink: #18212b;
  --muted: #5b6875;
  --line: #e8dec5;
  --paper: #fffaf0;
  --soft: #fff4cf;
  --mint: #ccefe2;
  --mint-strong: #20a982;
  --blue: #2f6f98;
  --coral: #ef6b4a;
  --yellow: #ffd36e;
  --sunny: #ffd95f;
  --sunny-soft: #ffe89a;
  --red: #c8132c;
  --shadow: 0 18px 50px rgba(24, 33, 43, 0.12);
  --radius: 8px;
  font-family: Aptos, "Aptos Display", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(24, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Aptos Display", Aptos, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0;
}

.brand-logo {
  width: auto;
  height: 58px;
  max-width: 240px;
  object-fit: contain;
}

.footer-brand-logo {
  height: 52px;
  max-width: 190px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-family: "Aptos Display", Aptos, "Segoe UI", sans-serif;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(24, 33, 43, 0.18);
}

.button.secondary {
  background: #ffffff;
  color: var(--ink);
}

.button.mint {
  border-color: var(--mint-strong);
  background: var(--mint-strong);
  color: #ffffff;
}

.button.coral {
  border-color: var(--coral);
  background: var(--coral);
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffe991 0%, #fff4c5 48%, #fffaf0 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 250, 240, 0.2);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 86px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-family: "Aptos Display", Aptos, "Segoe UI", sans-serif;
  font-weight: 850;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: "Aptos Display", Aptos, "Segoe UI", sans-serif;
  font-weight: 820;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-family: "Aptos Display", Aptos, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 23px;
  line-height: 1.22;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 21px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.hero-media {
  position: absolute;
  z-index: 1;
  right: max(16px, calc((100vw - 1160px) / 2));
  bottom: 26px;
  width: 520px;
  height: 610px;
  pointer-events: none;
}

.screen-float {
  position: absolute;
  overflow: hidden;
  border: 10px solid #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #ffffff;
}

.screen-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.screen-float.two img,
.screen-float.three img {
  object-position: center top;
}

.screen-float.one {
  right: 88px;
  top: 10px;
  width: 246px;
  height: 430px;
}

.screen-float.two {
  right: 0;
  top: 180px;
  width: 210px;
  height: 360px;
}

.screen-float.three {
  right: 278px;
  top: 210px;
  width: 202px;
  height: 340px;
}

.section {
  padding: 84px 0;
}

.section.compact {
  padding: 56px 0;
}

.section.alt {
  background: var(--soft);
}

.section.blue {
  background: #ffefb8;
}

.section.mint {
  background: #fff8df;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 34px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 15px;
}

.course-grid,
.feature-grid,
.steps,
.faq-grid,
.topic-grid,
.price-grid,
.pillar-grid {
  display: grid;
  gap: 18px;
}

.course-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pillar-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.steps,
.topic-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.price-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.course-card,
.pillar-card,
.feature,
.step,
.topic,
.price-box,
.faq,
.download-box,
.legal-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(24, 33, 43, 0.05);
}

.course-card {
  min-height: 320px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.pillar-shot {
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 500px;
  padding: 16px;
  background: #fff5cf;
}

.pillar-shot img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 468px;
  object-fit: contain;
  object-position: top center;
}

.pillar-copy {
  padding: 22px;
}

.course-card.featured {
  border-color: var(--mint-strong);
}

.course-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--mint);
  color: #0c6e55;
  font-size: 13px;
  font-weight: 850;
}

.course-card p,
.feature p,
.step p,
.topic p,
.faq p,
.price-box p,
.download-box p,
.legal-box p {
  color: var(--muted);
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: #fff0b8;
  font-weight: 700;
}

.feature,
.step,
.topic,
.faq,
.price-box,
.download-box,
.legal-box {
  padding: 22px;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--yellow);
  font-weight: 900;
}

.feature:nth-child(2) .icon,
.topic:nth-child(2) .icon {
  background: var(--mint);
}

.feature:nth-child(3) .icon,
.topic:nth-child(3) .icon {
  background: #cfe4f2;
}

.feature:nth-child(4) .icon {
  background: #ffd8cc;
}

.screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.phone-shot {
  overflow: hidden;
  border: 8px solid #ffffff;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 20;
}

.phone-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
}

.phone-shot img[src*="memorizador"] {
  object-position: center top;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.store-link:hover {
  border-color: var(--ink);
}

.quote-band {
  padding: 58px 0;
  background: var(--ink);
  color: #ffffff;
}

.quote-band p {
  max-width: 840px;
  margin: 0;
  font-size: 31px;
  line-height: 1.22;
  font-weight: 850;
}

.fineprint {
  color: var(--muted);
  font-size: 14px;
}

.contact-brand {
  max-width: 250px;
  margin-top: 28px;
}

.contact-brand img {
  width: 100%;
  height: auto;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 8px 0 18px;
}

.price strong {
  font-size: 48px;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 700;
}

.list {
  padding-left: 20px;
  color: var(--muted);
}

.list li {
  margin-bottom: 8px;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #fff6dc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a {
  text-decoration: none;
}

.page-hero {
  padding: 84px 0 72px;
  background: linear-gradient(135deg, #ffe991 0%, #fff4c5 52%, #fffaf0 100%);
}

.page-hero .lead {
  max-width: 780px;
}

.calendar-hero {
  padding: 76px 0 64px;
  background: linear-gradient(135deg, #ffe991 0%, #fff4c5 52%, #fffaf0 100%);
}

.calendar-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
}

.calendar-updated {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.calendar-layout {
  max-width: 980px;
}

.calendar-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-date-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(24, 33, 43, 0.05);
}

.calendar-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 24px;
  background: #fff1bd;
}

.calendar-date span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.calendar-date time {
  font-family: "Aptos Display", Aptos, "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.calendar-sessions {
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-sessions li {
  display: grid;
  grid-template-columns: minmax(110px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  padding: 20px 24px;
}

.calendar-sessions li + li {
  border-top: 1px solid var(--line);
}

.calendar-sessions strong {
  color: var(--ink);
}

.calendar-sessions span {
  color: var(--muted);
}

.calendar-notice {
  margin-top: 22px;
  padding: 22px 24px;
  border-left: 4px solid var(--mint-strong);
  border-radius: 0 8px 8px 0;
  background: var(--mint);
}

.calendar-notice p {
  margin: 4px 0 0;
  color: #314e46;
}

.calendar-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.calendar-figure img {
  width: 100%;
  height: auto;
}

.calendar-figure figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.calendar-download-actions {
  margin-top: 22px;
}

.breadcrumb {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.two-col {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 38px;
  align-items: center;
}

.method-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.method-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.method-row:last-child {
  border-bottom: 0;
}

.number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
}

.faq-section {
  padding-top: 72px;
}

.faq-category + .faq-category {
  margin-top: 54px;
}

.faq-category-head {
  max-width: 720px;
  margin-bottom: 18px;
}

.faq-category-head h2 {
  margin-bottom: 8px;
}

.faq-category-head p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(24, 33, 43, 0.05);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  color: var(--ink);
  font-family: "Aptos Display", Aptos, "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--mint);
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.faq-answer {
  padding: 0 22px 22px;
  border-top: 1px solid var(--line);
}

.faq-answer p {
  margin: 18px 0 0;
  color: var(--muted);
}

.faq-answer strong {
  color: var(--ink);
}

.faq-example {
  padding-left: 14px;
  border-left: 3px solid var(--mint-strong);
}

@media (max-width: 1040px) {
  .hero-media {
    right: -130px;
    opacity: 0.35;
  }

  .course-grid,
  .pillar-grid,
  .feature-grid,
  .steps,
  .topic-grid,
  .price-grid,
  .faq-grid,
  .screens,
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  body {
    font-size: 16px;
  }

  .nav {
    min-height: auto;
    flex-wrap: wrap;
    row-gap: 10px;
    padding-top: 10px;
  }

  .brand-logo {
    height: 48px;
    max-width: 190px;
  }

  .footer-brand-logo {
    height: 46px;
    max-width: 164px;
  }

  .nav-links {
    display: flex;
    order: 3;
    width: 100%;
    gap: 16px;
    padding: 0 0 10px;
    overflow-x: auto;
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: 610px;
  }

  .hero-inner {
    padding: 56px 0 70px;
  }

  .hero-media {
    right: -180px;
    bottom: -20px;
    width: 440px;
    opacity: 0.28;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 18px;
  }

  .section {
    padding: 62px 0;
  }

  .stats,
  .course-grid,
  .pillar-grid,
  .feature-grid,
  .steps,
  .topic-grid,
  .price-grid,
  .screens,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .screen-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-band p {
    font-size: 24px;
  }

  .contact-brand {
    max-width: 220px;
  }

  .calendar-hero {
    padding: 54px 0 48px;
  }

  .calendar-hero h1 {
    font-size: 43px;
  }

  .calendar-date-card {
    grid-template-columns: 1fr;
  }

  .calendar-date {
    padding: 18px 20px;
  }

  .calendar-sessions li {
    grid-template-columns: minmax(90px, 0.32fr) minmax(0, 1fr);
    padding: 18px 20px;
  }
}

@media (max-width: 460px) {
  .button,
  .store-link {
    width: 100%;
  }

  .hero-actions,
  .actions,
  .store-row {
    width: 100%;
  }

  .screen-gallery {
    grid-template-columns: 1fr;
  }

  .pillar-shot {
    min-height: 440px;
  }

  .pillar-shot img {
    max-height: 410px;
  }

  .calendar-sessions li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.cookie-banner {
  align-items: center;
  background: rgba(255, 252, 237, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: 0 18px 50px rgba(43, 37, 28, 0.16);
  display: flex;
  gap: 18px;
  left: 50%;
  max-width: min(920px, calc(100vw - 32px));
  padding: 18px;
  position: fixed;
  transform: translateX(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
  width: 100%;
  z-index: 50;
}

.cookie-banner-hidden {
  opacity: 0;
  transform: translate(-50%, 12px);
}

.cookie-banner-copy {
  flex: 1;
}

.cookie-banner-copy strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.cookie-banner-copy p {
  color: var(--muted);
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 780px) {
  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner-actions {
    justify-content: stretch;
  }
}
