/* Sunny Origin design tokens. Fonts are declared in theme.json. */


:root {
  /* Colour */
  --paper: #F7F7F4;        /* page background */
  --white: #FFFFFF;        /* raised surfaces */
  --ink: #101815;          /* text, logo */
  --ink-soft: #48524E;     /* secondary text (7.4:1 on paper) */
  --line: #DCDFDA;         /* dividers */
  --line-strong: #B9BEB8;
  --orange: #FF7900;       /* logo accent, primary buttons (ink text on top) */
  --orange-deep: #A84A00;  /* orange used as text on light backgrounds (5.6:1) */
  --orange-tint: #FFF1E4;
  --panel: #16222D;        /* PV-cell blue for dark sections */
  --panel-soft: #24323F;
  --on-panel: #E9EEF1;
  --on-panel-soft: #A9B7C2;
  --focus: #0A66D8;

  /* Type */
  --font-display: 'Lexend Exa', 'Lexend', system-ui, sans-serif;
  --font-body: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-xs: 0.8125rem;   /* 13 */
  --text-sm: 0.9375rem;   /* 15 */
  --text-md: 1.0625rem;   /* 17 body */
  --text-lg: 1.25rem;     /* 20 lede */
  --text-xl: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);          /* card headings */
  --text-2xl: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);        /* section headings */
  --text-hero: clamp(2.125rem, 1.1rem + 3.9vw, 4.25rem);      /* 34 → 68 */

  --leading-tight: 1.12;
  --leading-snug: 1.3;
  --leading-body: 1.6;

  /* Space and layout */
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 9vw, 136px);
  --stack-sm: 0.75rem;
  --stack-md: 1.5rem;
  --stack-lg: 2.5rem;
  --measure: 62ch;

  /* Shape and motion */
  --radius-sm: 4px;
  --radius-md: 8px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1180px) {
  :root { --header-h: 64px; }
}
