:root {
    --ink: oklch(0.16 0.018 326);
    --ink-soft: oklch(0.36 0.02 326);
    --paper: oklch(0.985 0.004 326);
    --paper-dim: oklch(0.955 0.009 326);
    --coral: oklch(0.76 0.16 35);
    --coral-bright: oklch(0.82 0.14 38);
    --coral-deep: oklch(0.48 0.14 27);
    --night: oklch(0.14 0.024 326);
    --night-soft: oklch(0.21 0.03 326);
    --line: oklch(0.26 0.02 326 / .17);
    --white: oklch(1 0 0);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --shell: calc(100% - clamp(48px, 6vw, 128px));
    --header-height: 82px;
    --z-header: 20;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, video { max-width: 100%; }
img { height: auto; }
button, a { color: inherit; font: inherit; }
a { text-underline-offset: .2em; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { color: var(--ink); background: var(--coral-bright); }
:focus-visible { outline: 3px solid oklch(0.75 0.16 245); outline-offset: 4px; }
section[id] { scroll-margin-top: 80px; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 10px;
    padding: 11px 15px;
    border-radius: 8px;
    color: var(--white);
    background: var(--ink);
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: absolute;
    z-index: var(--z-header);
    inset: 0 0 auto;
    height: var(--header-height);
    color: var(--ink);
    transition: background 250ms ease, color 250ms ease, box-shadow 250ms ease, transform 400ms var(--ease);
}
.site-header[data-scrolled] {
    position: fixed;
    height: 66px;
    color: var(--ink);
    background: oklch(0.985 0.004 326 / .92);
    box-shadow: 0 1px 0 var(--line);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    animation: header-in 350ms var(--ease) both;
}
@keyframes header-in { from { transform: translateY(-100%); } }
.nav-inner { height: 100%; display: flex; align-items: center; gap: clamp(22px, 4vw, 52px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 740; letter-spacing: -.025em; text-decoration: none; }
.brand img { border-radius: 9px; box-shadow: 0 2px 8px oklch(0 0 0 / .18); }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { position: relative; font-size: .9rem; font-weight: 620; text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; inset: auto 0 -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 220ms var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-download, .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 730; letter-spacing: -.015em; text-decoration: none; transition: transform 220ms var(--ease), background 180ms ease, color 180ms ease; }
.nav-download { min-height: 42px; margin-left: 12px; color: var(--white); background: var(--ink); font-size: .88rem; }
.site-header[data-scrolled] .nav-download { color: var(--white); background: var(--ink); }
.nav-download:hover, .button:hover { transform: translateY(-2px); }
.download-icon { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero { position: relative; min-height: 100svh; overflow: hidden; color: var(--ink); background: var(--coral); }
.hero-layout { min-height: 100svh; display: grid; grid-template-columns: .64fr 1.36fr; gap: clamp(42px, 5vw, 100px); align-items: center; padding-top: calc(var(--header-height) + 38px); padding-bottom: 38px; }
.hero-content { min-width: 0; }
.hero h1 { max-width: 9ch; font-size: clamp(3.35rem, 5.2vw, 5.6rem); line-height: .93; letter-spacing: -.04em; font-weight: 720; opacity: 0; animation: hero-up 800ms 260ms var(--ease) forwards; }
.hero-content > p:not(.hero-note) { max-width: 43ch; margin-top: 24px; font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.55; color: oklch(0.29 0.055 25); opacity: 0; animation: hero-up 750ms 360ms var(--ease) forwards; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; opacity: 0; animation: hero-up 750ms 440ms var(--ease) forwards; }
.button-light { color: var(--white); background: var(--ink); }
.hero-link { display: inline-flex; gap: 9px; align-items: center; min-height: 48px; color: oklch(0.25 0.05 25); font-weight: 700; text-decoration: none; }
.hero-link span { transition: transform 220ms var(--ease); }
.hero-link:hover span { transform: translateY(3px); }
.hero-note { margin-top: 17px; color: oklch(0.32 0.045 25); font-size: .84rem; font-weight: 650; opacity: 0; animation: hero-up 750ms 520ms var(--ease) forwards; }
.hero-media { overflow: hidden; border-radius: 12px; box-shadow: 0 14px 28px oklch(0.34 0.1 25 / .24); opacity: 0; animation: hero-media-in 1s 220ms var(--ease) forwards; }
.hero-media img { display: block; width: 100%; height: auto; }
@keyframes hero-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hero-media-in { from { opacity: 0; transform: translateX(24px) scale(.985); filter: saturate(.82); } to { opacity: 1; transform: none; filter: saturate(1); } }

.section-dark { color: var(--white); background: var(--night); }
.showcase { padding: clamp(80px, 9vw, 132px) 0; overflow: hidden; }
.showcase-stage { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 7vw, 100px); align-items: center; }
.showcase-intro { display: block; }
.showcase h2, .features h2, .wallpapers h2, .trust h2, .premium h2, .faq h2, .final-cta h2 { font-size: clamp(2.45rem, 4.6vw, 4.35rem); line-height: 1; letter-spacing: -.038em; font-weight: 700; }
.showcase h2 { max-width: 11ch; }
.showcase-intro > p { max-width: 34ch; margin-top: 26px; color: oklch(1 0 0 / .66); font-size: 1.08rem; line-height: 1.62; }
.showcase-media { position: relative; width: 100%; margin: 0; }
.showcase-media video { display: block; width: 100%; height: auto; aspect-ratio: 1376 / 864; object-fit: contain; border-radius: 6px; background: var(--night-soft); box-shadow: 0 36px 80px oklch(0 0 0 / .44); }
.showcase-media figcaption { margin-top: 13px; color: oklch(1 0 0 / .44); font-size: .8rem; text-align: right; }
.media-toggle { position: absolute; right: 16px; bottom: 36px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--white); background: oklch(0.12 0.02 326 / .68); backdrop-filter: blur(12px); cursor: pointer; }
.media-toggle svg { width: 12px; fill: currentColor; }
.media-toggle .play-icon { display: none; }
.media-toggle.is-paused .pause-icon { display: none; }
.media-toggle.is-paused .play-icon { display: block; }
.features { padding: clamp(100px, 12vw, 180px) 0; background: var(--paper); }
.features-intro { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(44px, 9vw, 150px); align-items: end; }
.features-intro h2 { max-width: 12ch; }
.features-intro p { max-width: 45ch; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; }
.widget-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 84px); margin-top: clamp(64px, 7vw, 104px); padding: 0; list-style: none; border-top: 1px solid var(--line); }
.widget-list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: center; min-width: 0; padding: 30px 0; border-bottom: 1px solid var(--line); }
.widget-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; color: var(--coral-deep); background: oklch(0.92 0.055 35); transition: transform 240ms var(--ease), background 240ms ease; }
.widget-list li:hover .widget-icon { transform: translateY(-3px) rotate(-2deg); background: oklch(0.88 0.085 35); }
.widget-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.widget-list h3 { font-size: 1.22rem; letter-spacing: -.025em; }
.widget-list p { margin-top: 6px; color: var(--ink-soft); font-size: .91rem; line-height: 1.45; }

.wallpapers { padding: clamp(96px, 11vw, 164px) 0; overflow: hidden; }
.wallpapers-intro { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(44px, 9vw, 150px); align-items: end; }
.wallpapers h2 { max-width: 11ch; }
.wallpapers-intro p { max-width: 42ch; color: oklch(1 0 0 / .66); font-size: 1.05rem; line-height: 1.65; }
.wallpaper-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 34px); margin-top: clamp(54px, 6vw, 86px); }
.wallpaper-shot { overflow: hidden; border-radius: 8px; background: var(--night-soft); box-shadow: 0 24px 60px oklch(0 0 0 / .3); }
.wallpaper-shot img { display: block; width: 100%; height: auto; transition: transform 700ms var(--ease), filter 500ms ease; }
.wallpaper-shot:hover img { transform: scale(1.015); filter: saturate(1.06); }

.trust { padding: clamp(96px, 11vw, 160px) 0; background: var(--paper-dim); }
.trust-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 150px); }
.trust h2 { max-width: 11ch; }
.trust-list { border-top: 1px solid var(--line); }
.trust-list article { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.trust-list h3 { font-size: 1.28rem; letter-spacing: -.025em; }
.trust-list p { max-width: 50ch; margin-top: 9px; color: var(--ink-soft); line-height: 1.58; }
.trust-list a { font-weight: 680; }
.press-link { width: fit-content; display: flex; align-items: center; gap: 10px; margin-top: 44px; color: var(--ink-soft); font-size: .85rem; font-weight: 650; text-decoration: none; }
.press-link img { width: 126px; padding: 6px 8px; border-radius: 4px; background: #001b28; transition: transform 220ms var(--ease); }
.press-link:hover img { transform: translateY(-2px); }

.premium { padding: clamp(100px, 12vw, 178px) 0; color: var(--white); background: var(--night); }
.premium-layout { display: block; }
.premium-copy { width: 100%; margin: 0; }
.premium h2 { max-width: 13ch; }
.premium-copy > p { max-width: 47ch; margin-top: 24px; color: oklch(1 0 0 / .66); font-size: 1.05rem; line-height: 1.62; }
.premium-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px clamp(42px, 7vw, 120px); margin: 35px 0 0; padding: 28px 0 0; border-top: 1px solid oklch(1 0 0 / .15); list-style: none; color: oklch(1 0 0 / .76); line-height: 1.45; }
.premium-features li { display: grid; grid-template-columns: 18px 1fr; gap: 9px; }
.premium-features li::before { content: "✓"; color: var(--coral-bright); font-weight: 800; }
.price-row { display: flex; align-items: flex-end; justify-content: flex-start; gap: clamp(34px, 6vw, 100px); margin-top: 44px; }
.price-row div { display: grid; gap: 7px; }
.price-row strong { font-size: clamp(2.35rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.04em; }
.price-row span { color: oklch(1 0 0 / .52); font-size: .82rem; }
.button-coral { color: var(--ink); background: var(--coral); white-space: nowrap; }
.button-coral span { color: inherit; font-size: inherit; }

.faq { padding: clamp(100px, 11vw, 165px) 0; background: var(--paper-dim); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 9vw, 140px); }
.faq-heading { position: sticky; top: 110px; align-self: start; }
.faq h2 { max-width: 8ch; }
.faq-heading > p:last-child { margin-top: 27px; color: var(--ink-soft); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 26px 42px 26px 0; font-size: 1.13rem; font-weight: 700; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 24px; font-size: 1.35rem; font-weight: 400; transition: transform 220ms var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 60ch; padding: 0 42px 28px 0; color: var(--ink-soft); line-height: 1.65; }

.final-cta { padding: clamp(78px, 9vw, 126px) 0; background: var(--coral-bright); }
.final-inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(26px, 4vw, 58px); align-items: center; }
.final-cta h2 { max-width: 15ch; font-size: clamp(2.35rem, 4.6vw, 4.25rem); }
.final-cta p { margin-top: 13px; color: oklch(0.31 0.055 25); font-weight: 560; }
.button-dark { color: var(--white); background: var(--ink); white-space: nowrap; }

footer { color: var(--white); background: var(--night); }
.footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 710; }
.footer-brand img { border-radius: 7px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; color: oklch(1 0 0 / .56); font-size: .84rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.trademark-note { padding: 0 0 28px; color: oklch(1 0 0 / .38); font-size: .72rem; line-height: 1.5; }

@media (max-width: 980px) {
    .hero-layout, .showcase-stage, .trust-layout, .faq-layout { grid-template-columns: 1fr; }
    .hero-layout { padding-top: calc(var(--header-height) + 70px); padding-bottom: 76px; }
    .hero-media { width: 82%; margin-left: auto; }
    .showcase-stage { gap: 46px; }
    .showcase h2 { max-width: 11ch; }
    .showcase-intro > p { margin-left: 22%; }
    .trust h2 { max-width: 13ch; }
    .trust-list { margin-left: 22%; }
    .faq-heading { position: static; }
    .faq h2 { max-width: none; }
    .faq-list { margin-left: 18%; }
    .features-intro, .wallpapers-intro { grid-template-columns: 1fr; gap: 26px; }
    .widget-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .final-inner { grid-template-columns: auto 1fr; }
    .final-inner .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 720px) {
    :root { --shell: min(100% - 36px, 620px); --header-height: 68px; }
    .nav-links { display: none; }
    .nav-download { width: 42px; min-height: 42px; padding: 0; margin-left: auto; }
    .nav-download span { display: none; }
    .brand img { width: 32px; height: 32px; }
    .hero { min-height: auto; }
    .hero-layout { min-height: auto; padding-top: calc(var(--header-height) + 48px); padding-bottom: 54px; }
    .hero h1 { font-size: clamp(3rem, 14vw, 4rem); }
    .hero-content > p:not(.hero-note) { margin-top: 18px; font-size: 1rem; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 6px; margin-top: 24px; }
    .hero-note { max-width: 34ch; line-height: 1.5; }
    .hero-media { width: 100%; margin: 30px 0 0; }

    .showcase-stage { grid-template-columns: 1fr; gap: 22px; }
    .showcase-intro > p { margin-left: 0; }
    .showcase h2, .features h2, .wallpapers h2, .trust h2, .premium h2, .faq h2 { font-size: clamp(2.55rem, 12vw, 3.7rem); }
    .showcase-media { width: 100%; }
    .showcase-media video { height: auto; aspect-ratio: 1376 / 864; object-fit: contain; }
    .features-intro, .wallpapers-intro { grid-template-columns: 1fr; gap: 24px; }
    .widget-list { grid-template-columns: 1fr; margin-top: 52px; }
    .widget-list li { padding: 24px 0; }
    .wallpaper-grid { grid-template-columns: 1fr; }

    .trust-list, .showcase-intro > p, .faq-list { margin-left: 0; }
    .press-link { margin-top: 34px; }
    .premium-features { grid-template-columns: 1fr; }
    .price-row { align-items: flex-start; flex-direction: column; }

    .final-inner { grid-template-columns: 1fr; }
    .final-inner .button { grid-column: auto; }
    .footer-inner { align-items: flex-start; flex-direction: column; padding: 28px 0; }
    .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hero h1, .hero-content > p:not(.hero-note), .hero-actions, .hero-note { opacity: 1; transform: none; }
}
