/* Avail Website · Variables, @font-face, and base html/body styles */

@font-face {
  font-family: 'Delight';
  src: url('../fonts/delight/Delight-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Delight';
  src: url('../fonts/delight/Delight-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #fffffe;
  --black: #141413;
  --heading: #161615;
  --grey: #f0f0ef;
  --nav-pill: var(--grey);
  --nav-link: #858582;
  --body-text: #858582;
  --border: var(--grey);
  --section-gutter: var(--grey);
  --nexus-blue: #0048ff;
  --btn-secondary-border: #d1d1d0;
  --max-width: 1440px;
  --content-inset: 72px;
  --section-frame: 10px;

  /* Deposit page tokens (merged from deposit-base.css) */
  --ink: #000000;
  --heading-soft: #2b2b2b;
  --body: #666666;
  --btn-dark: #202224;
  --btn-dark-text: #f7f7f7;
  --blue: #0048ff;
  --card: #f0f0ef;
  --hairline: #ededed;
  --footer-bg: #ededed;
  --demo-bg: #e3e1e1;
  --footer-label: #aaaaaa;
  --footer-link: #2b2b2b;
  --copyright: #c0c0c7;
  --step-blue: #dceaff;

  /* Font stacks */
  --display: 'Delight', 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --maxw: 1440px;
  --gutter: 80px;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--white);
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}