:root {
    --night: #10282c;
    --night-2: #18383c;
    --ink: #1f3537;
    --muted: #5e7373;
    --mist: #eef3ef;
    --paper: #f7f1e7;
    --paper-2: #fff8ed;
    --sage: #87b7a8;
    --sage-dark: #3d756e;
    --peach: #f0b989;
    --ember: #c86f52;
    --sky: #8fb5cf;
    --line-dark: rgba(255, 248, 237, 0.22);
    --line-light: rgba(31, 53, 55, 0.14);
    --glass: rgba(16, 40, 44, 0.48);
    --glass-strong: rgba(16, 40, 44, 0.68);
    --shadow: 0 28px 90px rgba(16, 40, 44, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--mist);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.55;
}

body::selection {
    color: #fff8ed;
    background: var(--sage-dark);
}

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

img,
svg {
    display: block;
}

p,
h1,
h2,
h3 {
    overflow-wrap: anywhere;
}

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

h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 7.4rem;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0;
}

h2 {
    max-width: 980px;
    font-size: 3.25rem;
    font-weight: 650;
    line-height: 1.06;
    letter-spacing: 0;
}

h3 {
    font-size: 1.25rem;
    font-weight: 720;
    line-height: 1.22;
    letter-spacing: 0;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 16px;
    left: 50%;
    width: min(1180px, calc(100% - 32px));
    min-height: 60px;
    padding: 10px 12px 10px 16px;
    border: 1px solid rgba(255, 248, 237, 0.24);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255, 248, 237, 0.92);
    background: rgba(16, 40, 44, 0.44);
    box-shadow: 0 18px 50px rgba(16, 40, 44, 0.2);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
}

.brand,
.nav-links,
.nav-cta {
    display: inline-flex;
    align-items: center;
}

.launch-control {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.app-launch-notice {
    max-width: 260px;
    color: inherit;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.3;
}

.brand {
    gap: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.18rem;
    letter-spacing: 0;
}

.brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-links {
    gap: 24px;
    color: rgba(255, 248, 237, 0.72);
    font-size: 0.96rem;
    font-weight: 650;
}

.nav-links a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
    color: #fff8ed;
}

.nav-cta {
    min-height: 40px;
    padding: 10px 15px;
    border: 0;
    border-radius: 8px;
    color: var(--night);
    background: rgba(255, 248, 237, 0.9);
    cursor: pointer;
    font: inherit;
    font-weight: 780;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background: #fff8ed;
    transform: translateY(-1px);
}

.hero {
    position: relative;
    min-height: 92svh;
    padding: 120px max(22px, calc((100vw - 1180px) / 2)) 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 54px;
    align-items: center;
    color: #fff8ed;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 40, 44, 0.9) 0%, rgba(16, 40, 44, 0.62) 45%, rgba(16, 40, 44, 0.18) 100%),
        linear-gradient(180deg, rgba(16, 40, 44, 0.22) 0%, rgba(16, 40, 44, 0.18) 55%, rgba(16, 40, 44, 0.86) 100%),
        url("/app/assets/weather_overlays/mist_fog.jpg") center / cover,
        url("/app/assets/bg/friend/morning.jpg") center / cover;
    transform: scale(1.02);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(0deg, var(--mist) 0%, rgba(238, 243, 239, 0) 100%);
}

.hero-copy,
.hero-phone {
    position: relative;
    z-index: 1;
}

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

.eyebrow {
    margin-bottom: 14px;
    color: var(--peach);
    font-size: 0.78rem;
    font-weight: 820;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-lead {
    max-width: 690px;
    margin-top: 28px;
    color: rgba(255, 248, 237, 0.82);
    font-size: 1.34rem;
    line-height: 1.55;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 52px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font: inherit;
    font-weight: 780;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--night);
    background: linear-gradient(135deg, #fff8ed, #efc092);
    box-shadow: 0 18px 42px rgba(240, 185, 137, 0.26);
}

.button-soft {
    color: #fff8ed;
    border-color: rgba(255, 248, 237, 0.28);
    background: rgba(255, 248, 237, 0.08);
    backdrop-filter: blur(14px);
}

.hero-signals {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-signals span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 248, 237, 0.2);
    border-radius: 999px;
    color: rgba(255, 248, 237, 0.78);
    background: rgba(16, 40, 44, 0.24);
    font-size: 0.9rem;
}

.hero-phone {
    justify-self: end;
    width: min(100%, 350px);
    border-radius: 36px;
    filter: drop-shadow(0 34px 74px rgba(0, 0, 0, 0.42));
}

.hero-phone img {
    width: 100%;
    height: auto;
    border-radius: 36px;
}

.section {
    padding: 92px max(22px, calc((100vw - 1180px) / 2));
}

.section-warm {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 54px;
    align-items: start;
    background: var(--mist);
}

.section-warm .eyebrow,
.feature-band .eyebrow,
.product-story .eyebrow,
.audience .eyebrow,
.plans .eyebrow {
    color: var(--sage-dark);
}

.split-copy {
    display: grid;
    gap: 22px;
    color: var(--muted);
    font-size: 1.16rem;
}

.section-heading {
    margin-bottom: 38px;
}

.section-heading.narrow {
    max-width: 820px;
}

.feature-band {
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.86), rgba(238, 243, 239, 0.96)),
        url("/app/assets/bg/neutral/day.jpg") center / cover fixed;
}

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

.feature-card,
.audience-list article,
.plan-card {
    border: 1px solid var(--line-light);
    border-radius: 8px;
    background: rgba(255, 248, 237, 0.74);
    box-shadow: 0 18px 60px rgba(31, 53, 55, 0.08);
}

.feature-card {
    min-height: 260px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card .icon {
    width: 34px;
    height: 34px;
    color: var(--sage-dark);
}

.feature-card p,
.audience-list p,
.plan-card p,
.archetype-card p,
.flow-steps p,
.story-copy li,
.safety p,
.final-cta p {
    color: var(--muted);
}

.day-flow {
    color: #fff8ed;
    background:
        linear-gradient(180deg, rgba(16, 40, 44, 0.86), rgba(16, 40, 44, 0.76)),
        url("/app/assets/bg/master/evening.jpg") center / cover;
}

.day-flow h2 {
    color: #fff8ed;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    overflow: hidden;
    background: var(--line-dark);
}

.flow-steps article {
    min-height: 250px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    background: rgba(16, 40, 44, 0.52);
    backdrop-filter: blur(16px);
}

.flow-steps span,
.archetype-card span,
.plan-card span {
    color: var(--peach);
    font-size: 0.78rem;
    font-weight: 830;
    letter-spacing: 0;
    text-transform: uppercase;
}

.flow-steps p {
    color: rgba(255, 248, 237, 0.74);
}

.product-story {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
    background: #f5efe3;
}

.app-preview {
    position: relative;
    min-height: 620px;
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(16, 40, 44, 0.2), rgba(16, 40, 44, 0.7)),
        url("/app/assets/bg/journal/day.jpg") center / cover;
    box-shadow: var(--shadow);
}

.app-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 248, 237, 0.22);
    border-radius: 8px;
    pointer-events: none;
}

.mini-screen {
    position: absolute;
    width: 44%;
    min-width: 190px;
    padding: 18px;
    border: 1px solid rgba(255, 248, 237, 0.22);
    border-radius: 8px;
    color: #fff8ed;
    background: var(--glass);
    backdrop-filter: blur(18px);
}

.mini-screen span {
    color: rgba(255, 248, 237, 0.68);
    font-size: 0.86rem;
}

.mini-screen strong {
    display: block;
    margin-top: 10px;
    font-size: 1.16rem;
    line-height: 1.2;
}

.mini-screen p {
    margin-top: 8px;
    color: rgba(255, 248, 237, 0.78);
}

.mini-morning {
    top: 24px;
    left: 24px;
}

.mini-evening {
    right: 24px;
    bottom: 24px;
}

.orbital-preview {
    position: absolute;
    inset: 50%;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 248, 237, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.center-orb,
.orbit {
    position: absolute;
    border: 1px solid rgba(255, 248, 237, 0.22);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff8ed;
    background: rgba(255, 248, 237, 0.12);
    backdrop-filter: blur(16px);
    font-weight: 760;
}

.center-orb {
    inset: 50%;
    width: 138px;
    height: 138px;
    border-radius: 50%;
    color: var(--night);
    background: radial-gradient(circle at 34% 26%, #fffdf6 0 16%, #f2d6b4 48%, #9bc7ba 100%);
    box-shadow: 0 0 58px rgba(240, 185, 137, 0.52);
    transform: translate(-50%, -50%);
}

.orbit {
    min-width: 72px;
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.9rem;
}

.orbit-left {
    top: 50%;
    left: -28px;
    transform: translateY(-50%);
}

.orbit-top {
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-right {
    top: 50%;
    right: -28px;
    transform: translateY(-50%);
}

.orbit-bottom {
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
}

.story-copy h2 {
    margin-bottom: 28px;
}

.check-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    font-size: 1.06rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sage);
    box-shadow: 0 0 0 5px rgba(135, 183, 168, 0.18);
}

.audience {
    background: var(--mist);
}

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

.audience-list article {
    min-height: 240px;
    padding: 24px;
}

.audience-list h3,
.plan-card h3 {
    margin-bottom: 12px;
}

.archetypes {
    color: #fff8ed;
    background:
        linear-gradient(180deg, rgba(16, 40, 44, 0.88), rgba(16, 40, 44, 0.78)),
        url("/app/assets/bg/coach/evening.jpg") center / cover;
}

.archetypes h2 {
    color: #fff8ed;
}

.archetype-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.archetype-card {
    min-height: 300px;
    padding: 28px;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--glass);
    backdrop-filter: blur(18px);
}

.archetype-card h3 {
    margin: 16px 0 12px;
}

.archetype-card p {
    color: rgba(255, 248, 237, 0.74);
}

.archetype-card.friend {
    background:
        linear-gradient(180deg, rgba(16, 40, 44, 0.18), rgba(16, 40, 44, 0.72)),
        url("/app/assets/bg/friend/day.jpg") center / cover;
}

.archetype-card.coach {
    background:
        linear-gradient(180deg, rgba(16, 40, 44, 0.18), rgba(16, 40, 44, 0.72)),
        url("/app/assets/bg/coach/day.jpg") center / cover;
}

.archetype-card.master {
    background:
        linear-gradient(180deg, rgba(16, 40, 44, 0.18), rgba(16, 40, 44, 0.72)),
        url("/app/assets/bg/master/day.jpg") center / cover;
}

.safety {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: center;
    background: #e7eee9;
}

.safety .eyebrow {
    color: var(--ember);
}

.safety p {
    font-size: 1.14rem;
}

.plans {
    background: var(--paper);
}

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

.plan-card {
    min-height: 275px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.plan-card span {
    color: var(--sage-dark);
}

.plan-card p {
    flex: 1;
}

.plan-card strong {
    margin-top: 26px;
    font-size: 1.24rem;
    line-height: 1.2;
}

.plan-card.accent {
    color: #fff8ed;
    background:
        linear-gradient(180deg, rgba(16, 40, 44, 0.62), rgba(16, 40, 44, 0.88)),
        url("/app/assets/bg/friend/evening.jpg") center / cover;
    box-shadow: var(--shadow);
}

.plan-card.accent span,
.plan-card.accent p {
    color: rgba(255, 248, 237, 0.78);
}

.final-cta {
    margin: 0;
    padding: 92px max(22px, calc((100vw - 1180px) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: end;
    color: #fff8ed;
    background:
        linear-gradient(90deg, rgba(16, 40, 44, 0.9), rgba(16, 40, 44, 0.58)),
        url("/app/assets/bg/neutral/evening.jpg") center / cover;
}

.final-cta h2 {
    color: #fff8ed;
}

.final-cta p:not(.eyebrow) {
    max-width: 760px;
    margin-top: 22px;
    color: rgba(255, 248, 237, 0.76);
    font-size: 1.14rem;
}

@media (max-width: 1060px) {
    h1 {
        font-size: 6.1rem;
    }

    h2 {
        font-size: 2.65rem;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 36px;
    }

    .nav-links {
        gap: 16px;
    }

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

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

@media (max-width: 820px) {
    .site-header {
        top: 10px;
        width: calc(100% - 20px);
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        font-size: 0.9rem;
    }

    .nav-cta {
        min-height: 38px;
    }

    .hero {
        min-height: 90svh;
        grid-template-columns: 1fr;
        padding-top: 144px;
        padding-bottom: 36px;
    }

    .hero-bg {
        background:
            linear-gradient(180deg, rgba(16, 40, 44, 0.82) 0%, rgba(16, 40, 44, 0.56) 50%, rgba(16, 40, 44, 0.88) 100%),
            url("/app/assets/weather_overlays/mist_fog.jpg") center / cover,
            url("/app/assets/bg/friend/morning.jpg") center / cover;
    }

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

    .hero-phone {
        position: absolute;
        right: 22px;
        bottom: 26px;
        width: 118px;
        justify-self: auto;
    }

    .section,
    .final-cta {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .section-warm,
    .product-story,
    .safety,
    .final-cta {
        grid-template-columns: 1fr;
    }

    .app-preview {
        min-height: 540px;
    }
}

@media (max-width: 620px) {
    h1 {
        font-size: 4.6rem;
    }

    h2 {
        font-size: 2.08rem;
    }

    h3 {
        font-size: 1.14rem;
    }

    .hero-lead,
    .split-copy,
    .safety p,
    .final-cta p:not(.eyebrow) {
        font-size: 1.02rem;
    }

    .brand span {
        display: none;
    }

    .nav-links {
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .hero-actions,
    .final-cta .button {
        width: 100%;
    }

    .button {
        width: 100%;
    }

    .hero-signals {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(55%, 210px);
    }

    .hero-signals span {
        text-align: center;
    }

    .hero-phone {
        width: 94px;
    }

    .flow-steps,
    .audience-list,
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .flow-steps article,
    .audience-list article,
    .plan-card,
    .feature-card {
        min-height: auto;
    }

    .app-preview {
        min-height: 520px;
    }

    .mini-screen {
        width: calc(100% - 32px);
        min-width: 0;
    }

    .mini-morning {
        top: 16px;
        left: 16px;
    }

    .mini-evening {
        right: 16px;
        bottom: 16px;
    }

    .orbital-preview {
        width: 230px;
        height: 230px;
    }

    .center-orb {
        width: 112px;
        height: 112px;
    }

    .orbit-left {
        left: -18px;
    }

    .orbit-right {
        right: -18px;
    }
}
