/* OMH foundations. Usage and component owners are documented in docs/DESIGN_SYSTEM.md. */
@font-face {
  font-family: Jakarta;
  src: url("jakarta-vietnamese.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root,
.editor-styles-wrapper {
  --omh-ink: #243128;
  --omh-text: #34433b;
  --omh-muted: #59675e;
  --omh-paper: #fff;
  --omh-tint: #f7f7f0;
  --omh-sage: #edf1e8;
  --omh-green: #203d31;
  --omh-border: #dbe1da;
  --omh-border-control: #78867b;
  --omh-accent: #c74420;
  --omh-accent-hover: #a83c1c;
  --omh-on-accent: var(--omh-paper);
  --omh-orange: #e55b33;
  --omh-focus: #1376a0;
  --omh-focus-on-dark: #ffd09d;
  --omh-footer: #1d3026;
  --omh-on-dark: #f3f6ee;
  --omh-on-dark-muted: #d5ddd2;

  --omh-selected-bg: #fff0e8;
  --omh-selected-text: var(--omh-accent-hover);
  --omh-success-bg: #eaf5ef;
  --omh-success-text: #224d36;
  --omh-error-bg: #fff0eb;
  --omh-error-text: #8c3020;
  --omh-notice-bg: var(--omh-sage);
  --omh-notice-text: var(--omh-green);

  --omh-sage-border: #c8d4c4;
  --omh-finance-tint: #f7ede0;
  --omh-finance-border: #decebb;
  --omh-care-tint: #eaf0ef;
  --omh-care-border: #c8d6d3;
  --omh-pixel-sky: #e6efde;

  --omh-font: Jakarta, Arial, sans-serif;
  --omh-text-xs: 0.75rem;
  --omh-text-sm: 0.875rem;
  --omh-text-base: 1rem;
  --omh-text-lg: 1.125rem;
  --omh-title-page: clamp(34px, 4.3vw, 62px);
  --omh-title-section: clamp(28px, 2.85vw, 42px);
  --omh-title-card: clamp(18px, 1.5vw, 24px);
  --omh-weight-medium: 500;
  --omh-weight-semibold: 650;
  --omh-weight-bold: 700;
  --omh-leading-body: 1.65;
  --omh-leading-tight: 1.25;

  --omh-space-1: 4px;
  --omh-space-2: 8px;
  --omh-space-3: 12px;
  --omh-space-4: 16px;
  --omh-space-5: 20px;
  --omh-space-6: 24px;
  --omh-space-8: 32px;
  --omh-space-10: 40px;
  --omh-space-12: 48px;
  --omh-space-16: 64px;
  --omh-radius-control: 8px;
  --omh-radius-card: 12px;
  --omh-radius-panel: 16px;
  --omh-control-height: 44px;
  --omh-content: 780px;
  --omh-wrap: 1220px;
  --omh-gutter: clamp(20px, 5.1vw, 88px);

  --omh-shadow-menu: 0 16px 38px rgb(22 42 30 / 15%);
  --omh-shadow-search: 0 4px 20px #0f170f1c;
  --omh-hero-scrim: linear-gradient(90deg, rgb(8 20 12 / 68%), rgb(10 22 14 / 36%) 40%, rgb(11 18 9 / 2%) 76%), linear-gradient(0deg, rgb(15 21 13 / 16%), transparent 42%);
  --omh-hero-scrim-mobile: linear-gradient(0deg, #132118ce 0%, #1421178c 52%, #18251b16 100%), linear-gradient(90deg, #101a1291, transparent 80%);
}

@media (max-width: 680px) {
  :root,
  .editor-styles-wrapper {
    --omh-gutter: var(--omh-space-5);
  }
}
