:root {
    color-scheme: light;
    --bg: #f4ebd8;
    --bg-accent: #e6d4ae;
    --panel: rgba(255, 249, 236, 0.86);
    --panel-strong: #fff7e8;
    --ink: #1f160f;
    --muted: #655548;
    --line: rgba(60, 38, 17, 0.16);
    --gold: #a96d22;
    --gold-deep: #7b4d18;
    --shadow: 0 24px 60px rgba(48, 28, 10, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: "Aptos", "Trebuchet MS", "Gill Sans", sans-serif;
    line-height: 1.6;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.55), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(169, 109, 34, 0.16), transparent 20%),
        linear-gradient(180deg, #f8f1e4 0%, var(--bg) 45%, #ead8b5 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(96, 65, 24, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 65, 24, 0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
}

a {
    color: inherit;
}

.page-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 48px;
}

.site-header,
.site-footer,
.hero,
.content-grid,
.panel {
    animation: fade-up 600ms ease both;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-mark {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 8px 22px rgba(92, 52, 14, 0.24);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong,
h1,
h2 {
    font-family: "Georgia", "Palatino Linotype", serif;
}

.brand-copy span:last-child,
.section-label,
.eyebrow {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}

.site-nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    color: var(--muted);
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.46);
    color: var(--ink);
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 24px;
    padding: 32px;
    margin-bottom: 24px;
}

.hero-title-image {
    display: block;
    width: min(100%, 560px);
    height: auto;
    margin: 0 0 18px;
    filter: drop-shadow(0 14px 26px rgba(60, 36, 10, 0.2));
}

.lead {
    font-size: 1.08rem;
    max-width: 42rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid var(--gold-deep);
}

.button.primary {
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: #fff5e3;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.48);
    color: var(--ink);
    border-color: var(--line);
}

.hero-card {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    padding: 14px;
    border-radius: calc(var(--radius) - 6px);
    background:
        linear-gradient(160deg, rgba(30, 21, 12, 0.96), rgba(68, 42, 18, 0.95)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
    color: #f7ead1;
}

.hero-screenshot {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 292px;
    object-fit: cover;
    object-position: top center;
    border-radius: 18px;
    border: 1px solid rgba(255, 227, 171, 0.16);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.content-grid .panel,
.long-copy,
.legal-copy {
    padding: 28px;
}

.feature-list {
    margin: 0;
    padding-left: 20px;
}

.feature-list li + li {
    margin-top: 10px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-footer p {
    margin: 0;
}

.divider {
    opacity: 0.45;
    padding: 0 6px;
}

.legal-shell {
    max-width: 940px;
}

.legal-copy h1 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 0.96;
}

.legal-copy h2 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.45rem;
}

.legal-copy p {
    margin: 0 0 14px;
}

.reveal.delay-1 {
    animation-delay: 100ms;
}

.reveal.delay-2 {
    animation-delay: 180ms;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hero,
    .content-grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 24px;
    }

    .site-header,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 20px, 1120px);
        padding-top: 16px;
    }

    .site-nav {
        width: 100%;
    }

    .hero,
    .content-grid .panel,
    .long-copy,
    .legal-copy {
        padding: 20px;
    }

    .hero-card {
        min-height: 260px;
    }

    .hero-screenshot {
        min-height: 220px;
    }
}