/* public/assets/marketing.css */
/* Standalone stylesheet for the public marketing page (lib/marketing_page.php).
   Deliberately not shared with app.css -- the two pages share no layout,
   so coupling them risks either one's future changes bleeding into the
   other. Duplicates the small color-token block from app.css on purpose. */
:root {
    --bg: #0a0b0a;
    --surface: #17191a;
    --surface-raised: #202223;
    --border: #383b3a;
    --border-soft: #2a2c2b;
    --text: #dedfd9;
    --text-muted: #9a9c96;
    --text-dim: #6b6d67;
    --accent-orange: #ff5a1f;
    --accent-orange-dim: #c2450f;
    --lume: #dce67c;
    --lume-dim: #a3ac52;
    --status-up: #6fae66;
    --status-down: #c85c5c;
    --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "Roboto Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

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

/* .wordmark intentionally matches lib/layout.php's class name and styling
   exactly, so the mark reads as the same wordmark on both surfaces. */
.wordmark { font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.12em; font-size: 14px; }
.wordmark span { color: var(--accent-orange); }

.mkt-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    border-bottom: 1px solid var(--border);
}
.mkt-login-link { color: var(--text-muted); text-decoration: none; font-size: 13.5px; }
.mkt-login-link:hover { color: var(--accent-orange); }

.mkt-hero {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 64px 32px;
}
.mkt-hero-copy { flex: 1.3; }
.mkt-hero-copy h1 { font-family: var(--font-heading); font-size: 2.1rem; line-height: 1.3; margin: 0 0 18px; }
.mkt-lede { font-size: 1.05rem; color: var(--text-muted); max-width: 480px; margin: 0; }

.mkt-form-panel {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
}
.mkt-step-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 12px; }
.mkt-form-panel h4 { font-size: 18px; margin: 0 0 16px; }
.mkt-input {
    width: 100%;
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    padding: 11px 12px;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 12px;
}
.mkt-input::placeholder { color: var(--text-dim); }
.mkt-btn {
    width: 100%;
    background: var(--accent-orange);
    color: var(--bg);
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}
.mkt-btn:hover { background: #ff7420; }
.mkt-hidden { display: none; }
.mkt-locked-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    padding: 11px 12px;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-muted);
}
.mkt-edit-link { color: var(--accent-orange); font-size: 12px; cursor: pointer; }
.mkt-banner { border-radius: 6px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 16px; }
.mkt-banner-ok { background: rgba(111, 174, 102, 0.15); color: var(--status-up); border: 1px solid var(--status-up); }
.mkt-banner-err { background: rgba(200, 92, 92, 0.15); color: var(--status-down); border: 1px solid var(--status-down); }

.mkt-agitate {
    text-align: center;
    padding: 20px 32px;
    background: var(--surface);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-muted);
    font-size: 15px;
}

.mkt-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 48px 32px;
}
.mkt-feat {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 20px;
}
.mkt-ico { width: 28px; height: 28px; border-radius: 6px; background: var(--accent-orange-dim); margin-bottom: 14px; }
.mkt-ico-lume { background: var(--lume-dim); }
.mkt-feat h3 { font-size: 15px; margin: 0 0 8px; }
.mkt-feat p { font-size: 13px; color: var(--text-dim); margin: 0; line-height: 1.5; }

.mkt-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    padding: 8px 32px 64px;
    text-align: center;
}
.mkt-step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--lume-dim);
    color: var(--lume);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin: 0 auto 12px;
}
.mkt-steps h3 { font-size: 14px; margin: 0 0 8px; }
.mkt-steps p { font-size: 13px; color: var(--text-dim); margin: 0; line-height: 1.5; }

.mkt-footer {
    text-align: center;
    padding: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 12px;
}

@media (max-width: 720px) {
    .mkt-hero { flex-direction: column; padding: 40px 20px; }
    .mkt-features { grid-template-columns: repeat(2, 1fr); padding: 32px 20px; }
    .mkt-steps { grid-template-columns: 1fr; padding: 8px 20px 40px; }
}
