:root {
    --bg: #f4efe6;
    --surface: rgba(255, 250, 243, 0.84);
    --surface-strong: #fff9f1;
    --ink: #182127;
    --muted: #596268;
    --line: rgba(24, 33, 39, 0.1);
    --primary: #0f766e;
    --primary-deep: #0a4f4a;
    --accent: #d88e37;
    --shadow: 0 24px 60px rgba(17, 24, 39, 0.12);
}

* {
    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(216, 142, 55, 0.22), transparent 24%),
        radial-gradient(circle at 85% 15%, rgba(15, 118, 110, 0.16), transparent 20%),
        linear-gradient(180deg, #fbf7f0 0%, var(--bg) 100%);
}

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

p {
    line-height: 1.7;
}

.page-shell {
    overflow: hidden;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(244, 239, 230, 0.78);
    border-bottom: 1px solid rgba(24, 33, 39, 0.06);
}

.nav-wrap,
.footer-wrap,
.hero-grid,
.split-grid,
.safety-grid,
.launch-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-wrap {
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 800;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.9rem;
    color: #fff8f0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    box-shadow: 0 10px 24px rgba(10, 79, 74, 0.28);
}

.site-nav {
    display: inline-flex;
    gap: 1.4rem;
    color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible,
.button:hover,
.button:focus-visible {
    opacity: 0.9;
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.nav-cta,
.button-primary {
    color: #fdf8f1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    box-shadow: 0 16px 32px rgba(10, 79, 74, 0.2);
}

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

.hero-section,
.feature-section,
.audience-section,
.download-showcase-section,
.download-changelog-section,
.safety-section,
.launch-section,
.download-hero-section,
.download-trust-section,
.download-options-section,
.download-help-section {
    padding: 5rem 0;
}

.hero-grid,
.split-grid,
.safety-grid {
    align-items: stretch;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 2rem;
    padding: 2rem 0 1rem;
}

.hero-copy,
.hero-panel,
.feature-card,
.audience-card,
.safety-points article,
.launch-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.audience-card,
.launch-card {
    border-radius: 2rem;
}

.hero-copy {
    padding: 3rem;
}

.eyebrow,
.panel-label,
.mini-title {
    margin: 0 0 0.8rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

h1,
h2,
h3 {
    margin: 0;
}

h1,
.section-heading h2,
.audience-card h2,
.safety-grid h2,
.launch-card h2,
.panel-card h2 {
    font-family: "Fraunces", serif;
    line-height: 1.08;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.25rem);
    max-width: 12ch;
}

.hero-text,
.section-heading p,
.audience-card p,
.safety-grid p,
.launch-card p,
.feature-card p,
.panel-card p,
.site-footer p {
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.hero-stats article {
    padding: 1.25rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid var(--line);
}

.hero-stats strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.4rem;
}

.hero-panel {
    padding: 1.4rem;
    display: grid;
    gap: 1rem;
}

.panel-card {
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.panel-primary {
    min-height: 280px;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.12), rgba(255, 249, 241, 0.9));
}

.panel-secondary {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
}

.panel-primary ul {
    margin: 1.5rem 0 0;
    padding-left: 1.1rem;
    color: var(--ink);
}

.section-heading {
    max-width: 42rem;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.feature-card,
.audience-card,
.safety-points article {
    border-radius: 1.6rem;
    padding: 1.8rem;
}

.accent-card {
    background: linear-gradient(180deg, rgba(216, 142, 55, 0.14), rgba(255, 249, 241, 0.92));
}

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

.safety-points {
    display: grid;
    gap: 1rem;
}

.launch-card {
    padding: 2rem;
}

.download-showcase-card,
.download-hero-card,
.download-help-card,
.download-card,
.download-mini-card,
.changelog-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow);
}

.download-showcase-card,
.download-hero-card,
.download-help-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-radius: 2rem;
    padding: 2rem;
}

.download-hero-copy {
    flex: 1 1 0;
}

.download-version-card {
    min-width: min(100%, 320px);
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.download-version-card p {
    margin: 0 0 0.75rem;
    color: var(--muted);
}

.download-version-card p:last-child {
    margin-bottom: 0;
}

.download-showcase-actions,
.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.download-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.changelog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.download-changelog-heading {
    margin-bottom: 1.5rem;
}

.download-card {
    border-radius: 1.8rem;
    padding: 2rem;
}

.changelog-card {
    border-radius: 1.8rem;
    padding: 2rem;
}

.changelog-card-current {
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.12), rgba(255, 249, 241, 0.92));
}

.changelog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.changelog-header h3 {
    font-family: "Fraunces", serif;
    line-height: 1.08;
}

.download-card-recommended {
    outline: 2px solid rgba(15, 118, 110, 0.25);
    transform: translateY(-4px);
}

.release-pill-verified {
    background: rgba(15, 118, 110, 0.14);
    color: var(--primary-deep);
    border: 1px solid rgba(15, 118, 110, 0.18);
}

.download-card-android {
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.14), rgba(255, 249, 241, 0.92));
}

.download-card-ios {
    background: linear-gradient(180deg, rgba(216, 142, 55, 0.14), rgba(255, 249, 241, 0.92));
}

.download-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid var(--line);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.download-card h2,
.download-help-card h2,
.download-showcase-card h2,
.download-hero-card h1 {
    font-family: "Fraunces", serif;
    line-height: 1.08;
}

.release-meta,
.download-build-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.release-meta {
    margin-bottom: 1.5rem;
}

.download-build-meta {
    margin: 1rem 0 1.25rem;
}

.release-pill,
.download-build-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.download-points {
    margin: 1.5rem 0 0;
    padding-left: 1.2rem;
    color: var(--muted);
    line-height: 1.8;
}

.download-steps {
    margin: 1.5rem 0 0;
    padding-left: 1.25rem;
    color: var(--muted);
    line-height: 1.8;
}

.changelog-points {
    margin-top: 0;
}

.download-mini-card {
    min-width: min(100%, 320px);
    border-radius: 1.4rem;
    padding: 1.5rem;
}

.download-mini-card p {
    margin: 0 0 0.65rem;
}

.download-mini-card p:last-child {
    margin-bottom: 0;
}

.site-footer {
    padding: 1.5rem 0 2rem;
}

.footer-wrap {
    border-top: 1px solid rgba(24, 33, 39, 0.08);
    padding-top: 1.5rem;
}

@media (max-width: 960px) {
    .site-nav {
        display: none;
    }

    .hero-grid,
    .feature-grid,
    .split-grid,
    .safety-grid,
    .download-grid,
    .download-trust-grid,
    .changelog-grid,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 2rem;
    }

    .download-showcase-card,
    .download-hero-card,
    .download-help-card,
    .launch-card,
    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {

    .hero-section,
    .feature-section,
    .audience-section,
    .download-showcase-section,
    .download-changelog-section,
    .safety-section,
    .launch-section,
    .download-hero-section,
    .download-trust-section,
    .download-options-section,
    .download-help-section {
        padding: 3.5rem 0;
    }

    .container {
        width: min(100% - 1.25rem, 1120px);
    }

    h1 {
        font-size: clamp(2.5rem, 14vw, 3.6rem);
    }

    .hero-copy,
    .hero-panel,
    .feature-card,
    .audience-card,
    .safety-points article,
    .download-card,
    .download-showcase-card,
    .download-hero-card,
    .download-help-card,
    .download-mini-card,
    .launch-card {
        border-radius: 1.4rem;
    }

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

    .download-actions,
    .download-showcase-actions {
        flex-direction: column;
        width: 100%;
    }

    .release-meta,
    .download-build-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .button,
    .nav-cta {
        width: 100%;
    }

    .nav-wrap {
        min-height: 72px;
    }

    .brand-text {
        font-size: 0.95rem;
    }
}