/* 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 cover's own rules, after snackbyte's faces, tokens and base styles from @snackbyte/brand, in
 * one stylesheet. nod's own surface takes snackbyte's look directly, so every value here is a
 * token's name; the page follows snackbyte-auth's docs/style.md, *A page* and *nod's own
 * surfaces*. The theme follows the device through the tokens.
 */
:root {
  color-scheme: light dark;
}
*,
*::before {
  box-sizing: border-box;
}

/* One column on the ground: no card, no panel, no shadow. */
body {
  max-width: calc(26rem + 2 * var(--seam));
  margin: 0 auto;
  padding: var(--stack) var(--seam) var(--cell);
  line-height: 1.5;
}
@media (max-width: 400px) {
  body {
    padding: var(--cell) var(--gap);
  }
}

/* snackbyte's lockup, above, in the brand line's place and at its sizes, in ink. */
.lockup {
  --lockup-size: var(--type-1);
  margin: 0 0 var(--cell);
  color: var(--ink);
}
h1 {
  margin: 0 0 var(--gap);
  font-size: var(--type-2);
  line-height: 1.1;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
p,
ul {
  margin: 0 0 var(--gap);
}

/* The list of what nod does, drawn as the consent list: each line marked by one cell of the mark. */
ul {
  list-style: none;
  padding: 0;
}
li {
  position: relative;
  padding-left: 1.25em;
}
li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 0.1em;
  background: var(--sky);
}

a {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
a:hover {
  text-decoration-thickness: 2px;
}

/*
 * A wide screen: two columns, as the mark has two nibbles. The lockup and the heading stand on the
 * left, a step larger; the matter on the right, its first line level with the heading; the foot
 * runs under both. The order a reader meets them does not change.
 */
@media (min-width: 56rem) {
  body {
    max-width: calc(64rem + 2 * var(--seam));
  }
  main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--cell-seam);
    align-items: start;
  }
  .lockup {
    --lockup-size: var(--type-2);
    grid-area: 1 / 1;
    justify-self: start;
  }
  h1 {
    grid-area: 2 / 1;
    font-size: var(--type-3);
  }
  .matter {
    grid-area: 2 / 2;
  }
  .matter > :first-child {
    margin-top: 0;
  }
}

/* The foot: where to report a security problem, on its own line after the hairline. No credit. */
.foot {
  margin-top: var(--cell-seam);
  padding-top: var(--seam);
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
}
.foot p {
  margin: 0;
}
.foot a {
  color: var(--muted);
}

/* The mark's shapes fill by their role. */
.mark .ink {
  fill: var(--ink);
}
.mark .sky {
  fill: var(--sky);
}

/* On paper: the words in the system's text colour, and no ground. The mark keeps its colours. */
@media print {
  body,
  .lockup,
  a,
  .foot,
  .foot a {
    background: none;
    color: CanvasText;
  }
}
