:root {
    color-scheme: light;
    --bg: #f4f1e8;
    --bg-alt: #fffdf8;
    --surface: rgba(255, 255, 255, 0.8);
    --surface-strong: #ffffff;
    --ink: #111111;
    --text: #46413a;
    --muted: #6f685f;
    --line: rgba(17, 17, 17, 0.1);
    --shadow: 0 24px 80px rgba(17, 17, 17, 0.12);
    --member: #ef6b2e;
    --member-soft: #fff0e7;
    --group: #0f6fff;
    --group-soft: #eaf2ff;
    --event: #0f9960;
    --event-soft: #e7f8f0;
    --hero-grad: radial-gradient(circle at top left, rgba(239, 107, 46, 0.16), transparent 36%), radial-gradient(circle at 85% 15%, rgba(15, 111, 255, 0.16), transparent 28%), linear-gradient(180deg, #fffdf7 0%, #f4f1e8 58%, #eee8da 100%);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shell: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
p,
ul {
    margin: 0;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(20px);
    background: rgba(244, 241, 232, 0.84);
    border-bottom: 1px solid var(--line);
}

.nav-row {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.brand img,
.screen-brand img,
.legal-brand img {
    width: 38px;
    height: 38px;
}

.nav-links,
.footer-links,
.legal-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-links a,
.footer-links a,
.legal-links a {
    padding: 10px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
}

.nav-links a:hover,
.footer-links a:hover,
.legal-links a:hover,
.lang-switch a:hover,
.button:hover {
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
}

.nav-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.version-badge,
.screen-chip,
.legal-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.66);
}

.lang-switch a {
    min-width: 42px;
    padding: 8px 10px;
    border-radius: 999px;
    text-align: center;
    font-weight: 800;
    color: var(--muted);
}

.lang-switch a.active {
    background: var(--ink);
    color: #ffffff;
}

.hero-block {
    padding: 54px 0 36px;
    background: var(--hero-grad);
    border-bottom: 1px solid var(--line);
}

.hero-grid,
.split-layout,
.trust-grid,
.footer-row,
.legal-hero {
    display: grid;
    gap: 28px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 470px);
    align-items: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 36px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--member) 0 33%, var(--group) 33% 66%, var(--event) 66% 100%);
}

h1,
h2,
h3,
.legal-title {
    color: var(--ink);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    line-height: 1.02;
}

h1 {
    margin-top: 18px;
    font-size: clamp(2.9rem, 7vw, 3.6rem);
}

.hero-copy,
.section-head p,
.split-copy p,
.trust-grid>div>p,
.legal-intro,
.legal-card p,
.legal-card li,
.site-footer p {
    color: var(--text);
    font-size: 1.04rem;
}

.hero-copy {
    max-width: 52ch;
    margin-top: 22px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--ink);
    font-weight: 800;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
    background: var(--ink);
    color: #ffffff;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.7);
    color: var(--ink);
    border-color: var(--line);
}

.hero-points,
.trust-panel ul,
.legal-card ul {
    margin-top: 24px;
    padding-left: 18px;
}

.hero-points li,
.trust-panel li,
.legal-card li {
    margin-top: 10px;
}

.device-frame,
.timeline-card,
.trust-panel,
.legal-card,
.info-card {
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.device-frame {
    padding: 12px;
    border-radius: 34px;
    background: linear-gradient(180deg, #1a1a1a 0%, #2b2b2b 100%);
}

.device-screen {
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdf7 0%, #f5f0e6 100%);
}

.screen-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
}

.screen-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.screen-brand strong,
.activity-row strong,
.map-card strong,
.info-card h3,
.timeline-step strong,
.legal-brand strong,
.site-footer strong {
    color: var(--ink);
}

.screen-brand span,
.map-card span,
.activity-row p {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.map-stage {
    position: relative;
    min-height: 330px;
    margin: 0 18px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: linear-gradient(135deg, #fff8ef 0%, #eef5ff 48%, #eff8f2 100%);
}

.map-aura {
    position: absolute;
    border-radius: 999px;
    filter: blur(6px);
}

.aura-one {
    inset: 26px auto auto 24px;
    width: 180px;
    height: 180px;
    background: rgba(239, 107, 46, 0.16);
}

.aura-two {
    inset: auto 22px 18px auto;
    width: 200px;
    height: 200px;
    background: rgba(15, 111, 255, 0.12);
}

.map-card {
    position: absolute;
    width: 156px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(17, 17, 17, 0.06);
}

.you-card {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(17, 17, 17, 0.92);
}

.you-card strong,
.you-card span {
    color: #ffffff;
}

.member-card {
    left: 18px;
    top: 42px;
    border-color: rgba(239, 107, 46, 0.2);
}

.group-card {
    right: 20px;
    top: 76px;
    border-color: rgba(15, 111, 255, 0.2);
}

.event-card {
    left: 46px;
    bottom: 18px;
    border-color: rgba(15, 153, 96, 0.2);
}

.activity-stack {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.activity-row,
.timeline-step {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 12px;
}

.activity-row {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 17, 17, 0.06);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    margin-top: 6px;
}

.dot-member {
    background: var(--member);
}

.dot-group {
    background: var(--group);
}

.dot-event {
    background: var(--event);
}

.section {
    padding: 84px 0;
    border-bottom: 1px solid var(--line);
}

.newsletter {
    background: var(--ink);
    color: #ffffff;
}

.newsletter .section-kicker,
.newsletter h2,
.newsletter p {
    color: #ffffff;
}

.newsletter-head p:last-child {
    opacity: 0.78;
}

.signup {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    max-width: 720px;
    margin-top: 24px;
}

.signup input {
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #3f3f46;
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--ink);
    outline: none;
    font-weight: 650;
}

.signup input:focus {
    border-color: var(--member);
    box-shadow: 0 0 0 3px rgba(239, 107, 46, 0.24);
}

.signup .button {
    height: 48px;
    border-color: #ffffff;
    background: #ffffff;
    color: var(--ink);
}

.fineprint {
    max-width: 720px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
}

.form-message {
    display: none;
    max-width: 720px;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    font-weight: 750;
}

.form-message.success {
    color: #14532d;
    background: #ecfdf5;
    border: 1px solid #86efac;
}

.form-message.error {
    color: #7f1d1d;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

#success-message[style*="display: block"],
#error-message[style*="display: block"] {
    display: block;
}

.captcha-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(94px, 128px) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #3f3f46;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
}

.captcha-question {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
}

.captcha-row input {
    height: 38px;
    text-align: center;
}

.captcha-refresh {
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-sm);
    background: transparent;
    color: #ffffff;
    font-weight: 850;
    cursor: pointer;
}

.captcha-error {
    grid-column: 1 / -1;
    display: none;
    color: #fecaca;
    font-size: 0.82rem;
    font-weight: 750;
}

.captcha-error.visible {
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.alt-section {
    background: var(--bg-alt);
}

.section-head {
    max-width: 760px;
    margin-bottom: 28px;
}

h2,
.legal-title {
    margin-top: 14px;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
}

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

.info-card,
.timeline-card,
.trust-panel,
.legal-card {
    border-radius: var(--radius-xl);
}

.info-card {
    min-height: 250px;
    padding: 24px;
}

.card-label {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--ink);
    background: rgba(17, 17, 17, 0.06);
}

.info-card h3 {
    margin-top: 18px;
    font-size: 1.5rem;
}

.info-card p {
    margin-top: 14px;
}

.accent-member {
    background: linear-gradient(180deg, rgba(255, 240, 231, 0.92), rgba(255, 255, 255, 0.78));
}

.accent-group {
    background: linear-gradient(180deg, rgba(234, 242, 255, 0.92), rgba(255, 255, 255, 0.78));
}

.accent-event {
    background: linear-gradient(180deg, rgba(231, 248, 240, 0.92), rgba(255, 255, 255, 0.78));
}

.split-layout,
.trust-grid,
.footer-row,
.legal-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline-card,
.trust-panel,
.legal-card {
    padding: 24px;
}

.timeline-step+.timeline-step {
    margin-top: 18px;
}

.timeline-step span {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: var(--ink);
    color: #ffffff;
    font-weight: 800;
}

.site-footer {
    padding: 28px 0 40px;
}

.footer-row {
    align-items: start;
}

.footer-row>div {
    max-width: 40ch;
}

.legal-main {
    padding: 42px 0 80px;
}

.legal-header {
    padding-top: 12px;
}

.legal-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-intro {
    max-width: 56ch;
}

.legal-stack {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.legal-card h2 {
    margin-top: 0;
    font-size: 1.65rem;
}

.legal-card p+p,
.legal-card ul,
.legal-card h3 {
    margin-top: 14px;
}

.legal-card h3 {
    font-size: 1.1rem;
}

.legal-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

@media (max-width: 980px) {

    .hero-grid,
    .split-layout,
    .trust-grid,
    .footer-row,
    .legal-hero,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .nav-row {
        padding: 14px 0;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
    }

    h1 {
        max-width: 12ch;
    }
}

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

    .hero-block {
        padding-top: 34px;
    }

    .section {
        padding: 60px 0;
    }

    .button,
    .nav-links a,
    .footer-links a,
    .legal-links a {
        width: 100%;
        justify-content: center;
    }

    .nav-meta {
        width: 100%;
        justify-content: space-between;
    }

    .map-card {
        width: 138px;
        padding: 12px;
    }

    .screen-top,
    .activity-stack,
    .timeline-card,
    .trust-panel,
    .legal-card,
    .info-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .signup {
        grid-template-columns: 1fr;
    }

    .signup .button {
        width: 100%;
    }

    .captcha-row {
        grid-template-columns: 1fr 86px auto;
    }
}
