@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/inter.woff2") format("woff2"); }

/* The Mac app's palette (Sources/Huma/Theme.swift): the desk, the page, text tones, Notion-style tags. */
:root {
    color-scheme: light;
    --bg: #f1f3f4;
    --bg-alt: #f7f7f5;
    --card: #ffffff;
    --text: #37352f;
    --secondary: #787774;
    --tertiary: #a5a4a0;
    --separator: #dadce0;
    --divider: #e9e9e7;
    --fill: #f1f1ef;
    --hover: #efefed;
    --ink: #2383e2;
    --on-ink: #ffffff;
    --accent: #2383e2;
    --accent-hover: #1b74cb;
    --accent-text: #2383e2;
    --green: #2e9e6b;
    --green-fill: #dbeddb;
    --green-text: #1c3829;
    --red: #c4413a;
    --red-fill: #ffe2dd;
    --red-text: #5d1715;
    --orange: #e07c24;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.06);
    --radius: 12px;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
    --display: var(--sans);
    --serif: var(--sans);
    --book: var(--sans);
    --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; --bg: #111111; --bg-alt: #202020; --card: #1e1e1e; --text: #d4d4d4; --secondary: #9b9b9b; --tertiary: #6f6f6f;
    --separator: #2c2c2c; --divider: #2f2f2f; --fill: #252525; --hover: #2c2c2c; --ink: #529cca; --accent: #529cca; --accent-hover: #63a8d4;
    --accent-text: #6aaedb; --green: #4fbf8b; --green-fill: #243d30; --green-text: #a9d8b6; --red: #e5726b; --red-fill: #4e2a26; --red-text: #f2b8b0;
    --orange: #f0a35a; --shadow: 0 0 0 1px #2c2c2c; } }
:root[data-theme="dark"] { color-scheme: dark; --bg: #111111; --bg-alt: #202020; --card: #1e1e1e; --text: #d4d4d4; --secondary: #9b9b9b; --tertiary: #6f6f6f;
    --separator: #2c2c2c; --divider: #2f2f2f; --fill: #252525; --hover: #2c2c2c; --ink: #529cca; --accent: #529cca; --accent-hover: #63a8d4;
    --accent-text: #6aaedb; --green: #4fbf8b; --green-fill: #243d30; --green-text: #a9d8b6; --red: #e5726b; --red-fill: #4e2a26; --red-text: #f2b8b0;
    --orange: #f0a35a; --shadow: 0 0 0 1px #2c2c2c; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.55 var(--sans);
    letter-spacing: -0.011em;
    font-feature-settings: "cv11", "ss03";
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-text); text-decoration: none; }
button, input, textarea { font-family: inherit; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
code, .mono { font: 12px/1.6 var(--mono); letter-spacing: 0; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 8px; }

/* Header bar, like the app's header: page color, a hairline below. */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--card) 88%, transparent);
    -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--divider); }
.nav-inner { max-width: 760px; margin: 0 auto; height: 56px; padding: 0 20px; display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav a { color: var(--text); opacity: 0.78; }
.nav a:hover { opacity: 1; text-decoration: none; }
.nav .links { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.nav .button { color: var(--on-ink); opacity: 1; }
.nav .button.secondary { color: var(--text); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--text); opacity: 1 !important; }
.mark { width: 20px; height: 26px; flex: none; }
@media (max-width: 640px) { .nav .links .optional { display: none; } .nav-inner { gap: 14px; } }

/* Buttons: the app's HumaButtonStyle. Primary is filled accent; secondary is a quiet outline. */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 40px; padding: 0 18px; border-radius: 8px; border: 0;
    background: var(--accent); color: var(--on-ink); font: 600 14.5px/1 var(--sans); letter-spacing: -0.01em;
    cursor: pointer; text-decoration: none; transition: background-color .12s ease, opacity .12s ease;
}
.button:hover { background: var(--accent-hover); text-decoration: none; }
.button:active { opacity: .85; }
.button:disabled { opacity: .45; cursor: default; }
.button.small { min-height: 30px; padding: 0 12px; font-size: 13px; border-radius: 7px; }
.button.secondary { background: var(--card); color: var(--text); border: 1px solid var(--divider); font-weight: 500; }
.button.secondary:hover { background: var(--hover); }

/* Footer */
.footer { border-top: 1px solid var(--separator); color: var(--tertiary); font-size: 13px; line-height: 1.6; }
.footer-inner { max-width: 1040px; margin: 0 auto; padding: 26px 22px 40px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; }
.footer-inner p { margin: 0; flex: 1 1 420px; }
.footer a { color: var(--secondary); }
