@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');
/* Darlien Design System — generated from tokens.json */
@font-face { font-family: 'Apex New'; src: url('fonts/ApexNew-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Apex New'; src: url('fonts/ApexNew-Book.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Apex New'; src: url('fonts/ApexNew-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Apex New'; src: url('fonts/ApexNew-Demi.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Apex New'; src: url('fonts/ApexNew-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir Next LT Pro'; src: url('fonts/AvenirNextLTPro-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir Next LT Pro'; src: url('fonts/AvenirNextLTPro-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir Next LT Pro'; src: url('fonts/AvenirNextLTPro-Demi.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir Next LT Pro'; src: url('fonts/AvenirNextLTPro-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('fonts/BricolageGrotesque-VariableFont_opsz_wdth_wght.ttf') format('truetype'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-Variable.ttf') format('truetype'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-VariableItalic.ttf') format('truetype'); font-weight: 300 900; font-style: italic; font-display: swap; }
:root, [data-theme="forest"] {
  --bg-forest: #0f2117;
  --bg-forest-2: #16291d;
  --bg-forest-3: #1e3527;
  --bg-forest-4: #284130;
  --type-cream: #f1ecb6;
  --type-cream-2: #e4dea0;
  --fg-1: #e6ebe0;
  --fg-2: #b4beb1;
  --fg-3: #a3ae9f;
  --fg-inverse: #0f2117;
  --accent-lime: #a8f26d;
  --accent-lime-soft: #c9f89d;
  --accent-lime-deep: #7fd653;
  --accent-yellow: var(--type-cream);
  --accent-yellow-soft: #f8f4d3;
  --accent-yellow-deep: var(--type-cream-2);
  --accent-lavender: var(--accent-yellow);
  --accent-lavender-soft: var(--accent-yellow-soft);
  --accent-lavender-deep: var(--accent-yellow-deep);
  --bloom-lime: #7fd653;
  --bloom-sage: #5c8c5e;
  --bloom-olive: #8aa055;
  --bloom-moss: #4a6b3e;
  --success: #a8f26d;
  --warning: #e4dea0;
  --danger: #e07a5f;
  --info: #94c8b2;
  --hairline: rgba(232, 235, 224, 0.08);
  --hairline-strong: rgba(232, 235, 224, 0.16);
  --scrim: rgba(15, 33, 23, 0.72);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 60px -32px rgba(0, 0, 0, 0.55);
  --shadow-card-hover: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 32px 80px -28px rgba(0, 0, 0, 0.6);
  --shadow-button-hover: 0 8px 24px -8px rgba(168, 242, 109, 0.4);
  --shadow-button-press: 0 2px 6px -2px rgba(168, 242, 109, 0.5);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;
  --radius-leaf: 18px 4px 18px 4px;
  --radius-leaf-hover: 4px 18px 4px 18px;
  --radius-leaf-lg: 22px 6px 22px 6px;
  --radius-leaf-dot: 5px 1.5px 5px 1.5px;
  --fs-display-xl: 96px;
  --fs-display-l: 64px;
  --fs-display-m: 44px;
  --fs-h1: 32px;
  --fs-h2: 28px;
  --fs-h3: 22px;
  --fs-body-lg: 19px;
  --fs-body: 17px;
  --fs-body-sm: 15px;
  --fs-caption: 13px;
  --fs-eyebrow: 14px;
  --fs-nav: 13px;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --lh-tight: 1.05;
  --lh-snug: 1.2;
  --lh-normal: 1.55;
  --lh-loose: 1.7;
  --ls-display: -0.02em;
  --ls-h: -0.01em;
  --ls-body: 0em;
  --ls-eyebrow: 0.02em;
  --ls-nav: 0.18em;
  --content-max: 1200px;
  --gutter: 48px;
  --topbar-h: 72px;
  --font-sans: 'Satoshi', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Bricolage Grotesque', 'Satoshi', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}
.display-xl { font-family: var(--font-display); font-size: 96px; font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.display-l { font-family: var(--font-display); font-size: 64px; font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.display-m { font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
.h1 { font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.h2 { font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1.25; letter-spacing: -0.005em; }
.h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; }
.body-lg { font-family: var(--font-sans); font-size: 19px; font-weight: 400; line-height: 1.5; }
.body { font-family: var(--font-sans); font-size: 17px; font-weight: 400; line-height: 1.55; letter-spacing: 0em; }
.body-sm { font-family: var(--font-sans); font-size: 15px; font-weight: 400; line-height: 1.55; }
.eyebrow { font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.nav-link { font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: 0.18em; }
.caption { font-family: var(--font-sans); font-size: 13px; font-weight: 400; letter-spacing: 0.01em; }

/* Darlien Design System — component styles.
   Token values (color, type, spacing, radii, shadows) live in tokens.json and
   are declared by tokens.css; this sheet only uses them. */

/* JetBrains Mono, from Google Fonts (the family --font-mono names). */


:root {
  /* Motion: not a token family, so declared here */
  --t-leaf: 420ms cubic-bezier(.2,.8,.2,1);
  --ease-out:   cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in:    cubic-bezier(0.4, 0.0, 1, 1);
  --ease-inout: cubic-bezier(0.4, 0.0, 0.2, 1);
  --t-fast:     80ms;
  --t-base:     150ms;
  --t-slow:     400ms;
}
@media (max-width: 640px) { :root { --gutter: 20px; } }

/* ============================================================
   Semantic element styles
   ============================================================ */

html, body {
  background: var(--bg-forest);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--type-cream);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  margin: 0;
}

h1 { font-size: var(--fs-h1); letter-spacing: var(--ls-h); line-height: var(--lh-snug); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-medium); letter-spacing: -0.005em; line-height: 1.25; }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-medium); letter-spacing: -0.005em; line-height: 1.3; }

/* The type-style classes (.display-xl … .caption) get their font, size,
   weight, leading and tracking from tokens.css; only colour and casing here. */
.display-xl, .display-l, .display-m { color: var(--type-cream); margin: 0; }

p, .body {
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--fg-1);
  margin: 0;
}

.eyebrow { color: var(--accent-lime); text-transform: none; }
.nav-link { text-transform: uppercase; color: var(--fg-1); }
.caption { color: var(--fg-2); }

.accent { color: var(--accent-lime); }
.cream  { color: var(--type-cream); }
.muted  { color: var(--fg-2); }

code, .mono {
  font-family: var(--font-mono);
  font-size: 0.94em;
}

/* ============================================================
   Atmospheric background — the signature green bloom
   ============================================================ */

.bloom-bg {
  position: relative;
  background: var(--bg-forest);
  overflow: hidden;
  isolation: isolate;
}
.bloom-bg::before,
.bloom-bg::after {
  content: '';
  position: absolute;
  inset: -50%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 35% at 30% 70%, var(--bloom-lime) 0%, transparent 65%),
    radial-gradient(45% 40% at 75% 55%, var(--bloom-sage) 0%, transparent 65%),
    radial-gradient(35% 30% at 55% 90%, var(--bloom-olive) 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.5;
}
.bloom-bg::after {
  background:
    radial-gradient(30% 25% at 65% 75%, var(--bloom-lime) 0%, transparent 65%),
    radial-gradient(25% 20% at 25% 45%, var(--bloom-moss) 0%, transparent 70%);
  opacity: 0.4;
}
