/* Renteria Capital design tokens used by Prewind and custom components. */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  /* Existing brand palette */
  --navy-950: #041225;
  --navy-900: #071a33;
  --navy-800: #0c294d;
  --gold-500: #c89b3c;
  --gold-400: #ddb85f;
  --ivory-100: #fbf8f1;
  --ivory-200: #f3ecdf;
  --ink-900: #101828;
  --ink-600: #475467;

  /* Fonts */
  --font-body: "Inter", system-ui, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-normal: 400;
  --font-semibold: 600;
  --font-bold: 700;

  /* Prewind brand colors */
  --brand-1: var(--gold-500);
  --brand-1-content: var(--navy-950);
  --brand-1-light: #f7eed5;
  --brand-2: var(--navy-900);
  --brand-2-light: #dbe4ee;
  --brand-3: var(--navy-800);
  --brand-3-light: #d6e2ee;
  --brand-4: var(--gold-400);
  --brand-4-light: #fbf3dc;

  /* Neutral colors */
  --black: #101828;
  --darker: #344054;
  --dark: var(--ink-600);
  --midtone: #667085;
  --light: #d0d5dd;
  --lighter: #f2f4f7;
  --white: #ffffff;

  /* Semantic colors */
  --success: #16803c;
  --success-light: #dcfce7;
  --info: #175cd3;
  --info-light: #dbeafe;
  --warning: #b54708;
  --warning-light: #fef0c7;
  --error: #b42318;
  --error-light: #fee4e2;
  --link: #175cd3;
  --highlight: #fef3c7;

  /* Borders and outlines */
  --border: 1px;
  --border-sm: 0.5px;
  --border-lg: 2px;

  /* Border radius */
  --rounded: 0.625rem;
  --rounded-sm: 0.25rem;
  --rounded-lg: 1rem;
  --rounded-full: 9999px;

  /* Shadows */
  --shadow: 0 4px 4px 1px rgb(0 0 0 / 15%), 0 2px 4px -2px rgb(0 0 0 / 25%);
  --shadow-sm: 0 2px 3px -0.5px rgb(0 0 0 / 10%), 0 1px 2px -1px rgb(0 0 0 / 10%);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);

  /* Content constraints */
  --max-w-text: 80ch;
  --max-w-form: 40rem;
  --container-max: 1400px;
  --container-padding: 0 var(--space-md);

  /* Fluid type scale */
  --text-sm: clamp(0.8333rem, 0.7917rem + 0.2083vw, 1rem);
  --text-base: clamp(1rem, 0.9375rem + 0.3125vw, 1.25rem);
  --text-lg: clamp(1.2rem, 1.109rem + 0.4531vw, 1.563rem);
  --text-xl: clamp(1.44rem, 1.312rem + 0.6414vw, 1.953rem);
  --text-2xl: clamp(1.728rem, 1.55rem + 0.8918vw, 2.441rem);
  --text-3xl: clamp(2.074rem, 1.829rem + 1.223vw, 3.052rem);
  --text-4xl: clamp(2.488rem, 2.157rem + 1.658vw, 3.815rem);

  /* Fluid spacing scale */
  --space-3xs: clamp(0.2222rem, 0.2171rem + 0.0258vw, 0.2429rem);
  --space-2xs: clamp(0.3333rem, 0.3155rem + 0.0894vw, 0.4048rem);
  --space-xs: clamp(0.5rem, 0.4563rem + 0.2186vw, 0.6749rem);
  --space-sm: clamp(0.75rem, 0.6562rem + 0.4688vw, 1.125rem);
  --space-md: clamp(1.125rem, 0.9374rem + 0.938vw, 1.875rem);
  --space-lg: clamp(1.688rem, 1.328rem + 1.798vw, 3.126rem);
  --space-xl: clamp(2.531rem, 1.861rem + 3.35vw, 5.211rem);
  --space-2xl: clamp(3.797rem, 2.574rem + 6.113vw, 8.688rem);
  --space-3xl: clamp(5.695rem, 3.499rem + 10.98vw, 14.48rem);
  --space-4xl: clamp(8.543rem, 4.643rem + 19.5vw, 24.14rem);
}

@media (min-width: 64rem) {
  .app-sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    overflow: hidden;
  }
}
