/* Páginas sorteadas (src/catalog): a estrutura. As cores, as fontes e os cantos vêm do theme.css de cada página, e as
   variações de layout dos atributos data-* do <body> (data-layout, data-cover, data-steps, data-inside, data-faq). */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/literata.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("fonts/dm-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("fonts/dm-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --red: #b42318;
  --green: #17784a;
  --width: 70rem;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}
html:has(dialog[open]) {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  font-stretch: var(--heading-stretch);
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem);
  letter-spacing: -0.015em;
  line-height: 1.04;
}
h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem);
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.2rem;
}
h4 {
  font-size: 1rem;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
a {
  color: var(--brand);
  text-underline-offset: 0.15em;
}
a:hover {
  color: var(--ink);
}

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

.wrap {
  max-width: var(--width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.narrow {
  max-width: 48rem;
}
.center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius-s);
}
.skip:focus {
  top: 1rem;
}

.kicker {
  margin: 0 0 0.6rem;
  color: var(--soft);
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: var(--label-case);
}

/* ---------- Botões ---------- */

.button {
  display: inline-block;
  padding: 0.8em 1.35em;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-heading);
  font-stretch: 100%;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s,
    filter 0.15s;
}
.button:disabled {
  cursor: progress;
  opacity: 0.7;
}
.button--accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.button--accent:hover {
  filter: brightness(1.08);
  color: var(--accent-ink);
}
.button--outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.button--outline:hover {
  background: var(--tint);
  color: var(--ink);
}
.button--small {
  padding: 0.55em 1.05em;
  font-size: 0.95rem;
}
.button--large {
  font-size: 1.12rem;
  padding: 0.95em 1.7em;
}
.button--wide {
  display: block;
  width: 100%;
}

/* ---------- Barra do topo ---------- */

.top {
  background: var(--brand);
  color: var(--brand-ink);
}
.top__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}
.brand {
  color: var(--brand-ink);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: var(--heading-weight);
  text-decoration: none;
}
.brand:hover {
  color: var(--brand-ink);
}
.top .button--outline {
  color: var(--brand-ink);
  border-color: color-mix(in srgb, var(--brand-ink) 55%, transparent);
}
.top .button--outline:hover {
  background: color-mix(in srgb, var(--brand-ink) 14%, transparent);
  color: var(--brand-ink);
}

/* ---------- Topo da página ---------- */

.hero {
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
  background: var(--page);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hl {
  padding: 0 0.03em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: linear-gradient(transparent 58%, var(--mark) 58%);
  color: inherit;
}
.lede {
  max-width: 38rem;
  color: var(--soft);
  font-size: 1.2rem;
}
.hero__action {
  margin-top: 1.6rem;
}
.hero__note {
  margin: 0.8rem 0 0;
  color: var(--soft);
  font-size: 0.95rem;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.badges li {
  padding: 0.3rem 0.8rem;
  border-radius: var(--pill);
  background: var(--tint);
  font-family: var(--font-label);
  font-size: 0.85rem;
}

/* ---------- Capa ---------- */

.cover {
  position: relative;
  width: min(20rem, 100%);
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  padding: 1.8rem 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-s) var(--radius) var(--radius) var(--radius-s);
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow:
    -6px 0 0 color-mix(in srgb, var(--brand) 70%, black) inset,
    0 28px 50px -24px color-mix(in srgb, var(--brand) 80%, black);
}
.cover__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cover__text {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cover__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  font-weight: var(--heading-weight);
  line-height: 1.05;
}
.cover__sub {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}
.cover__tagline {
  margin: auto 0 0;
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: var(--label-case);
}
.cover__seal {
  position: absolute;
  right: 1rem;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 5.2rem;
  height: 5.2rem;
  margin: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transform: rotate(-8deg);
}
.cover__seal span {
  display: block;
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: var(--label-case);
}

/* ---------- Seções ---------- */

.section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.section--alt {
  background: var(--alt);
}
.section--plain {
  background: var(--page);
}
.section__head {
  max-width: 42rem;
  margin-bottom: 2rem;
}
.center .section__head {
  margin-inline: auto;
}
.intro {
  color: var(--soft);
  font-size: 1.1rem;
}
.note {
  margin-top: 1.5rem;
  color: var(--soft);
  font-size: 0.95rem;
}

/* O problema */

.pains {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.pains li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.8rem;
  border-radius: var(--radius-s);
  background: var(--surface);
  border: 1px solid var(--line);
}
.pains li::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--brand);
}
.closing-line {
  font-size: 1.15rem;
  font-weight: 600;
}

/* O método */

.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps-list li {
  counter-increment: step;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.steps-list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  font-family: var(--font-heading);
  font-weight: 800;
}
.steps-list__label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--soft);
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: var(--label-case);
}
.steps-list p {
  margin: 0;
}

/* O que tem dentro */

.chapters {
  display: grid;
  gap: 0;
  max-width: 48rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: chapter;
}
.chapters li {
  counter-increment: chapter;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  column-gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.chapters li::before {
  content: counter(chapter, decimal-leading-zero);
  grid-row: span 2;
  color: var(--brand);
  font-family: var(--font-label);
  font-weight: 600;
}
.chapters h3 {
  margin: 0 0 0.2rem;
  font-size: 1.08rem;
}
.chapters p {
  margin: 0;
  color: var(--soft);
}
.extras {
  max-width: 48rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--tint);
}
.extras h3 {
  font-size: 1.05rem;
}
.extras ul {
  margin: 0;
  padding-left: 1.2rem;
}

/* Para quem é */

.audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.audience > div {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.audience ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.audience li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.8rem;
}
.audience li::before {
  position: absolute;
  left: 0;
  font-weight: 800;
}
.audience__yes li::before {
  content: "✓";
  color: var(--green);
}
.audience__no li::before {
  content: "✕";
  color: var(--soft);
}

/* O trecho do PDF */

.sample {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.sample__header {
  padding: 1.5rem 1.75rem 1.25rem;
  background: var(--brand);
  color: var(--brand-ink);
}
.sample__header h3 {
  font-size: 1.5rem;
}
.sample__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 0;
  font-family: var(--font-label);
  font-size: 0.9rem;
}
.sample__facts dt {
  opacity: 0.8;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: var(--label-case);
}
.sample__facts dd {
  margin: 0;
  font-weight: 600;
}
.sample__body {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  padding: 1.75rem;
}
.sample__body ul,
.sample__body ol {
  margin: 0;
  padding-left: 1.2rem;
}
.sample__body li {
  margin-bottom: 0.45rem;
}
.sample__tip {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-s);
  background: var(--tint);
}

/* A compra */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.buy-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: buy;
}
.buy-steps li {
  counter-increment: buy;
  position: relative;
  padding-left: 2.8rem;
  margin-bottom: 1rem;
}
.buy-steps li::before {
  content: counter(buy);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
  font-weight: 800;
}
.buy-steps p {
  margin: 0;
}
.summary {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -28px color-mix(in srgb, var(--ink) 60%, transparent);
}
.summary__header {
  margin: 0 0 1rem;
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: var(--label-case);
}
.summary__lines {
  width: 100%;
  margin-bottom: 1.25rem;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.summary__lines td,
.summary__lines th {
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  text-align: left;
  font-weight: 400;
}
.summary__lines td:last-child {
  text-align: right;
  white-space: nowrap;
}
.summary__lines .summary__total > * {
  border-bottom: 0;
  font-size: 1.2rem;
  font-weight: 800;
}
.summary__note {
  margin: 0.8rem 0 0;
  color: var(--soft);
  font-size: 0.88rem;
  text-align: center;
}

/* Perguntas */

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 0.95rem;
  color: var(--brand);
  font-size: 1.5rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "−";
}
.faq p {
  padding-bottom: 1.1rem;
  color: var(--soft);
}
.faq-plain {
  display: grid;
  gap: 1.5rem;
  margin: 0;
}
.faq-plain dt {
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
}
.faq-plain dd {
  margin: 0;
  color: var(--soft);
}

/* O fechamento */

.section--closing .section__head {
  max-width: 40rem;
}

/* ---------- Rodapé ---------- */

.footer {
  padding-block: 2rem;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 0.9rem;
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.footer p {
  margin: 0;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer a {
  color: var(--brand-ink);
}

/* ---------- Checkout (diálogo) ---------- */

.checkout {
  width: min(31rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgb(5 18 45 / 0.6);
}
.checkout::backdrop {
  background: color-mix(in srgb, var(--brand) 70%, black);
  opacity: 0.85;
}
.checkout__frame {
  padding: 1.4rem clamp(1.25rem, 4vw, 2rem) 1.75rem;
}
.checkout__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.checkout__header h2 {
  margin: 0;
  font-size: 1.5rem;
}
.checkout__close {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--alt);
  color: var(--ink);
  cursor: pointer;
}
.checkout__close:hover {
  background: var(--tint);
}
.checkout__progress {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  counter-reset: stage;
  font-size: 0.85rem;
}
.checkout__progress li {
  counter-increment: stage;
  flex: 1;
  padding-top: 0.5rem;
  border-top: 3px solid var(--line);
  color: var(--soft);
}
.checkout__progress li::before {
  content: counter(stage) ". ";
}
.checkout__progress li.done {
  border-color: var(--brand);
}
.checkout__progress li[aria-current="step"] {
  border-color: var(--brand);
  color: var(--ink);
  font-weight: 700;
}
.checkout__line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.4rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-s);
  background: var(--alt);
  font-family: var(--font-label);
  font-size: 0.85rem;
}
.checkout__title {
  font-size: 1.35rem;
}
.checkout__title:focus {
  outline: none;
}
.checkout__step .button {
  margin-top: 0.6rem;
}
.countdown {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-s);
  background: var(--tint);
}
.countdown strong {
  font-family: var(--font-label);
  font-size: 1.6rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.field {
  margin-bottom: 1.1rem;
}
.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.field__help {
  margin: -0.15rem 0 0.4rem;
  color: var(--soft);
  font-size: 0.85rem;
}
/* 16 px no mínimo: abaixo disso o iPhone dá zoom no campo. */
.field input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid color-mix(in srgb, var(--soft) 55%, var(--line));
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}
.field input:focus-visible {
  border-color: var(--brand);
  outline-offset: 1px;
}
.field input[aria-invalid="true"],
.check input[aria-invalid="true"] {
  border-color: var(--red);
  outline-color: var(--red);
}
.field__error {
  margin: 0.35rem 0 0;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
}
.check {
  display: grid;
  grid-template-columns: 1.3rem minmax(0, 1fr);
  gap: 0.2rem 0.6rem;
  align-items: start;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
.check input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.1rem 0 0;
  accent-color: var(--brand);
}
.check .field__error {
  grid-column: 2;
  margin: 0;
}
.success {
  color: var(--green);
}

@media (prefers-reduced-motion: no-preference) {
  .checkout[open] {
    animation: appear 0.22s ease-out;
  }
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Página legal ---------- */

.legal {
  max-width: 46rem;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.legal section + section {
  margin-top: 3rem;
}
.legal h1 {
  margin-bottom: 2rem;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.legal h2 {
  font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
  scroll-margin-top: 1.5rem;
}
.legal h3 {
  margin-top: 1.75rem;
  font-size: 1.1rem;
}
.legal p,
.legal li {
  max-width: 68ch;
}

/* ---------- Variações do design ----------
   Depois das regras-base: cada variação tem mais especificidade e sobrescreve a base. */

[data-layout="mirrored"] .hero__text {
  order: 2;
}
[data-layout="mirrored"] .hero__grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
}
[data-layout="centered"] .hero__grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}
[data-layout="centered"] .hero__text {
  max-width: 46rem;
}
[data-layout="centered"] .badges {
  justify-content: center;
}
[data-layout="centered"] .cover {
  width: min(17rem, 75%);
}
[data-layout="centered"] .lede {
  margin-inline: auto;
}
[data-cover="band"] .cover__art {
  background: linear-gradient(transparent 74%, var(--accent) 74%, var(--accent) 79%, transparent 79%);
}
[data-cover="circle"] .cover__art {
  background: radial-gradient(
    circle at 88% 22%,
    color-mix(in srgb, var(--brand-ink) 13%, transparent) 0 34%,
    transparent 34.5%
  );
}
[data-cover="frame"] .cover__art {
  inset: 0.9rem;
  border: 2px solid color-mix(in srgb, var(--brand-ink) 45%, transparent);
  border-radius: var(--radius-s);
}
[data-cover="stripes"] .cover__art {
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 18px,
    color-mix(in srgb, var(--brand-ink) 9%, transparent) 18px 20px
  );
}
[data-steps="timeline"] .steps-list {
  grid-template-columns: minmax(0, 1fr);
  max-width: 44rem;
  gap: 0;
}
[data-steps="timeline"] .steps-list li {
  position: relative;
  padding: 0 0 2rem 3.6rem;
  border: 0;
  border-radius: 0;
  background: none;
}
[data-steps="timeline"] .steps-list li::before {
  position: absolute;
  left: 0;
  top: 0;
}
[data-steps="timeline"] .steps-list li::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 2.6rem;
  bottom: 0.3rem;
  width: 2px;
  background: var(--line);
}
[data-steps="timeline"] .steps-list li:last-child::after {
  display: none;
}
[data-inside="grid"] .chapters {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  max-width: none;
}
[data-inside="grid"] .chapters li {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

/* ---------- Telas estreitas ---------- */

@media (max-width: 54rem) {
  [data-layout] .hero__grid,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-layout="mirrored"] .hero__text {
    order: 0;
  }
  [data-layout] .cover {
    width: min(16rem, 75%);
  }
}

@media (max-width: 44rem) {
  .audience,
  .sample__body {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 40rem) {
  .top__bar .button__price {
    display: none;
  }
  .checkout {
    width: 100%;
    max-width: 100%;
    max-height: 94dvh;
    margin: auto 0 0;
    border-radius: 16px 16px 0 0;
  }
}
