/* ========================================
   Brand overrides: Plus Jakarta Sans + krem palette + ink buttons.
   Loaded after landing-modern.css; only logo + font + color changes.
======================================== */

:root {
    --bg: #FAF8F1;
    --ink: #1A1A1A;
    --accent: #E6CE00;
    --line: rgba(26, 26, 26, 0.1);
    --muted: rgba(26, 26, 26, 0.6);
}

html,
body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.01em;
    background: var(--bg);
    color: var(--ink);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--ink);
}

h1 { letter-spacing: -0.045em; font-weight: 700; }
h2 { letter-spacing: -0.035em; font-weight: 700; }
h3 { letter-spacing: -0.025em; font-weight: 700; }

code, pre {
    font-family: 'JetBrains Mono', monospace;
}

/* Sections inherit body bg; remove theme white surfaces */
section {
    background: transparent;
}

/* Navbar: sticky-fixed (Razor refactor lost the #landing-header wrapper that held position:fixed) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 241, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.navbar.scrolled {
    background: rgba(250, 248, 241, 0.95);
}

/* Primary button: ink bg, cream text, fully rounded */
.btn-primary {
    background: var(--ink);
    color: var(--bg);
    border: 1px solid var(--ink);
    border-radius: 999px;
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--ink);
    color: var(--bg);
    opacity: 0.88;
}
.btn-primary:active {
    background: var(--ink);
    color: var(--bg);
}

/* Secondary button: ink-outline, rounded */
.btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 999px;
}
.btn-secondary:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

/* Gradient-text used in many section titles: collapse to solid ink */
.gradient-text {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
}

/* Hero only: yellow highlight chip behind the single emphasized word */
.hero .gradient-text {
    background: var(--accent);
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
    padding: 0 0.25em;
    border-radius: 0.3em;
    display: inline-block;
    line-height: 1.1;
}

/* Drop the rainbow orbs in hero — yellow chip is the only accent */
.hero .gradient-orb {
    display: none;
}

/* CTA: solid ink card on krem page; titles cream, gradient-text becomes outlined chip */
.cta {
    background: var(--ink);
    color: var(--bg);
}
.cta-title {
    color: var(--bg);
}
.cta-description {
    color: rgba(250, 248, 241, 0.7);
}
.cta .gradient-text {
    background: transparent;
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    padding: 0;
    border-radius: 0;
    display: inline;
}
.cta .btn-primary {
    background: var(--bg);
    color: var(--ink);
    border-color: var(--bg);
}
.cta .btn-primary:hover,
.cta .btn-primary:focus {
    background: var(--bg);
    color: var(--ink);
    opacity: 0.88;
}

/* Muted body copy on krem sections (.cta excluded — it has its own dark-bg rule above) */
.section-description,
.hero-description,
.demo-description {
    color: var(--muted);
}

/* Brand mark: align logo + text */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}
