:root {
    --brand-font: "Tahu", "Segoe Script", "Brush Script MT", cursive;
}

@font-face {
    font-family: "Tahu";
    src: url("/landing/fonts/tahu-98c36c6da792d6726ffdba9e6d6989ab.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --indigo: #5755b7;
    --ink: #171722;
    --muted: #626274;
    --paper: #f7f7fb;
    --line: #e2e4ec;
    --coral: #e76854;
    --teal: #2ea9a1;
    --amber: #ffa82e;
    --blue: #4b79d8;
    --shadow: 0 18px 48px rgba(34, 34, 52, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 228, 236, 0.82);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    color: var(--indigo);
    font-family: var(--brand-font);
    font-size: 48px;
    font-weight: 400;
    line-height: 0.78;
    letter-spacing: 0;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}

.nav-links a:hover {
    color: var(--indigo);
}

.language-switch {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
    background: #fff;
}

.hero {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 54px;
    align-items: center;
    padding: 58px 0 50px;
}

.beta-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 168, 46, 0.16);
    color: #a35c00;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-copy > p:not(.hero-signature) {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

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

.button {
    border-radius: 999px;
    padding: 14px 20px;
    font-weight: 800;
    border: 1px solid transparent;
}

.button.primary {
    color: #fff;
    background: var(--indigo);
}

.button.secondary {
    color: var(--indigo);
    background: #fff;
    border-color: var(--line);
}

.hero-signature {
    margin: 28px 0 0;
    color: var(--indigo);
    font-family: var(--brand-font);
    font-size: clamp(58px, 8vw, 82px);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: 0;
}

.hero-visual {
    justify-self: end;
    width: min(100%, 520px);
    aspect-ratio: 1.28;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--shadow);
}

.visual-map {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(87, 85, 183, 0.12), rgba(255, 168, 46, 0.16)),
        radial-gradient(circle at 25% 25%, rgba(46, 169, 161, 0.22), transparent 28%),
        radial-gradient(circle at 75% 75%, rgba(231, 104, 84, 0.18), transparent 32%),
        #f8f8ff;
}

.pin {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(23, 23, 34, 0.14);
}

.pin-coral { background: var(--coral); left: 18%; top: 22%; }
.pin-teal { background: var(--teal); right: 20%; top: 18%; }
.pin-purple { background: var(--indigo); left: 48%; top: 44%; }
.pin-amber { background: var(--amber); left: 25%; bottom: 24%; }
.pin-blue { background: var(--blue); right: 18%; bottom: 20%; }

.event-stack {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(78%, 330px);
    transform: translate(-50%, -50%);
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
}

.event-row {
    display: grid;
    grid-template-columns: 10px auto 1fr;
    align-items: center;
    gap: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    padding: 11px 12px;
}

.event-row span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--teal);
}

.event-row:nth-child(2) span { background: var(--amber); }
.event-row:nth-child(3) span { background: var(--coral); }

.event-row strong {
    color: var(--muted);
    font-size: 13px;
}

.event-row em {
    color: var(--ink);
    font-style: normal;
    font-weight: 750;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 44px 0;
    text-align: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--indigo);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.section-shell h2,
.contact-copy h2 {
    margin: 0 auto;
    max-width: 780px;
    font-size: clamp(31px, 5vw, 44px);
    line-height: 1.1;
}

.section-intro,
.contact-copy > p:not(.eyebrow) {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.beta-callout {
    max-width: 640px;
    margin: 26px auto 0;
    display: grid;
    gap: 14px;
    justify-items: center;
    border: 1px solid rgba(255, 168, 46, 0.4);
    border-radius: 20px;
    background: rgba(255, 168, 46, 0.08);
    padding: 22px 26px;
}

.beta-callout p {
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
}

.card-grid {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
    min-height: 190px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(34, 34, 52, 0.04);
}

.card-dot {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    margin-bottom: 16px;
    background: rgba(87, 85, 183, 0.14);
}

.card-dot::after {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--indigo);
}

.feature-card.blue .card-dot { background: rgba(75, 121, 216, 0.14); }
.feature-card.blue .card-dot::after { background: var(--blue); }
.feature-card.teal .card-dot { background: rgba(46, 169, 161, 0.14); }
.feature-card.teal .card-dot::after { background: var(--teal); }
.feature-card.amber .card-dot { background: rgba(255, 168, 46, 0.18); }
.feature-card.amber .card-dot::after { background: var(--amber); }
.feature-card.coral .card-dot { background: rgba(231, 104, 84, 0.14); }
.feature-card.coral .card-dot::after { background: var(--coral); }

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.contact-section {
    width: min(1160px, calc(100% - 40px));
    margin: 30px auto 64px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 26px;
    align-items: start;
}

.contact-copy,
.contact-form,
.legal-card {
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow);
}

.contact-copy {
    padding: 30px;
}

.contact-copy h2 {
    margin-left: 0;
}

.contact-copy > p:not(.eyebrow) {
    margin-left: 0;
}

.contact-aside {
    margin-top: 28px;
    display: grid;
    gap: 8px;
    border-radius: 20px;
    background: #f3f4fb;
    padding: 18px;
    color: var(--muted);
}

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

.contact-aside a {
    color: var(--indigo);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 15px;
    color: var(--ink);
    font: inherit;
    outline: none;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--indigo);
    box-shadow: 0 0 0 4px rgba(87, 85, 183, 0.12);
}

.contact-form button {
    border: 0;
    border-radius: 999px;
    padding: 15px 20px;
    color: #fff;
    background: var(--indigo);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.form-status {
    margin: 0;
    color: var(--indigo);
    font-weight: 800;
}

.site-footer {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 38px 20px 46px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
    background: #fff;
}

.footer-brand {
    font-size: 38px;
}

.site-footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    font-weight: 800;
}

.footer-links a {
    color: var(--ink);
}

.footer-links a:hover {
    color: var(--indigo);
}

.legal-main {
    width: min(920px, calc(100% - 40px));
    margin: 54px auto 70px;
}

.legal-card {
    padding: clamp(24px, 5vw, 46px);
}

.legal-card h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 52px);
    line-height: 1.05;
}

.legal-date {
    color: var(--indigo);
    font-weight: 900;
}

.legal-card section {
    margin-top: 18px;
}

.legal-card p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.site-footer.compact {
    padding-top: 28px;
}

@media (max-width: 940px) {
    .hero,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: unset;
        text-align: center;
    }

    .hero-copy h1,
    .hero-copy > p:not(.hero-signature) {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        justify-self: center;
    }

    .card-grid.four,
    .card-grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nav-shell {
        width: min(100% - 28px, 1160px);
        min-height: 96px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }

    .brand {
        font-size: 38px;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        font-size: 13px;
    }

    .hero,
    .section-shell,
    .contact-section,
    .legal-main {
        width: min(100% - 28px, 1160px);
    }

    .hero {
        padding-top: 38px;
    }

    .hero-signature {
        font-size: 48px;
    }

    .hero-visual {
        padding: 14px;
        border-radius: 24px;
    }

    .card-grid.four,
    .card-grid.three {
        grid-template-columns: 1fr;
    }
}
