:root {
    --bg: #f6f1e8;
    --bg-strong: #f1e8da;
    --surface: rgba(255, 252, 246, 0.78);
    --surface-strong: #fffaf1;
    --ink: #112019;
    --ink-soft: #4f5d55;
    --line: rgba(17, 32, 25, 0.12);
    --green: #1aa154;
    --green-deep: #11753c;
    --green-soft: rgba(26, 161, 84, 0.12);
    --shadow: 0 20px 60px rgba(22, 45, 34, 0.10);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
    --transition: 180ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(26, 161, 84, 0.12), transparent 30%),
        radial-gradient(circle at 85% 12%, rgba(245, 188, 89, 0.22), transparent 24%),
        linear-gradient(180deg, #faf6ef 0%, var(--bg) 100%);
    line-height: 1.5;
}

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

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

button {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 0;
    transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}

.header-scrolled {
    backdrop-filter: blur(16px);
    background: rgba(250, 246, 239, 0.82);
    border-bottom: 1px solid rgba(17, 32, 25, 0.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(26, 161, 84, 0.22);
}

.brand-name {
    font-size: 1.15rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--ink-soft);
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fbfff8;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
    box-shadow: 0 16px 30px rgba(17, 117, 60, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(17, 32, 25, 0.12);
}

.hero {
    position: relative;
    overflow: clip;
    padding: 64px 0 48px;
}

.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.65;
    pointer-events: none;
}

.hero-glow-left {
    background: rgba(26, 161, 84, 0.15);
    left: -120px;
    top: 80px;
}

.hero-glow-right {
    background: rgba(227, 176, 72, 0.24);
    right: -90px;
    top: 20px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 44px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--green-deep);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.hero h1,
.section-heading h2,
.paper-card h2,
.download-copy h2 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.section-heading h2,
.paper-card h2,
.download-copy h2 {
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1;
}

.serif {
    display: block;
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-weight: 400;
    color: var(--green-deep);
}

.hero-text,
.section-heading p,
.paper-card p,
.download-copy p {
    margin: 22px 0 0;
    max-width: 620px;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

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

.hero-points {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    color: var(--ink-soft);
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-points li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(26, 161, 84, 0.12);
}

.hero-visual {
    position: relative;
}

.menu-bar-preview {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.88);
    box-shadow: var(--shadow);
}

.traffic-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(17, 32, 25, 0.18);
}

.menu-bar-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-left: 6px;
}

.menu-bar-time {
    color: var(--ink-soft);
    font-weight: 700;
}

.menu-bar-badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green-deep);
    font-weight: 800;
}

.product-stage {
    position: relative;
    margin-top: 20px;
    min-height: 620px;
}

.popover-card,
.settings-card,
.feature-card,
.step-card,
.paper-card,
.bullet-card,
.download-shell {
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.popover-card {
    width: min(100%, 520px);
    padding: 22px;
    border-radius: 28px;
    transform: rotate(-3deg);
}

.popover-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.mini-label {
    margin: 0 0 4px;
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.popover-top h2 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: -0.05em;
}

.mini-subtitle {
    margin: 6px 0 0;
    color: var(--ink-soft);
}

.toolbar-icons {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--ink-soft);
    font-weight: 700;
}

.toolbar-icons span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 32, 25, 0.08);
}

.toolbar-icons .danger {
    padding: 0 12px;
    color: #a32f38;
    background: rgba(163, 47, 56, 0.08);
}

.calendar-shell {
    margin-top: 22px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(17, 32, 25, 0.08);
}

.calendar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 800;
}

.calendar-head button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(26, 161, 84, 0.12);
    color: var(--green-deep);
    cursor: default;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.calendar-grid span {
    display: grid;
    place-items: center;
    min-height: 36px;
    border-radius: 12px;
    font-weight: 700;
}

.calendar-grid span:nth-child(-n + 7) {
    min-height: 24px;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.calendar-grid .muted {
    color: rgba(79, 93, 85, 0.45);
}

.calendar-grid .today {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
    color: #fafff9;
}

.settings-card {
    position: absolute;
    right: 0;
    bottom: 24px;
    width: min(100%, 320px);
    padding: 22px;
    border-radius: 26px;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(17, 32, 25, 0.08);
}

.setting-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.setting-row span {
    color: var(--ink-soft);
}

.value-strip {
    padding: 16px 0 0;
}

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

.strip-grid > div {
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(17, 32, 25, 0.08);
}

.strip-grid strong,
.bullet-row strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.strip-grid span,
.bullet-row span {
    color: var(--ink-soft);
}

.section {
    padding: 108px 0;
}

.section-heading {
    max-width: 740px;
    margin-bottom: 34px;
}

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

.feature-card,
.step-card,
.paper-card,
.bullet-card {
    padding: 28px;
    border-radius: var(--radius-lg);
}

.feature-kicker {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--green-deep);
    font-weight: 800;
    letter-spacing: 0.1em;
}

.feature-card h3,
.step-card h3 {
    margin: 0 0 10px;
    font-size: 1.45rem;
    letter-spacing: -0.04em;
}

.feature-card p,
.step-card p {
    margin: 0;
    color: var(--ink-soft);
}

.split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
}

.paper-card {
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.95), rgba(255, 252, 247, 0.75));
}

.bullet-card {
    display: grid;
    gap: 16px;
}

.bullet-row {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(17, 32, 25, 0.08);
}

.bullet-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.download-shell {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 20px;
    align-items: center;
    padding: 36px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(26, 161, 84, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(255, 251, 245, 0.92), rgba(255, 247, 233, 0.78));
}

.download-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.download-notes span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(17, 32, 25, 0.08);
    color: var(--ink-soft);
    font-weight: 700;
}

.download-art {
    padding: 12px;
}

.download-image {
    width: min(100%, 430px);
    margin: 0 auto;
    filter: drop-shadow(0 22px 40px rgba(22, 45, 34, 0.12));
}

.footer {
    padding: 0 0 34px;
}

.footer-layout,
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(17, 32, 25, 0.08);
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.brand-footer {
    margin-bottom: 12px;
}

.footer-copy {
    margin: 0;
    color: var(--ink-soft);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--ink-soft);
    font-weight: 700;
}

.footer-bottom {
    margin-top: 16px;
}

.footer-bottom p {
    margin: 0;
    color: var(--ink-soft);
}

@media (max-width: 1080px) {
    .hero-layout,
    .split-layout,
    .download-shell {
        grid-template-columns: 1fr;
    }

    .settings-card {
        position: static;
        width: 100%;
        margin-top: 18px;
    }

    .product-stage {
        min-height: 0;
    }
}

@media (max-width: 820px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links,
    .strip-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: grid;
        gap: 14px;
    }

    .hero {
        padding-top: 36px;
    }

    .hero h1 {
        font-size: clamp(2.6rem, 14vw, 4rem);
    }

    .footer-layout {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .section {
        padding: 78px 0;
    }

    .popover-card,
    .feature-card,
    .step-card,
    .paper-card,
    .bullet-card,
    .download-shell,
    .settings-card {
        padding: 20px;
    }

    .calendar-grid {
        gap: 6px;
    }

    .calendar-grid span {
        min-height: 32px;
        font-size: 0.92rem;
    }

    .toolbar-icons {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}
