@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/Newsreader.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --bg: #d6d4bb;
  --panel: #f2ead9;
  --surface: #f8f1e4;
  --ink: #24291d;
  --muted: #66705d;
  --line: #d4c8ad;
  --soft: #e8deca;
  --primary: #405124;
  --primary-dark: #2b3918;
  --accent: #a9542a;
  --accent-soft: #efd2b8;
  --success: #2e663d;
  --danger: #9d4031;

  --glass-available: #dce6cf;
  --glass-limited: #efd2b8;
  --glass-full: #d8d1bf;

  --wall-old: #e8ddc7;
  --wall-new: #e2e5d2;
  --slab: rgba(36, 41, 29, 0.16);

  --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Newsreader, Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.375rem;
  --text-3xl: 2.25rem;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;

  --radius: 10px;
  --radius-sm: 7px;
  --radius-pill: 999px;
  --shadow: 0 14px 32px rgba(57, 49, 34, 0.1);
  --shadow-soft: 0 14px 30px rgba(36, 41, 29, 0.12);
  --motion-fast: 160ms ease;
  --motion: 200ms ease;

  font-size: 16px;
  font-family: var(--font-ui);
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  border: 3px solid var(--bg);
  border-radius: var(--radius-pill);
  background-color: var(--line);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: var(--muted); }
::-webkit-scrollbar-corner { background: transparent; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--text-md);
  line-height: 1.5;
}

.brand-text strong,
.page-head h1,
.section-head h2,
.registration-receipt .section-head h2,
.modal-head h2,
.modal h2,
.registration-intro h2,
.form-terms h3,
.registration-receipt-person strong,
.mh-school,
.mh-jubilee,
.mh-title,
.mh-date,
.al-card-head h3,
.schema-editor-head h2,
.schema-panel-title,
.schema-field-card-title {
  font-family: var(--font-display);
}

.tiny-icon,
.brandmark svg,
.registration-title-icon svg,
.registration-section-index svg,
.registration-resource-link svg,
.welcome-detail svg,
.file-upload-icon svg {
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-chip,
.registration-title-icon,
.file-upload-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--primary-dark);
  background: rgba(64, 81, 36, 0.1);
}

.primary-btn,
.secondary-btn,
.danger-btn,
.step,
.btn-sm,
.registration-section-index button,
.file-upload-action,
.form-builder-toolbar,
.schema-section-row,
.schema-field-card,
.schema-control label,
.schema-price-card label,
.schema-empty,
.schema-builder-error {
  font-weight: 650;
}

.field label,
.registration-progress-row span,
.time-combo-heading,
.meal-matrix th,
.selected-option-image-header,
.welcome-detail span,
.registration-receipt-meta span,
.registration-receipt-person .receipt-person-label,
.registration-receipt-row span,
.registration-receipt-total span,
.detail-line span,
.status,
.pill,
.legend,
th,
.schema-price-input > span,
.schema-section-count,
.schema-field-count {
  font-weight: 650;
  letter-spacing: 0.035em;
}

input,
select,
textarea,
.field input,
.field .dd-btn,
.field .clock-btn,
.time-combo-opt,
.dd-opt,
.multi-opt,
.choice-option span,
.schema-control input,
.schema-control textarea,
.schema-control select,
.schema-control .dd-btn,
.schema-add-field select,
.schema-price-input input {
  font-weight: 500;
}

.dd-opt[aria-selected="true"],
.multi-opt:has(input:checked),
.time-combo-opt[aria-selected="true"],
.alumni-search-empty,
.option-card-text,
.meal-matrix td:first-child,
.welcome-detail strong,
.detail-line strong,
.metric strong,
.conflict-item strong {
  font-weight: 650;
}

.registration-intro h2,
.form-terms h3,
.registration-receipt-person strong,
.page-head h1,
.section-head h2,
.registration-receipt .section-head h2,
.modal h2,
.schema-editor-head h2,
.schema-panel-title,
.schema-field-card-title {
  font-weight: 500;
}

.registration-receipt-total strong,
.detail-total strong {
  font-weight: 600;
}

.primary-btn,
.secondary-btn,
.danger-btn,
.step,
.dd-btn,
.dd-opt,
.multi-opt,
.choice-option,
.option-card,
.schema-section-row,
.schema-field-card {
  transition:
    transform var(--motion-fast),
    opacity var(--motion-fast),
    background var(--motion-fast),
    border-color var(--motion-fast),
    box-shadow var(--motion-fast),
    color var(--motion-fast);
}

.kicker,
.eyebrow {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
