@font-face {
    font-family: "PP Watch";
    src: url("./fonts/PPWatch-Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("./fonts/DM-Sans-Variable.ttf") format("truetype");
    font-weight: 100 1000;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --onyx: #0f0e0e;
    --white: #f2f0f5;
    --muted: #bcbac2;
    --cyan: #6ef9f5;
    --gutter: clamp(24px, 5.5vw, 104px);
    font-family: "DM Sans", sans-serif;
    color: var(--white);
    background: var(--onyx);
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    scrollbar-color: #483d3f var(--onyx);
}

* {
    box-sizing: border-box;
}
[hidden] {
    display: none !important;
}
body,
h1,
h2,
p {
    margin: 0;
}
button,
input {
    font: inherit;
}
a {
    color: inherit;
    text-underline-offset: 5px;
}
button,
a {
    -webkit-tap-highlight-color: transparent;
}
::selection {
    color: var(--onyx);
    background: var(--cyan);
}
:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 6px;
}

.landing {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    overflow: clip;
}

.portrait {
    position: absolute;
    inset: 0 0 0 37%;
    z-index: -2;
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 38%;
}

.landing::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            var(--onyx) 28%,
            rgba(15, 14, 14, 0.95) 39%,
            rgba(15, 14, 14, 0.64) 52%,
            rgba(15, 14, 14, 0.08) 74%
        ),
        linear-gradient(
            0deg,
            rgba(15, 14, 14, 0.86),
            transparent 30%,
            transparent 72%,
            rgba(15, 14, 14, 0.48)
        );
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-inline: var(--gutter);
}

.site-header {
    padding-block: 40px;
}
.brand {
    display: inline-flex;
    flex-shrink: 0;
}
.brand img {
    display: block;
    width: 190px;
    height: auto;
}
.beta-status {
    font-size: 14px;
    color: var(--white);
}
.beta-status > span:first-child {
    font-weight: 600;
}
.status-divider {
    margin-inline: 12px;
    opacity: 0.55;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px var(--gutter) 58px;
}

h1 {
    max-width: 840px;
    font-family: "PP Watch", "DM Sans", sans-serif;
    font-size: clamp(46px, 5.1vw, 82px);
    font-weight: 500;
    line-height: 1.13;
    letter-spacing: -0.025em;
}

h1 span {
    color: var(--cyan);
}
.description {
    max-width: 440px;
    margin-top: 26px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
    text-wrap: pretty;
}

.signup {
    width: min(100%, 510px);
    margin-top: 52px;
    scroll-margin-top: 32px;
}
.signup h2 {
    margin-bottom: 6px;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
}
.founder-note {
    margin-bottom: 18px;
    color: var(--cyan);
    font-size: 14px;
    line-height: 1.5;
    text-wrap: pretty;
}
.signup-fields {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    padding-left: 20px;
    border: 1px solid rgba(242, 240, 245, 0.3);
    border-radius: 40px;
    background: var(--onyx);
}

.signup-fields:focus-within {
    border-color: var(--white);
}
.signup-fields input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: var(--white);
    caret-color: var(--cyan);
    font-size: 16px;
}

.signup-fields input::placeholder {
    color: var(--muted);
    opacity: 1;
}
.signup-fields input:focus-visible {
    outline-offset: 3px;
}
.signup-fields button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 48px;
    padding: 12px 21px;
    border: 0;
    border-radius: 32px;
    background: var(--white);
    color: var(--onyx);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 160ms ease;
}

.signup-fields button:hover:not(:disabled) {
    background: #d9d6df;
}
.signup-fields button:disabled {
    cursor: default;
    opacity: 0.65;
}
.signup-fields button svg {
    flex-shrink: 0;
}
.signup-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}
.signup-response {
    margin-top: 10px;
    color: var(--white);
    font-size: 14px;
    line-height: 1.5;
}
.signup-response:empty {
    display: none;
}
.signup-response[data-state="error"] {
    color: #ffc4bc;
}
.signup-fields input:-webkit-autofill {
    -webkit-text-fill-color: var(--white);
    -webkit-box-shadow: 0 0 0 100px var(--onyx) inset;
    caret-color: var(--cyan);
}

.countdown {
    padding: 52px var(--gutter) 40px;
    border-top: 1px solid #202024;
    background: var(--onyx);
    color: var(--white);
    text-align: center;
}

.countdown h2 {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

/* Reuse the marketing footer's open 6, 7 and 9; tnum overrides this set. */
.mk-watch-numerals {
    font-feature-settings: "ss10" 1;
    font-variant-numeric: normal;
}

.countdown-clock {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(16px, 5vw, 56px);
    color: var(--white);
    font-family: "PP Watch", "DM Sans", sans-serif;
    font-size: clamp(28px, 8.5vw, 76px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.mk-watch-time {
    display: inline-flex;
    align-items: baseline;
}

.mk-watch-time__digit {
    display: inline-flex;
    flex: none;
    justify-content: center;
    inline-size: 0.94em;
}

.countdown-label {
    color: var(--muted);
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
}

.countdown-date {
    margin-top: 28px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}

.countdown-date time {
    white-space: nowrap;
}
.countdown-complete {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
}
.site-footer {
    padding-block: 26px;
    font-size: 12px;
    color: var(--muted);
}
.site-footer a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    text-decoration: none;
}
.site-footer a:hover {
    color: var(--white);
    text-decoration: underline;
}
.visually-hidden,
.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 1800px) {
    .main {
        padding-block: 80px;
    }
    .description {
        max-width: 490px;
        font-size: 20px;
    }
}

@media (max-width: 1000px) {
    .portrait {
        left: 23%;
    }
    .portrait img {
        object-position: 57% 38%;
    }
    .landing::before {
        background:
            linear-gradient(
                90deg,
                var(--onyx) 4%,
                rgba(15, 14, 14, 0.86) 30%,
                rgba(15, 14, 14, 0.48) 65%,
                rgba(15, 14, 14, 0.12)
            ),
            linear-gradient(
                0deg,
                var(--onyx),
                transparent 50%,
                rgba(15, 14, 14, 0.35)
            );
    }
    h1 {
        font-size: clamp(46px, 6.1vw, 62px);
    }
}

@media (max-width: 600px) {
    .site-header {
        align-items: flex-start;
        gap: 14px;
        padding-top: 28px;
        padding-bottom: 20px;
    }
    .brand img {
        width: 146px;
    }
    .beta-status {
        display: flex;
        flex-direction: column;
        gap: 3px;
        text-align: right;
        font-size: 11px;
    }
    .beta-status > span:first-child {
        font-size: 12px;
    }
    .status-divider {
        display: none;
    }
    .portrait {
        inset: 0 0 auto 0;
        height: 650px;
        max-height: 85svh;
    }
    .portrait img {
        object-position: 57% 22%;
    }
    .landing::before {
        background: linear-gradient(
            180deg,
            rgba(15, 14, 14, 0.35),
            rgba(15, 14, 14, 0.13) 160px,
            rgba(15, 14, 14, 0.55) 280px,
            rgba(15, 14, 14, 0.95) 430px,
            var(--onyx) 550px
        );
    }
    .main {
        justify-content: flex-end;
        padding-top: clamp(200px, 31svh, 300px);
        padding-bottom: 28px;
    }
    h1 {
        max-width: 470px;
        font-size: clamp(34px, 7.2vw, 44px);
        line-height: 1.18;
        letter-spacing: -0.025em;
    }
    .description {
        margin-top: 20px;
        max-width: 350px;
        font-size: 15px;
        line-height: 1.65;
    }
    .signup {
        margin-top: 32px;
    }
    .signup h2 {
        font-size: 15px;
    }
    .founder-note {
        font-size: 13px;
    }
    .signup-fields {
        gap: 5px;
        padding: 5px;
        padding-left: 16px;
    }
    .signup-fields button {
        gap: 8px;
        min-height: 46px;
        padding-inline: 15px;
        font-size: 12px;
    }
    .signup-fields button svg {
        width: 16px;
    }
    .signup-note {
        max-width: 320px;
        font-size: 11px;
    }
    .countdown {
        padding-block: 36px 30px;
    }
    .countdown h2 {
        margin-bottom: 24px;
        font-size: 15px;
    }
    .countdown-unit {
        gap: 12px;
    }
    .countdown-date {
        margin-top: 24px;
    }
    .site-footer {
        align-items: flex-start;
        gap: 15px;
        padding-top: 18px;
        padding-bottom: 18px;
        font-size: 10px;
    }
    .site-footer p {
        padding-block: 9px;
        white-space: nowrap;
    }
    .site-footer a {
        gap: 5px;
    }
}

@media (max-width: 360px) {
    .signup-fields {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        border: 0;
        border-radius: 0;
        padding: 0;
        background: transparent;
    }
    .signup-fields input {
        height: 52px;
        border: 1px solid rgba(242, 240, 245, 0.3);
        border-radius: 30px;
        padding-inline: 18px;
        background: var(--onyx);
    }
    .signup-fields button {
        min-height: 48px;
        font-size: 14px;
    }
    .site-footer {
        flex-wrap: wrap;
        gap: 0 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
