@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Mono:wght@400;500&family=Montserrat:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

/* Smooth in-page anchor scrolling for the marketing landing nav. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:root {
  /* ── typography ──────────────────────────────────────────────── */
  --font-display: 'Playfair Display', ui-serif, Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, monospace;
  --font-weight-display: 600;
  --line-height-display: 1.1;
  --tracking-display: -0.02em;
  --font-weight-body: 400;
  --line-height-body: 1.65;
  --tracking-body: 0em;
  --font-weight-mono: 400;

  /* ── Renza landing palette ───────────────────────────── */
  --rz-onyx: #0F0F10;
  --rz-slate: #37464D;
  --rz-charcoal: #687177;
  --rz-sage: #A7B09A;
  --rz-sand: #E7E3DD;
  --rz-ivory: #FAFAF8;

  /* ── base tokens ─────────────────────────────────────────────── */
  --background: #F6F4F2;
  --foreground: #101012;
  --card: #FFFFFF;
  --card-foreground: #101012;
  --popover: #FFFFFF;
  --popover-foreground: #101012;

  --primary: #101012;
  --primary-foreground: #F6F4F2;
  --secondary: #F0EDE9;
  --secondary-foreground: #101012;
  --muted: #F0EDE9;
  --muted-foreground: #6B6F72;
  --accent: #F0EDE9;
  --accent-foreground: #101012;
  --destructive: oklch(0.52 0.16 27);
  --destructive-foreground: #F6F4F2;

  --border: #E6E1DB;
  --input: #E6E1DB;
  --ring: #101012;
  --success: oklch(0.58 0.10 150);
  --warning: oklch(0.72 0.10 72);

  /* ── sidebar — onyx surface ──────────────────────────────────── */
  --sidebar: #101012;
  --sidebar-foreground: #F6F4F2;
  --sidebar-primary: #B1B7A4;
  --sidebar-primary-foreground: #101012;
  --sidebar-accent: #1C1C1E;
  --sidebar-accent-foreground: #FAFAF8;
  --sidebar-border: #1E1E20;
  --sidebar-ring: #B1B7A4;

  /* ── surface hierarchy ───────────────────────────────────────── */
  --background-secondary: #F0EDE9;
  --surface-hover: #F0EDE9;
  --surface-active: #E6E1DB;
  --surface-elevated: #FFFFFF;

  /* ── border hierarchy ────────────────────────────────────────── */
  --border-subtle: #F0EDE9;
  --border-muted: #EDE9E3;
  --border-strong: #D6D1C9;

  /* ── text hierarchy ──────────────────────────────────────────── */
  --foreground-secondary: #3D474D;

  /* ── primary depth ───────────────────────────────────────────── */
  --primary-hover: #3D474D;
  --primary-muted: #C4C9BC;
  --primary-soft: #DEE0D8;
  --primary-tint: #EFF0EB;

  /* ── focus & error ───────────────────────────────────────────── */
  --focus-ring: rgba(16, 16, 18, 0.22);
  --error: oklch(0.52 0.16 27);
  --error-foreground: #F6F4F2;

  /* ── radius ──────────────────────────────────────────────────── */
  --radius: 0.5rem;
  --radius-none: 0rem;
  --radius-sm: 0.25rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ── shadows — very soft, warm-toned ─────────────────────────── */
  --shadow-sm: 0 1px 3px rgba(16, 16, 18, 0.06);
  --shadow-md: 0 4px 12px rgba(16, 16, 18, 0.07);
  --shadow-lg: 0 10px 28px rgba(16, 16, 18, 0.08);

  /* ── motion ──────────────────────────────────────────────────── */
  --duration-fast: 180ms;
  --duration-normal: 320ms;
  --duration-slow: 600ms;
  --ease-standard: cubic-bezier(0.25, 0, 0.1, 1);
  --ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);

  /* ── spacing ─────────────────────────────────────────────────── */
  --spacing-base: 0.25rem;

  /* ── sage accent — the single chromatic note ──────────────────── */
  --sage: #B1B7A4;
  --sage-deep: #87907A;
  --sage-soft: #E4E7DF;
  --sage-tint: #F2F3EF;
}

/* Renza hairline rule — sits under eyebrow labels */
.rz-rule {
  display: block;
  width: 2rem;
  height: 1px;
  background: #E6E1DB;
  margin-top: 1rem;
}

.dark {
  --background: #101012;
  --foreground: #F6F4F2;
  --card: #17171A;
  --card-foreground: #F6F4F2;
  --popover: #17171A;
  --popover-foreground: #F6F4F2;
  --primary: #B1B7A4;
  --primary-foreground: #101012;
  --secondary: #1C1C1F;
  --secondary-foreground: #F6F4F2;
  --muted: #1C1C1F;
  --muted-foreground: #797D80;
  --accent: #222226;
  --accent-foreground: #F6F4F2;
  --destructive: oklch(0.52 0.16 27);
  --destructive-foreground: #F6F4F2;
  --border: #2A2A2E;
  --input: #2A2A2E;
  --ring: #B1B7A4;
  --success: oklch(0.58 0.10 150);
  --warning: oklch(0.72 0.10 72);
  --sidebar: #0A0A0C;
  --sidebar-foreground: #F6F4F2;
  --sidebar-primary: #B1B7A4;
  --sidebar-primary-foreground: #101012;
  --sidebar-accent: #17171A;
  --sidebar-accent-foreground: #F6F4F2;
  --sidebar-border: #1C1C1F;
  --sidebar-ring: #B1B7A4;
  --background-secondary: #17171A;
  --surface-hover: #1C1C1F;
  --surface-active: #222226;
  --surface-elevated: #1A1A1E;
  --border-subtle: #1E1E22;
  --border-muted: #242428;
  --border-strong: #36363C;
  --foreground-secondary: #9BA0A3;
  --primary-hover: #C8CEC0;
  --primary-muted: #2E3530;
  --primary-soft: #252B26;
  --primary-tint: #1A1F1B;
  --focus-ring: rgba(177, 183, 164, 0.3);
  --error: oklch(0.52 0.16 27);
  --error-foreground: #F6F4F2;
}
