@font-face {
  font-family: "Noto Sans KR Local";
  src: url("../assets/fonts/NotoSansKR-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans KR Local";
  src: url("../assets/fonts/NotoSansKR-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Pure White Canvas + Whisper-Quiet Attio Rail */
  --paper: #FFFFFF;
  --rail: #FAFAFB;
  --hover: #F4F5F7;
  --active: #ECEEF2;
  --subtle: #F7F8FA;

  /* Soft Charcoal Ink Hierarchy (Weight 400 / 500 / 600) */
  --ink: #1D1F24;
  --ink-2: #5C6370;
  --ink-3: #8D94A3;
  --ink-4: #BCC2CF;

  /* Attio Ultra-Fine Hairlines */
  --hairline: #ECEEF2;
  --hairline-2: #E2E5EC;

  /* C2 Attio Luminous Palette */
  --blue: #3B76F6;
  --blue-strong: #2563EB;
  --blue-soft: rgba(59, 118, 246, 0.08);
  --indigo: #7C6DF8;
  --sky: #55B3F9;
  --violet: #A78BFA;

  /* Quiet Semantic Accents */
  --mint: #10B981;
  --mint-ink: #059669;
  --mint-bg: #ECFDF5;
  --amber: #D97706;
  --amber-bg: #FFFBEB;
  --rose: #E11D48;
  --rose-bg: #FFF1F2;

  /* Radii & Subtle Elevation */
  --r-xs: 5px;
  --r-sm: 7px;
  --r-md: 10px;
  --r-lg: 14px;
  --shadow-popover: 0 12px 32px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.04);
  --scrim: rgba(29, 31, 36, 0.22);

  /* Shell Geometry */
  --rail-w: 218px;
  --topbar-h: 44px;

  /* Locked Typography: Inter for crisp geometric Latin/Numerals + Noto Sans KR for Korean */
  --font-sans: "Inter", "Noto Sans KR", "Noto Sans KR Local", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.011em;
  font-variant-numeric: tabular-nums;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  overflow: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
h1, h2, h3, strong { font-weight: 500; }
th { font-weight: 400; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
button, select { cursor: pointer; }
button { background: transparent; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

:where(button, a, select, input, [tabindex]):focus-visible {
  outline: 1.5px solid var(--blue);
  outline-offset: 2px;
}

::selection {
  background: rgba(59, 118, 246, 0.14);
  color: var(--blue-strong);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
