:root {
  --ink: #173c36;
  --ink-soft: #405a52;
  --paper: #fdfbf5;
  --paper-deep: #f1ebe1;
  --forest: #0e493b;
  --forest-deep: #082f29;
  --berry: #a6315b;
  --berry-deep: #7d2344;
  --blush: #f3d5d7;
  --sage: #afc1a5;
  --ochre: #d79a27;
  --line: rgba(14, 73, 59, 0.17);
  --shadow: 0 22px 65px rgba(27, 56, 47, 0.13);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --script: "Caveat", "Segoe Print", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  color: var(--forest-deep);
  background: var(--blush);
}

[hidden] {
  display: none !important;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 150;
  padding: 10px 16px;
  color: white;
  background: var(--forest-deep);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 92px;
  padding: 17px clamp(22px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(253, 251, 245, 0.92);
  border-bottom: 1px solid rgba(14, 73, 59, 0.12);
  box-shadow: 0 8px 28px rgba(23, 60, 54, 0.05);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--forest);
  border-radius: 57% 43% 63% 37% / 43% 58% 42% 57%;
  font: 600 1.9rem var(--script);
  transform: rotate(-6deg);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font: 600 1.35rem var(--serif);
}

.brand-copy small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: clamp(18px, 2.3vw, 34px);
}

nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--berry);
  transition: right 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  right: 0;
}

.cart-trigger {
  min-height: 42px;
  padding: 8px 9px 8px 17px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
}

.cart-trigger span {
  min-width: 28px;
  height: 28px;
  padding-inline: 8px;
  display: grid;
  place-items: center;
  color: var(--forest);
  background: var(--paper);
  border-radius: 999px;
}

.has-cart .cart-trigger {
  background: var(--berry-deep);
  border-color: var(--berry-deep);
  box-shadow: 0 8px 24px rgba(125, 35, 68, 0.2);
}

.hero {
  min-height: 810px;
  display: grid;
  grid-template-columns: minmax(460px, 0.9fr) minmax(520px, 1.1fr);
  overflow: hidden;
  background: var(--paper-deep);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 95px clamp(38px, 6vw, 100px) 105px clamp(28px, 7vw, 120px);
  align-self: center;
}

.hero-copy::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 160px;
  left: 14%;
  top: 44%;
  z-index: -1;
  background: radial-gradient(ellipse, rgba(243, 213, 215, 0.95), transparent 70%);
  filter: blur(10px);
}

.kicker,
.eyebrow {
  margin: 0 0 13px;
  color: var(--berry);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker.light {
  color: #efc0ca;
}

.script-note {
  margin: 20px 0 6px 12px;
  color: var(--forest);
  font: 600 clamp(2rem, 3.5vw, 3.45rem) var(--script);
  line-height: 0.95;
  transform: rotate(-4deg);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 690px;
  font-size: clamp(5rem, 8vw, 8.5rem);
  text-transform: uppercase;
}

h2 {
  max-width: 850px;
  font-size: clamp(3rem, 5vw, 5.4rem);
}

h3 {
  font-size: clamp(1.9rem, 2.4vw, 2.45rem);
}

h1 em,
h2 em {
  color: var(--berry);
  font-weight: 500;
  text-transform: none;
}

h1 em {
  display: block;
  margin-top: 0.08em;
}

.hero-text {
  max-width: 600px;
  margin: 28px 0 34px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.hero-actions,
.ebook-action {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.button {
  min-height: 50px;
  padding: 13px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: var(--forest);
}

.button.primary:hover,
.button.primary.added {
  background: var(--berry-deep);
}

.button.outline {
  color: var(--forest);
  background: transparent;
  border-color: var(--forest);
}

.button.outline:hover {
  color: white;
  background: var(--forest);
}

.text-link {
  color: var(--forest);
  font-size: 0.81rem;
  font-weight: 600;
  text-underline-offset: 6px;
}

.paper-note {
  width: fit-content;
  max-width: 470px;
  margin: 38px 0 0;
  padding: 15px 24px;
  color: var(--forest);
  background: rgba(243, 213, 215, 0.68);
  font: 500 1.3rem var(--script);
  transform: rotate(-1.5deg);
}

.paper-note span {
  margin-right: 7px;
  color: var(--berry);
}

.hero-art {
  min-height: 810px;
  background: linear-gradient(90deg, var(--paper-deep) 0%, transparent 15%), url("../images/hero-botanico.webp") center / cover no-repeat;
  clip-path: ellipse(91% 80% at 92% 50%);
  transform: scale(1.02);
}

.promise-bar {
  min-height: 72px;
  padding: 18px clamp(24px, 7vw, 110px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  color: #f4eee4;
  background: var(--forest);
}

.promise-bar span {
  padding-inline: 18px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.promise-bar span:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.section {
  padding: 115px clamp(24px, 7vw, 110px);
}

.manifesto {
  display: grid;
  grid-template-columns: 75px minmax(380px, 1.15fr) minmax(280px, 0.85fr);
  align-items: start;
  gap: clamp(32px, 6vw, 95px);
}

.manifesto-number {
  padding-top: 7px;
  color: var(--berry);
  font: 600 1rem var(--serif);
}

.manifesto > p {
  margin: 54px 0 0;
  color: var(--ink-soft);
}

.ebook {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(480px, 1.35fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  padding-block: 78px;
  background: linear-gradient(135deg, #ead8d6, #f7eee7 58%, #e4ebdf);
}

.ebook-cover-wrap {
  position: relative;
  width: min(100%, 330px);
  margin-inline: auto;
  padding: 15px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  transform: rotate(-1.7deg);
}

.ebook-cover-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
}

.tape {
  position: absolute;
  width: 130px;
  height: 38px;
  left: 50%;
  top: -18px;
  z-index: 2;
  background: rgba(223, 207, 179, 0.82);
  transform: translateX(-50%) rotate(2deg);
}

.ebook-copy {
  max-width: 690px;
}

.ebook-lead {
  max-width: 600px;
  margin: 28px 0;
  color: var(--ink-soft);
}

.check-list {
  margin: 0 0 31px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  list-style: none;
}

.check-list li {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.check-list li::before {
  content: "♡";
  margin-right: 9px;
  color: var(--berry);
}

.ebook-action > div {
  display: grid;
}

.ebook-action small {
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ebook-action strong {
  font: 600 2.2rem var(--serif);
}

.fine-print {
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 0.69rem;
}

.courses {
  background: #f7f2e9;
}

.section-heading {
  margin-bottom: 52px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.section-heading > p {
  max-width: 430px;
  margin: 0 0 7px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.section-heading.compact {
  display: block;
}

.promotion-note {
  margin-bottom: 35px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  color: var(--forest);
  background: var(--blush);
  border: 1px solid rgba(166, 49, 91, 0.14);
}

.promotion-note > span {
  font-size: 1.5rem;
}

.promotion-note strong,
.promotion-note small {
  display: block;
}

.promotion-note strong {
  font: 600 1.35rem var(--serif);
}

.promotion-note small {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.promotion-note button {
  padding: 8px 0;
  color: var(--forest);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.71rem;
  font-weight: 600;
  cursor: pointer;
}

.catalog-toolbar {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-button {
  min-height: 39px;
  padding: 8px 15px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
}

#catalog-count {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.course-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(14, 73, 59, 0.1);
  box-shadow: 0 12px 36px rgba(29, 55, 48, 0.07);
  animation: rise 500ms both;
  animation-delay: var(--card-delay);
}

.course-media {
  position: relative;
  aspect-ratio: 4 / 5.2;
  overflow: hidden;
  background-color: var(--paper-deep);
  background-repeat: no-repeat;
  background-size: 265% auto;
}

.course-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 35px rgba(23, 60, 54, 0.08);
  pointer-events: none;
}

.course-number,
.course-badge {
  position: absolute;
  z-index: 1;
  top: 13px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-number {
  left: 13px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--forest);
  background: rgba(253, 251, 245, 0.9);
  border-radius: 50%;
}

.course-badge {
  right: 13px;
  padding: 7px 10px;
  color: white;
  background: var(--berry);
  border-radius: 999px;
}

.course-body {
  padding: 23px 21px 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.course-body h3 {
  font-size: clamp(1.75rem, 2.2vw, 2.2rem);
}

.course-type {
  margin: 8px 0 0;
  color: var(--berry);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-description {
  margin: 16px 0 23px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.course-footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.course-price {
  display: grid;
}

.course-price span {
  color: var(--ink-soft);
  font-size: 0.58rem;
}

.course-price strong {
  font: 600 1.65rem var(--serif);
}

.card-action {
  padding: 8px 0 5px;
  color: var(--forest);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.69rem;
  font-weight: 600;
  cursor: pointer;
}

.card-action:hover,
.card-action.added {
  color: var(--berry);
}

.loading,
.error {
  grid-column: 1 / -1;
  padding: 35px;
  color: var(--ink-soft);
  text-align: center;
}

.load-more {
  margin: 38px auto 0;
}

.catalog-invite {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(55px, 9vw, 140px);
  color: #f8f2e9;
  background: var(--berry-deep);
}

.catalog-message h2 em {
  color: #efc0ca;
}

.catalog-message > p:not(.kicker) {
  max-width: 590px;
  margin: 27px 0 0;
  color: #eadce1;
  font-size: 0.9rem;
}

.class-features {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.class-features li {
  padding: 19px 3px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.class-features li > span {
  color: #efc0ca;
  font: 500 0.82rem var(--serif);
}

.class-features strong,
.class-features small {
  display: block;
}

.class-features strong {
  color: white;
  font: 600 1.35rem var(--serif);
}

.class-features small {
  color: #d9c7cd;
  font-size: 0.7rem;
}

.how {
  color: #f7f1e7;
  background: var(--forest-deep);
}

.how h2 em {
  color: #efc0ca;
}

.steps {
  margin-top: 65px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 4vw, 58px);
}

.steps article {
  padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.steps span {
  color: #efc0ca;
  font: 500 0.9rem var(--serif);
}

.steps h3 {
  margin: 28px 0 12px;
  color: white;
  font-size: 2.15rem;
}

.steps p {
  margin: 0;
  color: #bfcac5;
  font-size: 0.79rem;
}

.resources {
  background: var(--paper);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.resource-card {
  min-height: 130px;
  padding: 23px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(27, 56, 47, 0.09);
}

.resource-peony { background: #f8eaea; }
.resource-leaf { background: #edf2e9; }
.resource-video { background: #f1ede2; }

.resource-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 52% 48% 62% 38%;
  font: 500 1.4rem var(--serif);
}

.resource-card small,
.resource-card strong {
  display: block;
}

.resource-card small {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.resource-card strong {
  font: 600 1.35rem var(--serif);
  line-height: 1.1;
}

.about {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: clamp(55px, 9vw, 140px);
  background: #f4eee5;
}

.about-art {
  min-height: 570px;
  padding: 34px;
  display: flex;
  align-items: end;
  background: linear-gradient(to top, rgba(8, 47, 41, 0.62), transparent 48%), url("../images/combo-botanico.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.about-art span {
  max-width: 380px;
  color: white;
  font: 600 clamp(2rem, 3.4vw, 3.2rem) var(--script);
  line-height: 1.05;
}

.about-copy p:not(.kicker) {
  max-width: 630px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.about-copy .button {
  margin-top: 15px;
}

.faq {
  max-width: 1160px;
  margin: 0 auto;
}

.faq .section-heading {
  margin-bottom: 38px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 25px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  font: 600 clamp(1.35rem, 2.2vw, 1.75rem) var(--serif);
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  color: var(--berry);
  font-family: var(--sans);
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

details[open] summary span {
  transform: rotate(45deg);
}

details p {
  max-width: 760px;
  margin: -6px 0 27px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

footer {
  padding: 52px clamp(24px, 7vw, 110px) 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 25px;
  color: #cbd6d0;
  background: #062821;
}

.footer-brand .brand-mark {
  color: var(--forest-deep);
  background: #efe6d9;
}

.footer-brand .brand-copy strong {
  color: white;
}

.footer-brand .brand-copy small {
  color: #b8c6bf;
}

footer > p {
  margin: 0;
  font: 500 1.45rem var(--script);
  text-align: right;
}

.footer-links {
  display: flex;
  gap: 23px;
}

.footer-links a {
  font-size: 0.7rem;
  text-underline-offset: 5px;
}

footer > small {
  font-size: 0.62rem;
  text-align: right;
}

.cart-dialog {
  width: min(100%, 610px);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 34px;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  box-shadow: -30px 0 90px rgba(8, 47, 41, 0.27);
  overflow-y: auto;
}

.cart-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: drawer-in 240ms ease both;
}

.cart-dialog::backdrop {
  background: rgba(8, 47, 41, 0.66);
  backdrop-filter: blur(4px);
}

.cart-header {
  padding-bottom: 23px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  font-size: clamp(2.7rem, 6vw, 4.2rem);
}

.dialog-close {
  padding: 0 5px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
}

.cart-items {
  flex: 0 0 auto;
  overflow: visible;
}

.cart-item {
  padding: 16px 2px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}

.cart-item-thumbnail {
  width: 58px;
  aspect-ratio: 4 / 5;
  background-color: var(--paper-deep);
  background-repeat: no-repeat;
  background-size: 265% auto;
  border: 1px solid var(--line);
}

.cart-item-thumbnail.ebook-thumbnail {
  background-position: center !important;
  background-size: cover;
}

.cart-item-copy {
  min-width: 0;
  display: grid;
}

.cart-item-copy strong {
  overflow: hidden;
  font: 600 1.18rem var(--serif);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-copy small {
  color: var(--ink-soft);
  font-size: 0.62rem;
}

.cart-item-price {
  font: 600 1.15rem var(--serif);
}

.cart-item-actions {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.cart-remove {
  padding: 5px 0;
  color: var(--berry);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.62rem;
  cursor: pointer;
}

.cart-empty {
  margin: 45px 0;
  color: var(--ink-soft);
  text-align: center;
}

.cart-summary {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-summary > p:first-child {
  margin: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.cart-summary span {
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.cart-summary strong {
  font: 600 1.7rem var(--serif);
}

.cart-promotion {
  margin: 12px 0 0;
  padding: 11px 14px;
  color: var(--berry-deep);
  background: var(--blush);
  font-size: 0.68rem;
}

.checkout-form {
  padding-top: 22px;
}

.checkout-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-form legend {
  margin-bottom: 15px;
  font: 600 1.35rem var(--serif);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-form label {
  margin-bottom: 12px;
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 600;
}

.checkout-form input {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 0;
}

.checkout-form input:focus {
  border-color: var(--forest);
}

.demo-warning {
  margin: 4px 0 16px;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.cart-submit {
  width: 100%;
  min-height: 58px;
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.cart-submit small {
  font-size: 0.58rem;
  font-weight: 500;
  opacity: 0.82;
}

.payment-actions {
  display: grid;
  gap: 9px;
}

.button.payment-secondary {
  color: var(--forest);
  background: transparent;
  border-color: var(--forest);
}

.button.payment-secondary:hover {
  color: white;
  background: var(--forest);
}

.form-status {
  min-height: 40px;
  margin: 12px 0 0;
  color: var(--forest);
  font-size: 0.7rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes drawer-in {
  from { opacity: 0; transform: translateX(24px); }
}

@media (max-width: 1250px) {
  .course-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  nav {
    display: none;
  }

  .hero {
    min-height: 720px;
    grid-template-columns: minmax(390px, 0.95fr) minmax(390px, 1.05fr);
  }

  .hero-art {
    min-height: 720px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .catalog-invite {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 76px;
    padding-block: 13px;
    background: rgba(241, 235, 225, 0.9);
    backdrop-filter: blur(10px);
  }

  .cart-trigger {
    padding-left: 13px;
  }

  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    padding: 66px 24px 56px;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 6.4rem);
  }

  .hero-art {
    width: calc(100% - 20px);
    min-height: 470px;
    align-self: end;
    clip-path: ellipse(91% 86% at 91% 88%);
  }

  .promise-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 24px;
  }

  .promise-bar span:not(:last-child) {
    padding-bottom: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }

  .section {
    padding: 82px 24px;
  }

  .manifesto,
  .ebook,
  .about {
    grid-template-columns: 1fr;
  }

  .manifesto {
    gap: 14px;
  }

  .manifesto-number {
    display: none;
  }

  .manifesto > p {
    margin-top: 14px;
  }

  .ebook {
    gap: 58px;
  }

  .ebook-cover-wrap {
    width: min(100%, 310px);
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 22px;
  }

  .course-grid {
    grid-template-columns: 1fr 1fr;
  }

  .course-media {
    aspect-ratio: 4 / 5.1;
  }

  .promotion-note {
    grid-template-columns: auto 1fr;
  }

  .promotion-note button {
    grid-column: 2;
    justify-self: start;
  }

  .about {
    gap: 52px;
  }

  .about-art {
    min-height: 510px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer > p,
  footer > small {
    text-align: left;
  }
}

@media (max-width: 500px) {
  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .brand-copy strong {
    font-size: 1.15rem;
  }

  .brand-copy small {
    font-size: 0.51rem;
  }

  .cart-trigger {
    font-size: 0;
  }

  .cart-trigger::before {
    content: "Carrito";
    font-size: 0.68rem;
  }

  .hero-actions,
  .ebook-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    min-height: 380px;
  }

  .paper-note {
    font-size: 1.12rem;
  }

  .check-list,
  .course-grid,
  .steps,
  .field-row {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-description {
    min-height: auto;
  }

  .resource-card {
    grid-template-columns: 48px 1fr auto;
    padding: 19px 16px;
  }

  .resource-icon {
    width: 47px;
    height: 47px;
  }

  .about-art {
    min-height: 420px;
    padding: 24px;
  }

  .cart-dialog {
    padding: 26px 20px;
  }

  .cart-item {
    grid-template-columns: 52px minmax(0, 1fr) auto;
  }

  .cart-item-thumbnail {
    width: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
