:root {
    --ink: #202522;
    --ink-soft: #4d5550;
    --paper: #f5f1e9;
    --paper-light: #fcfaf5;
    --paper-deep: #e9e1d4;
    --rust: #a64d31;
    --rust-dark: #7b3421;
    --sage: #7b897f;
    --line: rgba(32, 37, 34, 0.14);
    --shadow: 0 24px 60px rgba(37, 31, 25, 0.12);
    --radius: 28px;
    --wrap: min(1160px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

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

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper-light);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: 0.35;
    background-image: radial-gradient(rgba(46, 40, 33, 0.06) 0.7px, transparent 0.7px);
    background-size: 5px 5px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

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

:focus-visible {
    outline: 3px solid rgba(166, 77, 49, 0.45);
    outline-offset: 4px;
}

.site-wrap {
    width: var(--wrap);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 10px 16px;
    color: #fff;
    background: var(--ink);
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(32, 37, 34, 0.08);
    background: rgba(252, 250, 245, 0.92);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    line-height: 1;
}

.site-brand img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(36, 31, 26, 0.15);
}

.site-brand span {
    display: grid;
    gap: 4px;
}

.site-brand strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.22rem;
    letter-spacing: 0.01em;
}

.site-brand small {
    color: var(--rust);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    padding: 10px 13px;
    color: var(--ink-soft);
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--ink);
    background: var(--paper-deep);
}

.site-nav .site-nav__cta {
    margin-left: 5px;
    padding-inline: 16px;
    color: #fff;
    background: var(--rust);
    box-shadow: 0 7px 18px rgba(125, 52, 33, 0.16);
}

.site-nav .site-nav__cta:hover {
    color: #fff;
    background: var(--rust-dark);
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle__icon {
    width: 18px;
    display: grid;
    gap: 3px;
}

.menu-toggle__icon i {
    height: 2px;
    display: block;
    background: currentColor;
}

.hero {
    position: relative;
    padding: clamp(52px, 7vw, 88px) 0 clamp(58px, 7vw, 92px);
    background:
        linear-gradient(110deg, rgba(245, 241, 233, 0.98) 0%, rgba(245, 241, 233, 0.92) 55%, rgba(232, 223, 210, 0.75) 100%);
    overflow: hidden;
}

.hero::after {
    position: absolute;
    right: -8vw;
    bottom: -42%;
    width: 46vw;
    aspect-ratio: 1;
    content: "";
    border: 1px solid rgba(166, 77, 49, 0.16);
    border-radius: 50%;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
    align-items: center;
    gap: clamp(48px, 8vw, 104px);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--rust);
    font-size: 0.77rem;
    font-weight: 850;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.08;
}

h1 {
    max-width: 780px;
    margin-bottom: 24px;
    font-size: clamp(3rem, 7vw, 6.6rem);
    font-weight: 500;
    letter-spacing: -0.045em;
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 4.6vw, 4.4rem);
    font-weight: 500;
    letter-spacing: -0.035em;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.55rem;
}

.hero__lead {
    max-width: 700px;
    margin: 0 0 32px;
    color: var(--ink-soft);
    font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button--primary {
    color: #fff;
    background: var(--rust);
    box-shadow: 0 12px 26px rgba(125, 52, 33, 0.24);
}

.button--primary:hover {
    background: var(--rust-dark);
}

.button--ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.54);
}

.button--light {
    color: var(--ink);
    background: var(--paper-light);
    white-space: nowrap;
}

.hero__visual {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
}

.hero__visual::before {
    position: absolute;
    inset: 8% 5%;
    content: "";
    background: var(--ink);
    border-radius: 45% 55% 52% 48% / 48% 44% 56% 52%;
    transform: rotate(-5deg);
    box-shadow: var(--shadow);
}

.hero__visual img {
    position: relative;
    z-index: 2;
    width: min(370px, 82%);
    filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.25));
    transform: rotate(4deg);
}

.hero__visual p {
    position: absolute;
    right: -18px;
    bottom: 5%;
    z-index: 3;
    margin: 0;
    padding: 13px 18px;
    color: var(--ink);
    background: var(--paper-light);
    border-radius: 14px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    line-height: 1.3;
    transform: rotate(-3deg);
}

.hero__visual p span,
.hero__visual p strong {
    display: block;
}

.hero__visual p span {
    color: var(--rust);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__orbit {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.hero__orbit--one {
    width: 92%;
    height: 62%;
    transform: rotate(23deg);
}

.hero__orbit--two {
    width: 72%;
    height: 92%;
    transform: rotate(-37deg);
}

.section {
    padding: clamp(76px, 10vw, 132px) 0;
}

.section--tinted {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.section-heading {
    max-width: 780px;
}

.section-heading > p:not(.eyebrow),
.section-heading--split > p {
    color: var(--ink-soft);
}

.section-heading--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    align-items: end;
    gap: 60px;
}

.section-heading--split > p {
    margin: 0 0 20px;
}

.catalog-affiliate-note {
    margin: 20px 0 24px;
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.catalog-affiliate-note + .book-filters {
    margin-top: 0;
}

.book-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 44px 0 28px;
}

.book-filters button {
    padding: 10px 16px;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    font-weight: 750;
    cursor: pointer;
}

.book-filters button:hover,
.book-filters button.is-active {
    color: #fff;
    border-color: var(--ink);
    background: var(--ink);
}

.book-filters button span {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    margin-left: 5px;
    padding-inline: 5px;
    color: var(--ink-soft);
    background: rgba(32, 37, 34, 0.08);
    border-radius: 999px;
    font-size: 0.72rem;
}

.book-filters button:hover span,
.book-filters button.is-active span {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.book-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-light);
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.book-card[hidden] {
    display: none;
}

.book-card__visual {
    position: relative;
    min-height: 330px;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(145deg, #ddd4c6, #f3eee6 60%, #d8cabb);
    overflow: hidden;
}

.book-card__visual::before {
    position: absolute;
    inset: 14px;
    content: "";
    border: 1px solid rgba(32, 37, 34, 0.1);
    border-radius: 20px;
}

.book-card__visual > img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 20px 18px rgba(0, 0, 0, 0.22));
    transition: transform 260ms ease;
}

.book-card:hover .book-card__visual > img {
    transform: scale(1.025) rotate(-1deg);
}

.book-card__visual--placeholder {
    background: linear-gradient(145deg, #d8cbbb, #f0e9df 58%, #c9b8a5);
}

.book-placeholder {
    position: relative;
    z-index: 1;
    width: 190px;
    aspect-ratio: 0.72;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 30px 19px 24px;
    color: var(--ink);
    border: 1px solid rgba(32, 37, 34, 0.25);
    background: linear-gradient(160deg, #fbf8f2, #e7ded1);
    box-shadow: 14px 12px 0 #c5b8a7, 18px 18px 24px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: rotate(-1.5deg);
}

.book-placeholder::after {
    position: absolute;
    top: 7px;
    right: -10px;
    bottom: 7px;
    width: 9px;
    content: "";
    background: repeating-linear-gradient(to bottom, #f8f4ed 0 3px, #d7cec1 3px 4px);
    border-radius: 0 3px 3px 0;
}

.book-placeholder img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(1) contrast(1.08);
}

.book-placeholder b {
    display: -webkit-box;
    overflow: hidden;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
    line-height: 1.16;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.book-placeholder small {
    color: var(--rust-dark);
    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.book-card__label {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    padding: 6px 10px;
    color: #fff;
    background: var(--rust);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
}

.book-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.book-card__body h3 {
    margin-bottom: 14px;
}

.book-card__author {
    margin: 0 0 8px;
    color: var(--rust);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.book-card__body > p:not(.book-card__author) {
    color: var(--ink-soft);
}

.button--book {
    width: 100%;
    min-height: 46px;
    margin-top: auto;
    padding: 10px 16px;
    color: var(--rust-dark);
    border-color: rgba(166, 77, 49, 0.24);
    background: #f3e7df;
}

.button--book:hover {
    color: #fff;
    background: var(--rust-dark);
}

.book-card__affiliate {
    display: block;
    margin-top: 9px;
    color: var(--ink-soft);
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: center;
}

.text-link {
    width: fit-content;
    margin-top: auto;
    color: var(--rust-dark);
    font-weight: 850;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.catalog-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
}

.filter-status {
    min-height: 1.7em;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.button--catalog {
    color: #fff;
    background: var(--ink);
}

.publisher {
    padding-block: clamp(68px, 8vw, 104px);
}

.publisher__card {
    max-width: 960px;
    padding-left: clamp(24px, 5vw, 64px);
    border-left: 4px solid var(--rust);
}

.publisher__card h2 {
    max-width: 800px;
}

.publisher__card > p:last-child {
    max-width: 850px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.13rem;
}

.newsletter__card {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: clamp(34px, 7vw, 90px);
    align-items: center;
    padding: clamp(34px, 7vw, 78px);
    color: #fff;
    background: var(--ink);
    border-radius: calc(var(--radius) + 8px);
    box-shadow: var(--shadow);
}

.newsletter__card .eyebrow {
    color: #e6aa91;
}

.newsletter__card h2 {
    max-width: 660px;
}

.newsletter__content > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.73);
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
}

.check-list li::before {
    position: absolute;
    left: 0;
    content: "✓";
    color: #e6aa91;
    font-weight: 900;
}

.newsletter__form {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 44px);
    color: var(--ink);
    background: var(--paper-light);
    border-radius: 24px;
}

.newsletter__form iframe {
    width: 100%;
    max-width: 600px;
    height: 290px;
    display: block;
    margin-inline: auto;
    border: 0;
    overflow: hidden;
}

.newsletter-form-placeholder {
    min-height: 220px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 9px;
    padding: 28px;
    text-align: center;
    border: 1px dashed rgba(31, 36, 34, 0.24);
    border-radius: 16px;
    background: rgba(229, 221, 205, 0.32);
}

.newsletter-form-placeholder span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--rust-dark);
    border-radius: 50%;
    background: rgba(174, 82, 53, 0.12);
    font-size: 1.35rem;
}

.newsletter-form-placeholder strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
}

.newsletter-form-placeholder p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.94rem;
}

.newsletter__form > p:last-child {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.crosslink {
    padding-top: 0;
}

.crosslink__card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    padding: clamp(30px, 5vw, 56px);
    color: #fff;
    background: var(--rust-dark);
    border-radius: var(--radius);
}

.crosslink__card .eyebrow {
    color: #f1b99f;
}

.crosslink__card h2 {
    margin-bottom: 12px;
    font-size: clamp(1.8rem, 3.7vw, 3.35rem);
}

.crosslink__card p:last-child {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.75);
}

.crosslink__logo {
    width: 100px;
    height: 100px;
    display: block;
    padding: 4px;
    object-fit: cover;
    background: var(--paper-light);
    border-radius: 50%;
    box-shadow: inset 0 0 0 7px rgba(123, 52, 33, 0.12);
}

.social {
    padding-top: 0;
}

.social__compact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: clamp(28px, 5vw, 46px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.social__compact-card h2 {
    margin-bottom: 8px;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.social__compact-card p:last-child {
    max-width: 650px;
    margin-bottom: 0;
    color: var(--ink-soft);
}

.social__compact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social__compact-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper-light);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.social__compact-links a > span {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--ink);
    border-radius: 50%;
    font-family: Georgia, serif;
}

.site-footer {
    padding: 64px 0 28px;
    color: rgba(255, 255, 255, 0.72);
    background: #171a18;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) minmax(160px, 0.6fr) minmax(160px, 0.6fr);
    gap: 60px;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-footer__brand img {
    border-radius: 50%;
}

.site-footer__brand p {
    margin: 0;
}

.site-footer__brand strong,
.site-footer nav > strong {
    color: #fff;
}

.site-footer nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.site-footer nav > strong {
    margin-bottom: 4px;
}

.site-footer a {
    text-underline-offset: 3px;
}

.site-footer nav span {
    opacity: 0.58;
}

.site-footer__legal {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 54px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
}

.site-footer__legal p {
    margin: 0;
}

.legal-main {
    padding: clamp(52px, 8vw, 96px) 0;
    background: var(--paper);
}

.legal-card {
    max-width: 920px;
    padding: clamp(28px, 6vw, 72px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-light);
    box-shadow: var(--shadow);
}

.legal-card h1 {
    margin-bottom: 48px;
    font-size: clamp(2.7rem, 6vw, 5rem);
}

.legal-card h2 {
    margin-top: 44px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
    color: var(--ink-soft);
}

.legal-card__stand {
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.newsletter-status-main {
    background: var(--paper);
}

.newsletter-status-hero {
    position: relative;
    padding: clamp(64px, 9vw, 112px) 0;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(166, 77, 49, 0.34), transparent 28%),
        linear-gradient(140deg, #202522, #313833);
    overflow: hidden;
    text-align: center;
}

.newsletter-status-hero::after {
    position: absolute;
    right: -8vw;
    bottom: -52%;
    width: min(560px, 58vw);
    aspect-ratio: 1;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.newsletter-status-hero__inner {
    position: relative;
    z-index: 1;
}

.newsletter-status-hero .eyebrow {
    color: #e6aa91;
}

.newsletter-status-hero h1,
.newsletter-success-card h1 {
    max-width: 900px;
    margin-inline: auto;
    font-size: clamp(2.65rem, 6vw, 5.3rem);
    text-wrap: balance;
}

.newsletter-status-hero__lead {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.newsletter-mail-hint {
    max-width: 720px;
    margin: 30px auto 0;
    padding: 16px 20px;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
}

.newsletter-mail-hint strong {
    color: #fff;
}

.newsletter-status-steps {
    background: var(--paper-light);
}

.newsletter-status-heading {
    margin-inline: auto;
    text-align: center;
}

.newsletter-step-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 44px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.newsletter-step-list li {
    min-width: 0;
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.newsletter-step-list li > span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    color: #fff;
    background: var(--rust);
    border-radius: 50%;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.newsletter-step-list p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.newsletter-step-list small {
    display: block;
    margin-top: 14px;
    color: var(--rust-dark);
    font-weight: 750;
}

.newsletter-success-main {
    background: var(--paper);
}

.newsletter-success-section {
    min-height: 68vh;
    display: grid;
    place-items: center;
    padding: clamp(64px, 10vw, 126px) 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(123, 137, 127, 0.2), transparent 28%),
        radial-gradient(circle at 86% 12%, rgba(166, 77, 49, 0.17), transparent 30%),
        var(--paper);
}

.newsletter-success-card {
    max-width: 900px;
    margin-inline: auto;
    padding: clamp(36px, 7vw, 78px);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 8px);
    background: var(--paper-light);
    box-shadow: var(--shadow);
    text-align: center;
}

.newsletter-success-card > p:not(.eyebrow):not(.newsletter-success-signoff) {
    max-width: 720px;
    margin-inline: auto;
    color: var(--ink-soft);
    font-size: 1.06rem;
}

.newsletter-success-mark {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    color: #fff;
    background: var(--rust);
    border: 8px solid #ead7cd;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(125, 52, 33, 0.2);
}

.newsletter-success-link {
    display: inline-block;
    margin-top: 18px;
}

.newsletter-success-signoff {
    margin: 38px 0 0;
    padding-top: 28px;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
}

.newsletter-success-signoff strong {
    color: var(--ink);
}

.confetti-canvas {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.confetti-canvas.is-active {
    opacity: 1;
}

.reveal-item {
    opacity: 1;
    transform: none;
}

.has-js .reveal-item {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 620ms ease, transform 620ms ease;
}

.has-js .reveal-item.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 920px) {
    .hero__grid,
    .newsletter__card {
        grid-template-columns: 1fr;
    }

    .hero__content {
        max-width: 760px;
    }

    .hero__visual {
        width: min(600px, 100%);
        min-height: 430px;
        margin-inline: auto;
    }

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

    .section-heading--split {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .section-heading--split > p {
        max-width: 680px;
    }

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

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

    .newsletter-step-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    :root {
        --wrap: min(100% - 28px, 1160px);
        --radius: 22px;
    }

    html {
        scroll-padding-top: 86px;
    }

    .site-header__inner {
        position: relative;
        min-height: 74px;
        flex-wrap: wrap;
        padding-block: 12px;
    }

    .site-brand img {
        width: 48px;
        height: 48px;
    }

    .site-brand strong {
        font-size: 1.02rem;
    }

    .site-brand small {
        font-size: 0.66rem;
    }

    .has-js .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: static;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 0 0 8px;
    }

    .has-js .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        width: auto;
        display: none;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--paper-light);
        box-shadow: var(--shadow);
    }

    .has-js .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 14px;
    }

    .site-nav .site-nav__cta {
        margin: 4px 0 0;
        border-radius: 14px;
        text-align: center;
    }

    .hero {
        padding-top: 46px;
        padding-bottom: 56px;
    }

    h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .hero__visual {
        min-height: 390px;
    }

    .hero__visual img {
        width: min(300px, 76%);
    }

    .hero__visual p {
        right: 2%;
    }

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

    .book-card__visual {
        min-height: 300px;
    }

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

    .crosslink__card .button {
        grid-column: 1;
    }

    .crosslink__logo {
        width: 74px;
        height: 74px;
    }

    .social__compact-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 26px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__legal {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .site-brand span {
        display: none;
    }

    .button-row,
    .button {
        width: 100%;
    }

    .hero__visual {
        min-height: 330px;
    }

    .hero__visual::before {
        inset: 4%;
    }

    .hero__visual img {
        width: min(250px, 76%);
    }

    .hero__visual p {
        right: 0;
        bottom: 0;
        font-size: 0.88rem;
    }

    .book-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .book-filters button:first-child {
        grid-column: 1 / -1;
    }

    .newsletter__card {
        width: 100%;
        padding: 28px 20px;
    }

    .newsletter__form {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__brand {
        grid-column: auto;
    }

    .legal-card {
        padding-inline: 22px;
    }

    .newsletter-status-hero h1,
    .newsletter-success-card h1 {
        font-size: clamp(2.55rem, 12vw, 4.2rem);
    }

    .newsletter-mail-hint {
        padding-inline: 16px;
    }

    .newsletter-success-card {
        padding-inline: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .has-js .reveal-item {
        opacity: 1;
        transform: none;
    }

    .confetti-canvas {
        display: none !important;
    }
}

@media print {
    .confetti-canvas {
        display: none !important;
    }
}
