:root {
    color-scheme: light;
    --paper: #f2f3ed;
    --paper-strong: #fbfbf7;
    --paper-muted: #e8ebe3;
    --ink: #10231a;
    --ink-soft: #3f5148;
    --ink-muted: #68776f;
    --pine: #126942;
    --pine-deep: #083b27;
    --pine-black: #05271a;
    --mint: #a9f4c6;
    --mint-soft: #dff8e8;
    --sun: #f2c969;
    --line: rgba(16, 35, 26, 0.13);
    --line-strong: rgba(16, 35, 26, 0.23);
    --glass: rgba(251, 251, 247, 0.78);
    --shadow-soft: 0 24px 70px rgba(15, 35, 25, 0.09);
    --shadow-window: 0 34px 100px rgba(8, 40, 26, 0.2);
    --radius-xl: 38px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --max-width: 1240px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
    background: var(--paper);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    line-height: 1.5;
    background:
        radial-gradient(circle at 5% 2%, rgba(169, 244, 198, 0.62), transparent 24rem),
        radial-gradient(circle at 96% 15%, rgba(242, 201, 105, 0.3), transparent 28rem),
        linear-gradient(180deg, #f8f8f3 0%, var(--paper) 36%, #eef1ea 100%);
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(16, 35, 26, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 35, 26, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

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

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

.page {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
    padding: 22px 0 54px;
}

.site-header {
    position: sticky;
    top: 16px;
    z-index: 30;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 18px;
    padding: 10px 12px 10px 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 20px;
    color: var(--ink);
    background: rgba(247, 249, 244, 0.64);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 -1px 0 rgba(8, 59, 39, 0.05) inset,
        0 16px 42px rgba(16, 35, 26, 0.1);
    backdrop-filter: blur(30px) saturate(1.38);
    animation: reveal 0.65s ease both;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at var(--glass-x, 32%) -40%, rgba(255, 255, 255, 0.96), transparent 42%),
        linear-gradient(110deg, rgba(255, 255, 255, 0.42), transparent 28% 72%, rgba(169, 244, 198, 0.12));
}

.site-header > * {
    position: relative;
    z-index: 1;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 760;
    letter-spacing: -0.03em;
}

.brand-logo {
    width: 34px;
    height: 34px;
    filter: drop-shadow(0 7px 12px rgba(18, 105, 66, 0.18));
}

.nav {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 2.2vw, 28px);
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 580;
}

.nav a,
.header-cta,
.btn,
.lang-toggle {
    transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav a:hover {
    color: var(--pine);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 12px;
    color: #f8fff9;
    background: rgba(5, 39, 26, 0.92);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 10px 24px rgba(8, 59, 39, 0.2);
    backdrop-filter: blur(18px) saturate(1.25);
    font-size: 13px;
    font-weight: 700;
}

.header-cta:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--pine);
}

.lang-toggle {
    min-height: 38px;
    padding: 0 32px 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink-soft);
    background-color: rgba(255, 255, 255, 0.46);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.82) inset,
        0 8px 20px rgba(16, 35, 26, 0.05);
    backdrop-filter: blur(18px) saturate(1.25);
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding: 116px 0 110px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(1080px, 100%);
    margin: 0 auto;
    text-align: center;
}

.hero-copy > * {
    opacity: 1;
    animation: reveal 0.75s ease both;
}

.hero-copy > *:nth-child(2) { animation-delay: 60ms; }
.hero-copy > *:nth-child(3) { animation-delay: 120ms; }
.hero-copy > *:nth-child(4) { animation-delay: 180ms; }
.hero-copy > *:nth-child(5) { animation-delay: 240ms; }
.hero-copy > *:nth-child(6) { animation-delay: 300ms; }
.hero-copy > *:nth-child(7) { animation-delay: 360ms; }

.hero-identity {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--pine-deep);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-logo {
    width: 70px;
    height: 70px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--pine);
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.eyebrow {
    gap: 9px;
    margin-top: 28px;
    padding: 9px 12px;
    border: 1px solid rgba(18, 105, 66, 0.16);
    border-radius: 999px;
    background: rgba(223, 248, 232, 0.7);
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pine);
    box-shadow: 0 0 0 5px rgba(18, 105, 66, 0.1);
}

.hero h1 {
    max-width: 14ch;
    margin-top: 24px;
    white-space: pre-line;
    font-size: clamp(64px, 7vw, 108px);
    font-weight: 770;
    line-height: 0.92;
    letter-spacing: -0.075em;
    text-wrap: balance;
}

.hero p.hero-tagline {
    max-width: 600px;
    margin: 28px auto 0;
    color: var(--ink-soft);
    font-size: clamp(18px, 1.75vw, 21px);
    line-height: 1.55;
    white-space: normal;
}

.hero-proof,
.manifesto-pills,
.install-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-proof {
    justify-content: center;
    margin-top: 28px;
}

.hero-proof span,
.mini-chip,
.install-badges span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 650;
}

.hero-proof span::before,
.install-badges span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pine);
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 740;
}

.btn-primary {
    color: #f6fff8;
    background: rgba(5, 39, 26, 0.94);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 12px 28px rgba(8, 59, 39, 0.2);
    backdrop-filter: blur(18px) saturate(1.2);
}

.btn-secondary {
    border-color: var(--line-strong);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.48);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.88) inset,
        0 10px 24px rgba(16, 35, 26, 0.06);
    backdrop-filter: blur(20px) saturate(1.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--pine);
    background: #fff;
}

.install-strip {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    margin-top: 18px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink-muted);
    background: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

.install-strip code {
    overflow: hidden;
    color: var(--pine-deep);
    font-family: "SFMono-Regular", Menlo, monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.install-strip-label {
    font-weight: 760;
    white-space: nowrap;
}

.hero-visual {
    position: relative;
    width: min(1120px, 100%);
    min-height: 700px;
    margin: 70px auto 0;
    isolation: isolate;
    animation: reveal 0.9s 160ms ease both;
}

.visual-frame {
    position: absolute;
    inset: 14% 2% 4%;
    z-index: -2;
    border-radius: 50%;
    opacity: 0.72;
    background: radial-gradient(ellipse, rgba(169, 244, 198, 0.78), rgba(242, 201, 105, 0.22) 42%, transparent 70%);
    filter: blur(22px) saturate(0.76);
    transform: translate3d(0, var(--frame-shift, 0), 0);
    will-change: transform;
}

.visual-frame::after {
    content: none;
}

.product-window {
    position: absolute;
    inset: 5% 0 4%;
    overflow: hidden;
    border: 1px solid rgba(8, 59, 39, 0.16);
    border-radius: 24px;
    background: #1b1b1b;
    box-shadow:
        0 52px 130px rgba(8, 40, 26, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    transform: translate3d(0, var(--product-shift, 0), 0);
    will-change: transform;
}

.product-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.shot-window {
    position: absolute;
    inset: 4% 3% 4% 2%;
}

.shot-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.shot-card {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(8, 59, 39, 0.14);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-window);
}

.shot-card-main {
    inset: 7% 2% 4% 0;
    transform: translate3d(0, var(--main-shift, 0), 0) rotate(1.5deg);
    will-change: transform;
}

.shot-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
}

.shot-card-inbox {
    right: -2%;
    bottom: -3%;
    width: 48%;
    transform: translate3d(0, var(--inbox-shift, 0), 0) rotate(-2deg);
    will-change: transform;
}

.shot-card-inbox img {
    width: 100%;
}

.shot-chip {
    position: absolute;
    z-index: 4;
    padding: 9px 12px;
    border: 1px solid rgba(8, 59, 39, 0.14);
    border-radius: 12px;
    color: var(--pine-deep);
    background: rgba(252, 255, 250, 0.9);
    box-shadow: 0 12px 26px rgba(8, 59, 39, 0.12);
    backdrop-filter: blur(14px);
    font-size: 11px;
    font-weight: 720;
}

.chip-one {
    top: 1%;
    left: -2%;
    transform: translate3d(0, var(--chip-one-shift, 0), 0);
}

.chip-two {
    top: 38%;
    right: -3%;
    transform: translate3d(0, var(--chip-two-shift, 0), 0);
}

.chip-three {
    bottom: 0;
    left: 1%;
    transform: translate3d(0, var(--chip-three-shift, 0), 0);
}

.section {
    padding: 76px 0;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
    gap: 28px 64px;
    align-items: end;
    margin-bottom: 34px;
}

.section-head .section-kicker {
    grid-column: 1 / -1;
}

.section-head h2,
.release-copy h2,
.manifesto-card h2,
.story-card h2,
.install-panel h2 {
    max-width: 14ch;
    font-size: clamp(38px, 5.2vw, 68px);
    font-weight: 745;
    line-height: 1.02;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.section-head p,
.release-copy p,
.manifesto-card p,
.story-card p,
.install-panel p {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.65;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.42);
    box-shadow: var(--shadow-soft);
}

.mini-card {
    min-height: 190px;
    padding: 26px;
    border-right: 1px solid var(--line);
}

.mini-card:last-child {
    border-right: 0;
}

.mini-card > span {
    color: var(--pine);
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mini-card h3 {
    margin-top: 34px;
    font-size: 21px;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.mini-card p {
    margin-top: 10px;
    color: var(--ink-muted);
    font-size: 13px;
    line-height: 1.58;
}

.release-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: 64px;
    padding: clamp(38px, 6vw, 74px);
    border-radius: var(--radius-xl);
    color: #f4fff7;
    background:
        radial-gradient(circle at 92% 15%, rgba(169, 244, 198, 0.19), transparent 30%),
        radial-gradient(circle at 6% 110%, rgba(242, 201, 105, 0.16), transparent 38%),
        var(--pine-black);
    box-shadow: var(--shadow-window);
}

.release-card::after {
    content: "";
    position: absolute;
    top: -140px;
    right: -100px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(169, 244, 198, 0.18);
    border-radius: 45% 55% 62% 38%;
    transform: rotate(22deg);
}

.release-card .section-kicker {
    color: var(--mint);
}

.release-card .section-kicker::before {
    background: var(--mint);
    box-shadow: 0 0 0 5px rgba(169, 244, 198, 0.12);
}

.release-copy,
.release-list {
    position: relative;
    z-index: 1;
}

.release-copy h2 {
    margin-top: 18px;
}

.release-copy p {
    max-width: 590px;
    margin-top: 20px;
    color: rgba(244, 255, 247, 0.68);
}

.release-copy .btn {
    margin-top: 28px;
    border-color: rgba(169, 244, 198, 0.24);
    color: #f4fff7;
    background: rgba(169, 244, 198, 0.08);
}

.release-copy .btn:hover {
    border-color: var(--mint);
    background: rgba(169, 244, 198, 0.15);
}

.release-list {
    display: grid;
    gap: 0;
    align-content: center;
    list-style: none;
}

.release-list li {
    position: relative;
    padding: 18px 0 18px 34px;
    border-bottom: 1px solid rgba(244, 255, 247, 0.12);
    color: rgba(244, 255, 247, 0.88);
    font-size: 14px;
}

.release-list li:last-child {
    border-bottom: 0;
}

.release-list li::before {
    content: "→";
    position: absolute;
    left: 2px;
    color: var(--mint);
    font-weight: 800;
}

.scroll-motion .release-list li {
    opacity: 0.48;
    transform: translateX(0);
    transition:
        opacity 420ms ease,
        transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1),
        color 420ms ease;
}

.scroll-motion .release-list li::before {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    top: 50%;
    left: 0;
    border: 1px solid rgba(169, 244, 198, 0.2);
    border-radius: 50%;
    transform: translateY(-50%);
    transition:
        border-color 420ms ease,
        background 420ms ease,
        box-shadow 420ms ease;
}

.scroll-motion .release-list li.is-passed {
    opacity: 0.72;
}

.scroll-motion .release-list li.is-current {
    opacity: 1;
    color: #fff;
    transform: translateX(10px);
}

.scroll-motion .release-list li.is-current::before {
    border-color: var(--mint);
    background: rgba(169, 244, 198, 0.16);
    box-shadow: 0 0 0 7px rgba(169, 244, 198, 0.07);
}

.scroll-story {
    position: relative;
    height: 350vh;
    margin: 40px 0 110px;
}

.scroll-story-sticky {
    position: sticky;
    top: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(38px, 7vw, 100px);
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(56px, 7vw, 96px);
    border-radius: 46px;
    color: #f4fff7;
    background:
        radial-gradient(circle at calc(72% + var(--story-glow-x, 0%)) 28%, rgba(169, 244, 198, 0.14), transparent 30%),
        radial-gradient(circle at 5% 92%, rgba(242, 201, 105, 0.1), transparent 25%),
        #050b08;
    box-shadow: 0 48px 140px rgba(5, 39, 26, 0.24);
    isolation: isolate;
}

.scroll-story-sticky::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.36;
    background-image:
        linear-gradient(rgba(169, 244, 198, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(169, 244, 198, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 74% 42%, #000, transparent 68%);
}

.scroll-story-copy {
    position: relative;
    z-index: 4;
}

.scroll-story-copy .section-kicker {
    color: var(--mint);
}

.scroll-story-copy .section-kicker::before {
    background: var(--mint);
}

.scroll-story-copy h2 {
    max-width: 10ch;
    margin-top: 22px;
    font-size: clamp(48px, 5.5vw, 78px);
    font-weight: 760;
    line-height: 0.98;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.scroll-story-copy > p {
    max-width: 540px;
    margin-top: 24px;
    color: rgba(244, 255, 247, 0.58);
    font-size: 16px;
    line-height: 1.65;
}

.story-steps {
    display: grid;
    margin-top: 40px;
    list-style: none;
}

.story-steps li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px 0 14px 16px;
    border-left: 2px solid rgba(169, 244, 198, 0.12);
    opacity: 0.28;
    transform: translateX(0);
    transition:
        opacity 560ms ease,
        border-color 560ms ease,
        transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-steps li.is-passed {
    opacity: 0.5;
}

.story-steps li.is-current {
    border-color: var(--mint);
    opacity: 1;
    transform: translateX(10px);
    background: linear-gradient(90deg, rgba(169, 244, 198, 0.1), transparent 78%);
}

.story-steps span {
    color: var(--mint);
    font: 700 11px/1.5 "SFMono-Regular", Menlo, monospace;
}

.story-steps strong {
    color: rgba(244, 255, 247, 0.88);
    font-size: 13px;
    font-weight: 590;
    line-height: 1.45;
}

.story-visual {
    position: relative;
    min-width: 0;
    min-height: min(68vh, 760px);
}

.story-glow {
    position: absolute;
    inset: 8% -12% 0;
    border-radius: 50%;
    opacity: var(--story-glow-opacity, 0.7);
    background: radial-gradient(circle, rgba(169, 244, 198, 0.19), transparent 66%);
    filter: blur(26px);
    transform: translate3d(var(--story-glow-shift, 0), 0, 0);
    will-change: transform, opacity;
}

.story-frame {
    position: absolute;
    inset: 9% 0 8%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 24px;
    opacity: 0;
    background: #191919;
    box-shadow:
        0 46px 120px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(169, 244, 198, 0.03) inset;
    transform: scale(0.985);
    transition:
        opacity 240ms ease,
        transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.story-frame.is-current {
    opacity: 1;
    transform: scale(1);
}

.story-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.story-counter {
    position: absolute;
    right: 2px;
    bottom: 0;
    display: flex;
    gap: 12px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(244, 255, 247, 0.35);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(18px) saturate(1.2);
    font: 700 11px/1 "SFMono-Regular", Menlo, monospace;
}

.story-counter span:first-child {
    color: var(--mint);
}

.story-counter span + span::before {
    content: "/";
    margin-right: 12px;
    color: rgba(244, 255, 247, 0.2);
}

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

.compare-card {
    grid-column: span 4;
    min-height: 350px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.52);
    box-shadow: 0 14px 40px rgba(16, 35, 26, 0.05);
}

.compare-card-muted {
    background: var(--paper-muted);
}

.compare-card-accent {
    color: #f3fff7;
    background: var(--pine);
}

.compare-card h3 {
    max-width: 12ch;
    font-size: 27px;
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.compare-card ul {
    display: grid;
    gap: 0;
    margin-top: 32px;
    list-style: none;
}

.compare-card li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 14px;
}

.compare-card-accent li {
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.84);
}

.compare-card p {
    margin-top: 26px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}

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

.feature-card {
    grid-column: span 4;
    min-height: 310px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.56);
    box-shadow: 0 14px 40px rgba(16, 35, 26, 0.05);
}

.feature-card:nth-child(1),
.feature-card:nth-child(5) {
    grid-column: span 8;
    background:
        radial-gradient(circle at 90% 0%, rgba(169, 244, 198, 0.65), transparent 35%),
        rgba(255, 255, 255, 0.72);
}

.feature-card:nth-child(4) {
    color: #f4fff7;
    background: var(--pine-deep);
}

.feature-badge {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--pine);
    background: rgba(255, 255, 255, 0.55);
    font: 700 11px/1 "SFMono-Regular", Menlo, monospace;
}

.feature-card h3 {
    max-width: 17ch;
    margin-top: 72px;
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.feature-card p {
    max-width: 680px;
    margin-top: 14px;
    color: var(--ink-muted);
    font-size: 14px;
    line-height: 1.65;
}

.feature-card:nth-child(4) .feature-badge {
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--mint);
    background: rgba(255, 255, 255, 0.06);
}

.feature-card:nth-child(4) p {
    color: rgba(244, 255, 247, 0.66);
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.screenshot-gallery figure {
    grid-column: span 4;
}

.screenshot-gallery figure.featured {
    grid-column: span 8;
}

.screenshot-gallery figure:last-child {
    grid-column: 1 / -1;
}

.screenshot-trigger {
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    cursor: zoom-in;
}

.screenshot-trigger img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top left;
    transform: none;
    transition: opacity 220ms ease;
}

/* Agent Inbox is captured as a popover, so its PNG is nearly square. The
   gallery's 16/10 crop would slice a task row in half, so fit the whole
   panel and let the card background fill the sides. */
.screenshot-trigger.is-panel {
    background: var(--paper-muted);
}

.screenshot-trigger.is-panel img {
    object-fit: contain;
    object-position: center;
}

.screenshot-trigger:hover img {
    opacity: 0.94;
    transform: none;
}

.screenshot-gallery figcaption {
    padding: 12px 4px 0;
    color: var(--ink-muted);
    font-size: 12px;
}

.manifesto-card,
.story-card {
    position: relative;
    overflow: hidden;
    padding: clamp(38px, 7vw, 86px);
    border-radius: var(--radius-xl);
}

.manifesto-card {
    color: var(--pine-black);
    background: var(--mint);
}

.manifesto-card::after {
    content: "PINE";
    position: absolute;
    right: -0.04em;
    bottom: -0.28em;
    color: rgba(8, 59, 39, 0.065);
    font-size: clamp(120px, 26vw, 320px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.1em;
    transform: translate3d(0, var(--watermark-shift, 0), 0);
    will-change: transform;
}

.manifesto-card > * {
    position: relative;
    z-index: 1;
}

.manifesto-card h2 {
    max-width: 17ch;
    margin-top: 18px;
}

.manifesto-card p {
    max-width: 720px;
    margin-top: 20px;
    color: rgba(5, 39, 26, 0.7);
}

.manifesto-pills {
    margin-top: 30px;
}

.manifesto-card .mini-chip {
    border-color: rgba(5, 39, 26, 0.17);
    color: var(--pine-deep);
    background: rgba(255, 255, 255, 0.22);
}

.story-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
    gap: 28px 70px;
    color: #f4fff7;
    background:
        radial-gradient(circle at 86% 22%, rgba(242, 201, 105, 0.17), transparent 26%),
        var(--pine-black);
}

.story-card .section-kicker,
.story-card h2 {
    grid-column: 1 / -1;
}

.story-card .section-kicker {
    color: var(--sun);
}

.story-card .section-kicker::before {
    background: var(--sun);
    box-shadow: 0 0 0 5px rgba(242, 201, 105, 0.12);
}

.story-card h2 {
    max-width: 17ch;
    margin-top: -8px;
}

.story-card blockquote {
    max-width: 28ch;
    color: var(--mint);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.story-card p {
    color: rgba(244, 255, 247, 0.65);
}

.install-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(370px, 0.74fr);
    gap: 70px;
    align-items: center;
    padding: clamp(34px, 6vw, 70px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: var(--shadow-soft);
}

.install-panel h2 {
    margin-top: 18px;
}

.install-panel p {
    max-width: 600px;
    margin-top: 18px;
}

.install-badges {
    margin-top: 22px;
}

.command-shell {
    overflow: hidden;
    border: 1px solid rgba(169, 244, 198, 0.16);
    border-radius: 22px;
    color: #eaffef;
    background: var(--pine-black);
    box-shadow: 0 24px 54px rgba(5, 39, 26, 0.18);
}

.command-shell-label {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(169, 244, 198, 0.13);
    color: rgba(234, 255, 239, 0.55);
    font: 700 11px/1 "SFMono-Regular", Menlo, monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.command-shell pre {
    overflow-x: auto;
    padding: 26px 20px;
    color: var(--mint);
    font: 600 13px/1.6 "SFMono-Regular", Menlo, monospace;
}

.command-shell p {
    margin: 0;
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(169, 244, 198, 0.1);
    color: rgba(234, 255, 239, 0.55);
    font-size: 12px;
}

.command-shell p code {
    color: rgba(234, 255, 239, 0.85);
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 4px 0;
    color: var(--ink-muted);
    font-size: 12px;
}

footer a {
    color: var(--pine);
    font-weight: 700;
}

.lightbox {
    width: min(94vw, 1280px);
    max-height: 92vh;
    padding: 16px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 26px;
    background: rgba(5, 39, 26, 0.72);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(26px);
}

.lightbox::backdrop {
    background: rgba(3, 16, 10, 0.76);
    backdrop-filter: blur(10px);
}

.lightbox img {
    max-height: calc(92vh - 32px);
    margin: auto;
    border-radius: 16px;
}

.lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #fff;
    background: var(--pine-black);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    font-size: 24px;
}

:focus-visible {
    outline: 3px solid var(--pine);
    outline-offset: 4px;
}

.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    height: 3px;
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--pine), var(--mint), var(--sun));
    box-shadow: 0 2px 12px rgba(18, 105, 66, 0.24);
    will-change: transform;
}

.scroll-motion .scroll-reveal {
    --reveal-x: 0px;
    --reveal-y: 54px;
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(0.985);
    transition:
        opacity 760ms cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay, 0ms),
        transform 980ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
        filter 720ms ease var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
}

.scroll-motion .scroll-reveal.reveal-left {
    --reveal-x: -48px;
    --reveal-y: 22px;
}

.scroll-motion .scroll-reveal.reveal-right {
    --reveal-x: 48px;
    --reveal-y: 22px;
}

.scroll-motion .scroll-reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
}

.scroll-motion .scroll-scene {
    opacity: 0;
    clip-path: inset(7% 0 7% 0 round var(--radius-xl));
    transform: translate3d(0, 72px, 0) scale(0.965);
    transition:
        opacity 720ms ease,
        clip-path 1100ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, clip-path, transform;
}

.scroll-motion .scroll-scene.is-visible {
    opacity: 1;
    clip-path: inset(0 0 0 0 round var(--radius-xl));
    transform: translate3d(0, 0, 0) scale(1);
}

.scroll-motion .section-kicker::before {
    animation: signal-pulse 2.4s ease-in-out infinite;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes signal-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 5px rgba(18, 105, 66, 0.1);
    }
    50% {
        box-shadow: 0 0 0 9px rgba(18, 105, 66, 0.02);
    }
}

@media (max-width: 1040px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
    }

    .nav {
        display: none;
    }

    .hero {
        min-height: 0;
        padding-top: 78px;
    }

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

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

    .scroll-story-sticky {
        grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
        gap: 38px;
        padding: 48px;
        border-radius: 36px;
    }

    .scroll-story-copy h2 {
        font-size: clamp(42px, 5.8vw, 62px);
    }

    .story-visual {
        min-height: min(58vh, 620px);
    }

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

    .mini-card:nth-child(2) {
        border-right: 0;
    }

    .mini-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .release-card,
    .install-panel {
        grid-template-columns: 1fr;
    }

    .compare-card {
        grid-column: span 6;
    }

    .compare-card:last-child {
        grid-column: 1 / -1;
        min-height: 260px;
    }

    .feature-card,
    .feature-card:nth-child(1),
    .feature-card:nth-child(5) {
        grid-column: span 6;
    }

    .story-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .page {
        width: min(calc(100% - 24px), var(--max-width));
        padding-top: 12px;
    }

    .site-header {
        top: 8px;
        gap: 8px;
        padding: 8px;
        border-radius: 16px;
    }

    .brand span {
        display: none;
    }

    .brand-logo {
        width: 32px;
        height: 32px;
    }

    .lang-toggle {
        min-width: 0;
        max-width: 116px;
    }

    .header-cta {
        padding: 0 12px;
    }

    .hero {
        gap: 20px;
        padding: 64px 0 34px;
    }

    .hero-logo {
        width: 56px;
        height: 56px;
    }

    .eyebrow {
        padding: 8px 10px;
        font-size: 10px;
        letter-spacing: 0.075em;
    }

    .hero h1 {
        font-size: clamp(42px, 11vw, 50px);
        letter-spacing: -0.065em;
    }

    .hero p.hero-tagline {
        margin-top: 22px;
        font-size: 17px;
    }

    .hero-proof span {
        font-size: 11px;
    }

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

    .install-strip {
        display: grid;
        width: 100%;
        gap: 4px;
    }

    .hero-visual {
        min-height: 410px;
        margin-top: 28px;
    }

    .visual-frame {
        inset: 6% -14% 2% 4%;
    }

    .shot-window {
        inset: 8% -10% 4% 0;
    }

    .shot-card-main {
        inset: 12% 0 10% 0;
    }

    .shot-card-inbox {
        right: 0;
        width: 72%;
    }

    .shot-chip {
        display: none;
    }

    .section {
        padding: 48px 0;
    }

    .scroll-story {
        height: 320vh;
        margin: 28px 0 64px;
    }

    .scroll-story-sticky {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(280px, 46vh);
        gap: 18px;
        align-content: center;
        padding: 76px 20px 22px;
        border-radius: 26px;
    }

    .scroll-story-copy .section-kicker,
    .scroll-story-copy > p {
        display: none;
    }

    .scroll-story-copy h2 {
        max-width: 12ch;
        margin-top: 0;
        font-size: clamp(36px, 10vw, 50px);
    }

    .story-steps {
        position: relative;
        min-height: 72px;
        margin-top: 18px;
    }

    .story-steps li {
        position: absolute;
        inset: 0;
        grid-template-columns: 30px 1fr;
        padding: 10px 0 10px 12px;
        pointer-events: none;
    }

    .story-steps li:not(.is-current) {
        opacity: 0;
        transform: translateY(10px);
    }

    .story-steps strong {
        font-size: 12px;
    }

    .story-visual {
        min-height: 0;
    }

    .story-frame {
        inset: 4% 0 10%;
        border-radius: 16px;
    }

    .section-head {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-head h2,
    .release-copy h2,
    .manifesto-card h2,
    .story-card h2,
    .install-panel h2 {
        font-size: clamp(36px, 12vw, 52px);
    }

    .mini-grid,
    .compare-grid,
    .feature-grid,
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }

    .mini-card,
    .mini-card:nth-child(2) {
        min-height: 160px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .mini-card:last-child {
        border-bottom: 0;
    }

    .compare-card,
    .compare-card:last-child,
    .feature-card,
    .feature-card:nth-child(1),
    .feature-card:nth-child(5),
    .screenshot-gallery figure,
    .screenshot-gallery figure.featured {
        grid-column: 1;
    }

    .compare-card,
    .feature-card {
        min-height: 280px;
    }

    .release-card,
    .manifesto-card,
    .story-card,
    .install-panel {
        padding: 30px;
        border-radius: 26px;
    }

    .release-card,
    .install-panel {
        gap: 36px;
    }

    .story-card {
        gap: 22px;
    }

    footer {
        flex-direction: column;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .site-header,
    .lang-toggle,
    .btn-secondary {
        background: #f7f8f3;
        backdrop-filter: none;
    }

    .header-cta,
    .btn-primary {
        background: var(--pine-black);
        backdrop-filter: none;
    }

    .story-counter {
        background: var(--pine-deep);
        backdrop-filter: none;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .scroll-story {
        height: auto;
        margin: 40px 0 72px;
    }

    .scroll-story-sticky {
        position: relative;
        min-height: 760px;
    }

    .story-steps li,
    .story-steps li:not(.is-current) {
        position: relative;
        inset: auto;
        opacity: 1;
        transform: none;
    }

    .story-frame {
        display: none;
    }

    .story-frame:first-of-type {
        display: block;
        opacity: 1;
        filter: none;
        transform: none;
    }
}
