:root {
    --bg: #f4ede7;
    --bg-deep: #e9dfd6;
    --paper: rgba(255, 252, 248, 0.72);
    --ink: #213041;
    --muted: #566677;
    --line: rgba(33, 48, 65, 0.11);
    --accent-sun: #f2c84f;
    --accent-sky: #91a7ff;
    --accent-uv: #74be4f;
    --shadow-soft: 0 30px 90px rgba(51, 63, 76, 0.12);
    --shadow-crisp: 0 18px 45px rgba(43, 54, 69, 0.16);
    --radius-xl: 36px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --content-width: min(1160px, calc(100vw - 48px));
    --reveal-y: 34px;
    --reveal-scale: 0.985;
    --parallax-y: 0px;
    --transition-soft: 700ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(145, 167, 255, 0.34), transparent 28%),
        radial-gradient(circle at 18% 12%, rgba(242, 200, 79, 0.2), transparent 18%),
        linear-gradient(180deg, #fbf5ef 0%, var(--bg) 36%, #efe4db 100%);
}

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

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

button,
a,
img {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(116, 190, 79, 0.75);
    outline-offset: 4px;
}

.site-header,
.section-shell,
.site-footer {
    width: var(--content-width);
    margin: 0 auto;
}

.site-header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(72, 89, 119, 0.22);
}

.site-nav {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(33, 48, 65, 0.78);
}

.site-nav a {
    position: relative;
}

.site-nav a::after,
.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
    transform: scaleX(1);
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
    width: var(--content-width);
    margin: 0 auto;
    padding: 110px 0 72px;
    overflow: clip;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.eyebrow,
.section-kicker,
.widget-size {
    margin: 0 0 16px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(33, 48, 65, 0.58);
}

.hero h1,
.section-heading h2,
.final-cta h2 {
    margin: 0;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.96;
}

.hero h1 {
    font-size: clamp(3.3rem, 7vw, 6.6rem);
    max-width: 10ch;
}

.hero-body,
.section-heading p,
.widget-copy p,
.feature-item p,
.final-cta p,
.site-footer p {
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.7;
}

.hero-body {
    margin: 24px 0 0;
    max-width: 34rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-weight: 800;
    letter-spacing: -0.02em;
    transition:
        transform 200ms ease,
        background-color 200ms ease,
        border-color 200ms ease,
        color 200ms ease,
        box-shadow 200ms ease;
}

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

.button-primary {
    background: linear-gradient(135deg, #24384c 0%, #162331 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 18px 34px rgba(25, 37, 52, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
    box-shadow: 0 22px 42px rgba(25, 37, 52, 0.24);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.hero-points li {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(33, 48, 65, 0.08);
    color: rgba(33, 48, 65, 0.8);
    font-size: 0.92rem;
    font-weight: 700;
    backdrop-filter: blur(14px);
}

.hero-media {
    position: relative;
    min-height: clamp(540px, 68vw, 820px);
}

.ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
}

.ambient-sun {
    top: 12%;
    right: 12%;
    width: clamp(120px, 18vw, 200px);
    aspect-ratio: 1;
    background:
        radial-gradient(circle at center, rgba(255, 240, 204, 0.94) 0%, rgba(242, 200, 79, 0.95) 48%, rgba(242, 200, 79, 0.15) 100%);
    box-shadow: 0 0 120px rgba(242, 200, 79, 0.26);
}

.ambient-sky {
    inset: auto auto 14% 6%;
    width: clamp(240px, 34vw, 420px);
    height: clamp(240px, 34vw, 420px);
    background:
        radial-gradient(circle at 30% 30%, rgba(146, 167, 255, 0.58) 0%, rgba(146, 167, 255, 0.12) 60%, transparent 72%);
}

.hero-phone,
.hero-widget,
.feature-frame {
    position: absolute;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.hero-phone {
    left: 26%;
    bottom: 0;
    width: min(100%, 292px);
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: 0 30px 72px rgba(35, 46, 60, 0.2);
}

.hero-phone img,
.feature-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 576 / 1280;
    object-fit: contain;
    border-radius: 34px;
}

.hero-widget {
    padding: 12px;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-crisp);
}

.hero-widget-accent {
    left: 6%;
    bottom: 14%;
    width: min(78%, 360px);
}

.section-shell {
    position: relative;
    padding: clamp(80px, 10vw, 120px) 0;
}

.section-heading {
    max-width: 640px;
}

.section-heading h2,
.final-cta h2 {
    font-size: clamp(2.5rem, 4.8vw, 4.8rem);
    max-width: 11ch;
}

.section-heading p,
.final-cta p {
    margin: 18px 0 0;
    max-width: 36rem;
}

.widget-lines {
    margin-top: 42px;
    border-top: 1px solid rgba(33, 48, 65, 0.1);
}

.widget-line {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(240px, 0.9fr);
    gap: clamp(18px, 4vw, 48px);
    align-items: center;
    padding: clamp(28px, 4vw, 42px) 0;
    border-bottom: 1px solid rgba(33, 48, 65, 0.1);
}

.widget-copy h3,
.feature-item h3 {
    margin: 0;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.widget-copy p:last-child,
.feature-item p {
    margin: 14px 0 0;
}

.widget-figure {
    justify-self: end;
    width: min(100%, 520px);
    padding: clamp(20px, 3vw, 28px);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.36) 100%);
    border: 1px solid rgba(33, 48, 65, 0.08);
    box-shadow: var(--shadow-soft);
}

.widget-figure-small {
    max-width: 360px;
}

.widget-figure-medium {
    max-width: 500px;
}

.widget-figure-large {
    max-width: 520px;
}

.feature-depth {
    display: grid;
    grid-template-columns: minmax(290px, 0.82fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 84px);
    align-items: center;
}

.feature-media {
    position: relative;
}

.feature-media::before {
    content: "";
    position: absolute;
    inset: 10% -8% -6% 10%;
    border-radius: 42px;
    background: linear-gradient(180deg, rgba(145, 167, 255, 0.16), rgba(255, 255, 255, 0));
    z-index: -1;
}

.feature-frame {
    position: relative;
    width: min(100%, 320px);
    padding: 0;
    margin: 0 auto;
    background: transparent;
    backdrop-filter: none;
    box-shadow: 0 28px 68px rgba(35, 46, 60, 0.18);
}

.feature-list {
    margin-top: 36px;
}

.feature-item {
    padding: 22px 0;
    border-top: 1px solid rgba(33, 48, 65, 0.1);
}

.feature-item:last-child {
    border-bottom: 1px solid rgba(33, 48, 65, 0.1);
}

.final-cta {
    text-align: center;
    padding: clamp(52px, 7vw, 88px);
    border-radius: clamp(28px, 4vw, 42px);
    background:
        radial-gradient(circle at top, rgba(242, 200, 79, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.34));
    border: 1px solid rgba(33, 48, 65, 0.08);
    box-shadow: var(--shadow-soft);
}

.final-cta h2,
.final-cta p {
    margin-left: auto;
    margin-right: auto;
}

.final-cta .hero-actions {
    justify-content: center;
}

.site-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 0 0 36px;
}

.site-footer-copy {
    display: grid;
    gap: 6px;
}

.site-footer p {
    margin: 0;
    font-size: 0.94rem;
}

.footer-note {
    opacity: 0.74;
    font-size: 0.88rem;
}

.footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 22px;
    color: rgba(33, 48, 65, 0.74);
    font-weight: 700;
}

.footer-links a {
    position: relative;
}

.js.motion-ready [data-reveal] {
    opacity: 0;
    transform: translate3d(0, calc(var(--reveal-y) + var(--parallax-y)), 0) scale(var(--reveal-scale));
    transition:
        opacity var(--transition-soft),
        transform var(--transition-soft);
    will-change: opacity, transform;
}

.js.motion-ready [data-reveal].is-visible {
    opacity: 1;
    --reveal-y: 0px;
    --reveal-scale: 1;
}

[data-parallax] {
    transform: translate3d(0, var(--parallax-y), 0);
    transition: transform 160ms linear;
    will-change: transform;
}

.js.motion-ready [data-parallax][data-reveal] {
    transform: translate3d(0, calc(var(--reveal-y) + var(--parallax-y)), 0) scale(var(--reveal-scale));
}

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 112px;
        min-height: auto;
    }

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

    .hero-media {
        min-height: 650px;
        width: min(100%, 560px);
        margin: 0 auto;
    }

    .hero-phone {
        left: 24%;
        width: min(100%, 280px);
    }

    .hero-widget-accent {
        left: 4%;
        bottom: 16%;
        width: min(68%, 330px);
    }

    .feature-depth {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-media {
        order: 2;
    }

    .feature-copy {
        order: 1;
    }
}

@media (max-width: 760px) {
    :root {
        --content-width: min(100vw - 32px, 720px);
    }

    .site-header {
        padding-top: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .site-nav {
        gap: 12px 16px;
        flex-wrap: wrap;
        font-size: 0.84rem;
        justify-content: flex-start;
        max-width: none;
    }

    .hero {
        padding-top: 138px;
        padding-bottom: 56px;
    }

    .hero h1 {
        max-width: 8.8ch;
        font-size: clamp(3rem, 13vw, 4.4rem);
    }

    .hero-media {
        min-height: 390px;
        margin-top: 18px;
        overflow: clip;
    }

    .hero-phone {
        left: 50%;
        transform: translateX(-18%);
        width: min(40vw, 156px);
        padding: 0;
    }

    .hero-widget,
    .feature-frame,
    .widget-figure,
    .final-cta {
        border-radius: 24px;
    }

    .hero-widget {
        padding: 10px;
    }

    .hero-widget-accent {
        left: 6%;
        bottom: 16%;
        width: min(66vw, 246px);
    }

    .widget-line {
        grid-template-columns: minmax(0, 1fr);
    }

    .widget-figure {
        justify-self: start;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-reveal],
    [data-parallax],
    [data-parallax][data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}
