@font-face {
  font-family: 'Margin SUIT';
  src: url('/fonts/SUIT-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-ui: 'Margin SUIT', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --text-primary: #202331;
  --text-secondary: #626779;
  --muted: #626779;
}
html, body {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 450;
  line-height: 1.6;
  letter-spacing: -.015em;
  /* 한국어는 단어 중간에서 줄을 바꾸지 않는다('빼/니다' 방지). 긴 주소만 넘칠 때 끊는다 */
  word-break: keep-all;
  overflow-wrap: break-word;
  color: var(--text-primary);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: var(--font-ui); }
button, .button { font-size: 14px; font-weight: 650; letter-spacing: -.015em; }
input, select, textarea { font-size: 15px; font-weight: 500; }
h1, h2, h3 { font-weight: 750; letter-spacing: -.025em; color: #1e2030; }
h1 { font-size: 34px; line-height: 1.3; font-weight: 800; }
h2 { font-size: 21px; line-height: 1.4; }
h3 { font-size: 16px; }
p, .subtitle { color: var(--text-secondary); font-size: 14px; line-height: 1.75; }
.brand { font-family: var(--font-ui); font-size: 25px; font-weight: 850; letter-spacing: -.035em; }
.nav button { font-size: 15px; font-weight: 600; color: #c6c3d8; padding: 12px; }
.nav button.active { font-weight: 750; color: #fff; }
.sidebar .caption, .navdivider { font-size: 10px; font-weight: 600; color: #9892b1; letter-spacing: .11em; }
.sidebottom { font-size: 12px; color: #b3adc8; }
.sidebottom .shop { font-size: 13px; }
.sidebottom small { font-size: 11px; color: #b3adc8; }
.breadcrumb { font-size: 13px; color: #697083; }
.pill, .micro { font-size: 12px; color: #697083; }
.eyebrow { font-size: 11px; font-weight: 750; letter-spacing: .09em; color: #7052aa; }
.headingActions button { font-size: 14px; }
.rangebar input, .rangebar select, .toolbar input, .toolbar select { font-size: 14px; color: #303747; }
.rangebar label, .quick button { font-size: 13px; color: #626779; }
.hero h2 { font-size: 34px; line-height: 1.35; font-weight: 800; letter-spacing: -.035em; }
.hero .kicker { font-size: 11px; font-weight: 650; letter-spacing: .1em; color: #b8a5f4; }
.hero p, .heroFigure small { font-size: 13px; color: #c7c1d7; }
.heroFigure strong { font-size: 44px; font-weight: 800; letter-spacing: -.035em; }
.heroFigure .tag { font-size: 12px; }
.statlabel { font-size: 14px; color: #5c6071; font-weight: 600; }
.statvalue { font-size: clamp(22px, 1.9vw, 34px); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; margin: 16px 0 11px; white-space: nowrap; }
.statvalue span { font-size: 13px; font-weight: 550; }
.statnote { font-size: 12px; color: #687081; line-height: 1.6; }
.stat.purple .statlabel, .stat.purple .statnote { color: #f1ebff; }
.panelhead h2 { font-size: 20px; }
.panelhead p, .panelhead small { font-size: 13px; color: #697083; }
.tablewrap table, table { font-size: 14px; }
th { font-size: 12px; font-weight: 650; color: #626779; }
td { color: #303747; line-height: 1.65; }
.menuTitle { font-size: 14px; font-weight: 650; color: #292f40; }
.menumeta, td small { font-size: 12px; color: #73798a; line-height: 1.6; }
.amount { font-size: 15px; font-weight: 650; color: #302a47; }
.amount, .right, .statvalue, .heroFigure strong, .money, .day { font-variant-numeric: tabular-nums lining-nums; }
.badge, .status { font-size: 11px; font-weight: 650; }
.badge { color: #62408c; }
.badge.warn { color: #8a571c; }
.badge.red { color: #ab3f3f; }
.badge.good { color: #4d6a25; }
.mutedbutton, .linkplain, .linkButton, .filelabel { font-size: 13px; font-weight: 650; }
.calendarHead input, .calendarHead select { font-size: 16px; }
.calendarHead input { width: 78px; }
.dayLabel { font-size: 12px; color: #737082; font-weight: 600; }
.day { font-size: 14px; font-weight: 600; min-height: 62px; }
.day .dayCount { font-size: 10px; color: #745297; font-weight: 500; }
.day.selected .dayCount { color: #f3edff; }
.day.outside { opacity: .45; }
.calendarFoot, .chartLabels, .smallChartLegend { font-size: 11px; color: #73798a; }
.miniPlatform strong { font-size: 14px !important; font-weight: 650; }
.miniPlatform small { font-size: 12px; }
.reviewBanner h3 { font-size: 15px; color: #875020; font-weight: 750; }
.reviewBanner p { font-size: 13px; color: #926438; }
.reviewBanner button { font-size: 13px; color: #875020; }
.notice { font-size: 13px; color: #675180; line-height: 1.7; }
.notice.warning, .notice.orange { color: #875a25; }
.drawer .name { font-size: 15px; font-weight: 650; }
.drawerhead h2 { font-size: 24px; }
.drawer .sectiontitle { font-size: 14px; color: #5e506e; }
.options, .recipehint { font-size: 13px; color: #687081; line-height: 1.7; }
.formgrid label, .fields label { font-size: 14px; color: #585f71; font-weight: 550; }
.formgrid input, .formgrid select, .formgrid textarea, .recipeLine input, .recipeLine select { font-size: 14px; color: #303747; }
.job strong { font-size: 15px; }
.job .meta, .collectCount, .settingsCard p { font-size: 13px; color: #697083; }
.switchline { font-size: 12px; color: #667085; }
.empty { font-size: 14px; color: #73798a; }
.footer, .siteFooter { font-size: 11px; color: #7a7e8d; }
.siteNav nav { font-size: 14px; color: #626779; font-weight: 550; }
.landingHero h1 { font-weight: 850; letter-spacing: -.04em; }
.landingHero p { font-size: 17px; color: #626779; }
.landingHero small { font-size: 13px; color: #73798a; }
.valueRow b, .workflow h3 { font-size: 17px; font-weight: 750; }
.valueRow p, .workflow p { font-size: 14px; color: #626779; }
.cta p { font-size: 14px; color: #f0eaff; }
.accountForm h1 { font-size: 30px; }
.accountPitch p { font-size: 15px; }
.card h2 { font-size: 21px; }
.card p, .event, .doc, .reviewLine { font-size: 14px; }
.costRows details { font-size: 14px !important; }
.tiny, .event small { font-size: 12px; color: #73798a; }
.accountPitch .tiny { color: #c7c1d7; }
.step { font-size: 13px; font-weight: 600; color: #737082; }
.step span { font-size: 11px; }
.money { font-weight: 800; }
.mobileAccount, .mobileAccount button { font-size: 13px; }

@media (max-width: 1200px) {
  .nav button { font-size: 14px; gap: 8px; padding: 12px 8px; }
  .hero h2 { font-size: 30px; }
}
@media (max-width: 850px) {
  h1 { font-size: 29px; }
  .brand { font-size: 23px; }
  .nav button { font-size: 14px; padding: 10px 12px; }
  .headingActions button { font-size: 13px; }
  .rangebar input { font-size: 13px; max-width: 140px; }
  .rangebar select { font-size: 13px; max-width: 100%; }
  .quick button { font-size: 12px; }
  .hero h2 { font-size: 29px; }
  .heroFigure strong { font-size: 38px; }
  .statlabel { font-size: 13px; }
  .statvalue { font-size: 25px; }
  .stat:nth-child(3) .statvalue { font-size: 21px; }
  .statnote { font-size: 11px; }
  .reviewBanner { flex-wrap: wrap; }
  .calendarFoot { gap: 10px; flex-wrap: wrap; }
  .day { font-size: 14px; min-height: 56px; }
  .formgrid input, .formgrid select, .formgrid textarea, .fields input, .fields textarea { font-size: 16px; }
  .siteNav nav, .siteNav #logout { font-size: 13px; }
  .accountPitch p { font-size: 14px; }
  .accountForm h1 { font-size: 28px; }
}
@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
  .stat:nth-child(3) .statvalue { font-size: 28px; }
}
