/* ==========================================================================
   Happy Coders Academy — design tokens
   Source of truth: hca-website/experiments/design-system.html (HCA Playroom)
   Do not introduce a second palette or typeface on this site.
   ========================================================================== */

@font-face {
  font-family: "Nunito Sans";
  src: url("../assets/nunito-sans-variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand anchors */
  --brand-slate: #4d656c;
  --brand-orange: #e34321;
  --brand-sky: #9dcddb;

  /* Ink & surfaces */
  --ink: #26383e;
  --ink-deep: #1b2a30;
  --muted: #596d70;
  --paper: #faf8f1;
  --surface: #fffefa;
  --surface-raised: #ffffff;
  --line: #dedfd4;
  --line-strong: #cbd0c4;

  /* Orange ramp */
  --orange-50: #fff0e5;
  --orange-100: #f5c7b5;
  --orange-300: #ee8869;
  --orange-500: #e34321;
  --action: #b83218;
  --action-hover: #a52d17;
  --action-dark: #7e2818;

  /* Sky ramp */
  --sky-50: #e8f4f5;
  --sky-100: #c4dfe4;
  --sky-300: #9dcddb;
  --sky-500: #6ba4b5;
  --sky-700: #32616e;

  /* Feedback */
  --success: #32634c;
  --success-soft: #e8f1e8;
  --danger: #ab3030;

  /* Depth, motion, shape */
  --shadow: 0 5px 0 #dcded3, 0 12px 26px rgba(38, 56, 62, 0.035);
  --shadow-card: 0 6px 0 #e3e4d9, 0 24px 48px -24px rgba(38, 56, 62, 0.18);
  --shadow-float: 0 8px 0 #e3e4d9, 0 30px 60px -28px rgba(38, 56, 62, 0.3);
  --spring: cubic-bezier(0.2, 0.8, 0.25, 1.25);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  /* Type & layout */
  --font: "Nunito Sans", Nunito, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 78px;

  /* Section rhythm */
  --section-y: clamp(3.4rem, 6.2vw, 5.6rem);
}
