:root {
    color-scheme: dark;
    --ink: #08091f;
    --night: #111136;
    --paper: #f4f0e8;
    --acid: #dfff22;
    --violet: #7048ff;
    --coral: #ff654f;
    --sky: #65b9ff;
    --muted: rgba(244, 240, 232, .62);
    --display-font: Anton, Impact, sans-serif;
    --display-weight: 400;
}

.experience-theme-notes {
    --ink: #10162d;
    --night: #18213d;
    --paper: #f2f8f2;
    --acid: #8be2c6;
    --violet: #5968cf;
    --coral: #ff8f70;
    --sky: #78caff;
    --muted: rgba(242, 248, 242, .64);
    --display-font: "Space Grotesk", sans-serif;
    --display-weight: 700;
}

.experience-theme-equestrian {
    --ink: #172b24;
    --night: #203b31;
    --paper: #f3ead9;
    --acid: #d7b06a;
    --violet: #8f5a38;
    --coral: #b86d46;
    --sky: #91aa9a;
    --muted: rgba(243, 234, 217, .66);
    --display-font: "DM Serif Display", serif;
    --display-weight: 400;
}

.experience-theme-wedding {
    --ink: #311b25;
    --night: #492735;
    --paper: #fff8f0;
    --acid: #e9b7ad;
    --violet: #8b4053;
    --coral: #d17a82;
    --sky: #d6a85c;
    --muted: rgba(255, 248, 240, .66);
    --display-font: "Playfair Display", serif;
    --display-weight: 700;
}

.experience-theme-guestbook {
    --ink: #241c21;
    --night: #3b2b34;
    --paper: #fffaf2;
    --acid: #f1c77a;
    --violet: #a4516d;
    --coral: #d77f6f;
    --sky: #c8a36a;
    --muted: rgba(255, 250, 242, .66);
    --display-font: "DM Serif Display", serif;
    --display-weight: 400;
}

.experience-theme-agenda {
    --ink: #0c1d42;
    --night: #16316a;
    --paper: #fff9ef;
    --acid: #ffcf40;
    --violet: #1855b3;
    --coral: #f46d58;
    --sky: #5ac6d0;
    --muted: rgba(255, 249, 239, .66);
    --display-font: Poppins, sans-serif;
    --display-weight: 700;
}

.experience-theme-recipes {
    --ink: #2b2118;
    --night: #4a3120;
    --paper: #fff8e9;
    --acid: #f4a33a;
    --violet: #788c3a;
    --coral: #d64b1c;
    --sky: #b9c97a;
    --muted: rgba(255, 248, 233, .68);
    --display-font: "DM Serif Display", serif;
    --display-weight: 400;
}

.experience-theme-birth {
    --ink: #1b2b4b;
    --night: #263c61;
    --paper: #fffaf1;
    --acid: #edbd5a;
    --violet: #6f8fbd;
    --coral: #d89f93;
    --sky: #a8ccdf;
    --muted: rgba(255, 250, 241, .68);
    --display-font: "DM Serif Display", serif;
    --display-weight: 400;
}

.experience-theme-pregnancy {
    --ink: #3a2523;
    --night: #553530;
    --paper: #fff8f3;
    --acid: #d7a18f;
    --violet: #9b6f79;
    --coral: #c67a67;
    --sky: #d6b9a8;
    --muted: rgba(255, 248, 243, .68);
    --display-font: "Playfair Display", serif;
    --display-weight: 700;
}

.experience-theme-kids {
    --ink: #142b3d;
    --night: #173d4e;
    --paper: #fff9ed;
    --acid: #ffd028;
    --violet: #7a43b6;
    --coral: #ff5a47;
    --sky: #16b5b5;
    --muted: rgba(255, 249, 237, .68);
    --display-font: Fredoka, sans-serif;
    --display-weight: 700;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--ink);
    color: var(--paper);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

button,
input,
select {
    color: inherit;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
    outline: 3px solid var(--acid);
    outline-offset: 4px;
}

.delivery-strip {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 36px;
    padding: .45rem 1rem;
    background: #020207;
    color: var(--acid);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.delivery-strip i {
    font-size: .82rem;
}

.site-header {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1400px, 100%);
    min-height: 80px;
    margin: 0 auto;
    padding: 1rem 2.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: .65rem;
    color: var(--paper);
    text-decoration: none;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: .45rem .45rem .45rem .08rem;
    background: var(--acid);
    color: var(--ink);
    font-family: Fredoka, "DM Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    padding-bottom: .08rem;
    transform: rotate(-4deg);
    box-shadow: .3rem .3rem 0 var(--violet);
}

.brand-name {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -.055em;
    white-space: nowrap;
}

.brand-name span {
    color: var(--acid);
}

.header-cart {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-height: 2.55rem;
    border: 1px solid rgba(244, 240, 232, .25);
    border-radius: 999px;
    color: var(--paper);
    padding: .35rem .45rem .35rem .9rem;
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none;
}

.header-cart:hover { border-color: var(--acid); }
.header-cart strong { display: grid; min-width: 1.65rem; height: 1.65rem; place-items: center; border-radius: 50%; background: var(--acid); color: var(--ink); font-size: .68rem; }

.interface-switcher {
    display: flex;
    align-items: center;
    gap: .25rem;
    padding: .3rem;
    border: 1px solid rgba(244, 240, 232, .14);
    border-radius: 999px;
    background: rgba(244, 240, 232, .055);
}

.interface-switcher a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.25rem;
    padding: .45rem .72rem;
    border-radius: 999px;
    color: rgba(244, 240, 232, .68);
    font-size: .68rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}

.interface-switcher a:hover,
.interface-switcher a.is-active {
    background: var(--acid);
    color: var(--ink);
}

.experience {
    display: grid;
    grid-template-columns: minmax(0, .93fr) minmax(520px, 1.07fr);
    width: min(1400px, 100%);
    margin: 0 auto;
    padding: 0 2.25rem 2.75rem;
}

.builder-column {
    min-width: 0;
    padding: 2.3rem 1.75rem 0 0;
}

.hero-copy {
    padding: 1.4rem 0 5.75rem;
}

.hero-kicker {
    margin: 0 0 1.2rem;
    color: var(--acid);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 670px;
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(4.65rem, 7.8vw, 7.65rem);
    font-weight: var(--display-weight);
    line-height: .9;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.hero-copy .product-headline {
    font-size: clamp(3.55rem, 5.35vw, 5.35rem);
    letter-spacing: -.045em;
}

.product-headline-line {
    display: block;
    white-space: nowrap;
}

.product-headline-accent {
    color: var(--acid);
}

.hero-lead {
    margin: 2rem 0 .85rem;
    color: var(--paper);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.025em;
}

.hero-stroke {
    display: block;
    width: 14rem;
    border-top: 4px solid var(--acid);
    transform: rotate(-2deg);
}

.steps {
    --rail-padding: 1rem;
    --step-offset: 4.4rem;
    --step-number-size: 3.25rem;
    position: relative;
    padding-left: var(--rail-padding);
}

.progress-line {
    position: absolute;
    top: 2.4rem;
    bottom: -2.75rem;
    left: calc(var(--rail-padding) + (var(--step-number-size) / 2) - 1.5px);
    width: 3px;
    background: rgba(223, 255, 34, .18);
}

.progress-line span {
    position: absolute;
    inset: 0 0 auto;
    height: var(--progress, 18%);
    background: var(--acid);
    transition: height .45s ease;
}

.step {
    position: relative;
    min-height: 500px;
    padding: 0 0 7rem var(--step-offset);
    scroll-margin-top: 5rem;
}

.step:last-child {
    min-height: 680px;
    padding-bottom: 1rem;
}

.step-heading {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 1.35rem calc(-1 * var(--step-offset));
}

.step-number {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: var(--step-number-size);
    height: var(--step-number-size);
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--display-font);
    font-weight: var(--display-weight);
    font-size: 1.65rem;
    line-height: 1;
    transition: background-color .25s ease, transform .25s ease;
}

.step.is-active .step-number,
.checkout .step-number {
    background: var(--acid);
    transform: rotate(-4deg);
}

.step-heading h2,
.checkout-title h2 {
    display: flex;
    min-width: 0;
    align-items: center;
    flex: 1 1 auto;
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(2.1rem, 3vw, 3.25rem);
    font-weight: var(--display-weight);
    line-height: .95;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.step-heading h2::before,
.checkout-title h2::before {
    content: "";
    display: block;
    flex: 0 0 2rem;
    width: 2rem;
    height: 3px;
    margin: 0 .8rem 0 -1px;
    background: var(--paper);
}

.step-heading h2 > span,
.checkout-title h2 > span {
    display: block;
    min-width: 0;
}

.step-heading h2 > span {
    white-space: nowrap;
}

.step-card {
    width: min(100%, 520px);
    border-radius: .55rem;
    background: var(--paper);
    color: var(--ink);
    box-shadow: .65rem .65rem 0 rgba(112, 72, 255, .34);
}

.cover-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    width: min(100%, 640px);
}

.upload-card {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: .85rem 1rem;
    padding: 1rem;
    transition: outline-color .18s ease, transform .18s ease;
}

.cover-side-label {
    grid-column: 1 / -1;
    color: rgba(8, 9, 31, .62);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.upload-card.is-dragover {
    outline: 3px solid var(--violet);
    outline-offset: .35rem;
    transform: translateY(-2px);
}

.upload-card.is-processing {
    cursor: progress;
    filter: saturate(.72);
}

.upload-card.has-error {
    outline: 3px solid var(--coral);
    outline-offset: .35rem;
}

.upload-preview {
    grid-row: span 1;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: .45rem;
    background: #0d1020;
}

.upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.upload-details strong {
    overflow: hidden;
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-status {
    margin-top: .25rem;
    color: var(--violet);
    font-size: .7rem;
    font-weight: 700;
}

.acid-button {
    border: 2px solid var(--ink);
    border-radius: .42rem;
    background: var(--acid);
    color: var(--ink);
    font-family: var(--display-font);
    font-weight: var(--display-weight);
    letter-spacing: .015em;
    text-transform: uppercase;
    box-shadow: .25rem .25rem 0 var(--violet);
    transition: transform .18s ease, box-shadow .18s ease;
}

.acid-button:hover {
    transform: translate(-2px, -2px);
    box-shadow: .42rem .42rem 0 var(--violet);
}

.upload-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    grid-column: 1 / -1;
    min-height: 3rem;
    padding: .55rem .75rem;
    font-size: .9rem;
}

.cover-upload-help {
    width: min(100%, 640px);
    margin: .9rem 0 0;
    color: var(--muted);
    font-size: .72rem;
}

.cover-inspiration {
    width: min(100%, 640px);
    margin-top: .8rem;
}

.cover-inspiration summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    border-radius: .35rem;
    color: var(--acid);
    cursor: pointer;
    font-size: .78rem;
    font-weight: 800;
    list-style: none;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .25rem;
}

.cover-inspiration summary::-webkit-details-marker {
    display: none;
}

.cover-inspiration summary:focus-visible {
    outline: 2px solid var(--acid);
    outline-offset: .35rem;
}

.cover-inspiration summary > span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.cover-inspiration-chevron {
    font-size: .65rem;
    transition: transform .18s ease;
}

.cover-inspiration[open] .cover-inspiration-chevron {
    transform: rotate(180deg);
}

.cover-inspiration-panel {
    margin-top: .9rem;
    border: 1px solid rgba(244, 240, 232, .2);
    border-radius: .65rem;
    background: rgba(244, 240, 232, .07);
    padding: 1rem;
}

.cover-inspiration-intro {
    margin: 0 0 .9rem;
    color: var(--paper);
    font-size: .76rem;
    line-height: 1.5;
}

.cover-prompt-list {
    display: grid;
    gap: .8rem;
}

.cover-prompt-card {
    border-left: 4px solid var(--acid);
    border-radius: .45rem;
    background: var(--paper);
    padding: .9rem;
    color: var(--ink);
    box-shadow: .3rem .3rem 0 rgba(112, 72, 255, .25);
}

.cover-prompt-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
}

.cover-prompt-heading strong {
    font-family: var(--display-font);
    font-size: 1rem;
    font-weight: var(--display-weight);
}

.cover-prompt-heading span {
    color: rgba(8, 9, 31, .58);
    font-size: .66rem;
    font-weight: 700;
    text-align: right;
}

.cover-prompt-card > p {
    margin: .65rem 0 .75rem;
    color: rgba(8, 9, 31, .78);
    font-size: .72rem;
    line-height: 1.52;
}

.cover-prompt-card > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 2.35rem;
    border: 0;
    border-radius: .35rem;
    background: var(--violet);
    padding: .5rem .75rem;
    color: var(--paper);
    cursor: pointer;
    font-size: .7rem;
    font-weight: 800;
    transition: background-color .18s ease, transform .18s ease;
}

.cover-prompt-card > button:hover {
    transform: translateY(-1px);
}

.cover-prompt-card > button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.cover-prompt-card > button.is-copied {
    background: #28794f;
}

.cover-prompt-card > button.has-copy-error {
    background: var(--coral);
}

.title-card {
    padding: 1.4rem;
}

.title-card label,
.phrase-builder label {
    display: block;
    margin-bottom: .5rem;
    font-size: .76rem;
    font-weight: 700;
}

.title-control {
    position: relative;
}

.title-control input {
    width: 100%;
    height: 3.55rem;
    border: 1px solid rgba(8, 9, 31, .5);
    border-radius: .38rem;
    background: #fffdf8;
    padding: 0 3rem 0 .9rem;
    color: var(--ink);
    font-size: .93rem;
    font-weight: 700;
}

.title-control input::placeholder {
    color: rgba(8, 9, 31, .48);
    opacity: 1;
}

.title-control i {
    position: absolute;
    top: 50%;
    right: .9rem;
    color: var(--violet);
    transform: translateY(-50%);
}

.title-control input:placeholder-shown + i {
    opacity: 0;
}

.font-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(9rem, .85fr);
    align-items: center;
    gap: .45rem .75rem;
    margin-top: 1rem;
}

.font-control label {
    margin: 0;
    color: rgba(8, 9, 31, .65);
}

.font-control select {
    min-width: 0;
    height: 3rem;
    border: 1px solid rgba(8, 9, 31, .45);
    border-radius: .38rem;
    background: #fffdf8;
    padding: 0 2.2rem 0 .8rem;
    color: var(--ink);
    font-size: .84rem;
    font-weight: 700;
}

#font-preview {
    display: block;
    grid-column: 1 / -1;
    min-width: 0;
    min-height: 3rem;
    overflow: hidden;
    border-radius: .38rem;
    background: var(--ink);
    color: var(--acid);
    padding: .45rem .65rem;
    font-family: var(--display-font);
    font-size: 1.05rem;
    line-height: 2.1rem;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spine-colors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(8, 9, 31, .12);
    padding-top: 1rem;
}

.spine-colors > label {
    display: grid;
    gap: .45rem;
    margin: 0;
    color: rgba(8, 9, 31, .65);
}

.color-control {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 2.8rem;
    border: 1px solid rgba(8, 9, 31, .25);
    border-radius: .38rem;
    background: #fffdf8;
    padding: .35rem .6rem;
}

.color-control input[type="color"] {
    width: 2.2rem;
    height: 2.05rem;
    overflow: hidden;
    border: 0;
    border-radius: .25rem;
    background: transparent;
    padding: 0;
}

.color-control output {
    color: var(--ink);
    font-family: "Space Grotesk", monospace;
    font-size: .72rem;
    font-weight: 700;
}

.step-intro {
    margin: -.5rem 0 1.35rem;
    color: var(--muted);
    font-size: .88rem;
}

.page-count-picker {
    width: min(100%, 640px);
    margin: 0 0 1.5rem;
    border: 0;
    padding: 0;
}

.page-count-picker legend,
.interior-choice-title {
    margin: 0 0 .7rem;
    color: var(--paper);
    font-family: var(--display-font);
    font-size: .9rem;
    font-weight: var(--display-weight);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.page-count-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.page-count-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .8rem;
    min-width: 0;
    border: 1px solid rgba(244, 240, 232, .28);
    border-radius: .6rem;
    background: rgba(244, 240, 232, .055);
    padding: 1rem;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.page-count-card:hover {
    border-color: var(--acid);
    transform: translateY(-2px);
}

.page-count-card.is-selected {
    border-color: var(--acid);
    background: rgba(223, 255, 34, .09);
    box-shadow: inset 0 0 0 1px var(--acid);
}

.page-count-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.page-count-card:focus-within {
    outline: 3px solid var(--acid);
    outline-offset: .25rem;
}

.page-count-card span {
    display: grid;
    gap: .25rem;
}

.page-count-card strong {
    color: var(--paper);
    font-family: var(--display-font);
    font-size: 1.12rem;
    font-weight: var(--display-weight);
    letter-spacing: .02em;
    text-transform: uppercase;
}

.page-count-card small {
    color: var(--muted);
    font-size: .68rem;
    line-height: 1.4;
}

.page-count-card > i {
    display: grid;
    width: 1.5rem;
    height: 1.5rem;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: transparent;
    font-size: .65rem;
}

.page-count-card.is-selected > i {
    background: var(--acid);
    color: var(--ink);
}

.interior-choice-title {
    width: min(100%, 640px);
}

.interior-style-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    width: min(100%, 640px);
}

.interior-style-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: .85rem;
    min-width: 0;
    border: 1px solid rgba(244, 240, 232, .28);
    border-radius: .6rem;
    background: rgba(244, 240, 232, .055);
    padding: .75rem;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.interior-style-card:hover {
    border-color: var(--acid);
    transform: translateY(-2px);
}

.interior-style-card.is-selected {
    border-color: var(--acid);
    background: rgba(223, 255, 34, .09);
    box-shadow: inset 0 0 0 1px var(--acid);
}

.interior-style-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.interior-style-card:focus-within {
    outline: 3px solid var(--acid);
    outline-offset: .25rem;
}

.interior-style-sample {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: .3rem;
    background-color: #fffefa;
    box-shadow: inset 0 0 0 1px rgba(8, 9, 31, .15);
}

.interior-style-sample-lined {
    background-image: repeating-linear-gradient(180deg, transparent 0 14px, rgba(8, 9, 31, .24) 14px 15px);
}

.interior-style-sample-grid {
    background-image:
        linear-gradient(rgba(8, 9, 31, .17) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 9, 31, .17) 1px, transparent 1px);
    background-size: 10px 10px;
}

.interior-style-copy {
    display: grid;
    align-content: start;
    gap: .25rem;
}

.interior-style-copy strong {
    color: var(--paper);
    font-family: var(--display-font);
    font-size: 1rem;
    font-weight: var(--display-weight);
    letter-spacing: .02em;
    text-transform: uppercase;
}

.interior-style-copy small {
    color: var(--muted);
    font-size: .66rem;
    line-height: 1.4;
}

.interior-style-card > i {
    position: absolute;
    top: .45rem;
    right: .45rem;
    display: grid;
    width: 1.5rem;
    height: 1.5rem;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: transparent;
    font-size: .65rem;
}

.interior-style-card.is-selected > i {
    background: var(--acid);
    color: var(--ink);
}

.optional-content {
    width: min(100%, 640px);
    margin-top: 1.1rem;
}

.optional-content-launcher {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .85rem;
    width: 100%;
    border: 1px dashed rgba(244, 240, 232, .3);
    border-radius: .7rem;
    background: rgba(244, 240, 232, .025);
    color: var(--paper);
    padding: .85rem 1rem;
    text-align: left;
    transition: border-color .18s ease, background-color .18s ease;
}

.optional-content-launcher:hover,
.optional-content-launcher:focus-visible {
    border-color: var(--acid);
    background: rgba(223, 255, 34, .06);
}

.optional-content-launcher-icon {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 1px solid rgba(244, 240, 232, .22);
    border-radius: 50%;
    color: var(--acid);
    font-size: .9rem;
}

.optional-content-launcher-copy {
    display: grid;
    gap: .12rem;
    min-width: 0;
}

.optional-content-launcher-copy small {
    color: var(--muted);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.optional-content-launcher-copy strong {
    font-size: .83rem;
}

.optional-content-launcher-copy span {
    color: var(--muted);
    font-size: .66rem;
    line-height: 1.35;
}

.optional-content-launcher-action {
    color: var(--acid);
    font-size: .68rem;
    font-weight: 800;
}

.content-photo-added {
    margin-top: .75rem;
    border-left: 3px solid var(--acid);
    border-radius: .2rem .6rem .6rem .2rem;
    background: rgba(244, 240, 232, .07);
    padding: .8rem;
}

.content-photo-added[hidden] {
    display: none;
}

.content-photo-added-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .65rem;
}

.content-photo-added-header > div {
    display: grid;
    gap: .08rem;
}

.content-photo-added-header strong {
    font-size: .78rem;
}

.content-photo-added-header span {
    color: var(--muted);
    font-size: .65rem;
}

.content-photo-added-header button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid rgba(244, 240, 232, .2);
    border-radius: 999px;
    background: transparent;
    color: var(--paper);
    padding: .45rem .65rem;
    font-size: .64rem;
    font-weight: 700;
}

.content-photo-added ul {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.content-photo-added img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: .3rem;
    object-fit: cover;
}

.interior-page-preview-kicker {
    display: block;
    margin-bottom: .25rem;
    color: var(--acid);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.interior-preview-launcher {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    width: min(100%, 640px);
    margin-top: 1.4rem;
    border: 1px solid rgba(223, 255, 34, .55);
    border-radius: .85rem;
    background:
        linear-gradient(115deg, rgba(223, 255, 34, .11), transparent 55%),
        rgba(244, 240, 232, .055);
    color: var(--paper);
    padding: 1rem 1.1rem;
    text-align: left;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.interior-preview-launcher:hover,
.interior-preview-launcher:focus-visible {
    border-color: var(--acid);
    background-color: rgba(223, 255, 34, .08);
    transform: translateY(-2px);
}

.interior-preview-launcher-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 50%;
    background: var(--acid);
    color: var(--ink);
    font-size: 1rem;
}

.interior-preview-launcher-copy {
    display: grid;
    min-width: 0;
}

.interior-preview-launcher-copy strong {
    font-family: var(--display-font);
    font-size: clamp(1.05rem, 2.3vw, 1.4rem);
    font-weight: var(--display-weight);
    line-height: 1;
    text-transform: uppercase;
}

.interior-preview-launcher-copy small {
    margin-top: .3rem;
    color: var(--muted);
    font-size: .68rem;
    line-height: 1.4;
}

.interior-preview-launcher-action {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid rgba(244, 240, 232, .24);
    border-radius: 999px;
    padding: .6rem .8rem;
    font-size: .66rem;
    font-weight: 800;
}

body.has-interior-preview-open,
body.has-content-photo-modal-open {
    overflow: hidden;
}

.interior-preview-modal {
    width: min(1180px, calc(100vw - 2rem));
    height: min(900px, calc(100dvh - 2rem));
    max-width: none;
    max-height: none;
    overflow: hidden;
    border: 1px solid rgba(244, 240, 232, .28);
    border-radius: 1rem;
    background: var(--ink);
    color: var(--paper);
    padding: 0;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
}

.interior-preview-modal::backdrop {
    background: rgba(4, 5, 19, .82);
    backdrop-filter: blur(7px);
}

.interior-preview-modal[open] {
    animation: interior-preview-enter .2s ease-out;
}

@keyframes interior-preview-enter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.985);
    }
}

.interior-preview-modal-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
}

.interior-preview-modal-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    border-bottom: 1px solid rgba(244, 240, 232, .14);
    padding: 1.1rem 1.25rem;
}

.interior-preview-modal-header h2 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    font-weight: var(--display-weight);
    line-height: .95;
    text-transform: uppercase;
}

.interior-preview-modal-header p {
    max-width: 720px;
    margin: .45rem 0 0;
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.45;
}

#interior-preview-close {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    border: 1px solid rgba(244, 240, 232, .28);
    border-radius: 50%;
    background: transparent;
    color: var(--paper);
    font-size: 1rem;
}

#interior-preview-close:hover,
#interior-preview-close:focus-visible {
    border-color: var(--acid);
    background: var(--acid);
    color: var(--ink);
}

.interior-preview-modal-content {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: contain;
}

.interior-page-preview-stage {
    display: grid;
    min-height: 0;
    justify-items: center;
    gap: 1rem;
    overflow: auto;
    background:
        radial-gradient(circle at 50% 28%, rgba(223, 255, 34, .13), transparent 36%),
        rgba(8, 9, 31, .5);
    padding: clamp(1rem, 3vw, 2rem);
}

.interior-page-preview-spread {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    width: min(100%, 900px);
    filter: drop-shadow(0 28px 28px rgba(0, 0, 0, .32));
    perspective: 1400px;
    opacity: 1;
    transform: translateX(0) scale(1);
    transition: opacity .18s ease, transform .18s ease;
}

.interior-page-preview-spread canvas {
    display: block;
    width: 100%;
    height: auto;
    background: #fffefa;
    box-shadow: 0 0 0 1px rgba(8, 9, 31, .12);
}

#interior-preview-left-canvas {
    border-radius: .5rem .08rem .08rem .5rem;
    transform: rotateY(2deg);
    transform-origin: right center;
}

#interior-preview-right-canvas {
    border-radius: .08rem .5rem .5rem .08rem;
    transform: rotateY(-2deg);
    transform-origin: left center;
}

.interior-page-preview-reading {
    width: min(100%, 720px);
    border-left: 3px solid var(--acid);
    background: rgba(244, 240, 232, .08);
    padding: .7rem .85rem;
    color: var(--paper);
}

.interior-page-preview-reading[hidden] {
    display: none;
}

.interior-page-preview-reading span {
    display: block;
    margin-bottom: .2rem;
    color: var(--acid);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.interior-page-preview-reading p {
    margin: 0;
    font-size: .76rem;
    line-height: 1.45;
}

.interior-page-preview-stage.is-changing .interior-page-preview-spread {
    opacity: .15;
    transform: translateX(var(--page-direction, 8px)) scale(.992);
}

.interior-page-preview-controls {
    display: grid;
    grid-template-columns: minmax(7rem, 1fr) minmax(10rem, 1.35fr) minmax(7rem, 1fr);
    align-items: center;
    gap: .75rem;
    border-top: 1px solid rgba(244, 240, 232, .12);
    background: rgba(8, 9, 31, .96);
    padding: .9rem 1rem .65rem;
}

.interior-page-preview-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 2.45rem;
    border: 1px solid rgba(244, 240, 232, .28);
    border-radius: 999px;
    background: transparent;
    color: var(--paper);
    padding: .45rem .8rem;
    font-size: .68rem;
    font-weight: 800;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.interior-page-preview-controls button:hover:not(:disabled),
.interior-page-preview-controls button:focus-visible {
    border-color: var(--acid);
    background: var(--acid);
    color: var(--ink);
}

.interior-page-preview-controls button:disabled {
    cursor: not-allowed;
    opacity: .36;
}

.interior-page-preview-position {
    display: grid;
    justify-items: center;
    gap: .45rem;
    color: var(--paper);
    font-size: .68rem;
    font-weight: 700;
    text-align: center;
}

.interior-page-preview-dots {
    display: flex;
    justify-content: center;
    gap: .35rem;
}

.interior-page-preview-dots span {
    width: .38rem;
    height: .38rem;
    border-radius: 50%;
    background: rgba(244, 240, 232, .28);
    transition: width .18s ease, background-color .18s ease;
}

.interior-page-preview-dots span.is-current {
    width: 1.1rem;
    border-radius: 999px;
    background: var(--acid);
}

.interior-page-preview-note {
    margin: 0;
    padding: 0 1.1rem 1rem;
    color: var(--muted);
    font-size: .64rem;
    line-height: 1.45;
    text-align: center;
}

.mood-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    width: min(100%, 580px);
}

.mood-button {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--paper);
    padding: .55rem .8rem;
    font-family: var(--display-font);
    font-weight: var(--display-weight);
    font-size: 1.8rem;
    line-height: 1;
    text-transform: uppercase;
    transition: color .2s ease, transform .2s ease, background-color .2s ease;
}

.mood-button:hover {
    color: var(--acid);
}

.mood-button.is-selected {
    background: var(--violet);
    color: #fff;
    transform: rotate(-2deg);
    box-shadow: .27rem .27rem 0 var(--acid);
}

.mood-button.is-selected::after {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 1.1rem;
    height: 1.1rem;
    margin-left: .45rem;
    border: 1px solid #fff;
    border-radius: 50%;
    font-family: DM Sans, sans-serif;
    font-size: .62rem;
    vertical-align: .25rem;
}

.phrase-builder {
    width: min(100%, 640px);
    margin-top: 2.2rem;
}

.phrase-builder label span {
    color: var(--muted);
    font-weight: 500;
}

.phrase-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .7rem;
}

.phrase-control input {
    min-width: 0;
    height: 3rem;
    border: 1px solid rgba(244, 240, 232, .55);
    border-radius: .3rem;
    background: rgba(244, 240, 232, .06);
    padding: 0 .85rem;
    color: var(--paper);
}

.phrase-control input::placeholder {
    color: rgba(244, 240, 232, .45);
}

.phrase-control button {
    border: 1px solid var(--paper);
    border-radius: .3rem;
    background: transparent;
    color: var(--paper);
    padding: 0 1rem;
    font-family: var(--display-font);
    font-weight: var(--display-weight);
    font-size: .92rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    transition: background-color .18s ease, color .18s ease;
}

.phrase-control button:hover {
    background: var(--paper);
    color: var(--ink);
}

.phrase-builder > p {
    max-width: 480px;
    margin: .75rem 0 0;
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.5;
}

.custom-phrases {
    width: min(100%, 640px);
    margin-top: 1.15rem;
}

.custom-phrases-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .6rem;
    font-size: .75rem;
}

.custom-phrases-header strong {
    color: var(--paper);
}

.custom-phrases-header span {
    color: var(--acid);
    font-weight: 700;
}

#custom-phrase-list {
    display: grid;
    gap: .45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

#custom-phrase-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    min-height: 2.85rem;
    border: 1px solid rgba(244, 240, 232, .2);
    border-left: 3px solid var(--violet);
    background: rgba(244, 240, 232, .055);
    padding: .55rem .6rem .55rem .8rem;
    color: var(--paper);
    font-size: .78rem;
    line-height: 1.35;
}

#custom-phrase-list li:nth-child(3n + 2) {
    border-left-color: var(--sky);
}

#custom-phrase-list li:nth-child(3n) {
    border-left-color: var(--coral);
}

#custom-phrase-list .custom-phrase-empty {
    display: block;
    border-style: dashed;
    border-left-width: 1px;
    color: var(--muted);
    font-style: italic;
}

.custom-phrase-remove {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(244, 240, 232, .08);
    color: var(--muted);
}

.custom-phrase-remove:hover {
    background: var(--coral);
    color: var(--ink);
}

.inside-examples {
    width: min(100%, 640px);
    margin-top: 1.7rem;
    border: 1px solid rgba(244, 240, 232, .18);
    background: rgba(244, 240, 232, .035);
}

.inside-examples-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(244, 240, 232, .14);
    padding: .85rem 1rem;
}

.inside-examples-header strong {
    color: var(--paper);
    font-size: .78rem;
}

.inside-examples-header span {
    color: var(--muted);
    font-size: .66rem;
}

#inside-example-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

#inside-example-list li {
    display: grid;
    grid-template-columns: 6.2rem minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    border-bottom: 1px solid rgba(244, 240, 232, .1);
    padding: .85rem 1rem;
    color: rgba(244, 240, 232, .82);
    font-size: .76rem;
    line-height: 1.45;
}

#inside-example-list li:last-child {
    border-bottom: 0;
}

#inside-example-list strong {
    color: var(--acid);
    font-family: var(--display-font);
    font-size: .86rem;
    font-weight: var(--display-weight);
    letter-spacing: .025em;
    text-transform: uppercase;
}

#inside-example-list span {
    font-style: italic;
}

.content-photo-modal {
    width: min(760px, calc(100vw - 2rem));
    max-width: none;
    max-height: min(820px, calc(100dvh - 2rem));
    overflow: hidden;
    border: 1px solid rgba(244, 240, 232, .28);
    border-radius: 1rem;
    background: var(--ink);
    color: var(--paper);
    padding: 0;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
}

.content-photo-modal::backdrop {
    background: rgba(4, 5, 19, .82);
    backdrop-filter: blur(7px);
}

.content-photo-modal[open] {
    animation: interior-preview-enter .2s ease-out;
}

.content-photo-modal-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    max-height: min(820px, calc(100dvh - 2rem));
}

.content-photo-modal-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    border-bottom: 1px solid rgba(244, 240, 232, .14);
    padding: 1.1rem 1.25rem;
}

.content-photo-modal-header h2 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: var(--display-weight);
    line-height: 1;
    text-transform: uppercase;
}

.content-photo-modal-header p {
    max-width: 560px;
    margin: .45rem 0 0;
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.45;
}

#content-photo-modal-close {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    border: 1px solid rgba(244, 240, 232, .28);
    border-radius: 50%;
    background: transparent;
    color: var(--paper);
    font-size: 1rem;
}

#content-photo-modal-close:hover,
#content-photo-modal-close:focus-visible {
    border-color: var(--acid);
    background: var(--acid);
    color: var(--ink);
}

.content-photo-modal-content {
    min-height: 0;
    overflow: auto;
    padding: 1.25rem;
}

.content-photo-modal .content-photo-builder,
.content-photo-modal .content-photo-selection,
.content-photo-modal .content-photo-help {
    width: 100%;
}

.content-photo-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: .7rem;
    border-top: 1px solid rgba(244, 240, 232, .14);
    padding: .9rem 1.25rem;
}

.content-photo-modal-actions button {
    min-height: 2.8rem;
    border-radius: .45rem;
    padding: .65rem 1rem;
    font-weight: 800;
}

.content-photo-modal-actions .acid-button {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.content-photo-modal-cancel {
    border: 1px solid rgba(244, 240, 232, .24);
    background: transparent;
    color: var(--paper);
}

.content-photo-builder {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem 1.2rem;
    width: min(100%, 640px);
    border: 1px dashed rgba(244, 240, 232, .55);
    border-radius: .6rem;
    background: rgba(244, 240, 232, .055);
    padding: 1rem;
    transition: border-color .18s ease, background-color .18s ease;
}

.content-photo-builder.is-dragover {
    border-color: var(--acid);
    background: rgba(223, 255, 34, .09);
}

.content-photo-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 3.2rem;
    padding: .65rem 1rem;
    font-size: .86rem;
}

.content-photo-copy {
    display: grid;
    gap: .2rem;
}

.content-photo-copy strong {
    font-size: .82rem;
}

.content-photo-copy span,
.content-photo-help {
    color: var(--muted);
    font-size: .7rem;
    line-height: 1.45;
}

.content-photo-selection {
    width: min(100%, 640px);
    margin-top: 1rem;
}

.content-photo-selection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .7rem;
    font-size: .72rem;
}

.content-photo-selection-header span {
    color: var(--muted);
}

.content-photo-selection ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: content-photo;
}

.content-photo-selection li {
    position: relative;
    min-width: 0;
    counter-increment: content-photo;
}

.content-photo-selection li::before {
    position: absolute;
    top: .35rem;
    left: .35rem;
    z-index: 2;
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    border-radius: 50%;
    background: var(--acid);
    color: var(--ink);
    content: counter(content-photo);
    font-size: .62rem;
    font-weight: 800;
}

.content-photo-selection img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: .42rem;
    object-fit: cover;
    object-position: center center;
}

.content-photo-selection button {
    position: absolute;
    top: .35rem;
    right: .35rem;
    z-index: 2;
    display: grid;
    width: 1.55rem;
    height: 1.55rem;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(8, 9, 31, .9);
    color: var(--paper);
}

.content-photo-selection small {
    display: block;
    overflow: hidden;
    margin-top: .35rem;
    color: var(--muted);
    font-size: .62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-photo-help {
    width: min(100%, 640px);
    margin-top: .8rem;
}

.preview-column {
    min-width: 0;
    padding: 0 0 0 1.5rem;
}

.preview-sticky {
    position: sticky;
    top: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 2rem);
    padding: 1.15rem 0 1.5rem;
}

.product-stage {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: min(70vh, 680px);
}

.book-scene {
    position: relative;
    width: min(100%, 680px);
    height: clamp(500px, 68vh, 680px);
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.book-scene.is-dragging {
    cursor: grabbing;
}

.book-scene:focus-visible {
    border-radius: .8rem;
    outline: 3px solid var(--acid);
    outline-offset: .35rem;
}

#book-canvas {
    display: block;
    width: 100%;
    height: 100%;
    transition: opacity .2s ease, filter .2s ease;
}

#book-canvas.is-loading {
    opacity: .36;
    filter: saturate(.55);
}

.book-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: min(68%, 350px);
    aspect-ratio: 3 / 4;
    border-radius: .45rem .9rem .9rem .45rem;
    object-fit: cover;
    transform: translate(-50%, -50%) rotate(4deg);
    box-shadow: 2rem 2rem 2rem rgba(0, 0, 0, .38);
}

.has-webgl-error #book-canvas {
    display: none;
}

.book-scene.is-css-preview {
    cursor: default;
    touch-action: auto;
    user-select: auto;
}

.book-scene.is-css-preview #book-canvas {
    display: none;
}

.css-book-preview {
    --book-width: clamp(230px, 62vw, 320px);
    --book-half-width: clamp(115px, 31vw, 160px);
    --book-half-height: clamp(153.33px, 41.333vw, 213.33px);
    --book-depth: clamp(26px, 7vw, 38px);
    --book-half-depth: clamp(13px, 3.5vw, 19px);
    --book-negative-half-depth: clamp(-19px, -3.5vw, -13px);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: visible;
    perspective: 1100px;
}

.css-book-object {
    position: relative;
    width: var(--book-width);
    aspect-ratio: 3 / 4;
    transform: rotateX(-7deg) rotateY(-24deg) rotateZ(-2deg);
    transform-style: preserve-3d;
    transition: opacity .28s ease, transform .55s cubic-bezier(.2, .75, .25, 1);
    filter: drop-shadow(1.7rem 2.1rem 1.35rem rgba(0, 0, 0, .4));
}

.css-book-object::before {
    position: absolute;
    inset: 7px -8px -9px 8px;
    border-radius: .45rem .95rem .95rem .45rem;
    background: repeating-linear-gradient(180deg, #e8dfd0 0 4px, #cfc4b4 4px 5px);
    box-shadow: .25rem .35rem .4rem rgba(0, 0, 0, .2);
    content: '';
    transform: translateZ(var(--book-negative-half-depth));
}

.css-book-face {
    position: absolute;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(8, 9, 31, .18);
    backface-visibility: hidden;
}

.css-book-front,
.css-book-back {
    inset: 0;
    border-radius: .55rem 1rem 1rem .55rem;
}

.css-book-front {
    transform: translateZ(var(--book-half-depth));
}

.css-book-back {
    transform: rotateY(180deg) translateZ(var(--book-half-depth));
}

.css-book-cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.css-book-front::after,
.css-book-back::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(255, 255, 255, .05) 7%, transparent 38%, rgba(0, 0, 0, .06));
    content: '';
    pointer-events: none;
}

.css-book-spine,
.css-book-page-edge {
    top: 0;
    left: 50%;
    width: var(--book-depth);
    height: 100%;
    margin-left: var(--book-negative-half-depth);
}

.css-book-spine {
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: .35rem;
    background: #f4ecdf;
    transform: rotateY(-90deg) translateZ(var(--book-half-width));
}

.css-book-spine::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .2), transparent 35%, rgba(255, 255, 255, .12) 65%, rgba(0, 0, 0, .12));
    content: '';
}

.css-book-spine-title {
    position: relative;
    z-index: 1;
    display: block;
    max-height: 88%;
    overflow: hidden;
    font-size: clamp(.72rem, 2.2vw, 1rem);
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.css-book-page-edge {
    background: repeating-linear-gradient(0deg, #e8dfd0 0 3px, #cfc4b4 3px 4px);
    transform: rotateY(90deg) translateZ(var(--book-half-width));
}

.css-book-page-top,
.css-book-page-bottom {
    top: 50%;
    left: 0;
    width: 100%;
    height: var(--book-depth);
    margin-top: var(--book-negative-half-depth);
    background: repeating-linear-gradient(90deg, #e8dfd0 0 4px, #cfc4b4 4px 5px);
}

.css-book-page-top {
    transform: rotateX(90deg) translateZ(var(--book-half-height));
}

.css-book-page-bottom {
    transform: rotateX(-90deg) translateZ(var(--book-half-height));
}

.css-book-preview[data-view="spine"] .css-book-object {
    transform: rotateX(-5deg) rotateY(76deg) rotateZ(1deg) scale(.94);
}

.css-book-preview[data-view="back"] .css-book-object {
    transform: rotateX(-7deg) rotateY(162deg) rotateZ(2deg);
}

.css-book-preview[data-view="back"] .css-book-front {
    visibility: hidden;
}

.css-book-preview[data-view="back"] .css-book-back {
    backface-visibility: visible;
    transform: rotateY(180deg) translateZ(calc(var(--book-half-depth) + 1px));
}

.css-book-interior {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(88%, 580px);
    aspect-ratio: 3 / 2;
    opacity: 0;
    transform: rotateX(8deg) rotateZ(-1deg) translateY(10px) scale(.88);
    transform-style: preserve-3d;
    transition: opacity .28s ease, transform .5s cubic-bezier(.2, .75, .25, 1);
    pointer-events: none;
    filter: drop-shadow(1.5rem 2rem 1.3rem rgba(0, 0, 0, .38));
}

.css-book-interior-page {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(8, 9, 31, .16);
    background-color: #fffefa;
    color: rgba(8, 9, 31, .55);
    transform-style: preserve-3d;
}

.css-book-interior-page::before {
    position: absolute;
    inset: 8% 8% 7%;
    background-image: repeating-linear-gradient(180deg, transparent 0 6.7%, rgba(8, 9, 31, .19) 6.8% 7.1%);
    content: "";
}

.css-book-preview[data-interior-style="blank"] .css-book-interior-page::before {
    display: none;
}

.css-book-preview[data-interior-style="grid-5mm"] .css-book-interior-page::before {
    background-image:
        linear-gradient(rgba(8, 9, 31, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 9, 31, .16) 1px, transparent 1px);
    background-size: 4.1% 2.55%;
}

.css-book-interior-left {
    border-radius: 1rem .2rem .2rem 1rem;
    transform: rotateY(7deg);
    transform-origin: right center;
    box-shadow: inset -1.4rem 0 1.2rem rgba(8, 9, 31, .1);
}

.css-book-interior-right {
    border-radius: .2rem 1rem 1rem .2rem;
    transform: rotateY(-7deg);
    transform-origin: left center;
    box-shadow: inset 1.4rem 0 1.2rem rgba(8, 9, 31, .1);
}

.css-book-interior-header {
    position: absolute;
    top: 3.3%;
    right: 8%;
    left: 8%;
    z-index: 1;
    overflow: hidden;
    border-bottom: 1px solid rgba(8, 9, 31, .28);
    padding-bottom: 1.1%;
    color: rgba(8, 9, 31, .82);
    font-family: Arial, sans-serif;
    font-size: clamp(.2rem, .55vw, .34rem);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.css-book-interior-phrase {
    position: absolute;
    z-index: 1;
    right: 9%;
    bottom: 8.6%;
    left: 9%;
    display: -webkit-box;
    overflow: hidden;
    min-height: 7%;
    background: #f5f5f5;
    padding: 1.6% 2%;
    font-family: Arial, sans-serif;
    font-size: clamp(.24rem, .65vw, .4rem);
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.css-book-interior-phrase:empty {
    display: none;
}

.css-book-interior-page-number {
    position: absolute;
    bottom: 2.6%;
    z-index: 1;
    font-family: Arial, sans-serif;
    font-size: clamp(.2rem, .5vw, .32rem);
}

.css-book-interior-left .css-book-interior-page-number {
    left: 8%;
}

.css-book-interior-right .css-book-interior-page-number {
    right: 8%;
}

.css-book-preview[data-view="interior"] .css-book-object {
    opacity: 0;
    transform: rotateX(-7deg) rotateY(-18deg) translateY(10px) scale(.86);
}

.css-book-preview[data-view="interior"] .css-book-interior {
    opacity: 1;
    transform: rotateX(8deg) rotateZ(-1deg) translateY(0) scale(1);
}

.css-book-preview.is-loading {
    opacity: .38;
    filter: saturate(.55);
}

.uses-css-book-preview .book-drag-hint {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .css-book-object,
    .css-book-interior {
        transition: none;
    }
}

.cover-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-content: center;
    gap: .65rem;
    width: min(66%, 330px);
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(223, 255, 34, .35);
    border-radius: .55rem;
    background: rgba(8, 9, 31, .94);
    color: var(--acid);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-align: center;
    text-transform: uppercase;
    transform: translate(-50%, -50%);
    box-shadow: 1.5rem 1.5rem 2.5rem rgba(0, 0, 0, .32);
}

.cover-loading[hidden] {
    display: none;
}

.cover-loading i {
    font-size: 1.7rem;
}

.book-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem 1.2rem;
    margin: .25rem auto 0;
    color: var(--muted);
    font-size: .7rem;
}

.book-controls button {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 2.5rem;
    border: 1px solid rgba(244, 240, 232, .22);
    border-radius: 999px;
    background: rgba(244, 240, 232, .06);
    color: var(--paper);
    padding: 0 1rem;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.book-controls button:hover {
    border-color: var(--acid);
    color: var(--acid);
}

.book-controls span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.preview-note {
    margin: .8rem auto 0;
    color: var(--muted);
    font-size: .7rem;
}

.preview-note i {
    margin-right: .3rem;
    color: var(--acid);
}

.checkout {
    --step-number-size: 3.25rem;
    position: relative;
    z-index: 5;
    padding: 3.2rem 2.25rem 3rem;
    background: var(--violet);
}

.checkout-inner {
    width: min(1328px, 100%);
    margin: 0 auto;
    border: 0;
    outline: 3px solid var(--paper);
    background: #050611;
    padding: clamp(2rem, 4vw, 3.6rem) 1rem 2.1rem;
    box-shadow: .8rem .8rem 0 var(--acid);
}

.checkout-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.checkout-title::before {
    content: "";
    position: absolute;
    top: calc(-1 * (clamp(2rem, 4vw, 3.6rem) + 3.2rem));
    bottom: 50%;
    left: calc((var(--step-number-size) / 2) - 1.5px);
    width: 3px;
    background: var(--acid);
}

.checkout-title h2::before {
    flex-basis: 2.35rem;
    width: 2.35rem;
}

.checkout-title h2 {
    font-size: clamp(3.4rem, 6vw, 5.8rem);
}

.checkout-intro {
    margin: .85rem 0 0 4.3rem;
    color: rgba(244, 240, 232, .72);
    font-size: .88rem;
}

.order-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem 1.7rem;
    margin: 1rem 0 1.35rem 4.3rem;
    color: rgba(244, 240, 232, .78);
    font-size: .85rem;
}

.order-summary i {
    margin-right: .35rem;
    color: var(--acid);
}

.order-summary strong {
    color: var(--acid);
}

.price-action {
    margin-left: 4.3rem;
}

.buy-button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    width: 100%;
    min-height: 7rem;
    margin: 0;
    border: 2px solid var(--acid);
    background: var(--acid);
    color: var(--ink);
    padding: .9rem 1.15rem .9rem clamp(1.3rem, 4vw, 3rem);
    font-family: var(--display-font);
    font-weight: var(--display-weight);
    line-height: 1;
    letter-spacing: -.015em;
    text-transform: uppercase;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.buy-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    text-align: left;
}

#buy-label {
    font-size: clamp(2rem, 4vw, 3.65rem);
}

.buy-copy small {
    font-family: "DM Sans", sans-serif;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .07em;
    opacity: .66;
}

.buy-button > strong {
    font-family: var(--display-font);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: var(--display-weight);
    letter-spacing: -.02em;
    white-space: nowrap;
}

.buy-button i {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--violet);
    color: #fff;
    font-size: 1.4rem;
}

.buy-button:hover {
    background: var(--paper);
    transform: translateY(-3px);
}

.buy-button.is-cart-link {
    border-color: var(--coral);
    background: var(--coral);
}

.buy-button.is-cart-link:hover {
    border-color: var(--paper);
    background: var(--paper);
}

.buy-button.is-cart-link i {
    background: var(--ink);
    color: var(--acid);
}

.buy-button:disabled {
    cursor: wait;
    opacity: .78;
    transform: none;
}

.purchase-message.is-error {
    border-color: var(--coral);
}

.purchase-message.is-error i {
    color: var(--coral);
}

.delivery-reassurance {
    margin: .8rem 0 0 4.3rem;
    color: rgba(244, 240, 232, .66);
    font-size: .75rem;
}

.benefit-line {
    display: flex;
    flex-wrap: wrap;
    margin: 1.25rem 0 0 4.3rem;
    border-top: 1px solid rgba(244, 240, 232, .14);
    padding-top: .9rem;
}

.benefit-line span {
    border-left: 1px solid rgba(244, 240, 232, .2);
    color: rgba(244, 240, 232, .72);
    padding: .15rem 1rem;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.benefit-line span:first-child {
    border-left: 0;
    padding-left: 0;
}

.purchase-message {
    display: flex;
    align-items: center;
    gap: .85rem;
    width: calc(100% - 4.3rem);
    margin: 1rem 0 0 4.3rem;
    border: 1px solid rgba(223, 255, 34, .5);
    padding: .9rem 1rem;
    color: var(--paper);
}

.purchase-message[hidden] {
    display: none;
}

.purchase-message > i {
    color: var(--acid);
    font-size: 1.45rem;
}

.purchase-message strong,
.purchase-message span {
    display: block;
}

.purchase-message span {
    margin-top: .1rem;
    color: var(--muted);
    font-size: .75rem;
}

.purchase-message-actions {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: .75rem;
}

.purchase-add-another {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: fit-content;
    min-height: 2.8rem;
    border: 1px solid var(--acid);
    background: transparent;
    color: var(--acid);
    padding: .55rem .85rem;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: background-color .18s ease, color .18s ease;
}

.purchase-add-another:hover {
    background: var(--acid);
    color: var(--ink);
}

.purchase-add-another:disabled {
    cursor: wait;
    opacity: .7;
}

.purchase-message-actions small {
    color: var(--muted);
    font-size: .7rem;
    line-height: 1.35;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
    padding: 1.25rem max(2.25rem, calc((100vw - 1400px) / 2 + 2.25rem)) 1.6rem;
    background: var(--violet);
    color: rgba(244, 240, 232, .7);
    font-size: .72rem;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--acid);
}

@media (max-width: 1120px) {
    .experience {
        grid-template-columns: minmax(0, 1fr) minmax(430px, .85fr);
    }

    .hero-copy h1 {
        font-size: clamp(4.2rem, 8vw, 6.2rem);
    }

    .book-controls .book-drag-hint {
        display: none;
    }

}

@media (max-width: 1020px) {
    .site-header {
        flex-wrap: wrap;
        gap: .8rem;
        padding-inline: 1.25rem;
    }

    .interface-switcher {
        order: 3;
        width: 100%;
        overflow-x: auto;
        border-radius: .8rem;
        scrollbar-width: none;
    }

    .interface-switcher::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 900px) {
    .experience {
        display: flex;
        flex-direction: column;
        padding: 0 1.25rem 2.75rem;
    }

    .builder-column {
        display: contents;
    }

    .hero-copy {
        order: 1;
        padding: 2rem 0 3rem;
    }

    .hero-copy .product-headline {
        font-size: clamp(3.55rem, 9.5vw, 5.35rem);
    }

    .preview-column {
        order: 2;
        padding: 0;
    }

    .preview-sticky {
        position: relative;
        top: auto;
        min-height: auto;
        padding: 0 0 5rem;
    }

    .product-stage {
        min-height: 600px;
    }

    .book-scene {
        width: min(100%, 680px);
        height: min(76vh, 620px);
    }

    .steps {
        --rail-padding: 0rem;
        --step-offset: 4rem;
        order: 3;
        padding-left: var(--rail-padding);
    }

    .step {
        min-height: auto;
        padding: 0 0 6rem var(--step-offset);
    }

    .step:last-child {
        min-height: auto;
        padding-bottom: 0;
    }

    .step-heading {
        margin-left: calc(-1 * var(--step-offset));
    }

    .checkout-inner {
        padding: 2.2rem 0;
    }

    .checkout {
        padding-inline: 1.25rem;
    }

    .checkout-intro,
    .order-summary,
    .price-action,
    .delivery-reassurance,
    .benefit-line,
    .purchase-message {
        width: auto;
        margin-right: clamp(1rem, 4vw, 1.5rem);
        margin-left: clamp(1rem, 4vw, 1.5rem);
    }
}

@media (max-width: 620px) {
    .delivery-strip {
        font-size: .7rem;
    }

    .site-header {
        min-height: 118px;
        padding-bottom: .75rem;
    }

    .interface-switcher a {
        min-height: 2.1rem;
        padding-inline: .62rem;
        font-size: .64rem;
    }

    .brand-name {
        font-size: .96rem;
    }

    .hero-copy h1 {
        font-size: clamp(3.65rem, 18vw, 5.2rem);
    }

    .hero-copy .product-headline {
        font-size: clamp(2.4rem, 12vw, 3.9rem);
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .product-stage {
        min-height: 500px;
    }

    .steps {
        --step-offset: 3.2rem;
        --step-number-size: 2.5rem;
    }

    .step {
        padding-left: var(--step-offset);
    }

    .step-heading {
        gap: 0;
        margin-left: calc(-1 * var(--step-offset));
    }

    .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .step-heading h2 {
        font-size: clamp(1.25rem, 6.2vw, 2rem);
    }

    .step-heading h2::before,
    .checkout-title h2::before {
        flex-basis: 1.45rem;
        width: 1.45rem;
        margin-right: .55rem;
    }

    .cover-upload-grid {
        grid-template-columns: 1fr;
    }

    .upload-card {
        grid-template-columns: 82px minmax(0, 1fr);
        padding: 1rem;
    }

    .upload-preview {
        grid-row: auto;
    }

    .upload-button {
        grid-column: 1 / -1;
    }

    .cover-inspiration-panel {
        padding: .75rem;
    }

    .cover-prompt-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }

    .cover-prompt-heading span {
        text-align: left;
    }

    .title-card {
        padding: 1rem;
    }

    .spine-colors {
        grid-template-columns: 1fr;
    }

    .mood-list {
        gap: .7rem;
    }

    .interior-style-list {
        grid-template-columns: 1fr;
    }

    .page-count-list {
        grid-template-columns: 1fr;
    }

    .interior-style-card {
        grid-template-columns: 72px minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: center;
    }

    .interior-style-sample {
        width: 72px;
    }

    .interior-preview-launcher {
        grid-template-columns: auto minmax(0, 1fr);
        gap: .8rem;
        padding: .9rem;
    }

    .interior-preview-launcher-action {
        grid-column: 2;
        justify-self: start;
    }

    .optional-content-launcher {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .optional-content-launcher-action {
        grid-column: 2;
    }

    .content-photo-added ul {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .interior-preview-modal {
        width: 100vw;
        height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .interior-preview-modal-header {
        padding: .9rem 1rem;
    }

    .interior-page-preview-stage {
        padding: 1rem;
    }

    .interior-page-preview-spread {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
        width: min(100%, 420px);
        filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .28));
    }

    .interior-page-preview-spread canvas.is-inside-cover {
        display: none;
    }

    #interior-preview-left-canvas,
    #interior-preview-right-canvas {
        border-radius: .35rem;
        transform: none;
    }

    .interior-page-preview-controls {
        grid-template-columns: 2.6rem minmax(8rem, 1fr) 2.6rem;
        gap: .45rem;
        padding-inline: .75rem;
    }

    .interior-page-preview-controls button {
        min-width: 2.6rem;
        padding-inline: .65rem;
    }

    .interior-page-preview-controls button span {
        display: none;
    }

    .mood-button {
        font-size: 1.5rem;
    }

    .phrase-control {
        grid-template-columns: 1fr;
    }

    .phrase-control button {
        min-height: 3rem;
    }

    .inside-examples-header {
        display: grid;
        gap: .2rem;
    }

    .content-photo-builder {
        grid-template-columns: 1fr;
    }

    .content-photo-modal {
        width: 100vw;
        max-height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .content-photo-modal-shell {
        height: 100dvh;
        max-height: none;
    }

    .content-photo-modal-header,
    .content-photo-modal-content,
    .content-photo-modal-actions {
        padding-inline: 1rem;
    }

    .content-photo-modal-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .content-photo-selection ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #inside-example-list li {
        grid-template-columns: 1fr;
        gap: .3rem;
    }

    .book-scene {
        height: min(134vw, 520px);
    }

    .book-controls {
        flex-direction: column;
        gap: .7rem;
    }

    .checkout {
        --step-number-size: 2.5rem;
        padding: 3.2rem 1.5rem 2.25rem;
    }

    .checkout-inner {
        box-shadow: .55rem .55rem 0 var(--acid);
    }

    .checkout-title {
        align-items: center;
    }

    .checkout-title h2 {
        font-size: 3.25rem;
    }

    .checkout-intro {
        margin-top: .9rem;
        font-size: .82rem;
        line-height: 1.45;
    }

    .order-summary {
        flex-direction: column;
        gap: .55rem;
        margin-top: 1rem;
        border: 1px solid rgba(244, 240, 232, .14);
        background: rgba(244, 240, 232, .035);
        padding: .9rem;
        line-height: 1.35;
    }

    .buy-button {
        grid-template-columns: minmax(0, 1fr) auto 2.5rem;
        gap: .6rem;
        min-height: 6.25rem;
        padding: .8rem .85rem .8rem 1rem;
    }

    #buy-label {
        font-size: 1.85rem;
    }

    .buy-copy small {
        font-size: .58rem;
    }

    .buy-button > strong {
        font-size: 2.45rem;
    }

    .buy-button i {
        display: grid;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .delivery-reassurance {
        line-height: 1.5;
    }

    .benefit-line {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .65rem;
    }

    .benefit-line span,
    .benefit-line span:first-child {
        border-left: 0;
        padding: .15rem 0;
    }

    .purchase-message-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .purchase-add-another {
        width: 100%;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.25rem;
    }
}

@media (max-width: 380px) {
    .checkout {
        padding-inline: 1.15rem;
    }

    .checkout-title h2 {
        font-size: 2.8rem;
    }

    .buy-button {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .buy-button i {
        display: none;
    }

    #buy-label {
        font-size: 1.65rem;
    }

    .buy-button > strong {
        font-size: 2.25rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
