/* KageOps placeholder landing */

:root {
    --brand-blue:        #3b5bdb;
    --brand-blue-hover:  #2f49b0;
    --navy:              #0f1f3d;
    --navy-card:         #1a2c4e;

    --text-primary:      #ffffff;
    --text-secondary:    #b8c5dc;
    --text-tertiary:     #8fa3c4;
    --text-on-dark-mut:  #8fa3c4;

    --surface:           #ffffff;
    --surface-alt:       #f4f6fa;
    --border:            rgba(255, 255, 255, 0.12);
    --border-strong:     rgba(255, 255, 255, 0.24);

    --radius:            10px;
    --content-max:       880px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-primary);
    background: var(--navy);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 14px; }
h3 { font-size: 1.05rem; margin-bottom: 8px; }

p { margin: 0; }

a { color: #6f9eea; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #fff; }

.container {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px;
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.hero {
    padding: 72px 0 56px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.kageops-wordmark { margin-bottom: 40px; }
.kageops-wordmark__name {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.kageops-wordmark__name .kage { color: var(--text-primary); }
.kageops-wordmark__name .ops { color: #6f9eea; font-weight: 400; }
.kageops-wordmark__tag {
    display: block;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-on-dark-mut);
    margin-top: 6px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-on-dark-mut);
    margin-bottom: 8px;
}

.lede {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 620px;
    margin-bottom: 32px;
}

/* Waitlist form */
.waitlist {
    max-width: 520px;
    margin-bottom: 48px;
}
.waitlist-row {
    display: flex;
    gap: 8px;
}
.waitlist input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.96rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--navy-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.waitlist input[type="email"]::placeholder {
    color: var(--text-tertiary);
}
.waitlist input[type="email"]:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.25);
}
.waitlist input[type="email"].invalid {
    border-color: #f87171;
}

.btn-primary {
    display: inline-block;
    background: var(--brand-blue);
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
}
.btn-primary:hover { background: var(--brand-blue-hover); color: #fff; }

.waitlist-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}
.waitlist-error {
    display: none;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #f87171;
}
.waitlist-error.visible { display: block; }

.waitlist-success {
    background: var(--navy-card);
    border: 1px solid rgba(111, 158, 234, 0.4);
    border-radius: var(--radius);
    padding: 18px 20px;
    color: var(--text-primary);
    font-size: 0.96rem;
    max-width: 520px;
    margin-bottom: 48px;
}
.waitlist-success strong { color: #6f9eea; }

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 56px;
}
.feature {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.feature p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.55;
}

/* Footer */
.footer {
    padding-top: 28px;
    border-top: 1px solid var(--border);
    color: var(--text-tertiary);
    font-size: 0.88rem;
}
.footer p + p { margin-top: 6px; }
.footer .copyright { color: var(--text-tertiary); }

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 48px 0 40px; }
    .features { grid-template-columns: 1fr; }
    .waitlist-row { flex-direction: column; gap: 10px; }
    .btn-primary { width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
}
