/* oh, hi! — shared product tokens. Paths below are relative to this file. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/Bricolage-Grotesque-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/DM-Sans-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --oh-ink: #183F34;
  --oh-paper: #FAF8F1;
  --oh-muted: #55665C;
  --oh-clay: #B84E2C;
  --oh-pool: #55D3C1;
  --oh-apricot: #FFAB72;
  --oh-ultramarine: #304DB5;
  --oh-lilac: #E6DAFA;
  --oh-rule: #D7D9CA;
  --oh-edge: #718176;

  --oh-canvas: var(--oh-paper);
  --oh-text-primary: var(--oh-ink);
  --oh-text-secondary: var(--oh-muted);
  --oh-text-inverse: var(--oh-paper);
  --oh-action-primary: var(--oh-ink);
  --oh-action-on-primary: var(--oh-paper);
  --oh-action-destructive: var(--oh-clay);
  --oh-action-on-destructive: var(--oh-paper);
  --oh-link: var(--oh-ultramarine);
  --oh-focus: var(--oh-ultramarine);
  --oh-focus-on-dark: var(--oh-paper);
  --oh-border-subtle: var(--oh-rule);
  --oh-border-control: var(--oh-edge);
  --oh-dial-browse: var(--oh-paper);
  --oh-dial-incoming: var(--oh-lilac);
  --oh-dial-outgoing: var(--oh-apricot);
  --oh-dial-connected: var(--oh-ink);
  --oh-dial-ended: var(--oh-paper);
  --oh-dial-foreground: var(--oh-ink);
  --oh-dial-on-connected: var(--oh-paper);

  --oh-font-display: "Bricolage Grotesque", "DM Sans", sans-serif;
  --oh-font-ui: "DM Sans", system-ui, sans-serif;

  --oh-type-display-family: var(--oh-font-display);
  --oh-type-display-size: 4rem;
  --oh-type-display-leading: 1.02;
  --oh-type-display-weight: 800;
  --oh-type-display-tracking: -0.04em;

  --oh-type-headline-family: var(--oh-font-display);
  --oh-type-headline-size: 2.5rem;
  --oh-type-headline-leading: 1.1;
  --oh-type-headline-weight: 700;
  --oh-type-headline-tracking: -0.03em;

  --oh-type-cover-line-family: var(--oh-font-ui);
  --oh-type-cover-line-size: 2.5rem;
  --oh-type-cover-line-leading: 1.054;
  --oh-type-cover-line-weight: 600;
  --oh-type-cover-line-tracking: -0.016em;

  --oh-type-title-family: var(--oh-font-display);
  --oh-type-title-size: 1.875rem;
  --oh-type-title-leading: 1.15;
  --oh-type-title-weight: 700;
  --oh-type-title-tracking: -0.025em;

  --oh-type-body-family: var(--oh-font-ui);
  --oh-type-body-size: 1rem;
  --oh-type-body-leading: 1.5;
  --oh-type-body-weight: 450;
  --oh-type-body-tracking: 0em;

  --oh-type-control-family: var(--oh-font-ui);
  --oh-type-control-size: 1rem;
  --oh-type-control-leading: 1.25;
  --oh-type-control-weight: 650;
  --oh-type-control-tracking: 0em;

  --oh-type-support-family: var(--oh-font-ui);
  --oh-type-support-size: 0.875rem;
  --oh-type-support-leading: 1.45;
  --oh-type-support-weight: 550;
  --oh-type-support-tracking: 0em;

  --oh-type-dial-name-family: var(--oh-font-ui);
  --oh-type-dial-name-size: 28px;
  --oh-type-dial-name-leading: 1.14;
  --oh-type-dial-name-weight: 700;
  --oh-type-dial-name-tracking: 0em;

  --oh-type-dial-status-family: var(--oh-font-ui);
  --oh-type-dial-status-size: 18px;
  --oh-type-dial-status-leading: 1.2;
  --oh-type-dial-status-weight: 600;
  --oh-type-dial-status-tracking: 0em;

  --oh-space-1: 0.25rem;
  --oh-space-2: 0.5rem;
  --oh-space-3: 0.75rem;
  --oh-space-4: 1rem;
  --oh-space-6: 1.5rem;
  --oh-space-8: 2rem;
  --oh-space-12: 3rem;

  --oh-radius-control: 0.75rem;
  --oh-radius-portrait: 50%;

  --oh-stroke-icon: 2px;
  --oh-stroke-focus: 2px;

  --oh-target-min: 2.75rem;

  --oh-motion-press: 100ms;
  --oh-motion-change: 180ms;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --oh-motion-press: 0ms;
    --oh-motion-change: 0ms;
  }
}
