@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Montserrat:wght@600;700;800;900&display=swap');

:root {
    --paper: #b8b4ad;
    --paper-light: #d2cec6;
    --ink: #201a1d;
    --muted: #645d59;
    --cream: #f7f1e9;
    --pink: #d99aa9;
    --green: #8fa47b;
    --dark: #2d1823;
    --line: rgba(32, 26, 29, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 15%, rgba(255,255,255,.28), transparent 28%),
        radial-gradient(circle at 90% 70%, rgba(255,255,255,.16), transparent 30%),
        var(--paper);
    font-family: "DM Sans", Arial, sans-serif;
    overflow-x: hidden;
}

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .09;
    z-index: 20;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 5;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
}

.logo-image {
    width: 36px;
    height: 36px;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 22px rgba(60, 30, 50, .18);
}

nav {
    display: flex;
    gap: 30px;
    font-size: 13px;
    font-weight: 600;
}

nav a,
.footer-links a {
    opacity: .7;
    transition: opacity .2s ease;
}

nav a:hover,
.footer-links a:hover {
    opacity: 1;
}

.header-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--cream);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(32, 26, 29, .16);
    transition: transform .2s ease, box-shadow .2s ease;
}

.header-button:hover,
.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(32, 26, 29, .22);
}

.hero {
    width: min(1180px, calc(100% - 48px));
    min-height: 690px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 40px;
    padding: 60px 0 90px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 18px;
    font-size: 11px;
    letter-spacing: .22em;
    font-weight: 800;
    color: var(--muted);
}

.hero h1,
.statement h2,
.showcase h2,
.colors-section h2,
.how-section h2,
.privacy-section h2,
.final-cta h2,
.policy h1 {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 900;
    line-height: .88;
    letter-spacing: -.045em;
}

.hero h1 {
    font-size: clamp(62px, 8vw, 110px);
    text-shadow: 5px 8px 0 rgba(255,255,255,.25);
}

.hero h1 span,
em {
    font-style: normal;
    color: var(--cream);
}

.hero-text {
    max-width: 530px;
    margin: 30px 0;
    color: #514a47;
    font-size: 17px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.text-button {
    font-size: 12px;
    font-weight: 700;
    opacity: .7;
}

.trust-row {
    margin-top: 45px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 9px;
    letter-spacing: .14em;
    font-weight: 800;
    color: #655f5b;
}

.hero-visual {
    min-height: 550px;
    position: relative;
    display: grid;
    place-items: center;
}

.color-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.orb-one {
    width: 300px;
    height: 300px;
    right: 5%;
    top: 8%;
    background: #cf8e9f;
    opacity: .85;
}

.orb-two {
    width: 230px;
    height: 230px;
    left: 5%;
    bottom: 5%;
    background: #7fa5a2;
    opacity: .75;
}

.hero-card {
    width: min(380px, 85%);
    padding: 22px;
    position: relative;
    z-index: 2;
    background: #f8efd9;
    border: 1px solid rgba(50, 30, 30, .18);
    box-shadow: 18px 25px 45px rgba(30, 20, 20, .24);
    transform: rotate(2deg);
}

.card-top,
.preview-label,
.preview-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-top {
    font-size: 9px;
    letter-spacing: .2em;
    font-weight: 800;
    color: #ad5d73;
    margin-bottom: 15px;
}

.mini-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ad5d73;
}

.picker-preview {
    height: 255px;
    position: relative;
    background:
        linear-gradient(to top, #000, transparent),
        linear-gradient(to right, #fff, transparent),
        #d56d7f;
    border-radius: 5px;
}

.picker-dot {
    position: absolute;
    left: 62%;
    top: 36%;
    width: 20px;
    height: 20px;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0,0,0,.3);
}

.spectrum {
    height: 12px;
    margin-top: 14px;
    border-radius: 20px;
    background: linear-gradient(to right, red, yellow, lime, cyan, blue, magenta, red);
}

.preview-label {
    padding: 13px 0;
    font-size: 9px;
    color: #6c5e5b;
}

.preview-label strong {
    color: #9e6170;
}

.preview-toggle {
    padding: 14px;
    background: #efb9c5;
    font-size: 12px;
    font-weight: 700;
}

.switch {
    width: 38px;
    height: 22px;
    padding: 3px;
    border-radius: 20px;
    background: #a86175;
}

.switch i {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    transform: translateX(16px);
}

.statement {
    width: min(960px, calc(100% - 48px));
    margin: 0 auto;
    padding: 130px 0;
    text-align: center;
}

.statement h2 {
    font-size: clamp(42px, 6vw, 76px);
}

.statement p:last-child {
    max-width: 680px;
    margin: 30px auto 0;
    line-height: 1.8;
    color: #5e5753;
}

.showcase,
.colors-section,
.how-section,
.privacy-section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 100px 0;
}

.showcase-heading,
.how-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 35px;
}

.showcase h2,
.colors-section h2,
.how-section h2,
.privacy-section h2 {
    font-size: clamp(42px, 6vw, 78px);
}

.image-frame {
    overflow: hidden;
    border: 1px solid rgba(32, 26, 29, .18);
    box-shadow: 15px 20px 40px rgba(30, 20, 20, .22);
    background: #ddd;
}

.image-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.large {
    transform: rotate(-.7deg);
}

.feature-grid {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.feature-card {
    min-height: 280px;
    padding: 30px;
    background: rgba(244, 238, 228, .52);
}

.feature-card:nth-child(2) {
    background: #cf9aa6;
}

.feature-card:nth-child(3) {
    background: #a9b99b;
}

.feature-card:nth-child(4) {
    background: #7e9ea0;
}

.number,
.step > span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}

.feature-card h3 {
    margin: 75px 0 15px;
    font-family: "Montserrat", sans-serif;
    font-size: 21px;
}

.feature-card p {
    margin: 0;
    color: #554e4a;
    line-height: 1.6;
    font-size: 13px;
}

.colors-section {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 80px;
    align-items: center;
}

.colors-copy p:last-child,
.privacy-copy p {
    color: #5d5652;
    line-height: 1.8;
    max-width: 440px;
}

.tilted {
    transform: rotate(1deg);
}

.how-section {
    background: rgba(247, 241, 233, .18);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 45px 0;
}

.step {
    padding: 30px;
    border-top: 1px solid var(--line);
}

.step h3 {
    margin: 28px 0 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 19px;
}

.step p {
    margin: 0;
    line-height: 1.7;
    color: #5e5753;
    font-size: 13px;
}

.how-image {
    max-width: 1050px;
    margin: 0 auto;
}

.privacy-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
}

.privacy-copy a {
    display: inline-block;
    margin-top: 25px;
    font-weight: 800;
    font-size: 13px;
}

.final-cta {
    padding: 150px 24px;
    text-align: center;
    background: var(--dark);
    color: var(--cream);
}

.final-cta .section-kicker {
    color: #bba9ad;
}

.final-cta h2 {
    font-size: clamp(52px, 8vw, 100px);
    margin-bottom: 45px;
}

.final-cta .primary-button {
    background: var(--cream);
    color: var(--dark);
}

footer {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 30px 0 45px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    font-size: 12px;
}

footer div:first-child {
    display: flex;
    gap: 12px;
}

footer span {
    opacity: .6;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.policy {
    width: min(900px, calc(100% - 48px));
    margin: 0 auto;
    padding: 100px 0 140px;
}

.policy h1 {
    font-size: clamp(55px, 8vw, 100px);
}

.policy-date {
    margin-top: 25px;
    color: var(--muted);
    font-size: 13px;
}

.policy-content {
    margin-top: 80px;
    display: grid;
    gap: 45px;
}

.policy-content section {
    border-top: 1px solid var(--line);
    padding-top: 25px;
}

.policy-content h2 {
    margin: 0 0 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
}

.policy-content p {
    max-width: 720px;
    margin: 10px 0;
    color: #57504c;
    line-height: 1.8;
}

/* MOTION / INTERACTION */

.hero,
.statement,
.showcase,
.colors-section,
.how-section,
.privacy-section,
.final-cta {
    animation: page-in .8s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes page-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual::before,
.hero-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.hero-visual::before {
    width: 85px;
    height: 85px;
    right: 4%;
    bottom: 18%;
    background: #d7bd65;
    animation: float-a 5s ease-in-out infinite;
}

.hero-visual::after {
    width: 42px;
    height: 42px;
    left: 15%;
    top: 18%;
    background: #a98ac7;
    animation: float-b 4s ease-in-out infinite;
}

@keyframes float-a {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    50% { transform: translate(-12px, -18px) rotate(15deg); }
}

@keyframes float-b {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(12px, 14px); }
}

.hero-card {
    transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}

.hero-card:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.015);
    box-shadow: 22px 32px 55px rgba(30, 20, 20, .28);
}

.feature-card {
    transition: transform .25s ease, filter .25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    filter: saturate(1.08);
}

.image-frame {
    transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}

.image-frame:hover {
    transform: translateY(-6px) rotate(0deg);
    box-shadow: 20px 28px 55px rgba(30, 20, 20, .27);
}

.primary-button span {
    display: inline-block;
    transition: transform .2s ease;
}

.primary-button:hover span {
    transform: translate(3px, -3px);
}

.creator-line {
    font-size: 11px;
    color: #5f5854;
    opacity: .8;
    text-align: center;
}

.creator-line strong {
    color: var(--ink);
}

.footer-brand {
    display: flex;
    gap: 12px;
}

.footer-brand span {
    opacity: .6;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 850px) {
    nav {
        display: none;
    }

    .hero,
    .colors-section,
    .privacy-section {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-visual {
        min-height: 430px;
    }

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

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

    .showcase-heading,
    .how-heading {
        display: block;
    }
}

@media (max-width: 560px) {
    .site-header {
        width: min(100% - 30px, 1180px);
    }

    .header-button {
        display: none;
    }

    .hero,
    .statement,
    .showcase,
    .colors-section,
    .how-section,
    .privacy-section,
    .feature-grid,
    footer {
        width: min(100% - 30px, 1180px);
    }

    .hero h1 {
        font-size: 55px;
    }

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

    .feature-card {
        min-height: 230px;
    }

    .feature-card h3 {
        margin-top: 45px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    footer {
        flex-direction: column;
    }
}
