/* Generated from the snackbyte brand guide v2.1.0. Do not edit.
   The faces, from google/fonts at 5e8a3ba899557829a76cfdac30fa512bda91d7ca, subset to Latin.
   Serve fonts/ beside this file; nothing loads from a third party. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('./fonts/bricolage-roman.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/inter-roman.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/inter-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('./fonts/sourceSerif-roman.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('./fonts/sourceSerif-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Generated from the snackbyte brand guide v2.1.0. Do not edit. */

:root {
  --ground: #ECEDEA;
  --ink: #45423E;
  --muted: #6B6762;
  --sky: #38639A;
  --sage: #8B9B86;
  --sage-text: #5F6E5A;
  --bitterbrush: #D2A93A;
  --rule: #cfd1cb;
  --panel: #FAFBF8;

  --unit: 4px;
  --gap: 12px;
  --seam: 28px;
  --cell: 40px;
  --cell-seam: 68px;
  --stack: 108px;

  --type-0: 1rem;
  --type-1: 1.438rem;
  --type-2: 2.063rem;
  --type-3: 2.938rem;
  --type-4: 4.188rem;
  --type-5: 5.938rem;
  --type-small: 0.875rem;
  --leading-small: 1.45;

  --font-wordmark: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-mark-text: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-headline: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-title: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-text: 'Inter', system-ui, sans-serif;
  --font-legal: 'Source Serif 4', Georgia, serif;
  --font-code: ui-monospace, monospace;

  --weight-regular: 400;
  --weight-strong: 600;
  --leading-body: 1.5;
  --leading-heading: 1.2;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --ground: #2A2724;
    --ink: #ECEDEA;
    --muted: #A8A49D;
    --sky: #7FA7D3;
    --sage: #9DAE98;
    --sage-text: #9DAE98;
    --bitterbrush: #DDB447;
    --rule: #4a4642;
    --panel: #36332F;
  }
}

:root[data-theme='dark'] {
  --ground: #2A2724;
  --ink: #ECEDEA;
  --muted: #A8A49D;
  --sky: #7FA7D3;
  --sage: #9DAE98;
  --sage-text: #9DAE98;
  --bitterbrush: #DDB447;
  --rule: #4a4642;
  --panel: #36332F;
}

/* A legal or financial document: below its title, Source Serif 4 replaces the text face.
   Set data-face='legal' on <html>, or on the element that holds the document. */
[data-face='legal'] {
  --font-text: var(--font-legal);
  --weight-regular: 400;
  --weight-strong: 600;
  --leading-body: 1.5;
  --leading-heading: 1.2;
}

/* Generated from the snackbyte brand guide v2.1.0. Do not edit. */

html,
body {
  margin: 0;
}

body {
  background: var(--ground);
  color: var(--ink);
  font-size: var(--type-0);
  font-optical-sizing: auto;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

/* The text face, everywhere below h1. A legal document (data-face='legal') swaps it
   where it is set, so its children inherit the serif rather than the page's face. */
body,
[data-face] {
  font-family: var(--font-text);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
}

/* Form controls take the system face unless told otherwise: that would be a third. */
button,
input,
select,
textarea {
  font-family: inherit;
}

h2,
h3,
th,
b,
strong,
button {
  font-weight: var(--weight-strong);
}

h2,
h3 {
  line-height: var(--leading-heading);
}

/* Bricolage takes h1 and nothing else: the title cut, or the headline on the home page. */
h1 {
  font-family: var(--font-title);
  font-weight: 700;
  font-variation-settings: 'opsz' 96, 'wdth' 100;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.headline {
  font-family: var(--font-headline);
  font-weight: 800;
  font-variation-settings: 'opsz' 96, 'wdth' 100;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

table {
  font-variant-numeric: tabular-nums;
}

code,
kbd,
samp,
pre {
  font-family: var(--font-code);
}

/* A block set apart from the page. Always edged; never nested. */
.panel {
  background: var(--panel);
  border: 1px solid var(--rule);
}

a {
  color: var(--sky);
}
a:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 3px;
}

/* The wordmark: the name, always lowercase, in its own cut. */
.wordmark {
  font-family: var(--font-wordmark);
  font-weight: 800;
  font-variation-settings: 'opsz' 96, 'wdth' 100;
  letter-spacing: -0.045em;
  line-height: 1;
}

/* Words drawn with the mark, such as the place line under a lockup. */
.mark-text {
  font-family: var(--font-mark-text);
  font-weight: 400;
  font-variation-settings: 'opsz' 14, 'wdth' 100;
  letter-spacing: 0em;
}

/* The primary lockup: the row above the name, one seam apart, left edges aligned
   on ink. The proportions come from the font's metrics. */
.lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: var(--lockup-size, 6rem);
}
.lockup > .mark {
  display: block;
  width: 3.232em;
  height: auto;
  margin-bottom: 0.085em;
}
.lockup > .wordmark {
  font-size: 1em;
  margin-left: -0.024em;
}

/*
 * The tenant layer's own rules. The broker serves them after snackbyte's faces, tokens and base
 * styles from @snackbyte/brand, as one stylesheet every tenant has until theming gives each its
 * own. The product layer takes a brand value only through the --brand-* names below.
 */

/* The seam. Each name follows the theme through the token it is set from. */
:root {
  --brand-ground: var(--ground);
  --brand-ink: var(--ink);
  --brand-muted: var(--muted);
  --brand-accent: var(--sky);
  --brand-rule: var(--rule);
  /* The text face, below h1, at the guide's two weights. */
  --brand-type: var(--font-text);
  --brand-type-weight: var(--weight-regular);
  --brand-type-strong: var(--weight-strong);
  /* The title cut, for the page's h1: snackbyte's guide gives its weight, axes and tracking. */
  --brand-type-title: var(--font-title);
  --brand-type-title-weight: 700;
  --brand-type-title-cut: 'opsz' 96, 'wdth' 100;
  --brand-type-title-tracking: -0.02em;
  /* The wordmark's cut: names set as names. */
  --brand-type-wordmark: var(--font-wordmark);
  --brand-type-wordmark-weight: 800;
  --brand-type-wordmark-cut: 'opsz' 96, 'wdth' 100;
  --brand-type-wordmark-tracking: -0.045em;
}

/*
 * The brand line: the tenant's mark above its display name, as snackbyte's guide sets its above
 * lockup — the row three quarters of the name's width, one seam above it, left edges aligned — and
 * the name in the wordmark's cut. A tenant without a mark shows its name alone.
 */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--brand-type-wordmark);
  font-weight: var(--brand-type-wordmark-weight);
  font-variation-settings: var(--brand-type-wordmark-cut);
  letter-spacing: var(--brand-type-wordmark-tracking);
  line-height: 1;
}
/*
 * Sized by the name: no width of its own, three quarters of the name's at least. A mark that is not
 * a row stands no taller than one cell, drawn against the left edge.
 */
.brand > .mark {
  width: 0;
  min-width: 75%;
  height: auto;
  max-height: var(--cell);
  margin-bottom: 0.085em;
}
