:root {
    color-scheme: light;
    --page-bg: #fff8ea;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --ink: #1f2430;
    --ink-soft: rgba(31, 36, 48, 0.72);
    --ink-muted: rgba(31, 36, 48, 0.54);
    --line: rgba(44, 50, 66, 0.1);
    --yellow: #ffd759;
    --orange: #ff8a35;
    --pink: #ff5a95;
    --purple: #7b61ff;
    --blue: #2788ff;
    --teal: #4ec8bd;
    --red: #ff5d57;
    --shadow-soft: 0 18px 48px rgba(121, 86, 44, 0.12);
    --shadow-deep: 0 34px 90px rgba(86, 62, 42, 0.2);
    --blur-border: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 1px 0 rgba(255, 255, 255, 0.65);
    --radius-xl: 36px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --page-width: min(1120px, calc(100vw - 36px));
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    background:
        radial-gradient(circle at 18% 6%, rgba(255, 215, 89, 0.34), transparent 26rem),
        radial-gradient(circle at 86% 12%, rgba(123, 97, 255, 0.2), transparent 22rem),
        radial-gradient(circle at 76% 58%, rgba(78, 200, 189, 0.18), transparent 24rem),
        linear-gradient(180deg, #fff8ea 0%, #fff2f4 45%, #effbff 100%);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.56), transparent 26%, transparent 74%, rgba(255, 255, 255, 0.52)),
        transparent;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

.page-shell {
    width: var(--page-width);
    margin: 0 auto;
    padding: clamp(28px, 8vw, 74px) 0 46px;
}

.hero {
    padding: 0 0 clamp(38px, 5vw, 56px);
}

.hero__grid {
    display: grid;
    gap: 34px;
    align-items: center;
}

.hero__copy {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--ink-muted);
    font-size: 0.78rem;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(3rem, 15vw, 5.8rem);
    line-height: 0.94;
    letter-spacing: 0;
    font-weight: 780;
    text-wrap: balance;
}

.hero__lede {
    max-width: 620px;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: clamp(1.08rem, 4.3vw, 1.32rem);
    line-height: 1.48;
}

.hero__actions {
    display: grid;
    justify-items: center;
    gap: 11px;
    margin-top: 28px;
}

.app-store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    background: #12151d;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 740;
    box-shadow: 0 18px 40px rgba(18, 21, 29, 0.2);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.app-store-button:hover {
    transform: translateY(-1px);
    background: #05070c;
    box-shadow: 0 22px 48px rgba(18, 21, 29, 0.24);
}

.cta-note,
.final-cta p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.95rem;
}

.hero__visual {
    position: relative;
    width: min(100%, 540px);
    min-height: 500px;
    margin: 8px auto 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 44px;
}

.hero__visual::before {
    content: "";
    position: absolute;
    inset: 10% 2% 8%;
    border-radius: 42px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 215, 89, 0.38), transparent 38%),
        radial-gradient(circle at 78% 16%, rgba(255, 90, 149, 0.26), transparent 34%),
        radial-gradient(circle at 54% 84%, rgba(78, 200, 189, 0.24), transparent 42%);
    filter: blur(6px);
    opacity: 0.9;
}

.phone-mockup {
    position: relative;
    z-index: 3;
    width: min(86vw, 330px);
    transform: rotate(-2deg);
    filter: drop-shadow(0 34px 58px rgba(86, 62, 42, 0.2));
}

.phone-mockup picture {
    display: block;
}

.phone-mockup__asset {
    width: 100%;
    height: auto;
}

.phone-mockup__fallback {
    aspect-ratio: 9 / 16;
    padding: 24px;
    border-radius: 42px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-deep), var(--blur-border);
}

.glass-panel {
    position: absolute;
    z-index: 4;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.54);
    box-shadow: var(--shadow-soft), var(--blur-border);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.glass-panel--small {
    left: 0;
    bottom: 64px;
    width: 122px;
    height: 118px;
    border-radius: 30px;
    transform: rotate(7deg);
}

.mini-calendar__face {
    position: absolute;
    inset: 14px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66)),
        repeating-linear-gradient(90deg, transparent 0 23%, rgba(31, 36, 48, 0.08) 24% 25%);
    color: var(--pink);
    font-size: 2.4rem;
    font-weight: 800;
}

.ribbon-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ribbon {
    position: absolute;
    height: 34px;
    border-radius: 999px;
    box-shadow: 0 18px 32px rgba(52, 42, 28, 0.12);
}

.ribbon--yellow {
    top: 42px;
    left: -36px;
    width: 230px;
    background: rgba(255, 215, 89, 0.76);
    transform: rotate(17deg);
}

.ribbon--orange {
    top: 126px;
    right: -48px;
    width: 230px;
    background: rgba(255, 138, 53, 0.7);
    transform: rotate(-21deg);
}

.ribbon--pink {
    top: 208px;
    left: -26px;
    width: 190px;
    background: rgba(255, 90, 149, 0.66);
    transform: rotate(-13deg);
}

.ribbon--purple {
    right: -22px;
    bottom: 178px;
    width: 180px;
    background: rgba(123, 97, 255, 0.6);
    transform: rotate(19deg);
}

.ribbon--blue {
    left: 28px;
    bottom: 122px;
    width: 170px;
    background: rgba(39, 136, 255, 0.62);
    transform: rotate(10deg);
}

.ribbon--teal {
    right: 4px;
    bottom: 66px;
    width: 210px;
    background: rgba(78, 200, 189, 0.7);
    transform: rotate(-8deg);
}

.ribbon-field--ordered {
    z-index: 5;
    inset: auto 12px 78px auto;
    width: 146px;
    height: 112px;
    padding: 18px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.56);
    box-shadow: var(--shadow-soft), var(--blur-border);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.ordered-strip {
    display: block;
    height: 16px;
    margin-bottom: 12px;
    border-radius: 999px;
}

.ordered-strip--teal {
    width: 92px;
    background: rgba(78, 200, 189, 0.76);
}

.ordered-strip--pink {
    width: 64px;
    background: rgba(255, 90, 149, 0.56);
}

.ordered-strip--yellow {
    width: 106px;
    background: rgba(255, 215, 89, 0.7);
}

.section {
    padding: clamp(52px, 9vw, 88px) 0;
}

.section__intro {
    max-width: 780px;
    margin-bottom: 26px;
}

.section__intro--center {
    margin-inline: auto;
    text-align: center;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 8vw, 4.1rem);
    line-height: 1;
    letter-spacing: 0;
    font-weight: 760;
    text-wrap: balance;
}

.section__intro p,
.product-copy p {
    color: var(--ink-soft);
    font-size: clamp(1rem, 3.6vw, 1.16rem);
    line-height: 1.62;
}

.card-grid,
.use-case-grid {
    display: grid;
    gap: 14px;
}

.feature-card,
.use-case-card,
.desktop-glass,
.final-cta {
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: var(--surface);
    box-shadow: var(--shadow-soft), var(--blur-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.feature-card {
    min-height: 184px;
    padding: 22px;
    border-radius: var(--radius-lg);
}

.feature-card__mark {
    display: block;
    width: 58px;
    height: 16px;
    margin-bottom: 28px;
    border-radius: 999px;
}

.feature-card__mark--pink {
    background: linear-gradient(90deg, var(--pink), rgba(255, 90, 149, 0.28));
}

.feature-card__mark--teal {
    background: linear-gradient(90deg, var(--teal), rgba(78, 200, 189, 0.28));
}

.feature-card__mark--yellow {
    background: linear-gradient(90deg, var(--yellow), rgba(255, 215, 89, 0.28));
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.1;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--ink-soft);
    line-height: 1.48;
}

.product-section {
    display: grid;
    gap: 28px;
    align-items: center;
}

.product-visual {
    position: relative;
}

.product-visual::before {
    content: "";
    position: absolute;
    inset: -18px 22px auto auto;
    width: 42%;
    height: 34%;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(255, 138, 53, 0.38), rgba(123, 97, 255, 0.26));
    filter: blur(20px);
}

.desktop-glass {
    position: relative;
    overflow: hidden;
    padding: 8px;
    border-radius: var(--radius-xl);
}

.desktop-glass picture {
    display: block;
    aspect-ratio: 2602 / 1978;
}

.desktop-glass img,
.screenshot-placeholder--wide {
    width: 100%;
    height: auto;
    aspect-ratio: 2602 / 1978;
    border-radius: 28px;
    object-fit: contain;
}

.feature-list {
    display: grid;
    gap: 11px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding: 14px 16px 14px 44px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--ink-soft);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--bullet-color, var(--yellow));
    transform: translateY(-50%);
}

.feature-list li:nth-child(1) {
    --bullet-color: #ffc619;
}

.feature-list li:nth-child(2) {
    --bullet-color: #ff8627;
}

.feature-list li:nth-child(3) {
    --bullet-color: #18c6ae;
}

.feature-list li:nth-child(4) {
    --bullet-color: #1cb7d8;
}

.feature-list li:nth-child(5) {
    --bullet-color: #1f85f2;
}

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

.use-case-card {
    min-height: 104px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    border-radius: var(--radius-md);
    color: var(--ink);
    font-weight: 720;
    line-height: 1.18;
}

.use-case-card:nth-child(1) {
    background: linear-gradient(145deg, rgba(255, 215, 89, 0.32), rgba(255, 255, 255, 0.78));
}

.use-case-card:nth-child(2) {
    background: linear-gradient(145deg, rgba(255, 138, 53, 0.24), rgba(255, 255, 255, 0.78));
}

.use-case-card:nth-child(3) {
    background: linear-gradient(145deg, rgba(255, 90, 149, 0.22), rgba(255, 255, 255, 0.78));
}

.use-case-card:nth-child(4) {
    background: linear-gradient(145deg, rgba(39, 136, 255, 0.2), rgba(255, 255, 255, 0.78));
}

.use-case-card:nth-child(5) {
    background: linear-gradient(145deg, rgba(123, 97, 255, 0.2), rgba(255, 255, 255, 0.78));
}

.use-case-card:nth-child(6) {
    background: linear-gradient(145deg, rgba(78, 200, 189, 0.24), rgba(255, 255, 255, 0.78));
}

.story-break {
    position: relative;
    display: grid;
    gap: 22px;
    align-items: center;
    margin: clamp(12px, 4vw, 28px) 0;
    padding: clamp(22px, 6vw, 44px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5)),
        radial-gradient(circle at 22% 18%, rgba(255, 215, 89, 0.24), transparent 34%),
        radial-gradient(circle at 82% 76%, rgba(78, 200, 189, 0.18), transparent 36%);
    box-shadow: var(--shadow-soft), var(--blur-border);
    overflow: hidden;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.story-break__copy {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.story-break__copy h2 {
    margin-bottom: 12px;
}

.story-break__copy p:last-child {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: clamp(1rem, 3.4vw, 1.12rem);
    line-height: 1.56;
}

.story-break__asset {
    position: relative;
    z-index: 1;
    justify-self: center;
    width: min(82vw, 390px);
    height: auto;
    filter: drop-shadow(0 24px 34px rgba(86, 62, 42, 0.13));
}

.story-break__asset--ribbon {
    transform: rotate(-5deg);
}

.story-break__asset--dude {
    width: min(78vw, 350px);
    transform: rotate(3deg);
}

.final-cta {
    position: relative;
    overflow: hidden;
    margin: clamp(26px, 6vw, 62px) 0 20px;
    padding: clamp(34px, 8vw, 66px) 24px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.final-cta::before,
.final-cta::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 52px;
    border-radius: 999px;
    opacity: 0.5;
}

.final-cta::before {
    top: 26px;
    left: -68px;
    background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink));
    transform: rotate(14deg);
}

.final-cta::after {
    right: -78px;
    bottom: 40px;
    background: linear-gradient(90deg, var(--teal), var(--blue), var(--purple));
    transform: rotate(-13deg);
}

.final-cta__content {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 16px;
}

.final-cta__icon {
    width: 74px;
    height: 74px;
    padding: 11px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(77, 69, 56, 0.16);
    object-fit: contain;
}

.final-cta h2 {
    max-width: 640px;
    margin-bottom: 4px;
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    padding: 24px;
    background: linear-gradient(180deg, #ffffff, #fbfbff);
}

.placeholder-calendar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    height: 100%;
}

.placeholder-calendar span {
    border-radius: 12px;
    background:
        linear-gradient(90deg, transparent 0 28%, rgba(78, 200, 189, 0.34) 28% 58%, transparent 58%),
        linear-gradient(180deg, rgba(31, 36, 48, 0.08), rgba(31, 36, 48, 0.03));
}

@media (min-width: 720px) {
    .page-shell {
        width: min(1120px, calc(100vw - 56px));
        padding-top: 28px;
    }

    .hero__grid {
        grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
        gap: 50px;
    }

    .hero__copy {
        text-align: left;
        margin: 0;
    }

    .hero__actions {
        justify-items: start;
    }

    .hero__visual {
        min-height: 620px;
        margin-top: 0;
    }

    .card-grid--three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-section {
        grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
        gap: 44px;
    }

    .use-case-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .story-break {
        grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.8fr);
        gap: 30px;
    }

    .story-break--dude {
        grid-template-columns: minmax(240px, 0.72fr) minmax(0, 0.9fr);
    }
}

@media (min-width: 1040px) {
    .hero__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .hero__visual {
        width: 100%;
    }

    .phone-mockup {
        width: 360px;
    }
}

@media (max-width: 420px) {
    .page-shell {
        width: min(100% - 24px, 1120px);
    }

    .hero__visual {
        min-height: 470px;
    }

    .phone-mockup {
        width: min(84vw, 300px);
    }

    .glass-panel--small {
        left: -8px;
        bottom: 52px;
        width: 104px;
        height: 102px;
    }

    .ribbon-field--ordered {
        right: -2px;
        bottom: 66px;
        width: 128px;
    }

    .use-case-grid {
        grid-template-columns: 1fr;
    }
}

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