:root {
    --bg: #07111c;
    --bg-soft: #0c1b2b;
    --paper: #fffaf1;
    --paper-soft: #f4ede2;
    --ink: #13243b;
    --text: #edf4fb;
    --text-soft: rgba(237, 244, 251, 0.76);
    --line: rgba(255, 255, 255, 0.12);
    --card: rgba(255, 255, 255, 0.07);
    --accent: #19d4d7;
    --accent-strong: #0aa3ab;
    --gold: #f3bd5f;
    --wine: #8e403e;
    --shadow: 0 24px 80px rgba(4, 10, 18, 0.28);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: min(1180px, calc(100% - 32px));
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(25, 212, 215, 0.16), transparent 30%),
        radial-gradient(circle at top right, rgba(243, 189, 95, 0.12), transparent 24%),
        linear-gradient(180deg, #07111c 0%, #0d1a29 34%, #132235 100%);
    color: var(--text);
    font-family: "Sora", sans-serif;
}

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

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

.container {
    width: var(--container);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -56px;
    left: 16px;
    z-index: 200;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(7, 17, 28, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 16px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.brand-mark img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-copy strong {
    font-size: 1rem;
}

.brand-copy small {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.main-nav,
.header-actions,
.hero-actions,
.footer-links,
.donation-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-nav {
    gap: 18px;
}

.main-nav a {
    position: relative;
    color: rgba(237, 244, 251, 0.86);
    font-size: 0.94rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transition: transform 0.24s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(120deg, var(--accent) 0%, #3bdfad 100%);
    color: #05222a;
    box-shadow: 0 16px 34px rgba(25, 212, 215, 0.22);
}

.button-secondary,
.button-ghost {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.hero {
    position: relative;
    padding: 88px 0 38px;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(18px);
}

.hero-orb-a {
    top: 52px;
    right: 8vw;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(243, 189, 95, 0.42), transparent 70%);
}

.hero-orb-b {
    left: -80px;
    bottom: 10px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(25, 212, 215, 0.22), transparent 70%);
}

.hero-grid,
.workflow-grid,
.donation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.96fr);
    gap: 32px;
    align-items: center;
}

.hero-copy,
.workflow-copy,
.donation-copy,
.section-heading {
    display: grid;
    gap: 20px;
}

.eyebrow {
    margin: 0;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    color: #fffef8;
    font-family: "Fraunces", serif;
    line-height: 0.98;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2.2rem, 4.8vw, 3.8rem);
}

.lead,
.section-heading p,
.workflow-copy p,
.donation-copy p,
.feature-card p,
.workflow-item p,
.download-card p,
.proof-card span,
.requirements p,
.site-footer p {
    margin: 0;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.74;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-points li,
.proof-card,
.workflow-item {
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
}

.hero-points li {
    color: rgba(237, 244, 251, 0.9);
    font-size: 0.94rem;
    line-height: 1.5;
}

.hero-visual {
    position: relative;
    min-height: 620px;
}

.hero-panel {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.11);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(8, 18, 30, 0.88);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.panel-main {
    position: relative;
    z-index: 2;
    padding: 22px;
}

.panel-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(237, 244, 251, 0.74);
    font-size: 0.9rem;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 20px 0;
}

.metric-row div {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.metric-row strong,
.proof-card strong,
.requirements strong,
.site-footer strong {
    display: block;
    color: #fff;
    font-size: 0.98rem;
}

.footer-copy {
    display: grid;
    gap: 6px;
}

.metric-row span {
    display: block;
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.45;
}

.hero-shot {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-shot img,
.panel-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panel-float {
    position: absolute;
    width: 45%;
    max-width: 260px;
    z-index: 3;
}

.panel-float-a {
    right: -10px;
    bottom: 138px;
    transform: rotate(3deg);
}

.panel-float-b {
    left: -18px;
    bottom: 14px;
    transform: rotate(-4deg);
}

.proof-strip {
    padding: 10px 0 28px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.proof-card strong {
    font-size: 1rem;
}

.proof-card span {
    display: block;
    margin-top: 8px;
    font-size: 0.92rem;
}

.section {
    padding: 92px 0;
}

.section-light {
    background:
        radial-gradient(circle at right top, rgba(25, 212, 215, 0.08), transparent 22%),
        linear-gradient(180deg, var(--paper) 0%, var(--paper-soft) 100%);
    color: var(--ink);
}

.section-light h2,
.section-warm h2 {
    color: var(--ink);
}

.section-light .section-heading p,
.section-light .feature-card p,
.section-warm .section-heading p,
.section-warm .download-card p,
.section-warm .requirements p {
    color: rgba(19, 36, 59, 0.72);
}

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

.feature-card,
.download-card {
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(19, 36, 59, 0.08);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 18px 40px rgba(9, 16, 26, 0.1);
}

.feature-kicker,
.download-badge {
    margin: 0 0 12px;
    color: var(--accent-strong);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.feature-card h3,
.workflow-item h3,
.download-card h3 {
    margin: 0 0 12px;
    line-height: 1.25;
    font-size: 1.26rem;
}

.feature-card h3,
.download-card h3 {
    color: var(--ink);
}

.section-dark {
    background:
        radial-gradient(circle at left bottom, rgba(243, 189, 95, 0.14), transparent 26%),
        linear-gradient(180deg, #0c1726 0%, #13263e 100%);
}

.workflow-list {
    display: grid;
    gap: 16px;
}

.workflow-item span {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.workflow-item h3,
.workflow-item h3 {
    color: #fff;
}

.section-warm {
    background:
        radial-gradient(circle at left top, rgba(243, 189, 95, 0.18), transparent 28%),
        linear-gradient(180deg, #f8f1e6 0%, #fff9ef 100%);
}

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

.download-card .button {
    align-self: start;
}

.section-warm .download-card .button-primary {
    box-shadow: 0 14px 28px rgba(25, 212, 215, 0.24);
}

.section-warm .download-card .button-ghost {
    border-color: rgba(19, 36, 59, 0.16);
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(19, 36, 59, 0.08);
}

.section-warm .download-card .button-ghost:hover,
.section-warm .download-card .button-ghost:focus-visible {
    background: var(--ink);
    border-color: var(--ink);
    color: #ffffff;
}

.stacked-actions {
    display: grid;
    gap: 10px;
}

.stacked-actions .button {
    width: 100%;
}

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

.requirements article {
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(19, 36, 59, 0.08);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 34px rgba(9, 16, 26, 0.08);
}

.requirements strong {
    color: var(--ink);
}

.footer-links a {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(237, 244, 251, 0.86);
    font-size: 0.92rem;
}

.footer-note {
    font-size: 0.92rem;
    color: rgba(237, 244, 251, 0.68);
}

.footer-note a {
    color: var(--gold);
    font-weight: 700;
}

.footer-note a:hover,
.footer-note a:focus-visible {
    color: #ffffff;
}

.section-donation {
    background:
        radial-gradient(circle at center, rgba(142, 64, 62, 0.3), transparent 34%),
        linear-gradient(180deg, #1f161a 0%, #301d24 100%);
}

.donation-grid {
    grid-template-columns: minmax(0, 1fr) auto;
}

.site-footer {
    padding: 28px 0 36px;
    background: #07111c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.footer-links {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1120px) {
    .hero-grid,
    .workflow-grid,
    .donation-grid {
        grid-template-columns: 1fr;
    }

    .proof-grid,
    .feature-grid,
    .download-grid,
    .requirements,
    .hero-points,
    .metric-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-visual {
        min-height: 540px;
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(8, 18, 30, 0.98);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .header-actions {
        margin-left: auto;
    }
}

@media (max-width: 720px) {
    .header-inner,
    .header-actions,
    .hero-actions,
    .footer-inner {
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 52px;
    }

    .section {
        padding: 74px 0;
    }

    .hero-points,
    .proof-grid,
    .feature-grid,
    .download-grid,
    .requirements,
    .metric-row {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 420px;
    }

    .panel-float {
        display: none;
    }

    .button {
        width: 100%;
    }

    .hero-actions .button,
    .donation-actions .button {
        width: auto;
    }
}

@media (max-width: 540px) {
    .brand {
        width: 100%;
    }

    .hero-actions,
    .donation-actions,
    .footer-links {
        width: 100%;
    }

    .hero-actions .button,
    .donation-actions .button,
    .footer-links a {
        width: 100%;
    }
}
