:root {
    color-scheme: light;
    --butter: #f8f1e7;
    --paper: #fffdf8;
    --cream: #efe3d2;
    --berry: #b83d59;    --berry-dark: #8f2942;
    --berry-soft: #e8b8c3;
    --chocolate: #39251f;
    --chocolate-soft: #5e453b;
    --muted: #756058;
    --line: rgba(57, 37, 31, 0.16);
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--paper);
    color: var(--chocolate);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--berry);
    outline-offset: 5px;
}

.detail-header,
.detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px clamp(22px, 5.6vw, 86px);
}

.detail-header {
    min-height: 78px;
    border-bottom: 1px solid rgba(57, 37, 31, 0.08);
}

.nova-mark {
    color: var(--chocolate);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.nova-mark span {
    margin-left: 3px;
    color: var(--berry);
    font-size: 9px;
    vertical-align: top;
}

.back-link,
.text-link,
.inline-link {
    font-size: 11px;
    font-weight: 700;
}

.back-link {
    color: var(--chocolate-soft);
}

.back-link span {
    margin-right: 8px;
    color: var(--berry);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: clamp(45px, 7vw, 112px);
    max-width: 1680px;
    min-height: 710px;
    margin: 0 auto;
    padding: 70px clamp(22px, 6vw, 92px) 82px;
    overflow: hidden;
}

.hero::before {
    position: absolute;
    z-index: 0;
    top: -270px;
    left: -280px;
    width: 660px;
    height: 660px;
    border: 1px solid rgba(184, 61, 89, 0.13);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.hero-copy,
.preview-wrap {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.eyebrow,
.overline,
.hero-index,
.preview-label,
.preview-live,
.preview-caption,
.preview-side-note,
.section-kicker,
.feature-number,
.detail-footer > span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--berry);
}

.eyebrow > span {
    font-size: 15px;
}

.overline {
    margin: 54px 0 7px;
    color: var(--muted);
    font-size: 8px;
}

.hero h1 {
    margin: 0;
    color: var(--chocolate);
    font-family: var(--serif);
    font-size: clamp(68px, 8.7vw, 116px);
    font-weight: 500;
    letter-spacing: -6px;
    line-height: 0.98;
}

.hero h1 span {
    color: var(--berry);
}

.hero-description {
    max-width: 440px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.hero-actions,
.closing-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 25px;
    margin-top: 29px;
}

.button {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 19px;
    padding: 13px 18px;
    font-size: 10px;
    font-weight: 800;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-berry {
    background: var(--berry);
    color: var(--paper);
}

.button-berry:hover {
    background: var(--berry-dark);
}

.button-chocolate {
    background: var(--chocolate);
    color: var(--paper);
}

.button-chocolate:hover {
    background: var(--berry);
}

.text-link {
    color: var(--chocolate);
}

.text-link span,
.inline-link span {
    margin-left: 5px;
    color: var(--berry);
}

.demo-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 440px;
    margin-top: 35px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.note-symbol {
    color: var(--berry);
    font-size: 16px;
    line-height: 1.2;
}

.demo-note p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.8;
}

.hero-index {
    display: block;
    margin-top: 30px;
    color: rgba(94, 69, 59, 0.68);
    font-size: 7px;
    letter-spacing: 1.2px;
}

.preview-wrap {
    padding: 19px 0 23px 19px;
}

.preview-wrap::before {
    position: absolute;
    z-index: -1;
    inset: 0 23px 0 0;
    border: 1px solid rgba(184, 61, 89, 0.28);
    content: "";
}

.preview-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 24px 65px rgba(57, 37, 31, 0.15);
}

.preview-bar {
    display: flex;
    min-height: 37px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 13px;
    background: var(--butter);
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--berry-soft);
}

.window-dots i:nth-child(2) {
    background: #d7b68f;
}

.window-dots i:nth-child(3) {
    background: #a4a886;
}

.preview-label,
.preview-live {
    color: var(--chocolate-soft);
    font-size: 7px;
    letter-spacing: 1px;
}

.preview-live {
    display: flex;
    align-items: center;
    gap: 5px;
}

.preview-live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--berry);
}

.preview-frame iframe {
    display: block;
    width: 100%;
    height: clamp(460px, 47vw, 620px);
    border: 0;
    background: var(--paper);
}

.preview-caption {
    position: absolute;
    right: -5px;
    bottom: -1px;
    padding: 12px 15px;
    background: var(--berry);
    color: var(--paper);
    font-size: 7px;
    letter-spacing: 1px;
}

.preview-caption span {
    margin-right: 8px;
    color: #f2c9d1;
}

.preview-side-note {
    position: absolute;
    top: 50%;
    right: -12px;
    color: var(--berry-dark);
    font-size: 7px;
    writing-mode: vertical-rl;
}

.story-section,
.features-section {
    padding: 73px clamp(22px, 8vw, 118px) 82px;
}

.story-section {
    background: var(--butter);
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--berry);
    font-size: 8px;
}

.section-kicker span:first-child {
    color: var(--muted);
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 500;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    align-items: end;
    gap: 48px;
    padding: 33px 0 40px;
}

.story-grid h2,
.features-heading h2,
.closing-section h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 500;
    letter-spacing: -2px;
    line-height: 1.08;
}

.story-grid h2 em,
.features-heading h2 em,
.closing-section h2 em {
    color: var(--berry);
    font-weight: 500;
}

.story-copy p {
    margin: 0 0 17px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}

.inline-link {
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--berry-soft);
}

.product-ribbon {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 21px;
    border-top: 1px solid var(--line);
}

.product-ribbon span {
    padding: 8px 11px;
    border: 1px solid rgba(57, 37, 31, 0.13);
    border-radius: 99px;
    color: var(--chocolate-soft);
    font-family: var(--serif);
    font-size: 12px;
}

.ribbon-note {
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.7;
}

.features-section {
    max-width: 1440px;
    margin: 0 auto;
}

.features-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 20px;
    margin-bottom: 36px;
}

.features-heading .section-kicker {
    grid-column: 1 / -1;
}

.features-heading h2 {
    font-size: clamp(37px, 4.5vw, 57px);
}

.feature-list {
    border-top: 1px solid var(--line);
}

.feature-row {
    display: grid;
    grid-template-columns: 43px minmax(150px, 0.72fr) minmax(200px, 1fr) 20px;
    align-items: center;
    gap: 20px;
    padding: 21px 0;
    border-bottom: 1px solid var(--line);
}

.feature-number {
    color: var(--berry);
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: 0;
}

.feature-row h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
}

.feature-row p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.8;
}

.feature-row > a {
    justify-self: end;
    color: var(--berry);
    font-size: 15px;
}

.closing-section {
    position: relative;
    overflow: hidden;
    padding: 76px 22px 82px;
    background: var(--chocolate);
    color: var(--paper);
    text-align: center;
}

.closing-section > .eyebrow {
    justify-content: center;
    color: #e8b8c3;
}

.closing-section h2 {
    margin-top: 15px;
    font-size: clamp(42px, 6vw, 72px);
}

.closing-section h2 em {
    color: #e8b8c3;
}

.closing-copy {
    max-width: 470px;
    margin: 17px auto 0;
    color: rgba(255, 253, 248, 0.72);
    font-size: 11px;
    line-height: 1.9;
}

.closing-actions {
    justify-content: center;
}

.closing-section .text-link {
    color: var(--paper);
}

.closing-section .text-link span {
    color: #e8b8c3;
}

.closing-flower {
    position: absolute;
    top: -105px;
    right: 8%;
    color: rgba(255, 253, 248, 0.06);
    font-size: 290px;
    line-height: 1;
    pointer-events: none;
}

.detail-footer {
    min-height: 78px;
    border-top: 1px solid var(--line);
}

.detail-footer p,
.detail-footer > span {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
}

.detail-footer > span {
    font-size: 7px;
    text-align: right;
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
        min-height: 0;
        padding-top: 58px;
    }

    .hero-copy {
        max-width: 680px;
    }

    .preview-wrap {
        width: min(100%, 850px);
        margin-inline: auto;
    }

    .preview-frame iframe {
        height: 600px;
    }
}

@media (max-width: 640px) {
    .detail-header,
    .detail-footer {
        padding: 17px 20px;
    }

    .detail-header {
        min-height: 66px;
    }

    .back-link {
        font-size: 10px;
    }

    .hero {
        gap: 35px;
        padding: 44px 20px 58px;
    }

    .eyebrow {
        font-size: 7px;
        letter-spacing: 1.1px;
    }

    .overline {
        margin-top: 38px;
    }

    .hero h1 {
        font-size: clamp(67px, 19vw, 88px);
        letter-spacing: -5px;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-actions,
    .closing-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .demo-note {
        margin-top: 28px;
    }

    .hero-index {
        font-size: 6px;
        letter-spacing: 0.9px;
    }

    .preview-wrap {
        padding-left: 10px;
    }

    .preview-wrap::before {
        right: 12px;
    }

    .preview-side-note {
        right: -7px;
        font-size: 6px;
    }

    .preview-frame iframe {
        height: 510px;
    }

    .preview-caption {
        right: -2px;
        padding: 10px 12px;
        font-size: 6px;
    }

    .story-section,
    .features-section {
        padding: 58px 22px 64px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 19px;
        padding: 28px 0 29px;
    }

    .story-grid h2,
    .features-heading h2 {
        font-size: clamp(39px, 11vw, 52px);
    }

    .product-ribbon {
        gap: 7px;
    }

    .product-ribbon span {
        padding: 7px 9px;
        font-size: 11px;
    }

    .features-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 27px;
    }

    .features-heading .section-kicker {
        grid-column: auto;
    }

    .feature-row {
        grid-template-columns: 28px minmax(0, 1fr) 20px;
        gap: 12px;
        padding: 18px 0;
    }

    .feature-row p {
        grid-column: 2;
    }

    .feature-row > a {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .feature-row h3 {
        font-size: 17px;
    }

    .closing-section {
        padding: 63px 22px 67px;
    }

    .closing-actions {
        align-items: center;
    }

    .detail-footer {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .detail-footer p {
        order: 1;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
