/* ===================================================
   Kumo, Inc. — Global Styles
   Minimalist, refined. No colour noise.
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg: #fafafa;
    --surface: #f0f0f0;
    --text-primary: #111111;
    --text-secondary: #777777;
    --text-tertiary: #888888;
    --border: #e8e8e8;
    --accent: #111111;          /* buttons, key accents */
    --accent-hover: #333333;
    --radius: 14px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --max-width: 960px;
}

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

/* ─── Base ─── */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
}

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

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

code {
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 0.88em;
    background: var(--surface);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-secondary);
}

/* ─── Layout ─── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Typography ─── */
h1 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h3 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

ul {
    list-style: none;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 32px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 500;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.15s ease;
    letter-spacing: 0.01em;
}

.btn:hover {
    opacity: 0.75;
    transform: translateY(-1px);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn--ghost:hover {
    opacity: 1;
    border-color: var(--text-secondary);
}

.btn--disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* ─── Cards ─── */
.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ─── Divider ─── */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ─── Footer ─── */
footer {
    text-align: center;
    padding: 64px 0 48px;
    border-top: 1px solid var(--border);
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

footer a {
    color: var(--text-tertiary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

footer a:hover {
    color: var(--text-secondary);
}

/* ─── Utility ─── */
.text-secondary  { color: var(--text-secondary); }
.text-tertiary   { color: var(--text-tertiary); }
.text-center     { text-align: center; }

/* ─── Responsive ─── */
@media (max-width: 600px) {
    h1          { font-size: 2.2rem; }
    h2          { font-size: 1.4rem; }
    .container  { padding: 0 18px; }
    .card       { padding: 24px; }
}
