/* #362: the platform's public look (marketing, account, pricing, docs): dark ink, Geist, terracota accent.
 * Shared by landing/marketing_base.html and base.html; the dashboard has its own (static/dashboard/). */
:root {
    --ink: #0d0b0a; --ink-2: #151211; --ink-3: #1d1917; --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
    --text: #f4f1ee; --muted: #a59d97; --dim: #8a827d; /* #362: tertiary TEXT (5,2:1 on ink); the brand dim #6F6865 is 3,4:1, below AA for text */ --accent: #D97757; --accent-2: #E59A80; --ok: #3ecf8e;
}
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--text); font-family: Geist, Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
/* film grain over the dark background */
.ef-grain { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .07; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ef-mono { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
.ef-label { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.ef-nav-link { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #e9e4df; }
.ef-nav-link:hover { color: #fff; }
.ef-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 4px;
    font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
    transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.ef-btn-primary { background: var(--accent); color:#0D0B0A; } .ef-btn-primary:hover { background: var(--accent-2); }
.ef-btn-light { background: #fff; color: #0d0b0a; } .ef-btn-light:hover { background: #e9e4df; }
.ef-btn-outline { border: 1px solid #f4f1ee; color: #f4f1ee; text-transform: none; letter-spacing: .02em; }
.ef-btn-outline:hover { background: rgba(255,255,255,.06); }
.ef-btn-sm { height: 34px; padding: 0 14px; font-size: 12px; }
.ef-hr { border-top: 1px solid var(--line); }
.ef-card { background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 6px; }
.ef-card:hover { border-color: var(--line-2); }
.ef-outline-text { color: transparent; -webkit-text-stroke: 1.5px #f4f1ee; }
:focus-visible { outline: 2px solid var(--ef-terracota-400); outline-offset: 3px; }
@media (max-width: 640px) { .ef-outline-text { -webkit-text-stroke-width: 1px; } }
/* light sections (cream/paper) inside a dark page: terracota TEXT is the 700 (5:1; #D97757 is 2,8:1) */
.ef-paper .text-brand-orange, .ef-paper .ef-link { color: #A84F2C; }
/* #362 type scale: headings Geist 500-600 with -0.03em tracking; labels Geist Mono 500 +0.14em (.ef-label) */
h1, h2, h3 { letter-spacing: -0.03em; }
