/* ################################################# */
/* Foundation */
/* ################################################# */

:root {
    --demo-header-height: 80px;
    --demo-accent: #db3052;
    --demo-accent-fill: var(--demo-accent);
    --demo-accent-soft: #fff0f4;
    --demo-ink: #111111;
    --demo-muted: #666a70;
    --demo-line: #dedee0;
    --demo-font: 'Roboto', sans-serif;
    --demo-heading-line-height: 1.02;
    --demo-small-heading-line-height: 1.2;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--demo-header-height) + 14px);
}
body {
    margin: 0;
    background: #fff;
    color: var(--demo-ink);
    font: 400 16px/1.6 var(--demo-font);
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a {
    -webkit-tap-highlight-color: transparent;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: default;
}
[hidden] {
    display: none !important;
}
h1,
h2,
h3,
p,
figure {
    margin: 0;
}
/* Unitless values keep multiline headings compact at every responsive font size. */
h1,
h2 {
    line-height: var(--demo-heading-line-height);
}
h3 {
    line-height: var(--demo-small-heading-line-height);
}
svg {
    flex-shrink: 0;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--demo-accent);
    outline-offset: 5px;
}
.icon-definitions {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}
.page-shell {
    max-width: 1920px;
    margin: auto;
}
.content-width {
    width: calc(100% - 80px);
    max-width: 1360px;
    margin-inline: auto;
}
.section-space {
    margin-top: 130px;
}
.eyebrow {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 200;
    background: #fff;
    padding: 12px;
}
.skip-link:focus {
    top: 10px;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
}
.text-link svg,
.button svg,
.contact-email svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    transition: transform 0.3s ease;
}
.text-link:hover svg,
.button:hover svg,
.contact-email:hover svg {
    transform: translate(3px, -3px);
}
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    border: 1px solid transparent;
    border-radius: 40px;
    padding: 17px 27px;
    font-size: 15px;
    font-weight: 600;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}
.button-primary {
    background: var(--demo-ink);
    color: #fff;
}
.button-primary:hover {
    background: #333333;
}
.button-outline {
    border-color: var(--demo-line);
    background: #fff;
}
.button-outline:hover {
    background: #f1f1f1;
}
.button-small {
    padding: 10px 20px;
    font-size: 13px;
    gap: 14px;
}


/* ################################################# */
/* Header and live gallery */
/* ################################################# */

/* Main navigation. */
.site-header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 32px;
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    backdrop-filter: blur(18px) saturate(1.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.045);
    transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
}
/* Give the opened collection its own unobstructed navigation. */
.collection-open .site-header {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--demo-ink);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}
.brand svg {
    display: block;
    flex: none;
    width: 52px;
    height: 44px;
}
.brand small {
    display: block;
    margin-top: 6px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.13em;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
}
.site-nav > a:not(.button):hover {
    color: var(--demo-accent);
}
/* Menu link underlines grow without changing the layout. */
.menu-link-text {
    padding-bottom: 3px;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.site-nav a:hover .menu-link-text,
.site-nav a:focus-visible .menu-link-text {
    background-size: 100% 1px;
}

/* Purchase options work with hover, keyboard and touch. */
.purchase-nav {
    position: relative;
}
/* The pill opens from the arrow into an outlined state, like the gallery controls. */
.purchase-toggle {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 44px;
    padding: 0 20px;
    line-height: 1;
    border-color: var(--demo-ink);
    background: var(--demo-ink);
    color: #fff;
    transition: color 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.purchase-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: #fff;
    clip-path: circle(0% at calc(100% - 31px) 50%);
    transition: clip-path 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.purchase-label {
    display: block;
    line-height: 1;
}
.purchase-toggle .purchase-icon,
.purchase-toggle:hover .purchase-icon {
    display: block;
    width: 22px;
    height: 22px;
    overflow: hidden;
    transform: none;
    transition: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.purchase-toggle:hover {
    background: var(--demo-ink);
}
.purchase-nav[data-open] .purchase-toggle,
.purchase-toggle:focus-visible {
    color: var(--demo-ink);
}
.purchase-nav[data-open] .purchase-toggle::before,
.purchase-toggle:focus-visible::before {
    clip-path: circle(150% at calc(100% - 31px) 50%);
    transition-duration: 0.7s;
}

.purchase-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 280px;
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s 0.2s;
}
.purchase-menu::before {
    content: '';
    position: absolute;
    top: -13px;
    left: 0;
    right: 0;
    height: 13px;
}
.purchase-nav[data-open] .purchase-menu {
    transition-delay: 0s;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.purchase-menu a {
    display: block;
    padding: 12px;
    border-radius: 9px;
    font-size: 13px;
}
.purchase-menu a:hover,
.purchase-menu a:focus-visible {
    color: var(--demo-accent);
    background-color: var(--demo-accent-soft);
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    width: 44px;
    height: 44px;
    padding: 10px;
}
.menu-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: var(--demo-ink);
    transition: transform 0.25s ease;
}
.menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* The gallery owns its canvas; page scrolling remains available around it. */
.hero-heading {
    margin-top: clamp(64px, 8vw, 110px);
    padding: 0 24px;
    text-align: center;
}
.hero-heading .eyebrow {
    color: var(--demo-muted);
}
.hero-heading h1 {
    margin: 14px 0 13px;
    font-size: clamp(38px, 4.7vw, 72px);
    font-weight: 900;
    line-height: var(--demo-heading-line-height);
    letter-spacing: -0.045em;
}
.hero-heading h1 span {
    display: inline-block;
    color: var(--demo-accent);
}
.hero-heading > p:last-child {
    color: var(--demo-muted);
    font-size: 16px;
}
.live-demo {
    position: relative;
    margin-top: 0;
    scroll-margin-top: calc(-1 * (var(--demo-header-height) + 14px));
}
.live-demo:focus {
    outline: none;
}
#demo-gallery {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    touch-action: pan-y;
}
/* Keep narrow full-viewport demos square, with at least 450px of vertical room. */
@media (max-width: 599.98px) {
    body:not(.preset-page) #demo-gallery {
        height: auto;
        min-height: 450px;
        aspect-ratio: 1 / 1;
    }
}
/* Standalone responsive demo: the gallery owns its height, capped by maxHeight. */
.preset-document {
    scrollbar-gutter: stable;
}
.preset-page {
    --preset-slider-gap: clamp(8px, 1vw, 14px);
}
.preset-page main {
    padding-top: var(--demo-header-height);
}
.preset-page #demo-gallery {
    height: auto;
    max-height: 750px;
    margin-inline: auto;
}
.preset-page .hero-heading {
    margin-top: clamp(32px, 4vw, 56px);
    padding-bottom: var(--preset-slider-gap);
}
/* Balance the gap around heading-first sliders at every breakpoint. */
.preset-page .demo-footnote {
    padding-top: var(--preset-slider-gap);
}
/* Open Link uses a compact responsive gallery below its introduction. */
.open-link-page .live-demo {
    max-width: 1200px;
    margin-inline: auto;
}
.open-link-page #demo-gallery {
    max-height: 550px;
}
/* Explain the responsive preset without stretching paragraphs across the page. */
.preset-description {
    max-width: 1000px;
    margin: 20px auto 0;
    color: var(--demo-muted);
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.65;
    text-wrap: pretty;
}
.preset-description p + p {
    margin-top: 12px;
}
.preset-description strong {
    color: var(--demo-ink);
    font-weight: 600;
}
.demo-footnote {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0 22px;
    border-bottom: 1px solid var(--demo-line);
    font-size: 12px;
    color: var(--demo-muted);
}
.demo-footnote p {
    display: flex;
    align-items: center;
    gap: 10px;
}
.demo-footnote a {
    white-space: nowrap;
}
.demo-footnote a:hover {
    color: var(--demo-accent);
}
.demo-footnote a > span:last-child {
    margin-left: 14px;
}
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--demo-accent-fill);
    flex-shrink: 0;
}
.gallery-error {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: #f5f5f5;
}
.gallery-error button {
    border: 0;
    background: none;
    text-decoration: underline;
}


/* ################################################# */
/* Overview and experience */
/* ################################################# */

.hero-heading + .overview {
    margin-top: 64px;
}

/* Rounded overview panels preserve the original demo's visual style. */
.overview {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 24px;
}
.panel {
    border-radius: 42px;
    padding: 42px;
    background: linear-gradient(155deg, #fafafd, #f0f0f6);
}
.panel .eyebrow {
    color: var(--demo-muted);
    margin-bottom: 26px;
}
.panel h2 {
    font-size: clamp(32px, 3vw, 46px);
    font-weight: 900;
    line-height: var(--demo-heading-line-height);
    letter-spacing: -0.035em;
}
.panel h2 span {
    color: var(--demo-accent);
}
.panel > p:not(.eyebrow) {
    max-width: 470px;
    font-size: 15px;
    margin-top: 22px;
    color: #4c4c50;
}
/* Light color washes balance the black controls and vivid text accents. */
.overview-media {
    background: linear-gradient(155deg, #faf8ff, #eeeaff);
}
.overview-detail {
    background: linear-gradient(155deg, #fff8fa, var(--demo-accent-soft));
}

.overview-main {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.overview-main h2 {
    font-size: clamp(48px, 5.4vw, 80px);
}
.overview-main > p:not(.eyebrow) {
    margin-top: 30px;
}
.overview-main .text-link {
    margin-top: auto;
    padding-top: 35px;
}
.media-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.media-types span {
    padding: 4px 12px;
    border: 1px solid #c6c6c8;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

/* Large expandable rows. */
.experience details {
    padding: 32px 0;
    border-top: 1px solid var(--demo-line);
}
.experience details:last-child {
    border-bottom: 1px solid var(--demo-line);
}
.experience summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    cursor: pointer;
    font-size: clamp(28px, 3.6vw, 54px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.025em;
}
.experience summary::-webkit-details-marker {
    display: none;
}
.experience em {
    color: var(--demo-accent);
    font-style: normal;
}
.experience svg {
    width: 44px;
    height: 44px;
    stroke: currentColor;
    stroke-width: 1.3;
    fill: none;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.experience details[open]:not([data-expanded]) svg,
.experience details[data-expanded="true"] svg {
    transform: rotate(90deg);
}
/* Keep paragraph margins inside the animated content height. */
.experience-content {
    display: flow-root;
    overflow: hidden;
}
.experience details > p,
.experience-content > p {
    max-width: 560px;
    margin: 28px 65px 4px auto;
    color: var(--demo-muted);
    font-size: 15px;
}


/* ################################################# */
/* Collections and features */
/* ################################################# */

.section-heading {
    margin-bottom: 44px;
}
.section-heading .eyebrow {
    margin-bottom: 20px;
    color: var(--demo-muted);
}
.section-heading h2,
.reviews h2,
.contact h2 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: var(--demo-heading-line-height);
    font-weight: 900;
    letter-spacing: -0.035em;
}
.section-heading h2 span,
.reviews h2 span,
.contact h2 span {
    color: var(--demo-accent);
}
.section-heading > p:last-child:not(.eyebrow) {
    max-width: 560px;
    margin-top: 22px;
    color: var(--demo-muted);
}
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 24px;
}
.collection-card {
    display: block;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    color: inherit;
    min-width: 0;
}
.collection-cover {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1.45;
    background: #eeeeef;
}
.collection-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.collection-card:hover img,
.collection-card:focus-visible img {
    transform: scale(1.045);
}
/* A smaller preview distinguishes the responsive demo from the full-height examples. */
.collection-card[href="any-size.html"] .collection-cover {
    background: #fff;
}
.collection-card[href="any-size.html"] .collection-cover img {
    object-fit: contain;
    transform: scale(0.78);
}
.collection-card[href="any-size.html"]:hover .collection-cover img,
.collection-card[href="any-size.html"]:focus-visible .collection-cover img {
    transform: scale(0.815);
}
.collection-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 10px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.collection-arrow {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}
.collection-arrow svg {
    display: block;
    overflow: hidden;
    width: 19px;
    height: 19px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}
.collection-card:not(:disabled):hover .collection-arrow,
.collection-card:not(:disabled):focus-visible .collection-arrow {
    background: var(--demo-accent-fill);
    color: var(--demo-ink);
}
.collection-caption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 15px 2px 0;
}
.collection-caption strong {
    font-size: 18px;
    font-weight: 700;
}
.collection-caption small {
    color: var(--demo-muted);
    font-size: 12px;
}
.collection-card:disabled .collection-arrow {
    opacity: 0.4;
}
.collection-note {
    margin-top: 35px;
    text-align: center;
    color: var(--demo-muted);
    font-size: 13px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 50px;
    row-gap: 38px;
}
.feature-grid article {
    position: relative;
    border-top: 1px solid var(--demo-line);
    padding: 25px 0 0 34px;
}
.feature-grid svg {
    position: absolute;
    left: 0;
    top: 28px;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.1;
    fill: none;
}
.feature-grid h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: var(--demo-small-heading-line-height);
}
.feature-grid p {
    margin-top: 12px;
    font-size: 14px;
    color: var(--demo-muted);
}


/* ################################################# */
/* Reviews, contact and footer */
/* ################################################# */

.reviews {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding-block: 65px;
    border-block: 1px solid var(--demo-line);
}
.reviews .eyebrow,
.contact .eyebrow {
    margin-bottom: 20px;
    color: var(--demo-muted);
}
.review-content {
    min-width: 0;
}
.reviews blockquote {
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}
.reviews figcaption {
    margin-top: 25px;
    font-size: 12px;
    font-weight: 700;
}
.reviews figcaption span {
    color: var(--demo-muted);
    font-weight: 400;
}
.review-dots {
    display: flex;
    margin-top: 24px;
    gap: 2px;
}
.review-dots button {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
}
.review-dots button::after {
    content: '';
    width: 7px;
    height: 7px;
    background: #d3d3d5;
    border-radius: 50%;
}
.review-dots button[aria-pressed='true']::after {
    background: var(--demo-accent);
}
.contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    flex-wrap: wrap;
}
.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    font-size: clamp(17px, 2vw, 26px);
    font-weight: 500;
}
.contact .text-link {
    font-size: 13px;
}
/* Roll individual letters upward, with the return stagger traveling back across the label. */
.link-letter-label {
    display: inline-flex;
    line-height: 1.4;
}
.link-letter {
    display: block;
    overflow: hidden;
}
.link-letter-track {
    position: relative;
    display: block;
    white-space: pre;
    transform: translateY(0);
    transition:
        transform 750ms cubic-bezier(.19, 1, .22, 1),
        color 750ms cubic-bezier(.19, 1, .22, 1);
    transition-delay: calc((var(--letter-count) - 1 - var(--letter-index)) * 12ms);
}
.link-letter-track::after {
    content: attr(data-letter);
    position: absolute;
    top: 100%;
    left: 0;
}
.contact a[data-link-active] .link-letter-track,
.buy-actions .button[data-link-active] .link-letter-track {
    color: var(--link-hover-color, var(--demo-accent));
    transform: translateY(-100%);
    transition-delay: calc(var(--letter-index) * 12ms);
}
@media (prefers-reduced-motion: reduce) {
    .contact a .link-letter-track,
    .contact a[data-link-active] .link-letter-track,
    .buy-actions .button .link-letter-track,
    .buy-actions .button[data-link-active] .link-letter-track {
        transform: none;
        transition: none;
    }
}
/* Clip the traveling arrow strokes instead of translating the whole icon. */
.contact a .link-arrow,
.buy-actions .button .link-arrow {
    overflow: hidden;
    pointer-events: none;
    transform: none;
    transition: none;
}
.buy {
    text-align: center;
    padding: 80px 24px;
    border-radius: 42px;
    background: linear-gradient(125deg, #fff0f4, #f1edff);
}
.buy .eyebrow {
    color: var(--demo-muted);
}
.buy h2 {
    margin: 22px 0 35px;
    font-size: clamp(40px, 5vw, 76px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: var(--demo-heading-line-height);
}
.buy h2 span {
    color: var(--demo-accent);
}
.buy-actions .button-primary {
    --link-hover-color: var(--demo-accent-fill);
}
.buy-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.site-footer {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-block: 42px;
    margin-top: 35px;
    color: var(--demo-muted);
    font-size: 12px;
}
.site-footer p {
    margin-right: auto;
}
.site-footer a:hover {
    color: var(--demo-accent);
}
.site-footer a:last-child span {
    margin-left: 10px;
}


/* ################################################# */
/* Responsive layout and motion preferences */
/* ################################################# */

@media (min-width: 1800px) {
    .hero-heading {
        padding-top: 10px;
    }
}

@media (max-width: 1050px) {
    .site-nav {
        gap: 18px;
    }
    .site-header {
        padding-inline: 24px;
    }
    .content-width {
        width: calc(100% - 48px);
    }
    .section-space {
        margin-top: 90px;
    }
    .panel {
        padding: 32px;
        border-radius: 30px;
    }
    .overview {
        gap: 18px;
    }
    .feature-grid {
        column-gap: 28px;
    }
    .reviews {
        gap: 35px;
    }
}

@media (max-width: 1100px) {
    :root {
        --demo-header-height: 70px;
    }
    .site-header {
        height: 70px;
    }
    .menu-toggle {
        display: block;
    }
    .site-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        padding: 20px 24px 28px;
        background: rgba(255, 255, 255, 0.86);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--demo-line);
        box-shadow: 0 12px 20px #00000008;
    }
    .site-nav[data-open] {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
    }
    .site-nav > a {
        padding: 12px;
        font-size: 15px;
    }
    .site-nav .button {
        margin-top: 8px;
    }
    .purchase-toggle {
        width: 100%;
    }
    .purchase-menu {
        display: none;
        position: static;
        width: 100%;
        margin-top: 10px;
        box-shadow: none;
    }
    .purchase-nav[data-open] .purchase-menu {
        display: block;
    }
    .purchase-menu::before {
        display: none;
    }
}

@media (max-width: 800px) {
    .hero-heading > p:last-child {
        max-width: 420px;
        margin: auto;
        font-size: 14px;
    }
    .demo-footnote {
        font-size: 11px;
    }
    .overview {
        grid-template-columns: 1fr 1fr;
    }
    .overview-main {
        grid-column: span 2;
        grid-row: auto;
    }
    .overview-main h2 br {
        display: none;
    }
    .overview-main h2 {
        max-width: 530px;
        font-size: 58px;
    }
    .overview-main h2 br::after {
        content: ' ';
    }
    .overview-main > p:not(.eyebrow) {
        max-width: 540px;
    }
    .panel h2 {
        font-size: 34px;
    }
    .overview-main h2 {
        font-size: 58px;
    }
    .experience summary {
        font-size: 34px;
    }
    .experience svg {
        width: 32px;
        height: 32px;
    }
    .collection-grid,
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .reviews {
        grid-template-columns: 1fr;
    }
    .contact {
        gap: 28px;
    }
    .site-footer {
        flex-wrap: wrap;
        gap: 20px;
    }
    .site-footer p {
        flex-basis: 100%;
    }
}

@media (max-width: 520px) {
    .content-width {
        width: calc(100% - 36px);
    }
    .site-header {
        padding-inline: 18px;
    }
    .brand {
        font-size: 22px;
    }
    .brand svg {
        width: 44px;
        height: 38px;
    }
    .hero-heading h1 {
        font-size: 43px;
        max-width: 340px;
        margin-inline: auto;
    }
    .hero-heading .eyebrow {
        font-size: 9px;
    }
}

@media (max-width: 800px) {
    .hero-heading > p:last-child {
        max-width: 310px;
    }
    .demo-footnote {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        padding-top: 5px;
    }
    .demo-footnote a {
        padding-left: 16px;
    }
    .section-space {
        margin-top: 68px;
    }
    .overview {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .overview-main {
        grid-column: auto;
    }
    .panel {
        padding: 30px 26px;
        border-radius: 28px;
    }
    .overview-main h2 {
        font-size: 50px;
    }
    .panel .eyebrow {
        font-size: 10px;
        margin-bottom: 20px;
    }
    .panel > p:not(.eyebrow) {
        font-size: 14px;
    }
    .experience details {
        padding-block: 25px;
    }
    .experience summary {
        font-size: 29px;
        gap: 15px;
    }
    .experience em {
        display: block;
    }
    .experience details > p,
    .experience-content > p {
        margin: 20px 34px 0 0;
        font-size: 14px;
    }
    .section-heading {
        margin-bottom: 30px;
    }
    .section-heading h2 {
        font-size: 35px;
    }
    .section-heading > p:last-child:not(.eyebrow) {
        font-size: 14px;
    }
    .collection-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .collection-cover {
        aspect-ratio: 1.5;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        row-gap: 25px;
    }
    .feature-grid article {
        padding-top: 21px;
    }
    .feature-grid svg {
        top: 24px;
    }
    .reviews {
        padding-block: 38px;
    }
    .contact-email {
        font-size: 19px;
        gap: 12px;
    }
    .buy {
        padding: 45px 22px;
        border-radius: 28px;
    }
    .buy h2 {
        font-size: 42px;
    }
    .buy-actions {
        flex-direction: column;
    }
    .buy-actions .button {
        font-size: 13px;
        gap: 8px;
        padding-inline: 10px;
    }
    .site-footer {
        font-size: 11px;
    }
}

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