:root {
    --blue: #1558f0;
    --blue-deep: #0f4adb;
    --ink: #111111;
    --muted: #6d6d6d;
    --line: rgba(17, 17, 17, 0.08);
    --mist: #eceaf3;
    --paper: #f6f5f9;
    --white: #ffffff;
    --font-display: Kraken-Product, "IBM Plex Sans", Helvetica, Arial, sans-serif;
    --font-text: "IBM Plex Sans", Kraken-Product, Helvetica, Arial, sans-serif;
    --ease: cubic-bezier(0.32, 0.72, 0, 1);
    --radius: 12px;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--ink);
    background: var(--paper);
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

h1,
p {
    margin: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 80;
    background: var(--white);
    color: var(--ink);
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
}

.skip-link:focus {
    top: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: transform 180ms var(--ease), background-color 180ms var(--ease);
}

.btn:active {
    transform: scale(0.98);
}

.btn:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-deep);
}

.newsletter {
    display: grid;
    gap: 8px;
}

.newsletter-row {
    display: flex;
    gap: 8px;
}

.newsletter input {
    flex: 1;
    min-height: 48px;
    padding: 0 14px;
    border-radius: var(--radius);
}

.field {
    display: grid;
    gap: 6px;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: var(--radius);
}

.field textarea {
    min-height: 140px;
    padding: 12px 14px;
    resize: vertical;
}

.coming-page {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
}

.coming-bar {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(720px, calc(100% - 40px));
    margin-inline: auto;
}

.coming-nav {
    font-size: 15px;
    color: var(--ink);
}

.coming-nav[aria-current="page"] {
    box-shadow: inset 0 -2px 0 currentColor;
}

.coming-nav:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.coming {
    flex: 1;
    display: flex;
    align-items: center;
}

.coming-hero {
    width: min(520px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0 64px;
}

.coming-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 72px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 0 0 16px;
}

.coming-sub {
    max-width: 36ch;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
    margin: 0 0 28px;
}

.coming-form label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
}

.coming-form input,
.coming-form textarea {
    background: var(--white);
    color: var(--ink);
    border: 1px solid rgba(17, 17, 17, 0.16);
}

.coming-form input::placeholder,
.coming-form textarea::placeholder {
    color: #7a7a7a;
}

.coming-form input:focus,
.coming-form textarea:focus {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.coming-form .hint,
.coming-form .status,
.coming-form .form-status {
    color: var(--muted);
    font-size: 13px;
}

.coming-form .hint a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.coming-form .status[data-state="error"],
.coming-form .form-status[data-state="error"] {
    color: #9b2c2c;
}

.coming-form .status[data-state="ok"],
.coming-form .form-status[data-state="ok"] {
    color: #1f6b3a;
}

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

.coming-foot {
    width: min(720px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 28px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

.coming-foot nav {
    display: flex;
    gap: 20px;
}

.coming-foot a:hover,
.coming-foot a:focus-visible {
    color: var(--ink);
}

.coming-foot a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .coming-hero {
        padding: 12px 0 48px;
    }

    .coming-hero h1 {
        font-size: 44px;
    }

    .coming-form .newsletter-row {
        flex-direction: column;
    }

    .coming-foot {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-color-scheme: dark) {
    .coming-page {
        background: #141118;
        color: #f3f0f8;
    }

    .coming-page .brand-name,
    .coming-hero h1,
    .coming-form label,
    .coming-nav {
        color: #f3f0f8;
    }

    .coming-sub,
    .coming-form .hint,
    .coming-form .status,
    .coming-form .form-status,
    .coming-foot {
        color: #b6b0c0;
    }

    .coming-form input,
    .coming-form textarea {
        background: #1d1924;
        color: #f3f0f8;
        border-color: rgba(255, 255, 255, 0.16);
    }

    .coming-form input::placeholder,
    .coming-form textarea::placeholder {
        color: #8d8796;
    }

    .coming-form .hint a,
    .coming-foot a:hover,
    .coming-foot a:focus-visible {
        color: #f3f0f8;
    }

    .coming-form .status[data-state="error"],
    .coming-form .form-status[data-state="error"] {
        color: #ffb4b4;
    }

    .coming-form .status[data-state="ok"],
    .coming-form .form-status[data-state="ok"] {
        color: #b8f0c8;
    }
}

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