@font-face {
    font-family: "Outfit";
    src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("../fonts/instrument-sans-latin-wght-italic.woff2") format("woff2");
    font-weight: 400 700;
    font-style: italic;
    font-display: swap;
}

:root {
    --ink: #121214;
    --ink-2: #17171a;
    --surface: #1c1c20;
    --surface-2: #25252a;
    --line: rgba(245, 241, 238, 0.1);
    --line-strong: rgba(245, 241, 238, 0.22);
    --bone: #f5f1ee;
    --muted: #b3ada8;
    --faint: #8d8782;
    --coral: #ef6351;
    --coral-soft: #f78b7d;
    --pink: #c93b94;
    --indigo: #2b2f6b;
    --ok: #63d19a;
    --warn: #f0c15a;
    --no: #ff6b7a;
    --grad: linear-gradient(100deg, #ef6351 0%, #c93b94 58%, #4a3fa3 100%);
    --r-xs: 8px;
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 34px;
    --r-pill: 999px;
    --display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
    --body: "Instrument Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --container: 1360px;
    --header-h: 76px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--bone);
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 0.6em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--coral-soft); text-underline-offset: 3px; }
a:hover { color: var(--bone); }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 3px;
    border-radius: var(--r-xs);
}

::selection { background: var(--coral); color: var(--ink); }

.container {
    width: min(100% - 3rem, var(--container));
    margin-inline: auto;
}

.narrow { width: min(100% - 3rem, 980px); }
.center { text-align: center; margin-top: 2.5rem; }
.fine { font-size: 0.9rem; color: var(--faint); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    background: var(--coral);
    color: var(--ink);
    padding: 0.7rem 1rem;
    border-radius: var(--r-sm);
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus { top: 1rem; color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 60;
}

.ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.32;
}
.orb-a { width: 46vw; height: 46vw; left: -14vw; top: -10vw; background: var(--coral); animation: drift-a 26s ease-in-out infinite alternate; }
.orb-b { width: 40vw; height: 40vw; right: -12vw; top: 28vh; background: var(--pink); opacity: 0.22; animation: drift-b 32s ease-in-out infinite alternate; }
.orb-c { width: 50vw; height: 50vw; left: 22vw; bottom: -26vw; background: var(--indigo); opacity: 0.55; animation: drift-a 38s ease-in-out infinite alternate-reverse; }

@keyframes drift-a { to { transform: translate(8vw, 6vh) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-7vw, 10vh) scale(0.9); } }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.1rem;
    padding: 0.75rem 1.6rem;
    border: 1.5px solid transparent;
    border-radius: var(--r-pill);
    font: 600 1rem/1 var(--body);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-small { min-height: 2.5rem; padding: 0.55rem 1.1rem; font-size: 0.95rem; }

.btn-primary { background: var(--coral); color: var(--ink); }
.btn-primary:hover { background: var(--coral-soft); color: var(--ink); }
.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.6s;
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost { border-color: var(--line-strong); color: var(--bone); background: transparent; }
.btn-ghost:hover { border-color: var(--coral); color: var(--bone); background: rgba(239, 99, 81, 0.08); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(18, 18, 20, 0.78);
    border-bottom-color: var(--line);
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--bone);
}
.brand img { border-radius: 50%; }
.brand-text { font: 600 1.45rem/1 var(--display); letter-spacing: -0.02em; }
.brand-spark { color: var(--coral); }
.brand-talk { color: var(--bone); }

.nav-links { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav-links > a {
    padding: 0.5rem 0.85rem;
    border-radius: var(--r-pill);
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.97rem;
    transition: color 0.2s, background 0.2s;
}
.nav-links > a:hover { color: var(--bone); background: rgba(245, 241, 238, 0.06); }
.nav-links > a.is-active { color: var(--bone); background: rgba(239, 99, 81, 0.16); }

.nav-links-extra { display: flex; align-items: center; gap: 0.9rem; margin-left: 0.9rem; }


.nav-toggle {
    display: none;
    position: relative;
    width: 2.9rem;
    height: 2.9rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: rgba(245, 241, 238, 0.06);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    color: var(--bone);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: rgba(239, 99, 81, 0.16); border-color: var(--coral); }
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.reveal { opacity: 1; transform: none; }
.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-tint { background: #19191d; border-block: 1px solid var(--line-strong); }
.section-tint::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(239, 99, 81, 0.7), transparent); }
.section-head { max-width: 54rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { color: var(--muted); font-size: 1.15rem; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40rem; }

.tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    background: rgba(239, 99, 81, 0.14);
    color: var(--coral-soft);
    margin-bottom: 1.1rem;
    flex: none;
}
.tile .icon { width: 1.4rem; height: 1.4rem; }

.ticks { display: grid; gap: 0.7rem; margin: 1.4rem 0; }
.ticks li, .checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.ticks .icon, .checklist .icon { color: var(--ok); margin-top: 0.2rem; }
.checklist { display: grid; gap: 1rem; margin-top: 1.5rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.chips li {
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    font-size: 0.9rem;
    color: var(--muted);
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: var(--r-pill);
    background: var(--coral);
    color: var(--ink);
    font: 600 0.8rem/1.4 var(--body);
    vertical-align: middle;
}
.badge-quiet { background: rgba(245, 241, 238, 0.1); color: var(--bone); }

.spotlight { position: relative; overflow: hidden; }
.spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(239, 99, 81, 0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }

.store-badges { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 10.8rem;
    padding: 0.55rem 1.3rem 0.55rem 1rem;
    border-radius: 12px;
    background: #000;
    border: 1px solid #a6a6a6;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s;
}
.store-badge svg { width: 1.9rem; height: 1.9rem; fill: currentColor; flex: none; }
.store-badge span { display: grid; line-height: 1.1; }
.store-badge small { font-size: 0.68rem; font-weight: 500; }
.store-badge strong { font: 600 1.25rem/1.15 var(--display); letter-spacing: -0.01em; }
a.store-badge:hover { transform: translateY(-2px); border-color: #fff; color: #fff; }
.store-badge.is-soon { cursor: default; }
.store-badges.is-compact .store-badge { min-width: 0; padding: 0.4rem 1rem 0.4rem 0.8rem; }
.store-badges.is-compact .store-badge svg { width: 1.5rem; height: 1.5rem; }
.store-badges.is-compact .store-badge strong { font-size: 1.05rem; }

.waitlist-form { margin-top: 2rem; max-width: 34rem; }
.waitlist-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.waitlist-row input { flex: 1 1 14rem; }

input[type="text"], input[type="email"], input[type="search"], select, textarea {
    width: 100%;
    min-height: 3.1rem;
    padding: 0.75rem 1.1rem;
    background: var(--surface);
    border: 1.5px solid var(--line-strong);
    border-radius: var(--r-sm);
    color: var(--bone);
    font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist-row input { border-radius: var(--r-pill); }
textarea { resize: vertical; min-height: 9rem; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(239, 99, 81, 0.2); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 1.35rem, calc(100% - 1rem) 1.35rem; background-size: 6px 6px; background-repeat: no-repeat; }

.check { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0.9rem 0 1.2rem; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.check input { appearance: none; flex: none; width: 1.3rem; height: 1.3rem; margin-top: 0.1rem; border: 1.5px solid var(--line-strong); border-radius: 6px; background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.check input::after { content: ""; width: 0.65rem; height: 0.35rem; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform 0.15s; }
.check input:checked { background: var(--coral); border-color: var(--coral); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }

.avatar {
    display: inline-grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: var(--grad);
    color: var(--bone);
    font: 600 1.1rem/1 var(--display);
    flex: none;
}
.avatar-lg { width: 5rem; height: 5rem; font-size: 2rem; }

.site-footer { border-top: 1px solid var(--line-strong); background: #0d0d0f; padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr; gap: 3rem; }
.footer-brand p { color: var(--muted); max-width: 22rem; margin-top: 1.2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; align-items: flex-start; }
.footer-col h2 { font: 600 1rem/1.2 var(--display); margin: 0 0 0.6rem; color: var(--bone); letter-spacing: 0; }
.footer-col h2.footer-sub { margin-top: 1.4rem; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.97rem; }
.footer-col a:hover, .footer-col a.is-current { color: var(--coral-soft); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 3rem; padding: 1.6rem 0 2rem; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.88rem; }
.footer-bottom p { margin: 0; }

.toast {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: min(32rem, calc(100% - 2rem));
    padding: 0.9rem 1rem 0.9rem 1.2rem;
    border-radius: var(--r-md);
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, 0);
    animation: toast-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.toast.is-success .icon:first-child { color: var(--ok); }
.toast.is-error .icon:first-child { color: var(--no); }
.toast.is-leaving { opacity: 0; transform: translate(-50%, 20px); transition: opacity 0.4s, transform 0.4s; }
.toast-close { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0.3rem; display: grid; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 30px); } }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .nav-links {
        position: fixed;
        inset: var(--header-h) 0 0 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 1.5rem 1.25rem 2rem;
        background: rgba(18, 18, 20, 0.97);
        backdrop-filter: blur(18px);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
        overflow-y: auto;
    }
    .nav-links.is-open { opacity: 1; transform: none; visibility: visible; }
    .nav-links > a { font-size: 1.25rem; padding: 0.9rem 1rem; }
    .nav-links-extra { margin: 1rem 0 0; justify-content: space-between; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .btn-small { width: auto; }
    .waitlist-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
