/* 1618 brand: fonts and tokens, served at https://brand.1618robotics.com/brand.css
   Every 1618 product links this one file, so a change here reaches all of them. Source: github.com/1618-Robotics/1618-brand */

@font-face {
  font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/eb-garamond-400.woff2) format('woff2');
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0102, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2002, U+2009, U+200B, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/eb-garamond-400-ext.woff2) format('woff2');
  unicode-range: U+0100-0101, U+0103-0130, U+0132-0151, U+0154-017F, U+01A0-01A1, U+01AF-01B0, U+0218-021B, U+0302, U+0306-0307, U+030A-030C, U+03A6, U+03C6, U+1E00-1EFF, U+2190, U+2192;
}
@font-face {
  font-family: 'EB Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/eb-garamond-500.woff2) format('woff2');
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0102, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2002, U+2009, U+200B, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/eb-garamond-500-ext.woff2) format('woff2');
  unicode-range: U+0100-0101, U+0103-0130, U+0132-0151, U+0154-017F, U+01A0-01A1, U+01AF-01B0, U+0218-021B, U+0302, U+0306-0307, U+030A-030C, U+03A6, U+03C6, U+1E00-1EFF, U+2190, U+2192;
}
@font-face {
  font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/eb-garamond-400-italic.woff2) format('woff2');
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0102, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2002, U+2009, U+200B, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/eb-garamond-400-italic-ext.woff2) format('woff2');
  unicode-range: U+0100-0101, U+0103-0130, U+0132-0151, U+0154-017F, U+01A0-01A1, U+01AF-01B0, U+0218-021B, U+0302, U+0306-0307, U+030A-030C, U+03A6, U+03C6, U+1E00-1EFF, U+2190, U+2192;
}

:root {
  color-scheme: light;

  /* Core: the same on the website and in every app */
  --paper: #F6EDD8;        /* the page, always */
  --ink: #2E2012;          /* text, 13.5:1 on paper */
  --line: #D9CDAE;         /* every hairline */
  --red: #A6402D;          /* the 1618 red */
  --sanguine: #8E3924;     /* the logo tile, sanguine bands */
  --ochre: #EBCFAE;        /* warm ground: light bands, the light logo tile */
  --chalk: #B06A45;        /* drawn strokes only */
  --ink-soft: #7B684E;     /* website secondary text, large text only (4.6:1) */

  /* Apps (Partners, Library, Ops, App) */
  --panel: #EFE3C8;        /* side panel, hovered and open rows */
  --panel-2: #E4D9BE;      /* pressed rows, disabled buttons, chart grid */
  --field: #FBF7EC;        /* inside inputs */
  --line-strong: #C7B78F;  /* underlines of quiet actions */
  --control: #8F7E62;      /* outlines of fields and secondary buttons */
  --label: #5A4C38;        /* labels, table heads, icons at rest (7.1:1) */
  --muted: #6B5940;        /* hints, captions, counts (5.8:1) */
  --good: #3F6B5A;
  --warn-ink: #7A4E0A;
  --pending: #D9A441;      /* chart marks only */

  /* Roles in apps: ink acts, red is the logo and bad news */
  --action: var(--ink);    /* primary buttons, current section, selected items, focus ring */
  --on-action: var(--paper);
  --bad: var(--red);       /* rejected, banned, outage, failed */

  /* Role on the website: red is the one accent (links, emphasis) */
  --accent: var(--red);

  /* Type */
  --font: "EB Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;  /* codes and IDs only */
  --fs-label: 14px;        /* the floor: nothing smaller */
  --fs-data: 16px;
  --fs-body: 17px;
  --fs-title: 21px;
  --fs-page: 34px;
  --track-label: .14em;    /* uppercase labels */

  /* Shape, depth and motion (from Partners, the reference app) */
  --r-xs: 4px;             /* badges, small cells, tooltips */
  --r-sm: 6px;             /* buttons, fields, side panel items, the header tile */
  --r-md: 10px;            /* cards, inner panels */
  --r-pill: 999px;         /* chips only */
  --target: 44px;          /* smallest touch target */
  --edge-phone: 20px;      /* page edge, left and right, at 760 px wide and under */

  /* Logo tile sizes by surface. Always draw the tile from the PNG of that exact size (/logo/1618-logo-tile-<px>.png) */
  --tile-site-header: 56px;        /* 1618robotics.com headers, desktop */
  --tile-site-header-phone: 36px;  /* 1618robotics.com headers, 760 px and under */
  --tile-app-header: 40px;         /* App, Partners, Ops, Docs and brand page headers, desktop */
  --tile-app-header-phone: 32px;   /* the same headers, 760 px and under */
  --tile-signin: 48px;             /* sign-in and error pages */
  --action-hover: color-mix(in srgb, var(--ink) 70%, #000);
  --action-press: color-mix(in srgb, var(--ink) 45%, #000);
  --wash-hover: color-mix(in srgb, var(--ink) 7%, transparent);
  --wash-press: color-mix(in srgb, var(--ink) 12%, transparent);
  --shadow-1: 0 1px 2px rgba(46, 32, 18, .16);
  --shadow-2: 0 4px 12px -4px rgba(46, 32, 18, .24);
  --shadow-3: 0 12px 32px -12px rgba(46, 32, 18, .42);
  --scrim: rgba(46, 32, 18, .36);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-1: 120ms;          /* press */
  --dur-2: 180ms;          /* colour, border, shadow */
  --dur-3: 260ms;          /* drawer */

  /* The logo, by URL, so a product can use it from CSS */
  --logo-tile: url("https://brand.1618robotics.com/logo/1618-logo-256.png");
}
@media (prefers-reduced-motion: reduce) { :root { --dur-1: 0ms; --dur-2: 0ms; --dur-3: 0ms; } }
