/* ============================================================
   RINNE DESIGN SYSTEM · tokens (fonts, colors, typography,
   spacing, effects) — bundled for the Proposal Generator.
   ============================================================ */

/* —— Sora —— */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("assets/fonts/sora-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("assets/fonts/sora-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* —— Space Grotesk —— */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* —— Brand accent · purple ramp —— */
  --purple-50:  #F5F2FF;
  --purple-100: #ECE5FF;
  --purple-200: #D8C9FF;
  --purple-300: #B9A5FF;
  --purple-400: #9B7BFF;
  --purple-500: #7A4CFF;
  --purple-600: #6638EE;
  --purple-700: #5026D1;
  --rinne-purple: var(--purple-500);
  --lavender:     var(--purple-300);

  /* —— Neutral ramp —— */
  --paper:    #FFFFFF;
  --paper-2:  #F7F8FA;
  --ink-50:   #EDEFF2;
  --ink-100:  #DCDFE5;
  --ink-200:  #C2C7CF;
  --ink-300:  #8A909B;
  --ink-400:  #565C66;
  --ink-500:  #3A3F46;
  --ink-600:  #2E323A;
  --ink-700:  #23262B;
  --ink-800:  #1A1D22;
  --ink-900:  #111317;

  /* —— Status —— */
  --green-500:  #18A567;
  --green-100:  #DCF3E8;
  --red-500:    #E5484D;
  --red-100:    #FBE0E1;
  --amber-500:  #E8A33D;
  --amber-100:  #FBEED6;

  /* Surfaces */
  --bg:                var(--paper);
  --bg-subtle:         var(--paper-2);
  --surface:           #FFFFFF;
  --surface-sunken:    var(--paper-2);
  --surface-inverse:   var(--ink-900);
  --surface-inverse-2: var(--ink-800);

  /* Text */
  --text-strong:   var(--ink-900);
  --text-body:     var(--ink-600);
  --text-muted:    var(--ink-400);
  --text-subtle:   var(--ink-300);
  --text-accent:   var(--purple-500);
  --text-on-dark:        var(--ink-50);
  --text-on-dark-muted:  var(--ink-300);

  /* Borders & lines */
  --border:        #E5E8EC;
  --border-strong: var(--ink-200);
  --border-dark:   #2C2F36;
  --hairline:      #EDEFF2;

  /* Accent roles */
  --accent:        var(--purple-500);
  --accent-hover:  var(--purple-600);
  --accent-press:  var(--purple-700);
  --accent-soft:   var(--purple-100);
  --accent-tint:   var(--purple-50);
  --on-accent:     #FFFFFF;

  /* Status roles */
  --success:       var(--green-500);
  --success-soft:  var(--green-100);
  --danger:        var(--red-500);
  --danger-soft:   var(--red-100);
  --warning:       var(--amber-500);
  --warning-soft:  var(--amber-100);

  --focus-ring:    0 0 0 3px rgba(122, 76, 255, 0.35);

  /* Typography */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-sans:    'Sora', system-ui, sans-serif;
  --font-data:    'Space Grotesk', ui-monospace, monospace;

  /* Component sizing */
  --control-h-sm: 32px;
  --control-h:    40px;
  --control-h-lg: 48px;

  /* Corner radii */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(17,19,23,0.05);
  --shadow-sm: 0 2px 6px rgba(17,19,23,0.06);
  --shadow-md: 0 6px 20px rgba(17,19,23,0.08);
  --shadow-lg: 0 16px 44px rgba(17,19,23,0.12);

  /* Purple glow */
  --glow-purple:    0 8px 28px rgba(122,76,255,0.30);
  --glow-purple-sm: 0 4px 14px rgba(122,76,255,0.24);

  /* Motion */
  --ease-out:      cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 120ms;
  --dur:      200ms;
  --dur-slow: 340ms;

  /* Dotted grid texture — faint purple dots */
  --dotgrid: radial-gradient(rgba(122,76,255,0.16) 1.2px, transparent 1.2px);
  --dotgrid-size: 26px 26px;
}
