:root {
    --ink: #171348;
    --ink-soft: #312d63;
    --muted: #6b6682;
    --violet: #6653a8;
    --lilac: #c8bcf4;
    --peach: #e5ad82;
    --sage: #8fa894;
    --cream: #f8f1e8;
    --paper: #fffaf4;
    --white: #ffffff;
    --night: #11113f;
    --line: rgba(31, 25, 77, .13);
    --shadow: 0 26px 80px rgba(37, 28, 76, .16);
    --shell: min(1180px, calc(100% - 44px));
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 14% 4%, rgba(255, 255, 255, .98) 0 13%, transparent 30%),
        linear-gradient(180deg, #fbf6ef 0%, var(--cream) 48%, #fff8ef 100%);
    color: var(--ink);
    font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

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

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

svg {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.skip-link {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 80;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--night);
    color: var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
}

.skip-link:focus {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid rgba(23, 19, 72, .08);
    background: rgba(248, 241, 232, .78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-shell,
.section-shell,
.proof-shell,
.science-shell {
    width: var(--shell);
    margin-inline: auto;
}

.nav-shell {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
    color: var(--ink-soft);
    font-size: .79rem;
    font-weight: 700;
}

.nav a {
    opacity: .78;
    transition: color .2s ease, opacity .2s ease;
}

.nav a:hover {
    color: var(--violet);
    opacity: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    border-radius: 8px;
    background: var(--night);
    color: var(--white);
    box-shadow: 0 17px 38px rgba(17, 17, 63, .24);
    font-size: .9rem;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background: #22195b;
    box-shadow: 0 23px 54px rgba(17, 17, 63, .3);
}

.btn:focus-visible {
    outline: 3px solid rgba(102, 83, 168, .35);
    outline-offset: 3px;
}

.btn-compact {
    min-height: 38px;
    padding-inline: 18px;
    font-size: .76rem;
}

.btn-light {
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .24);
}

.btn-light:hover {
    background: var(--white);
}

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

.centered {
    text-align: center;
}

.hero h1,
.section-copy h2,
.method h2,
.science h2,
.stories h2,
.final-cta h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0;
    line-height: .98;
}

.hero {
    position: relative;
    min-height: 730px;
    isolation: isolate;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0 0 0 36%;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(248, 241, 232, .98) 0%, rgba(248, 241, 232, .72) 26%, rgba(248, 241, 232, .1) 58%),
        linear-gradient(180deg, rgba(248, 241, 232, 0) 62%, var(--cream) 100%),
        url('/app3/assets/images/hero-background-optimized.jpg');
    background-size: auto, auto, cover;
    background-position: center, center, 58% 45%;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 70% 14%, rgba(229, 173, 130, .24), transparent 24%),
        radial-gradient(circle at 19% 24%, rgba(255, 255, 255, .8), transparent 18%);
}

.hero-shell {
    width: min(1300px, calc(100% - 44px));
    min-height: 730px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(500px, .92fr) minmax(500px, 1.08fr);
    align-items: center;
    gap: 34px;
    padding: 54px 0 70px;
}

.hero-copy {
    position: relative;
    z-index: 5;
    max-width: 575px;
}

.hero h1 {
    margin: 0;
    max-width: 620px;
    font-size: 4.35rem;
}

.hero-lede {
    max-width: 530px;
    margin: 26px 0 28px;
    color: var(--ink-soft);
    font-size: 1.04rem;
    font-weight: 600;
    line-height: 1.72;
}

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

.hero-actions span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 650;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.hero-rating strong {
    display: block;
    color: #d8a332;
    font-size: .92rem;
    line-height: 1;
}

.hero-rating p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 620;
}

.avatars {
    display: flex;
}

.avatars i {
    width: 36px;
    height: 36px;
    margin-left: -9px;
    border: 2px solid var(--paper);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ink), var(--peach));
    box-shadow: 0 10px 22px rgba(23, 19, 72, .16);
}

.avatars i:first-child {
    margin-left: 0;
}

.avatars i:nth-child(2) {
    background: linear-gradient(135deg, var(--violet), var(--lilac));
}

.avatars i:nth-child(3) {
    background: linear-gradient(135deg, #263f52, var(--sage));
}

.avatars i:nth-child(4) {
    background: linear-gradient(135deg, #7b4d80, var(--peach));
}

.hero-product {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    position: relative;
    min-height: 610px;
    perspective: 900px;
    transform-style: preserve-3d;
}

.phone,
.affirmation,
.signal-card {
    position: absolute;
    filter: saturate(1.03);
    transition: transform .25s ease;
}

.phone {
    z-index: 8;
    left: 25%;
    bottom: 40px;
    width: 202px;
    border-radius: 34px;
    box-shadow: 0 36px 80px rgba(17, 17, 63, .32);
    transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotate(-2deg);
}

.affirmation {
    width: 166px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 28px 70px rgba(39, 30, 82, .2);
}

.affirmation-one {
    z-index: 6;
    right: 19%;
    top: 112px;
    transform: rotate(7deg);
}

.affirmation-two {
    z-index: 5;
    right: 0;
    top: 176px;
    transform: rotate(8deg);
}

.affirmation-three {
    z-index: 7;
    right: 18%;
    bottom: 72px;
    transform: rotate(-4deg);
}

.signal-card {
    z-index: 9;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 2px 12px;
    align-items: center;
    width: 215px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 8px;
    background: rgba(255, 250, 244, .82);
    box-shadow: 0 20px 52px rgba(30, 24, 70, .14);
    backdrop-filter: blur(12px);
}

.signal-card span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(102, 83, 168, .1);
    color: var(--violet);
    font-size: 1.22rem;
}

.signal-card b {
    font-size: .78rem;
}

.signal-card small {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 650;
}

.calm-card {
    left: 5%;
    top: 120px;
}

.privacy-card {
    right: 2%;
    bottom: 17px;
}

.proof-band {
    position: relative;
    z-index: 4;
    margin-top: -48px;
}

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

.proof-shell article,
.steps article,
.feature-list article,
.science-grid article,
.stories figure {
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 8px;
    background: rgba(255, 250, 244, .78);
    box-shadow: 0 20px 55px rgba(48, 37, 82, .08);
}

.proof-shell article {
    min-height: 158px;
    padding: 22px;
}

.proof-shell span,
.steps i,
.feature-list span,
.science-grid span {
    display: grid;
    place-items: center;
    color: var(--violet);
}

.proof-shell span {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: rgba(102, 83, 168, .1);
    font-size: 1.35rem;
}

.proof-shell h2 {
    margin: 0 0 7px;
    font-size: 1rem;
}

.proof-shell p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600;
}

.mind-shift,
.product-tour {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(460px, 1.14fr);
    gap: 68px;
    align-items: center;
    padding: 96px 0 72px;
}

.section-copy h2 {
    margin: 0;
    font-size: 3.65rem;
}

.section-copy p {
    max-width: 560px;
    margin: 22px 0 0;
    color: #4c466b;
    font-size: 1rem;
    font-weight: 600;
}

.shift-visual {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.shift-visual img {
    width: 100%;
    aspect-ratio: 1.48;
    object-fit: cover;
}

.shift-visual figcaption {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 18px 24px 22px;
    color: var(--ink-soft);
    font-size: .82rem;
    font-weight: 800;
}

.shift-visual i {
    color: var(--peach);
    font-style: normal;
    font-size: 1.6rem;
}

.method {
    padding: 76px 0 84px;
    background:
        linear-gradient(180deg, rgba(255, 250, 244, .42), rgba(255, 250, 244, .72)),
        linear-gradient(90deg, rgba(102, 83, 168, .05) 1px, transparent 1px),
        linear-gradient(rgba(102, 83, 168, .04) 1px, transparent 1px);
    background-size: auto, 96px 96px, 96px 96px;
}

.method h2 {
    max-width: 820px;
    margin: 0 auto 38px;
    text-align: center;
    font-size: 3.6rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.steps article {
    min-height: 242px;
    padding: 24px;
    background: rgba(255, 255, 255, .68);
}

.steps span {
    display: block;
    margin-bottom: 18px;
    color: var(--peach);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.6rem;
    line-height: 1;
}

.steps i {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: rgba(143, 168, 148, .16);
    color: #617c68;
    font-size: 1.45rem;
    font-style: normal;
}

.steps h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.steps p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 620;
}

.product-tour {
    grid-template-columns: minmax(480px, 1.02fr) minmax(0, .98fr);
    padding-top: 88px;
}

.tour-visual {
    position: relative;
    min-height: 570px;
}

.tour-visual::before {
    content: "";
    position: absolute;
    inset: 52px 8% 42px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 38%, rgba(200, 188, 244, .7), transparent 36%),
        linear-gradient(135deg, rgba(255, 250, 244, .95), rgba(229, 173, 130, .2));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), var(--shadow);
}

.tour-phone {
    position: absolute;
    z-index: 3;
    left: 32%;
    top: 18px;
    width: 230px;
    border-radius: 34px;
    box-shadow: 0 38px 78px rgba(23, 19, 72, .25);
}

.tour-card {
    position: absolute;
    width: 170px;
    border-radius: 8px;
    box-shadow: 0 28px 60px rgba(23, 19, 72, .18);
}

.tour-card-one {
    left: 10%;
    top: 112px;
    transform: rotate(-8deg);
}

.tour-card-two {
    right: 7%;
    bottom: 42px;
    transform: rotate(7deg);
}

.feature-list {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.feature-list article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, .56);
}

.feature-list span {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(229, 173, 130, .16);
    color: #a96e42;
    font-size: 1.4rem;
}

.feature-list h3 {
    margin: 0 0 5px;
    font-size: .98rem;
}

.feature-list p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
}

.science {
    margin: 40px 0 0;
    padding: 82px 0;
    background:
        radial-gradient(circle at 88% 46%, rgba(102, 83, 168, .5), transparent 24%),
        linear-gradient(135deg, #11113f, #171348 54%, #253d4c);
    color: var(--white);
}

.science-shell {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: 54px;
    align-items: start;
}

.science .eyebrow {
    color: var(--lilac);
}

.science h2 {
    margin: 0;
    font-size: 3.3rem;
}

.science-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.science-grid article {
    min-height: 190px;
    padding: 24px;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .16);
    box-shadow: none;
}

.science-grid span {
    justify-content: start;
    margin-bottom: 24px;
    color: var(--lilac);
    font-size: 2rem;
}

.science-grid h3 {
    margin: 0 0 8px;
    font-size: .98rem;
}

.science-grid p {
    margin: 0;
    color: rgba(255, 255, 255, .74);
    font-size: .86rem;
    font-weight: 560;
}

.stories {
    display: grid;
    grid-template-columns: minmax(260px, .95fr) repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 76px 0;
}

.stories-intro h2 {
    margin: 0 0 18px;
    font-size: 3.05rem;
}

.stories-intro p {
    margin: 0;
    color: var(--muted);
    font-weight: 620;
}

.stories figure {
    margin: 0;
    padding: 18px;
}

.stories img {
    width: 84px;
    height: 98px;
    margin-bottom: 16px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(23, 19, 72, .12);
}

blockquote {
    margin: 0 0 15px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.48;
}

.stories figcaption {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink-soft);
    font-size: .82rem;
    font-weight: 850;
}

.stories figcaption span {
    color: #d8a332;
}

.final-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(360px, .82fr);
    align-items: center;
    min-height: 380px;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--night);
    color: var(--white);
    box-shadow: 0 28px 90px rgba(17, 17, 63, .22);
}

.final-cta img {
    position: absolute;
    inset: 0;
    width: 58%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

.final-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 17, 63, .04), rgba(17, 17, 63, .22) 42%, var(--night) 60%);
}

.final-cta div {
    position: relative;
    z-index: 2;
    grid-column: 2;
    padding: 54px 54px 58px;
}

.final-cta .eyebrow {
    color: var(--lilac);
}

.final-cta h2 {
    margin: 0 0 18px;
    font-size: 3.25rem;
}

.final-cta p {
    max-width: 460px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .78);
    font-weight: 600;
}

.site-footer {
    display: grid;
    grid-template-columns: .8fr 1.3fr 1fr 1fr;
    align-items: center;
    gap: 24px;
    padding: 24px max(24px, calc((100vw - 1180px)/2));
    background: #0f0f38;
    color: var(--white);
}

.site-footer p,
.site-footer small {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: .78rem;
}

.site-footer nav {
    display: flex;
    gap: 14px;
    color: rgba(255, 255, 255, .78);
    font-size: .76rem;
    font-weight: 700;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .68s ease, transform .68s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {
    :root {
        --shell: min(100% - 32px, 900px);
    }

    .nav {
        display: none;
    }

    .hero,
    .hero-shell {
        min-height: auto;
    }

    .hero-bg {
        inset: 38% 0 0;
        border-radius: 0 0 28px 28px;
        background:
            linear-gradient(180deg, rgba(248, 241, 232, .98), rgba(248, 241, 232, .2) 46%, rgba(248, 241, 232, .72)),
            url('/app3/assets/images/hero-background-optimized.jpg');
        background-size: auto, cover;
        background-position: center, 60% 48%;
    }

    .hero-shell,
    .mind-shift,
    .product-tour,
    .science-shell {
        grid-template-columns: 1fr;
    }

    .hero-shell {
        width: var(--shell);
        gap: 22px;
        padding-top: 48px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero h1 {
        max-width: 760px;
        font-size: 3.85rem;
    }

    .hero-product {
        width: 100%;
        min-height: 560px;
    }

    .phone {
        left: 23%;
        width: 194px;
    }

    .affirmation-one {
        right: 23%;
    }

    .affirmation-two {
        right: 6%;
    }

    .proof-band {
        margin-top: 8px;
    }

    .mind-shift,
    .product-tour {
        gap: 34px;
        padding: 72px 0 56px;
    }

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

    .tour-visual {
        min-height: 540px;
    }

    .science-shell {
        gap: 34px;
    }

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

    .stories-intro {
        grid-column: 1 / -1;
    }

    .final-cta {
        grid-template-columns: 1fr;
    }

    .final-cta img {
        position: relative;
        width: 100%;
        height: 310px;
    }

    .final-cta::after {
        display: none;
    }

    .final-cta div {
        grid-column: 1;
    }

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

@media (max-width: 720px) {
    :root {
        --shell: calc(100% - 24px);
    }

    .nav-shell {
        min-height: 64px;
    }

    .brand {
        font-size: 1.65rem;
    }

    .nav-shell .btn {
        display: none;
    }

    .hero-bg {
        inset: 47% 0 0;
    }

    .hero-shell {
        padding: 36px 0 48px;
    }

    .eyebrow {
        font-size: .68rem;
    }

    .hero h1 {
        font-size: 2.95rem;
    }

    .hero-lede {
        font-size: .97rem;
        line-height: 1.64;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-actions span {
        width: 100%;
        text-align: center;
    }

    .hero-rating {
        align-items: flex-start;
        flex-wrap: wrap;
    }

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

    .phone {
        left: 5%;
        bottom: 24px;
        width: 136px;
        border-radius: 24px;
    }

    .affirmation {
        width: 116px;
    }

    .affirmation-one {
        right: 24%;
        top: 42px;
    }

    .affirmation-two {
        right: 0;
        top: 142px;
    }

    .affirmation-three {
        right: 22%;
        bottom: 26px;
    }

    .signal-card {
        width: 180px;
        padding: 11px;
    }

    .calm-card {
        left: 2%;
        top: 8px;
    }

    .privacy-card {
        right: 0;
        bottom: 0;
    }

    .proof-shell,
    .steps,
    .science-grid,
    .stories {
        grid-template-columns: 1fr;
    }

    .proof-shell article {
        min-height: auto;
    }

    .section-copy h2,
    .method h2,
    .science h2,
    .stories-intro h2,
    .final-cta h2 {
        font-size: 2.45rem;
    }

    .mind-shift,
    .product-tour {
        padding: 56px 0 42px;
    }

    .shift-visual figcaption {
        padding-inline: 16px;
        font-size: .72rem;
    }

    .method {
        padding: 54px 0 62px;
    }

    .steps article {
        min-height: auto;
    }

    .tour-visual {
        min-height: 435px;
    }

    .tour-phone {
        left: 19%;
        width: 158px;
        border-radius: 25px;
    }

    .tour-card {
        width: 112px;
    }

    .tour-card-one {
        left: 1%;
        top: 118px;
    }

    .tour-card-two {
        right: 2%;
        bottom: 48px;
    }

    .feature-list article {
        grid-template-columns: 42px 1fr;
        padding: 15px;
    }

    .feature-list span {
        width: 42px;
        height: 42px;
    }

    .science {
        padding: 58px 0;
    }

    .stories {
        padding: 56px 0;
    }

    .stories figcaption {
        display: block;
    }

    .stories figcaption span {
        display: block;
        margin-top: 6px;
    }

    .final-cta img {
        height: 250px;
    }

    .final-cta div {
        padding: 34px 22px 38px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 26px 20px;
    }
}
