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

:root {
    --bg: #fafaf9;
    --surface: #ffffff;
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.15);
    --text: #1a1a1a;
    --text-mid: #555;
    --text-light: #888;
    --shape-1: #c8c0b8;
    --shape-2: #a8a098;
    --shape-3: #d0ccc6;
    --shape-4: #b8b0a8;
    --shape-5: #c0b8b0;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Outfit', -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    font-family: var(--sans);
    background: transparent;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

main, footer {
    position: relative;
    z-index: 2;
}

/* Screen-reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 250, 249, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.nav-logo svg {
    width: 22px;
    height: 22px;
}

.nav-status {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* SPLASH */
.splash {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Shared dark button base */
.btn-dark {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 300;
    font-style: italic;
    color: #fff;
    background: #1a1a1a;
    border: none;
    padding: 16px 44px;
    border-radius: 60px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    letter-spacing: 0.01em;
}

.btn-dark:hover {
    background: #333;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.btn-dark:active {
    transform: translateY(0);
}

/* GLITCH TEXT */
.glitch {
    font-family: var(--sans);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    color: var(--text);
    position: relative;
    padding: 30px;
    cursor: default;
    user-select: none;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    padding: 30px;
    width: 100%;
    height: 100%;
    background: var(--bg);
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
}

.glitch::before {
    left: 3px;
    text-shadow: -2px 0 #888;
}

.glitch::after {
    left: -3px;
    text-shadow: -2px 0 #ccc;
}

/* Activate on hover */
.glitch:hover::before {
    opacity: 1;
    animation: glitch-1 2s linear infinite alternate-reverse;
}

.glitch:hover::after {
    opacity: 1;
    animation: glitch-2 2s linear infinite alternate-reverse;
}

@keyframes glitch-1 {
    0%   { clip: rect(42px, 9999px, 94px, 0); }
    5%   { clip: rect(12px, 9999px, 83px, 0); }
    10%  { clip: rect(122px, 9999px, 148px, 0); }
    15%  { clip: rect(67px, 9999px, 110px, 0); }
    20%  { clip: rect(5px, 9999px, 55px, 0); }
    25%  { clip: rect(88px, 9999px, 135px, 0); }
    30%  { clip: rect(33px, 9999px, 71px, 0); }
    35%  { clip: rect(101px, 9999px, 144px, 0); }
    40%  { clip: rect(19px, 9999px, 62px, 0); }
    45%  { clip: rect(76px, 9999px, 129px, 0); }
    50%  { clip: rect(48px, 9999px, 98px, 0); }
    55%  { clip: rect(3px, 9999px, 45px, 0); }
    60%  { clip: rect(113px, 9999px, 150px, 0); }
    65%  { clip: rect(29px, 9999px, 79px, 0); }
    70%  { clip: rect(85px, 9999px, 127px, 0); }
    75%  { clip: rect(57px, 9999px, 103px, 0); }
    80%  { clip: rect(8px, 9999px, 39px, 0); }
    85%  { clip: rect(136px, 9999px, 148px, 0); }
    90%  { clip: rect(61px, 9999px, 116px, 0); }
    95%  { clip: rect(24px, 9999px, 88px, 0); }
    100% { clip: rect(97px, 9999px, 142px, 0); }
}

@keyframes glitch-2 {
    0%   { clip: rect(129px, 9999px, 150px, 0); }
    5%   { clip: rect(15px, 9999px, 68px, 0); }
    10%  { clip: rect(74px, 9999px, 121px, 0); }
    15%  { clip: rect(43px, 9999px, 96px, 0); }
    20%  { clip: rect(108px, 9999px, 147px, 0); }
    25%  { clip: rect(2px, 9999px, 52px, 0); }
    30%  { clip: rect(81px, 9999px, 133px, 0); }
    35%  { clip: rect(36px, 9999px, 78px, 0); }
    40%  { clip: rect(119px, 9999px, 149px, 0); }
    45%  { clip: rect(22px, 9999px, 64px, 0); }
    50%  { clip: rect(91px, 9999px, 138px, 0); }
    55%  { clip: rect(55px, 9999px, 107px, 0); }
    60%  { clip: rect(11px, 9999px, 47px, 0); }
    65%  { clip: rect(132px, 9999px, 150px, 0); }
    70%  { clip: rect(38px, 9999px, 86px, 0); }
    75%  { clip: rect(69px, 9999px, 124px, 0); }
    80%  { clip: rect(104px, 9999px, 143px, 0); }
    85%  { clip: rect(17px, 9999px, 59px, 0); }
    90%  { clip: rect(78px, 9999px, 115px, 0); }
    95%  { clip: rect(46px, 9999px, 100px, 0); }
    100% { clip: rect(126px, 9999px, 148px, 0); }
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
}

.hero > *:not(.shapes) {
    position: relative;
    z-index: 1;
}

.hero-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero h1 {
    font-family: var(--sans);
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    max-width: 720px;
}

.hero h1 strong {
    font-weight: 500;
}

.hero h1 .dim {
    color: var(--text-light);
}

.hero-sub {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 52px;
}

.btn-glass {
    display: inline-block;
}

/* WHAT WE DO */
.what {
    padding: 100px 24px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.what-label {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.what h2 {
    font-weight: 300;
    font-size: clamp(24px, 3.5vw, 36px);
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.what h2 strong {
    font-weight: 500;
}

/* PROBLEM / SOLUTION */
.breakdown {
    padding: 80px 24px;
    max-width: 720px;
    margin: 0 auto;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    text-align: center;
}

.breakdown-col h3 {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.breakdown-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.breakdown-col li {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.6;
}

.breakdown-col.today li {
    text-decoration: line-through;
    text-decoration-color: rgba(0, 0, 0, 0.2);
}

.breakdown-col.future li {
    color: var(--text);
    font-weight: 400;
}

/* VISION */
.vision {
    padding: 120px 24px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.vision blockquote {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text);
}

.vision p {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-light);
    margin-top: 28px;
    line-height: 1.7;
}

/* WAITLIST */
.waitlist {
    padding: 100px 24px;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.waitlist h2 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.waitlist-desc {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-mid);
    margin-bottom: 40px;
    line-height: 1.7;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.waitlist-form input[type="email"] {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 300;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 60px;
    padding: 16px 24px;
    width: 280px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.waitlist-form input[type="email"]::placeholder {
    color: var(--text-light);
}

.waitlist-form input[type="email"]:focus-visible {
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    outline: 2px solid var(--text);
    outline-offset: 2px;
}

.waitlist-form button {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 300;
    font-style: italic;
    color: var(--text);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-strong);
    border-radius: 60px;
    padding: 16px 36px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.waitlist-form button:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.waitlist-note {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-light);
    margin-top: 20px;
}

.waitlist-success {
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    color: var(--text);
    display: none;
}

.waitlist-error {
    font-size: 14px;
    color: #c53030;
    margin-top: 12px;
    display: none;
}

/* FOOTER */
footer {
    padding: 48px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 300;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    max-width: 900px;
    margin: 0 auto;
}

/* DIVIDER */
.divider {
    width: 40px;
    height: 1px;
    background: var(--border-strong);
    margin: 0 auto;
}

/* FLOATING SHAPES */
.shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.12;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: var(--shape-1);
    border-radius: 24px;
    top: 22%;
    left: 6%;
    transform: rotate(-15deg);
    animation: float-1 8s ease-in-out infinite;
}

.shape-2 {
    width: 0;
    height: 0;
    border-left: 55px solid transparent;
    border-right: 55px solid transparent;
    border-bottom: 95px solid var(--shape-2);
    top: 30%;
    left: 3%;
    transform: rotate(-8deg);
    animation: float-2 10s ease-in-out infinite;
}

.shape-3 {
    width: 90px;
    height: 90px;
    background: var(--shape-3);
    border-radius: 20px;
    top: 28%;
    right: 5%;
    transform: rotate(20deg);
    animation: float-3 9s ease-in-out infinite;
}

.shape-4 {
    width: 16px;
    height: 16px;
    background: var(--shape-4);
    border-radius: 50%;
    top: 45%;
    left: 8%;
    animation: float-2 7s ease-in-out infinite;
}

.shape-5 {
    width: 70px;
    height: 70px;
    background: var(--shape-5);
    border-radius: 50%;
    bottom: 25%;
    right: 8%;
    animation: float-1 11s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-18px) rotate(-12deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-14px) rotate(-5deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0) rotate(20deg); }
    50% { transform: translateY(-20px) rotate(24deg); }
}

/* RESPONSIVE */
@media (max-width: 640px) {
    nav {
        padding: 16px 20px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .btn-glass {
        padding: 16px 40px;
        font-size: 18px;
    }

    .what {
        padding: 70px 20px;
    }

    .breakdown {
        padding: 60px 20px;
    }

    .breakdown-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .vision {
        padding: 80px 20px;
    }

    .waitlist {
        padding: 70px 20px;
    }

    .waitlist-form {
        flex-direction: column;
        align-items: center;
    }

    .waitlist-form input[type="email"] {
        width: 100%;
    }

    .waitlist-form button {
        width: 100%;
    }

    footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 32px 20px;
    }

    .shapes {
        display: none;
    }
}
