:root {
    --paper: #f3ecdf;
    --paper-strong: #fff8ec;
    --paper-muted: #e9dcc6;
    --ink: #14201d;
    --ink-soft: #5c6862;
    --ink-quiet: rgba(255, 248, 236, 0.68);
    --night: #10201c;
    --night-strong: #183028;
    --emerald: #117a5c;
    --emerald-deep: #0b5e48;
    --gold: #d6b26d;
    --line: rgba(20, 32, 29, 0.1);
    --shadow: 0 28px 90px rgba(14, 30, 25, 0.12);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 24px;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(17, 122, 92, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(214, 178, 109, 0.18), transparent 24%),
        linear-gradient(180deg, #fbf7ef 0%, #ede3d2 100%);
    font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

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

.site-shell {
    position: relative;
}

.page-glow {
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.page-glow-a {
    top: -120px;
    left: -120px;
    background: rgba(17, 122, 92, 0.3);
}

.page-glow-b {
    right: -120px;
    bottom: -140px;
    background: rgba(214, 178, 109, 0.28);
}

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
    width: min(100%, var(--max-width));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding: 18px 4px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(20, 32, 29, 0.12);
    border-radius: 999px;
    background: rgba(255, 248, 236, 0.76);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 1px rgba(20, 32, 29, 0.08);
}

.header-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--ink-soft);
    font-size: 0.97rem;
}

.header-links a {
    text-decoration: none;
}

.site-main {
    display: grid;
    gap: 28px;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 248, 236, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
    padding: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 248, 236, 0.08);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(214, 178, 109, 0.18), transparent 28%),
        linear-gradient(140deg, var(--night) 0%, var(--night-strong) 100%);
    box-shadow: 0 30px 90px rgba(12, 24, 20, 0.28);
}

.hero-copy,
.hero-ledger,
.message-card,
.trust-section,
.download-main {
    animation: rise-in 700ms ease both;
}

.eyebrow,
.card-label {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: "SFMono-Regular", "Menlo", monospace;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Iowan Old Style", "Georgia", serif;
    line-height: 1.02;
}

h1 {
    max-width: 12ch;
    color: var(--paper-strong);
    font-size: clamp(3.2rem, 7vw, 6rem);
}

h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
}

h3 {
    font-size: 1.22rem;
}

.lede,
.support-copy,
.download-note,
.body-copy,
.steps,
.site-footer,
.download-details {
    color: var(--ink-soft);
    line-height: 1.65;
    font-size: 1.03rem;
}

.lede {
    max-width: 62ch;
    margin: 18px 0 0;
    color: var(--ink-quiet);
}

.hero-brandline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.hero-brandline .eyebrow {
    margin: 0;
}

.hero-app-icon {
    width: 84px;
    height: 84px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 248, 236, 0.94);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
    color: #fffdf9;
    background: linear-gradient(135deg, var(--emerald) 0%, #17a57d 100%);
    box-shadow: 0 14px 30px rgba(13, 123, 93, 0.25);
}

.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 248, 236, 0.92);
}

.hero .button-secondary {
    border-color: rgba(255, 248, 236, 0.18);
    background: rgba(255, 248, 236, 0.08);
    color: var(--paper-strong);
}

.hero-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.hero-signals li {
    padding: 10px 14px;
    color: var(--paper-strong);
    border: 1px solid rgba(255, 248, 236, 0.14);
    border-radius: 999px;
    background: rgba(255, 248, 236, 0.06);
    font-size: 0.95rem;
}

.hero-microcopy {
    margin: 16px 0 0;
    color: var(--ink-quiet);
    line-height: 1.5;
}

.hero-visual-wrap {
    display: grid;
    align-content: start;
    gap: 12px;
}

.hero-proof {
    display: block;
    padding: 16px;
    border: 1px solid rgba(255, 248, 236, 0.14);
    background: rgba(255, 248, 236, 0.08);
}

.hero-proof img {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 248, 236, 0.08);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.25);
}

.hero-visual-note {
    margin: 0;
    color: var(--ink-quiet);
    line-height: 1.55;
}

.hero-ledger {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 26px;
    border: 1px solid rgba(255, 248, 236, 0.12);
    border-radius: 24px;
    background: rgba(255, 248, 236, 0.08);
    color: var(--paper-strong);
}

.hero-ledger h2 {
    color: var(--paper-strong);
}

.ledger-list {
    display: contents;
}

.ledger-item {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(255, 248, 236, 0.1);
    border-radius: 18px;
    background: rgba(255, 248, 236, 0.04);
}

.ledger-item span {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: "SFMono-Regular", "Menlo", monospace;
}

.ledger-item strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.ledger-item a {
    color: var(--paper-strong);
    text-decoration-color: rgba(255, 248, 236, 0.4);
}

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

.message-card,
.trust-section,
.download-main {
    padding: 30px;
}

.panel-heading {
    margin-bottom: 16px;
}

.body-copy {
    margin: 0;
}

.proof-points {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.proof-points li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 20px;
    color: var(--ink-soft);
    line-height: 1.6;
}

.proof-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
}

.technical-proof {
    grid-column: 1 / -1;
    padding: 30px;
}

.technical-proof-copy {
    max-width: 64ch;
}

.proof-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.technical-proof-link {
    display: grid;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.technical-proof-link span {
    font-size: 0.96rem;
    font-weight: 700;
}

.technical-proof-link img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(20, 32, 29, 0.08);
    box-shadow: 0 20px 44px rgba(20, 42, 32, 0.16);
}

.demo-proof {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 24px;
    margin-top: 24px;
    padding: 22px;
    background: rgba(255, 251, 243, 0.72);
}

.demo-proof-copy h3 {
    margin-top: 4px;
}

.demo-proof .button-secondary {
    width: fit-content;
    margin-top: 22px;
}

.demo-proof video {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(20, 32, 29, 0.08);
    background: rgba(16, 32, 28, 0.96);
    box-shadow: 0 20px 44px rgba(20, 42, 32, 0.16);
}

.comparison-section {
    padding: 30px;
}

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

.comparison-card {
    padding: 22px;
    border: 1px solid rgba(20, 32, 29, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 251, 243, 0.74);
}

.comparison-card p {
    margin: 14px 0 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.trust-section {
    background:
        linear-gradient(180deg, rgba(255, 248, 236, 0.9) 0%, rgba(244, 234, 214, 0.88) 100%);
}

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

.trust-block {
    padding: 22px;
    border: 1px solid rgba(20, 32, 29, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 251, 243, 0.72);
}

.trust-block p,
.steps {
    margin: 16px 0 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.steps {
    padding-left: 20px;
}

.steps li {
    margin-bottom: 12px;
}

.trust-links {
    margin: 16px 0 0;
    padding-left: 20px;
}

.trust-links li {
    margin-bottom: 12px;
    color: var(--ink-soft);
}

.final-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
}

.support-copy {
    max-width: 52ch;
    margin: 10px 0 0;
}

.support-copy-wrap h2 {
    max-width: 12ch;
}

.download-shell {
    display: grid;
    place-items: center;
}

.site-footer {
    margin: 18px auto 12px;
    padding: 0 4px 24px;
}

.download-main {
    width: min(100%, 720px);
    margin-top: min(10vh, 96px);
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(17, 122, 92, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 248, 236, 0.95) 0%, rgba(243, 236, 223, 0.98) 100%);
}

.download-main h1 {
    max-width: none;
    color: var(--ink);
    font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.download-app-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 34px rgba(20, 42, 32, 0.12);
}

.download-details {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    font-family: "SFMono-Regular", "Menlo", monospace;
    font-size: 0.92rem;
}

.download-note {
    margin-top: 18px;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .hero,
    .message-grid,
    .proof-gallery,
    .demo-proof,
    .comparison-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 28px;
    }

    .hero-ledger {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body {
        padding: 16px;
    }

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

    .hero,
    .hero-ledger,
    .message-card,
    .technical-proof,
    .demo-proof,
    .comparison-section,
    .trust-section,
    .download-main,
    .final-cta {
        padding: 22px;
    }

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

    .button {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

}
