/* Karahy Coming Soon — standalone */

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

:root {
    --krh: #e11b44;
    --krh-dark: #c0163a;
    --krh-glow: rgba(225, 27, 68, 0.22);
    --ink: #1c1917;
    --ink-muted: #57534e;
    --ink-light: #a8a29e;
    --white: #ffffff;
    --warm: #fffaf8;
    --sky: #eff6ff;
    --border: #e7e5e4;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

body.cs-page {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: var(--font);
    color: var(--ink);
    background: #f5f5f7;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

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

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ── Background ── */
.cs-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(225, 27, 68, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 75%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        linear-gradient(165deg, var(--warm) 0%, var(--white) 45%, var(--sky) 100%);
}

/* ── Header ── */
.cs-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px clamp(20px, 4vw, 48px);
}

.cs-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
    color: var(--ink);
    transition: opacity 0.2s;
}

.cs-logo:hover {
    opacity: 0.75;
}

.cs-logo img {
    border-radius: 10px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* ── Main ── */
.cs-main {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 clamp(20px, 4vw, 48px) 48px;
}

.cs-container {
    width: min(100%, 880px);
    margin-inline: auto;
}

/* ── Hero ── */
.cs-hero {
    padding: clamp(36px, 6vw, 56px) 0;
    text-align: left;
    animation: cs-fade-up 0.9s var(--ease-out) both;
}

@keyframes cs-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cs-eyebrow {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 24px;
}

.cs-eyebrow__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--krh);
    box-shadow: 0 0 0 3px var(--krh-glow);
}

.cs-title {
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 20px;
}

.cs-title__accent {
    color: var(--krh);
    display: block;
}

.cs-lead {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: var(--ink-muted);
    max-width: 52ch;
    margin: 0 0 36px;
}

/* ── Button ── */
.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    padding: 14px 26px;
    border-radius: 16px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.25s var(--ease), background 0.2s;
    white-space: nowrap;
}

.cs-btn:hover {
    transform: translateY(-2px);
}

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

.cs-btn--primary:hover {
    background: var(--krh-dark);
}

/* ── Notify form ── */
.cs-notify {
    max-width: 480px;
}

.cs-notify__field {
    position: relative;
    min-height: 57px;
    display: flex;
    gap: 8px;
    padding: 6px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--border);
}
.cs-notify__field .cs-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: auto;
    min-width: 118px;
}

.cs-notify__field .cs-btn:hover {
    transform: translateY(-50%);
}

.cs-notify__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    padding: 12px 18px;
    padding-right: 132px;
    color: var(--ink);
    outline: none;
    border-radius: 16px;
}

.cs-notify__input::placeholder {
    color: var(--ink-light);
}

.cs-notify__btn {
    flex-shrink: 0;
}

.cs-notify__hint {
    margin-top: 12px;
    font-size: 12px;
    color: var(--ink-light);
}

.cs-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cs-notify__error {
    display: none;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #dc2626;
}

.cs-notify.is-error .cs-notify__error {
    display: flex;
}

.cs-notify__error-icon {
    display: inline-flex;
    flex-shrink: 0;
    margin-top: 1px;
}

.cs-notify__error[hidden] {
    display: none !important;
}

.cs-notify__success {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #059669;
}

.cs-notify.is-submitted .cs-notify__success {
    display: flex;
    animation: cs-success-in 0.45s var(--ease-out) both;
}

.cs-notify__success-icon {
    display: inline-flex;
    flex-shrink: 0;
}

.lucide {
    display: block;
    flex-shrink: 0;
}

@keyframes cs-success-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cs-btn__spinner {
    display: none;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cs-spin 0.7s linear infinite;
}

.cs-notify.is-loading .cs-btn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    opacity: 0;
}

.cs-notify.is-loading .cs-btn__spinner {
    display: inline-block;
}

.cs-notify.is-loading .cs-notify__field .cs-btn {
    pointer-events: none;
    opacity: 0.85;
}

@keyframes cs-spin {
    to {
        transform: rotate(360deg);
    }
}

.cs-notify.is-submitted .cs-notify__field,
.cs-notify.is-submitted .cs-notify__hint {
    display: none;
}

.cs-notify.is-submitted .cs-notify__error {
    display: none;
}

/* ── Confirmation page ── */
.cs-hero--confirm {
    text-align: center;
}

.cs-title--confirm {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 12px;
}

.cs-confirm {
    max-width: 520px;
    margin: 0 auto 28px;
}

.cs-confirm__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.cs-confirm--success .cs-confirm__icon {
    color: #059669;
}

.cs-confirm--error .cs-confirm__icon {
    color: #dc2626;
}

.cs-confirm .cs-lead {
    margin-inline: auto;
}

.cs-confirm__back {
    margin-top: 8px;
}

/* ── Features ── */
.cs-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
    animation: cs-fade-up 0.9s var(--ease-out) 0.15s both;
}

.cs-feature {
    border-radius: 8px;
    padding: 24px 20px;
    text-align: left;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.cs-feature:hover {
    background: var(--white);
    transform: translateY(-4px);
    box-shadow:
        0 0 1px rgba(0, 0, 0, 0.19),
        0 1px 2px rgba(0, 0, 0, 0.07),
        0 6px 15px -5px rgba(0, 0, 0, 0.11);
}

.cs-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    color: var(--krh);
    margin-bottom: 16px;
}

.cs-feature__title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    color: var(--ink);
}

.cs-feature__desc {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-muted);
}

/* ── Footer ── */
.cs-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(28, 25, 23, 0.06);
    animation: cs-fade-up 0.9s var(--ease-out) 0.3s both;
}

.cs-footer__copy {
    font-size: 13px;
    color: var(--ink-light);
}

.cs-footer__links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.cs-footer__links a {
    color: var(--ink-muted);
    transition: color 0.2s;
}

.cs-footer__links a:hover {
    color: var(--krh);
}

.cs-footer__links span {
    color: var(--border);
}

/* ── Responsive ── */
@media (max-width: 720px) {
    .cs-features {
        grid-template-columns: 1fr;
    }

    .cs-notify__field {
        flex-direction: column;
        border-radius: 20px;
        padding: 8px;
        min-height: 0;
    }

    .cs-notify__field .cs-btn {
        position: static;
        transform: none;
        width: 100%;
        min-width: 0;
    }

    .cs-notify__field .cs-btn:hover {
        transform: none;
    }

    .cs-notify__input {
        padding-right: 18px;
    }

    .cs-btn {
        width: 100%;
    }

    .cs-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cs-hero {
        padding: 28px 0;
    }

    .cs-title__accent {
        display: inline;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-hero,
    .cs-features,
    .cs-footer {
        animation: none;
    }

    .cs-feature:hover,
    .cs-btn:hover {
        transform: none;
    }
}
