/* ============================================================
   Шалтай-Болтай — redesign prototype
   Palette: plum #7B476D + green #18B989 (checkout brand),
   paper cream, sunny yellow, coral — pulled from the cover art.
   Type: Amatic SC (display) + Nunito (body).
   ============================================================ */

:root {
  --paper: #FFF9EF;
  --paper-warm: #FFF1D6;
  --white: #FFFFFF;
  --ink: #35303B;
  --ink-soft: #6B6572;
  --plum: #7B476D;
  --plum-deep: #5C3350;
  --plum-tint: #F4E7F0;
  --green: #18B989;
  --green-deep: #0E9C71;
  --green-tint: #DFF5EC;
  --yellow: #FFC94D;
  --coral: #E86A4A;
  --sky: #DCEAFB;

  --font-display: 'Amatic SC', 'Comic Sans MS', cursive;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;

  --radius: 22px;
  --radius-confirm: 30px;
  --radius-tile: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px rgba(53, 48, 59, .08);
  --shadow-hard: 5px 5px 0 var(--ink);
  --shadow-hard-xs: 3px 3px 0 var(--ink);
  --shadow-hard-lg: 8px 8px 0 var(--ink);
  --border-ink: 2.5px solid var(--ink);
  --tint-butter: #FFF3C9;
  --wrap: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: var(--plum); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.1;
  padding: 10px 28px 12px;
  border-radius: 999px;
  border: var(--border-ink);
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-hard);
  transition: transform .12s ease, box-shadow .12s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }

.btn--green { background: var(--green); color: #fff; }
.btn--plum { background: var(--plum); color: #fff; }
.btn--yellow { background: var(--yellow); }
.btn--ghost { background: var(--white); }
.btn--sm { font-size: 23px; padding: 7px 20px 9px; box-shadow: 4px 4px 0 var(--ink); }
.btn--block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }

/* ---------------- header ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 239, .92);
  backdrop-filter: blur(8px);
  border-bottom: 2px dashed rgba(123, 71, 109, .25);
}
.header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.header__logo img { height: 44px; width: auto; }
.header__nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.header__nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15.5px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.header__nav a:hover { color: var(--plum); border-color: var(--yellow); }
.header__nav a.header__nav-link--current { text-decoration: underline wavy var(--yellow) 2px; text-underline-offset: 5px; }
.header-basket {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-tile);
  background: var(--tint-butter);
  transform: rotate(-4deg);
  transition: transform .2s ease;
  text-decoration: none;
}
.header-basket:hover,
.header-basket:focus-visible { transform: rotate(3deg) translateY(-3px); }
.header-basket__face {
  position: absolute;
  left: 9px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-sizing: border-box;
  object-fit: cover;
  object-position: 68% 50%;
  transition: transform .2s ease;
}
.header-basket:hover .header-basket__face,
.header-basket:focus-visible .header-basket__face { transform: translateY(-5px) rotate(-8deg); }
.header-basket__cart {
  position: absolute;
  left: 0;
  right: 4px;
  bottom: 1px;
  text-align: right;
  font-size: 28px;
  line-height: 1;
}
.header-basket__count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: var(--radius-pill);
  background: var(--coral);
  color: var(--white);
  font: 800 13px/24px var(--font-body);
  text-align: center;
  transform: rotate(4deg);
}

/* ---------------- hero ---------------- */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 24px 80px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  background-image: radial-gradient(rgba(123, 71, 109, .07) 2.2px, transparent 2.2px);
  background-size: 26px 26px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--plum);
  background: var(--white);
  border: 2px solid var(--plum-tint);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 22px;
}
.kicker__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: .98;
  margin-bottom: 20px;
}
.hero__title em {
  font-style: normal;
  color: var(--plum);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: .35em;
  background: var(--yellow);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}

.hero__text {
  font-size: 18.5px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }

.hero__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__chips li {
  background: var(--white);
  border: 2px dashed rgba(123, 71, 109, .4);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--plum-deep);
}

/* hero covers */
.hero__art { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.hero__art-kicker { margin-bottom: 14px; text-align: center; }
.hero__kicker { position: relative; z-index: 30; }
.hero__covers {
  position: relative;
  width: min(420px, 90%);
}
.hero__cover {
  border-radius: 14px;
  border: 6px solid var(--white);
  box-shadow: 0 24px 50px rgba(53, 48, 59, .22);
}
.hero__cover--back {
  position: absolute;
  inset: 0;
  transform: rotate(7deg) translate(26px, 10px);
}
.hero__cover--front {
  position: relative;
  transform: rotate(-3deg);
  transition: transform .3s ease;
}
.hero__covers:hover .hero__cover--front { transform: rotate(-1deg) translateY(-6px); }

/* stickers */
.sticker {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.05;
  text-align: center;
  padding: 14px 18px;
  border: var(--border-ink);
  box-shadow: 4px 4px 0 rgba(53, 48, 59, .85);
  z-index: 2;
}
.sticker--yellow {
  background: var(--yellow);
  border-radius: 50%;
  top: -26px; right: -30px;
  transform: rotate(8deg);
  width: 118px; height: 118px;
  display: flex; align-items: center; justify-content: center;
}
.sticker--green {
  background: var(--green);
  color: #fff;
  border-radius: 18px;
  bottom: -24px; left: -34px;
  transform: rotate(-6deg);
}
.sticker--coral {
  background: var(--coral);
  color: #fff;
  border-radius: 18px;
  top: -18px; right: -20px;
  transform: rotate(6deg);
}

/* ---------------- ticker ---------------- */
.ticker {
  background: var(--yellow);
  border-top: var(--border-ink);
  border-bottom: var(--border-ink);
  transform: rotate(-1.2deg) scale(1.02);
  overflow: hidden;
  padding: 8px 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  white-space: nowrap;
}
.ticker__track i { font-style: normal; color: var(--plum); font-size: 20px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------------- sections ---------------- */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 88px 24px;
}
.section--narrow { max-width: 860px; }
.section--warm, .section--sky {
  max-width: none;
}
.section--warm > *, .section--sky > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.section--warm { background: var(--paper-warm); }
.section--sky { background: var(--sky); }

.section__head { text-align: center; margin-bottom: 52px; }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1;
  display: inline-block;
  position: relative;
}
.section__title::after {
  content: "";
  display: block;
  height: 10px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10'%3E%3Cpath d='M2 7 Q 12 2, 22 6 T 42 6 T 62 6 T 82 6 T 102 6 T 118 5' fill='none' stroke='%23E86A4A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / auto 10px;
}
.section__lede {
  color: var(--ink-soft);
  font-size: 18px;
  margin-top: 12px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------- features ---------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease;
}
.feature:hover { transform: translateY(-5px) rotate(-.5deg); }
.feature__icon {
  width: 62px; height: 62px;
  background: var(--bg, var(--plum-tint));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin-bottom: 18px;
  transform: rotate(-4deg);
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 29px;
  line-height: 1.05;
  margin-bottom: 8px;
}
.feature p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------------- current issue ---------------- */
.issue {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
.issue__coverwrap { position: relative; }
.issue__cover {
  border-radius: 14px;
  border: 6px solid var(--white);
  box-shadow: 0 24px 50px rgba(53, 48, 59, .25);
  transform: rotate(-2deg);
}
.issue__label {
  font-weight: 800;
  color: var(--green-deep);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 14px;
  margin-bottom: 8px;
}
.issue__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.02;
  margin-bottom: 18px;
}
.issue__list {
  list-style: none;
  margin-bottom: 24px;
}
.issue__list li {
  padding: 7px 0 7px 34px;
  position: relative;
  border-bottom: 1px dashed rgba(123, 71, 109, .2);
}
.issue__list li::before {
  content: "✿";
  position: absolute;
  left: 4px;
  color: var(--coral);
  font-weight: 700;
}
.issue__zones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.issue__zones-label { font-weight: 800; font-size: 14.5px; }
.zone {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 700;
}
.issue__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.issue__next {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
}
.issue__next img {
  width: 140px;
  border-radius: 8px;
  border: 3px solid var(--white);
  box-shadow: none;
  transform: rotate(-3deg);
  flex-shrink: 0;
}
.issue__next strong { font-size: 15.5px; }
.issue__next p { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.issue__next-cover { position: relative; display: block; flex: 0 0 140px; padding: 0; border: 0; background: none; cursor: pointer; text-decoration: none; }
.issue__next-cover img { display: block; width: 140px; aspect-ratio: 3/4; object-fit: cover; border: 3px solid var(--ink); border-radius: 8px; box-shadow: none; transform: rotate(-3deg); transition: transform .15s ease; }
.issue__next-cover:hover img, .issue__next-cover.is-selected img { transform: rotate(0) translateY(-3px); }
.issue__next-cover:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.issue__next-archive-link { display: inline-block; margin-top: 10px; color: var(--plum); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.issue__next-actions--compact { margin-top: 12px; gap: 10px; grid-template-columns: repeat(2, 80px); }
.issue__next-actions--compact .shelf__buy { font-size: 11px; }
.issue__next-actions--compact .shelf__price { width: 72px; height: 72px; }
.issue__next-actions--compact .shelf__price b { font-size: 22px; }
.issue__format-note { margin: 6px 0 10px; color: var(--plum); font-size: 12px; font-weight: 900; letter-spacing: .06em; }

/* ---------------- tariffs ---------------- */
.tariffs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.tariff__buys { margin-top: auto; }
.tariff__round-link { align-self: flex-start; color: var(--ink); text-decoration: none; }
.tariff > .tariff__round-link { margin-top: auto; }
.tariff__list .tariff__manage { display: inline; margin: 0; text-align: left; }
.tariff__round-link.is-subscription .shelf__price { background: var(--green-tint); border-color: var(--green-deep); box-shadow: 4px 4px 0 var(--green-deep); }
.tariff {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
}
.tariff--hot {
  border: 3px solid var(--plum);
  box-shadow: 0 18px 44px rgba(123, 71, 109, .18);
  transform: translateY(-10px);
}
.tariff__badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--yellow);
  border: var(--border-ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  padding: 4px 18px 6px;
  white-space: nowrap;
}
.tariff__art {
  border-radius: 16px;
  margin: 4px 0 18px;
}
.tariff__art--poster {
  display: block;
  width: min(270px, 100%);
  height: auto;
  margin-inline: auto;
}
.tariff__covers { position: relative; width: min(210px, 100%); margin: 4px auto 24px; }
.tariff__cover { display: block; width: 100%; border: 4px solid var(--white); border-radius: 12px; box-shadow: 0 14px 28px rgba(53,48,59,.2); }
.tariff__cover--back { position: absolute; inset: 0; transform: rotate(7deg) translate(18px, 8px); }
.tariff__cover--middle { position: absolute; inset: 0; transform: rotate(-5deg) translate(-10px, 4px); }
.tariff__cover--front { position: relative; transform: rotate(-3deg); }
.tariff__covers--archive { margin-top: 10px; }
.tariff__covers--archive { padding-bottom: 58px; }
.tariff .tariff__buys,
.tariff .tariff__round-link { align-self: center; }
.tariff__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 4px 0 18px;
  border-radius: 20px;
  background: var(--yellow);
  border: var(--border-ink);
  font-size: 30px;
  transform: rotate(-4deg);
}
.tariff__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.05;
  margin-bottom: 6px;
}
.tariff__price {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin-bottom: 18px;
}
.tariff__price strong {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1;
}
.tariff__list {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}
.tariff__list li {
  padding: 5px 0 5px 28px;
  position: relative;
  font-size: 15px;
}
.tariff__list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--green-deep);
  font-weight: 800;
}
.tariff__zones {
  background: var(--green-tint);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 18px;
  text-align: center;
}
.tariff__zones label,
.checkout-label {
  display: block;
  margin-bottom: 6px;
  color: var(--green-deep);
  font-size: 13.5px;
  font-weight: 800;
  text-align: left;
}
.checkout-zone {
  width: 100%;
  padding: 9px 12px;
  border: 2px solid var(--green-deep);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: 700 14px var(--font-body);
}
.checkout-label { margin-top: 4px; }
.checkout-status {
  min-height: 1.4em;
  margin-top: 12px;
  color: var(--plum-deep);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.tariffs__note {
  text-align: center;
  margin-top: 36px;
  color: var(--ink-soft);
  font-size: 15px;
}
.embedded-checkout {
  max-width: 760px;
  margin: 34px auto 0;
  padding: 24px;
  border: 2px solid var(--green-deep);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  scroll-margin-top: 90px;
}
.embedded-checkout__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.embedded-checkout__head h2 {
  font: 700 38px/1 var(--font-display);
  color: var(--green-deep);
}
.embedded-checkout__close {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--paper-warm);
  color: var(--plum-deep);
  font: 800 13px var(--font-body);
  cursor: pointer;
}
.embedded-checkout__status {
  min-height: 1.5em;
  margin: 0 0 12px;
  color: var(--plum-deep);
  font-size: 14px;
  font-weight: 700;
}
.embedded-checkout__separator {
  margin: 18px 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
}
.embedded-checkout__email {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid #c8c1b8;
  border-radius: 8px;
  font: 600 15px var(--font-body);
}
.embedded-checkout__submit {
  width: 100%;
  margin-top: 16px;
}

/* ---------------- steps ---------------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  background: var(--yellow);
  border: var(--border-ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 16px;
  transform: rotate(-5deg);
}
.step:nth-child(2) .step__num { background: var(--green); color: #fff; transform: rotate(4deg); }
.step:nth-child(3) .step__num { background: var(--coral); color: #fff; transform: rotate(-3deg); }
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.05;
  margin-bottom: 8px;
}
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------------- authors ---------------- */
.authors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.author {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.author:hover, .author:focus {
  z-index: 20;
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 16px 34px rgba(53, 48, 59, .18);
  outline: none;
}
.author__compact { min-width: 0; }
.author__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--c, var(--plum));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 14px;
  border: 3px solid var(--white);
  box-shadow: 0 6px 16px rgba(53, 48, 59, .18);
}
.author__avatar--image {
  object-fit: cover;
}
.author__full {
  position: absolute;
  top: -10px;
  right: -10px;
  left: -10px;
  bottom: auto;
  min-height: calc(100% + 20px);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 22px;
  border: var(--border-ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-hard);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.96);
  transform-origin: center top;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.author:hover .author__full,
.author:focus .author__full {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1.04);
}
.author__full strong {
  display: block;
  margin-bottom: 6px;
  color: var(--plum);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.author__full p {
  font-size: 13.5px;
  line-height: 1.45;
}
.author h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  margin-bottom: 6px;
}
.author p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.author--more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--plum);
  color: var(--plum-deep);
  cursor: pointer;
  font: 700 26px/1.05 var(--font-display);
}
.author--more small { margin-top: 8px; color: var(--ink-soft); font: 700 12px var(--font-body); }
.author--more:hover { background: var(--plum-tint); }
.authors--expanded { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; }
.authors--expanded .authors__extended,
.authors--expanded .authors--extended { display: contents; }
.authors__more {
  grid-column: 1 / -1;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  color: var(--ink-soft);
  font: 800 16px var(--font-body);
  text-decoration: underline wavy var(--yellow) 2px;
  text-underline-offset: 5px;
  cursor: pointer;
}
.authors__more:hover { color: var(--plum); }
.authors__loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
}
.authors__extended {
  grid-column: 1 / -1;
  margin-top: 8px;
  width: 100%;
}
.authors--extended {
  text-align: left;
}

/* ---------------- issue archive ---------------- */
.catalog { padding-top: 72px; }
.catalog__toolbar {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 16px;
  margin: 0 auto 18px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.catalog__toolbar label { display: block; }
.catalog__toolbar span {
  display: block;
  margin-bottom: 6px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
}
.catalog__toolbar input,
.catalog__toolbar select {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 2px solid var(--green-deep);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: 600 15px var(--font-body);
}
.catalog__years {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}
.catalog__years button {
  min-height: 38px;
  padding: 6px 14px;
  border: 2px solid var(--green-deep);
  border-radius: 999px;
  background: var(--paper);
  color: var(--green-deep);
  font: 800 14px var(--font-body);
  cursor: pointer;
}
.catalog__years button:hover,
.catalog__years button.active {
  background: var(--green-deep);
  color: #fff;
}
.catalog__status {
  min-height: 1.5em;
  margin: 0 0 24px;
  color: var(--ink-soft);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}
.archive-basket {
  margin: 0 auto 34px;
  padding: 24px;
  border: 2px solid var(--plum);
  border-radius: var(--radius);
  background: var(--plum-tint);
  box-shadow: var(--shadow-card);
  scroll-margin-top: 90px;
}
.archive-basket__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.archive-basket__head h2 {
  font: 700 38px/1 var(--font-display);
  color: var(--plum-deep);
}
.archive-basket .kicker { margin-bottom: 3px; }
.archive-basket__count { color: var(--plum-deep); white-space: nowrap; }
.archive-basket__empty { margin-top: 14px; color: var(--ink-soft); }
.archive-basket__items {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.archive-basket__item {
  display: grid;
  grid-template-columns: 1fr auto 34px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--white);
}
.archive-basket__item strong { color: var(--green-deep); }
.archive-basket__item small {
  grid-column: 1 / 3;
  color: var(--plum);
  font-size: 12px;
  font-weight: 800;
}
.archive-basket__item > button[data-basket-remove] {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-warm);
  color: var(--plum-deep);
  font: 700 22px/1 var(--font-body);
  cursor: pointer;
}
/* Basket visual merge from design2: compact magazine-style item cards. */
.archive-basket__item {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 12px 22px 12px 14px;
}
.archive-basket__item--paper { align-items: start; padding-right: 14px; }
.archive-basket__details { min-width: 0; display: grid; gap: 4px; }
.archive-basket__purchase { display: grid; gap: 4px; justify-items: end; }
.archive-basket__purchase strong { margin-right: 8px; }
.archive-basket__item--paper small { grid-column: auto; }
.archive-basket__item > button[data-basket-remove] {
  position: absolute;
  top: -13px;
  right: -13px;
  z-index: 1;
  width: 26px;
  height: 26px;
  padding: 0 0 2px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  transition: background .15s ease, color .15s ease;
}
.archive-basket__item > button[data-basket-remove]:hover { background: var(--coral); color: var(--white); }
.basket-qty {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
}
.basket-qty button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  font: 900 20px/1 var(--font-body);
  cursor: pointer;
}
.basket-qty button:last-child {
  background: var(--yellow);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.basket-qty button:hover:not(:disabled) { background: var(--plum-tint); }
.basket-qty button:last-child:hover:not(:disabled) { background: var(--plum); color: var(--white); }
.basket-qty button:disabled {
  color: var(--ink-soft);
  opacity: .45;
  cursor: not-allowed;
}
.basket-qty button:last-child:disabled { background: var(--paper); }
.basket-qty button:focus-visible { outline: 3px solid var(--plum); outline-offset: 1px; }
.basket-qty output {
  min-width: 26px;
  text-align: center;
  font: 900 17px var(--font-body);
  color: var(--plum-deep);
}
.archive-basket__items { gap: 18px; padding: 13px 13px 0 0; }
.archive-basket__checkout {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) 1.2fr;
  gap: 18px 28px;
  align-items: end;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(123, 71, 109, .35);
}
.archive-basket__checkout > p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.archive-basket__totals { margin: 0; }
.archive-basket__totals div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 3px 0;
}
.archive-basket__totals dt { color: var(--ink-soft); }
.archive-basket__totals dd { margin: 0; font-weight: 800; }
.archive-basket__totals .archive-basket__total {
  margin-top: 7px;
  padding-top: 8px;
  border-top: 2px solid rgba(123, 71, 109, .25);
  color: var(--plum-deep);
  font-size: 19px;
}
.archive-basket__checkout .btn { grid-column: 1 / -1; }
.archive-basket__status {
  grid-column: 1 / -1;
  min-height: 1.5em;
  margin: -8px 0 0;
  color: var(--coral);
  font-size: 14px;
  font-weight: 700;
}
.archive-basket__recovery {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
}
.archive-basket__recovery a { color: var(--plum); font-weight: 800; }
.archive-basket .embedded-checkout { margin-top: 24px; }
.basket-modal__scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(53, 48, 59, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.basket-modal.is-open .basket-modal__scrim { opacity: 1; visibility: visible; }
.basket-modal__panel {
  position: fixed;
  z-index: 81;
  top: calc(50% + 17px);
  left: 50%;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 100px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 54px 30px 28px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-confirm);
  box-shadow: var(--shadow-hard-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -46%);
  transition: transform .3s ease, opacity .2s ease, visibility .3s ease;
}
.basket-modal.is-open .basket-modal__panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}
.basket-modal__face {
  position: absolute;
  top: -34px;
  left: 50%;
  margin-left: -34px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-sizing: border-box;
  object-fit: cover;
  object-position: 68% 50%;
  transform: rotate(-4deg);
  box-shadow: var(--shadow-card);
}
.basket-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: 800 22px/1 var(--font-body);
  cursor: pointer;
  box-shadow: var(--shadow-hard-xs);
  transition: transform .12s ease, box-shadow .12s ease;
}
.basket-modal__close:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.basket-modal__body { overflow-x: hidden; overflow-y: auto; min-height: 0; padding: 0 6px 6px 0; margin-right: -6px; }
.basket-modal .archive-basket__head { padding-right: 44px; }
.basket-modal .archive-basket { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.basket-modal .archive-basket__checkout { grid-template-columns: 1fr; }
.basket-modal .archive-basket__checkout .btn,
.basket-modal .archive-basket__status { grid-column: auto; }
.basket-modal .embedded-checkout {
  max-width: none;
  margin: 24px 0 0;
}
.basket-modal.is-checkout #basket-content { display: none !important; }
.basket-modal.is-checkout .embedded-checkout { margin: 0; }
.basket-renewal {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--green-tint);
  color: var(--green-deep) !important;
  font-size: 13px !important;
  font-weight: 800;
}
.basket-modal__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.basket-modal__empty .kicker { margin-bottom: 0; }
.basket-modal__empty h2 { margin: 0; font: 700 38px/1 var(--font-display); color: var(--plum-deep); }
.basket-modal__empty p { margin: 0; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) {
  .header-basket, .header-basket__face, .basket-modal__scrim, .basket-modal__panel { transition: none; }
}
.issue-card--unavailable { opacity: .72; }
.issue-group { margin-top: 48px; }
.issue-group__title {
  margin-bottom: 18px;
  font: 700 46px/1 var(--font-display);
  color: var(--plum);
}
.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.issue-card {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  overflow: visible;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.issue-card:hover,
.issue-card:focus,
.issue-card:focus-within {
  z-index: 20;
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 16px 34px rgba(53, 48, 59, .18);
  outline: none;
}
.issue-card__compact {
  overflow: hidden;
  border-radius: var(--radius);
}
.issue-card__cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--plum-tint);
}
.issue-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}
.issue-card__hint {
  margin: 0;
  color: var(--plum);
  font-size: 11px;
  font-weight: 800;
}
.issue-card h3 {
  margin-bottom: 8px;
  font: 700 28px/1.05 var(--font-display);
}
.issue-card__prices {
  margin-bottom: 14px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
}
.issue-card details {
  flex: 1;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 14px;
}
.issue-card summary {
  cursor: pointer;
  color: var(--plum);
  font-weight: 800;
}
.issue-card details p { margin-top: 8px; }
.issue-card .btn { font-size: 22px; }
.issue-card__full {
  position: absolute;
  top: -10px;
  right: -10px;
  left: -10px;
  min-height: calc(100% + 20px);
  z-index: 30;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border: var(--border-ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-hard);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.96);
  transform-origin: center top;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.issue-card:hover .issue-card__full,
.issue-card:focus .issue-card__full,
.issue-card:focus-within .issue-card__full {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1.04);
}
.issue-card__full-cover {
  width: 78px;
  height: 104px;
  margin: 0 auto 12px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(53, 48, 59, .18);
}
.issue-card__full h3 {
  min-height: 0;
  margin-bottom: 7px;
  color: var(--plum-deep);
}
.issue-card__full > strong {
  display: block;
  margin-bottom: 6px;
  color: var(--plum);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.issue-card__description {
  flex: 1;
  margin: 0 0 17px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.45;
}
.issue-card__formats {
  display: grid;
  gap: 8px;
}
.issue-card__formats button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: 800 13px var(--font-body);
  text-align: left;
  cursor: pointer;
}
.issue-card__formats button.digital { border-color: var(--plum); color: var(--plum-deep); }
.issue-card__formats button:hover,
.issue-card__formats button.btn--green { border-color: var(--green-deep); background: var(--green-tint); }
.issue-card__formats button.digital:hover,
.issue-card__formats button.digital.btn--green { background: var(--plum-tint); }
.issue-card__formats button:disabled { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.issue-card__temporary {
  display: block;
  margin-top: 5px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 800;
}

/* ---------------- reviews ---------------- */
.trustpilot-panel {
  margin: 34px auto 0;
  padding: 24px;
  border: 2px solid #00b67a;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.trustpilot-panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed rgba(53,48,59,.18);
}
.trustpilot__logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #00b67a;
  color: #fff;
  font-size: 23px;
  line-height: 1;
  flex-shrink: 0;
}
.trustpilot-panel__rating { display: flex; flex-direction: column; line-height: 1.2; }
.trustpilot-panel__rating strong { color: #00895c; font: 700 26px/1 var(--font-display); }
.trustpilot-panel__rating span { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }
.trustpilot-panel__rating b { color: var(--ink); }
.trustpilot-panel__all {
  margin-left: auto;
  color: #00895c;
  font-weight: 800;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.trustpilot-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trustpilot-review {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.trustpilot-review h3 { margin: 0 0 8px; font-size: 24px; }
.trustpilot-review p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.trustpilot-review footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(53,48,59,.18);
  font-size: 12px;
  color: var(--ink-soft);
}
.trustpilot-review footer a { color: #00895c; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.reviews__subhead {
  margin: 0 auto 22px;
  text-align: center;
  color: var(--plum);
  font: 700 36px/1 var(--font-display);
}

/* ---------------- quotes ---------------- */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.quotes--authors { grid-template-columns: repeat(3, 1fr); }
.author--quote {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.author--quote .author__role { font-size: 13px; }
.author--quote .author__quote {
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
}
.quote::before {
  content: "“";
  position: absolute;
  top: -6px; left: 18px;
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 700;
  color: var(--yellow);
}
.quote p {
  font-size: 16px;
  line-height: 1.55;
  margin: 26px 0 20px;
  flex: 1;
}
.quote--big { background: var(--plum); color: #fff; transform: rotate(-.6deg); }
.quote--big p { font-size: 18.5px; }
.quote--big::before { color: var(--coral); }
.quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c, var(--plum));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  flex-shrink: 0;
}
.quote__avatar--image { object-fit: cover; }
.quote footer strong { display: block; font-size: 14.5px; }
.quote footer span:not(.quote__avatar) { font-size: 13px; opacity: .75; }

/* ---------------- faq ---------------- */
.faq__item {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 24px;
  font-weight: 800;
  font-size: 16.5px;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  background: var(--plum-tint);
  color: var(--plum);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--yellow); color: var(--ink); }
.faq__item p {
  padding: 0 24px 20px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ---------------- friends ---------------- */
.friends {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.friend {
  background: var(--white);
  border: 2px dashed rgba(123, 71, 109, .35);
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--plum-deep);
}

/* ---------------- gift banner ---------------- */
.gift {
  max-width: calc(var(--wrap) - 48px);
  margin: 0 auto 88px;
  background: var(--plum);
  border-radius: 32px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.gift__face {
  width: 110px; height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  transform: rotate(-4deg);
  flex-shrink: 0;
}
.gift__copy { flex: 1; }
.gift__copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  color: #fff;
  margin-bottom: 8px;
}
.gift__copy p { color: rgba(255, 255, 255, .85); font-size: 16px; max-width: 52ch; }
.gift__form {
  width: min(320px, 100%);
  display: grid;
  gap: 10px;
  flex-shrink: 0;
}
.gift__form label span {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.gift__form input {
  width: 100%;
  padding: 10px 13px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: 600 15px var(--font-body);
}
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
.gift__status { min-height: 1.4em; color: #fff; font-size: 13px; font-weight: 700; }
.gift__download { color: var(--yellow); font-weight: 800; text-align: center; }

/* ---------------- confirmation ---------------- */
.confirmation-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px 18px;
  background-image: radial-gradient(rgba(123, 71, 109, .08) 2px, transparent 2px);
  background-size: 26px 26px;
}
.confirmation {
  width: min(650px, 100%);
  padding: 42px;
  border: var(--border-ink);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
  text-align: center;
}
.confirmation__face {
  width: 105px;
  height: 105px;
  margin: 0 auto 18px;
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(53, 48, 59, .2);
  object-fit: cover;
}
.confirmation h1 { margin: 15px 0; font: 700 clamp(48px, 10vw, 70px)/1 var(--font-display); }
.confirmation__message { margin: 0 auto 24px; max-width: 48ch; color: var(--ink-soft); }
.recovery-form {
  display: grid;
  gap: 9px;
  max-width: 390px;
  margin: 0 auto 24px;
  text-align: left;
}
.recovery-form label { color: var(--plum-deep); font-size: 13px; font-weight: 800; }
.recovery-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 2px solid var(--plum);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: 600 15px var(--font-body);
}
.recovery-form .btn { margin-top: 5px; }
.confirmation__summary {
  margin: 0 0 28px;
  overflow: hidden;
  border: 2px solid var(--plum-tint);
  border-radius: 16px;
  text-align: left;
}
.confirmation__summary div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 11px 15px; }
.confirmation__summary div + div { border-top: 1px dashed rgba(123, 71, 109, .25); }
.confirmation__summary dt { color: var(--ink-soft); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.confirmation__summary dd { margin: 0; font-weight: 800; word-break: break-word; }
.confirmation__items { margin: 0; padding-left: 18px; font-weight: 700; }
.confirmation__items li + li { margin-top: 4px; }
.confirmation__downloads {
  margin: 0 0 24px;
  padding: 18px;
  border-radius: 16px;
  background: var(--green-tint);
  text-align: left;
}
.confirmation__downloads h2 { margin: 0 0 4px; font: 700 34px/1 var(--font-display); color: var(--plum-deep); }
.confirmation__downloads > p { margin: 0 0 13px; color: var(--ink-soft); font-size: 13px; }
.confirmation__download-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px dashed rgba(123, 71, 109, .3); }
.confirmation__download-item span { font-weight: 800; }
.confirmation__download-item .btn { margin: 0; padding: 7px 15px; font-family: var(--font-body); font-size: 13px; box-shadow: none; }
.confirmation__portal { margin-top: 12px; }
.confirmation__portal-status { min-height: 1.4em; margin: 8px 0 0; color: var(--coral); font-size: 13px; font-weight: 700; }
.confirmation .btn { margin: 6px; }
.tariff__manage {
  display: block;
  margin-top: 12px;
  color: var(--plum);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.account {
  width: min(760px, 100%);
  padding: 42px;
  border: var(--border-ink);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
  text-align: center;
}
.account__content { margin: 0 auto 24px; text-align: left; }
.account__email { margin: 0 0 18px; color: var(--plum); font-weight: 800; }
.account__section { margin-top: 18px; padding: 18px; border: 2px solid var(--plum-tint); border-radius: 16px; }
.account__section h2 { margin: 0 0 12px; font: 700 34px/1 var(--font-display); color: var(--plum-deep); }
.account__section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.account__section-head h2 { margin: 0; }
.account__portal { margin: 0; padding: 8px 13px; font: 800 13px var(--font-body); box-shadow: none; white-space: nowrap; }
.account__row, .account__order { padding: 12px 0; border-top: 1px dashed rgba(123, 71, 109, .25); }
.account__row:first-child, .account__order:first-child { border-top: 0; }
.account__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 800; }
.account__row > span { display: grid; gap: 4px; }
.account__row small { color: var(--ink-soft); font-weight: 600; }
.account__order h3 { margin: 0 0 3px; font: 700 27px/1.05 var(--font-display); color: var(--plum-deep); }
.account__order p { margin: 0 0 8px; color: var(--ink-soft); font-size: 13px; }
.account__order-format { font-weight: 800; }
.account__order a { color: var(--green-deep); }

/* ---------------- footer ---------------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
}
.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer__logo {
  height: 56px;
  width: auto;
  background: var(--white);
  border-radius: 12px;
  padding: 6px 10px;
  margin-bottom: 16px;
}
.footer__col--brand p { font-size: 14.5px; max-width: 34ch; }
.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  font-size: 14.5px;
  padding: 3px 0;
  transition: color .15s;
  word-break: break-word;
}
.footer__col a:hover { color: var(--yellow); }
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.footer__social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  padding: 0;
}
.footer__social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__social svg .social__play { fill: currentColor; stroke: none; }
.footer__social a:hover { background: var(--green); color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: var(--wrap);
  margin: 0 auto;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

/* ---------------- responsive ---------------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero__copy { order: 2; }
  .hero__art { order: 1; }
  .hero__covers { width: min(340px, 80%); }
  .hero__cta, .hero__chips { justify-content: center; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .issue { grid-template-columns: 1fr; gap: 44px; }
  .issue__coverwrap { max-width: 320px; margin: 0 auto; }
  .tariffs { grid-template-columns: 1fr 1fr; max-width: 720px; margin: 0 auto; }
  .tariff--hot { transform: none; order: -1; }
  .steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .authors { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .quotes--authors { grid-template-columns: 1fr 1fr; max-width: none; }
  .trustpilot-reviews { grid-template-columns: 1fr 1fr; }
  .gift { flex-direction: column; text-align: center; padding: 36px 28px; }
  .gift__form { width: min(420px, 100%); text-align: left; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .issues-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__kicker { margin-top: 28px; }
  .header__nav { display: none; }
  .header__inner { justify-content: space-between; }
  .section { padding: 60px 20px; }
  .trustpilot-panel { padding: 18px; }
  .trustpilot-panel__head { gap: 10px; }
  .trustpilot-panel__all { margin-left: 0; flex-basis: 100%; }
  .trustpilot-reviews {
    display: flex;
    gap: 14px;
    padding: 4px 4px 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .trustpilot-review {
    flex: 0 0 88%;
    scroll-snap-align: start;
  }
  .quotes--authors {
    display: flex;
    gap: 14px;
    max-width: none;
    padding: 4px 4px 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .quotes--authors .author {
    flex: 0 0 88%;
    scroll-snap-align: start;
  }
  .reviews__subhead { font-size: 30px; }
  .issue__next { align-items: flex-start; gap: 14px; padding: 16px; }
  .issue__next-cover { flex: 0 0 100px; }
  .issue__next-cover img { width: 100px; }
  .issue__next > div { min-width: 0; flex: 1 1 180px; }
  .issue__next p { display: none; }
  .features { grid-template-columns: 1fr; }
  .authors {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 4px 4px 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .authors .author {
    flex: 0 0 calc((100% - 14px) / 2);
    scroll-snap-align: start;
  }
  .authors.authors--expanded { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; padding: 0; }
  .authors.authors--expanded .author { flex: initial; }
  .authors__more { margin-top: 20px; }
  .tariffs { grid-template-columns: 1fr; max-width: 480px; }
  .catalog__toolbar { grid-template-columns: 1fr; }
  .archive-basket__checkout { grid-template-columns: 1fr; }
  .archive-basket__checkout .btn,
  .archive-basket__status { grid-column: auto; }
  .issues-grid { grid-template-columns: 1fr; }
  .sticker--yellow { right: -10px; }
  .sticker--green { left: -12px; }
  .gift { margin-left: 16px; margin-right: 16px; }
  .confirmation { padding: 30px 20px; }
  .confirmation__summary div { grid-template-columns: 1fr; gap: 3px; }
  .account { padding: 30px 20px; }
  .account__row { align-items: stretch; flex-direction: column; }
  .account__portal { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------------- archive bookshelf redesign ---------------- */
.catalog { overflow-x: clip; }
.archive-search { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 26px; max-width: 980px; margin: 0 auto 22px; }
.archive-search__face { width: 96px; height: 96px; border: 3px solid var(--ink); border-radius: 50%; object-fit: cover; background: var(--yellow); transform: rotate(-7deg); }
.archive-search__bubble { position: relative; min-width: 0; padding: 12px 18px 14px; border: 3px solid var(--ink); border-radius: 30px; background: var(--white); box-shadow: 6px 6px 0 var(--ink); transform: rotate(-.6deg); }
.archive-search__bubble::before { content: ""; position: absolute; top: 34px; left: -17px; width: 26px; height: 26px; background: var(--white); border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg) skew(12deg, 12deg); }
.archive-search__field { display: flex; align-items: center; gap: 10px; }
.archive-search__field > span { flex: none; color: var(--plum); font: 700 32px/1 var(--font-body); }
.archive-search__field input { flex: 1; min-width: 0; min-height: 44px; padding: 4px 0; border: 0; outline: 0; background: none; color: var(--ink); font: 700 19px var(--font-body); }
.archive-search__field input::placeholder { color: var(--ink-soft); font-weight: 600; }
.archive-search__field button { display: none; flex: none; width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); font: 800 20px/1 var(--font-body); cursor: pointer; }
.archive-search__field input:not(:placeholder-shown) + button { display: flex; align-items: center; justify-content: center; }
.archive-search__topics { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 8px; margin-top: 8px; padding-top: 10px; border-top: var(--border-dashed); }
.archive-search__topics b { margin-right: 2px; color: var(--plum); font-size: 13.5px; }
.archive-search__topics button { min-height: 32px; padding: 3px 13px; border: 2px solid var(--plum); border-radius: 999px; background: var(--plum-tint); color: var(--plum-deep); font: 800 14px var(--font-body); cursor: pointer; }
.archive-search__topics button:hover { background: var(--plum); color: var(--white); }
.archive-search .catalog__years { grid-column: 1 / -1; flex-direction: row; flex-wrap: nowrap; justify-content: center; gap: 10px; margin: 0; overflow-x: auto; padding: 4px 4px 8px; }
.archive-search .catalog__years button { min-height: 40px; padding: 2px 16px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--plum-deep); font: 700 26px/1 var(--font-display); box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.archive-search .catalog__years button:nth-child(odd) { transform: rotate(2deg); }
.archive-search .catalog__years button:nth-child(even) { transform: rotate(-2deg); }
.archive-search .catalog__years button[data-section="bundles"] { font-size: 21px; }
.archive-search .catalog__years button:hover, .archive-search .catalog__years button.active { background: var(--yellow); color: var(--ink); }
.shelves { display: grid; gap: 30px; }
.shelf { position: relative; min-width: 0; }
.shelf__year { margin: 0; color: var(--plum); font: 700 56px/1 var(--font-display); }
.shelf__board { position: relative; margin-top: -18px; }
.shelf__board::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; border-radius: 4px; background: var(--plum-deep); box-shadow: 0 10px 0 rgba(53,48,59,.12); }
.shelf__row { display: flex; align-items: flex-end; gap: 22px; padding: 58px 30px 18px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.shelf__book { position: relative; flex: none; width: clamp(128px, 14vw, 172px); padding: 0; border: 0; background: none; cursor: pointer; transform: rotate(var(--tilt)); transform-origin: bottom center; transition: transform .2s ease, filter .2s ease; filter: drop-shadow(4px 6px 0 rgba(53,48,59,.18)); }
.shelf__book img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; border: 3px solid var(--ink); border-radius: 6px; background: var(--plum-tint); }
.shelf__book:hover { transform: translateY(-10px) rotate(var(--tilt)); }
.shelf__book.is-selected { transform: translateY(-34px) rotate(0); filter: drop-shadow(8px 10px 0 var(--ink)); }
.shelf__book:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.shelf__book.is-faded img { opacity: .72; }
.shelf__tick { position: absolute; top: -10px; right: -10px; display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; }
.shelf__sticker { position: absolute; z-index: 2; top: -28px; right: -30px; display: grid; place-items: center; width: 82px; height: 82px; border: 3px solid var(--ink); border-radius: 50%; background: var(--yellow); font: 700 18px/1 var(--font-display); text-align: center; transform: rotate(8deg); }
.shelf__detail { position: relative; display: grid; grid-template-columns: minmax(0,1fr); width: min(62%, 760px); box-sizing: border-box; gap: 20px; margin-top: 34px; padding: 30px; border: var(--border-ink); border-radius: 26px; background: var(--white); box-shadow: 8px 8px 0 var(--ink); }
.shelf__detail::before { content: ""; position: absolute; top: -18px; left: calc(var(--arrow, 120px) - 15px); width: 30px; height: 30px; background: var(--white); border-left: 3px solid var(--ink); border-top: 3px solid var(--ink); transform: rotate(45deg); }
.shelf__detail-cover { display: none; }
.shelf__detail-body { width: 100%; min-width: 0; }
.shelf__detail-body .kicker { margin: 0 0 6px; }
.shelf__detail-body h3 { margin: 0 0 6px; color: var(--plum-deep); font: 700 46px/1 var(--font-display); }
.shelf__detail-body ul { margin: 12px 0 0; padding-left: 20px; font-size: 15.5px; line-height: 1.55; }
.shelf__detail-buy { display: grid; justify-items: center; min-width: 0; }
.shelf__detail-buy .shelf__buys { margin-inline: auto; }
.shelf__buys { display: grid; grid-template-columns: repeat(2, 120px); width: fit-content; gap: 14px; justify-content: start; }
.shelf__buy { display: grid; justify-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--ink); font: 800 13.5px/1.25 var(--font-body); cursor: pointer; text-align: center; }
.shelf__price { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 120px; height: 120px; border: 3px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); transform: rotate(-6deg); }
.shelf__buy.is-pdf .shelf__price { background: var(--plum-tint); transform: rotate(5deg); }
.shelf__price b { font-size: 34px; line-height: 1; }
.shelf__price small { margin-top: 2px; font-size: 13px; }
.shelf__price i { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 36px; height: 36px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--white); font-size: 20px; font-style: normal; }
.shelf__buy.is-selected .shelf__price { border-color: var(--green-deep); background: var(--green-tint); box-shadow: 4px 4px 0 var(--green-deep); }
.shelf__buy.is-selected .shelf__price i { border-color: var(--green-deep); background: var(--green-deep); color: #fff; }
.shelf__buy.is-off { cursor: not-allowed; color: var(--ink-soft); }
.shelf__buy.is-off .shelf__price { border-style: dashed; background: var(--paper); box-shadow: none; }
.shelf__buy.is-off .shelf__price b { color: var(--ink-soft); text-decoration: line-through; }
.shelf__detail-buy > p { margin: 18px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.shelf__close { position: absolute; top: -14px; right: -8px; width: 38px; height: 38px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--ink); font: 800 22px/1 var(--font-body); cursor: pointer; }
@media (max-width: 860px) { .archive-search { grid-template-columns: auto minmax(0,1fr); } .archive-search .catalog__years { grid-column: 1/-1; flex-direction: row; justify-content: center; } .shelf__detail { width: 100%; } }
@media (max-width: 640px) { .archive-search { grid-template-columns: minmax(0,1fr); gap: 12px; } .archive-search__face { display: none; } .archive-search__bubble { transform: none; } .archive-search__bubble::before { display: none; } .archive-search .catalog__years { grid-column: auto; flex-direction: row; justify-content: flex-start; overflow-x: auto; } .archive-search .catalog__years button { flex: none; font-size: 24px; } .shelf__year { font-size: 46px; } .shelf__row { gap: 16px; padding: 50px 18px 18px; } .shelf__sticker { width: 88px; height: 88px; font-size: 21px; } .shelf__detail { gap: 16px; padding: 24px 20px; } .shelf__detail-body h3 { font-size: 36px; } .shelf__detail-buy { justify-items: center; } .shelf__price { width: 108px; height: 108px; } .shelf__buys { grid-template-columns: repeat(2, 108px); margin-inline: auto; } }
