/*
 * The public pages: the homepage (about.html), the privacy policy and the terms.
 *
 * Served as static files next to the app, outside its bundle, so they load without JavaScript and
 * without an account. Google's reviewers read the homepage and the privacy policy from here, and so
 * does anyone we send a link to.
 *
 * The ground and the green are the app's own (styles.css), so the step from these pages into the
 * product is not a change of place. Archivo carries the pages, set wide for headlines the way a
 * container's door carries its markings; IBM Plex Mono is kept for container numbers and times.
 */

:root {
  --ground: #f2f5f1;
  --board: #fcfdfb;
  --ink: #12201a;
  --ink-2: #4e5d56;
  --ink-3: #74817a;
  --rule: #d5dcd4;
  --rule-2: #e5eae4;
  --lane: #f5f8f4;
  --yard: #e7ece5;
  --slot: rgba(18, 32, 26, 0.07);
  --brand: #0a8f56;
  --brand-hover: #07703f;
  --brand-ink: #07603a;
  --brand-soft: #e2f1e8;
  --amber: #9a5a0a;
  --amber-soft: #f8edd6;
  --red: #b42318;
  --red-soft: #fbe8e5;
  --on-brand: #ffffff;
  --shadow: 0 1px 0 rgba(18, 32, 26, 0.04), 0 30px 70px -30px rgba(18, 32, 26, 0.35);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #111915;
    --board: #17211c;
    --ink: #e3e9e4;
    --ink-2: #a9b5ae;
    --ink-3: #7f8c85;
    --rule: #2b3731;
    --rule-2: #222d27;
    --lane: #1a241f;
    --yard: #0d1411;
    --slot: rgba(227, 233, 228, 0.06);
    --brand: #32b77d;
    --brand-hover: #4cc792;
    --brand-ink: #7ed3a8;
    --brand-soft: #173a2a;
    --amber: #e7a852;
    --amber-soft: #3a2a12;
    --red: #f08476;
    --red-soft: #3d1e1a;
    --on-brand: #06180f;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 30px 70px -30px rgba(0, 0, 0, 0.75);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 24px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ---- Header -------------------------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 60%, transparent);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 750;
  font-stretch: 112%;
  letter-spacing: -0.015em;
}
.brand svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}
.brand .mark-body {
  fill: var(--ink);
}
.brand .mark-chev {
  fill: var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--ink-2);
}
.nav a {
  text-decoration: none;
}
.nav a:hover {
  color: var(--ink);
}
.nav .sep {
  width: 1px;
  height: 20px;
  background: var(--rule);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}
.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}
.btn-primary:hover {
  background: var(--brand-hover);
}
.btn-quiet {
  background: var(--board);
  border-color: var(--rule);
  color: var(--ink);
}
.btn-quiet:hover {
  border-color: var(--ink-3);
}
.nav .btn {
  color: var(--on-brand);
}

@media (max-width: 860px) {
  .nav .section-link,
  .nav .sep {
    display: none;
  }
  .nav {
    gap: 16px;
  }
}

/* ---- Hero ---------------------------------------------------------------------------------- */

.hero {
  padding-top: 76px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: end;
}
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6.4vw, 80px);
  line-height: 0.96;
  font-weight: 780;
  font-stretch: 118%;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.hero-lede {
  margin: 0;
  max-width: 44ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
@media (max-width: 900px) {
  .hero {
    padding-top: 48px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

/* ---- The board ----------------------------------------------------------------------------- */

/*
 * A day of the Schedule, drawn in HTML rather than pasted as a screenshot so it stays sharp, reads
 * in both themes and can move once. It sits on a band marked out like a container yard's stacking
 * slots, which runs the full width of the page behind its lower half.
 */
.stage {
  position: relative;
  margin-top: 60px;
  padding-bottom: 96px;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 150px 0 0 0;
  background:
    repeating-linear-gradient(90deg, var(--slot) 0 1px, transparent 1px 72px),
    linear-gradient(var(--slot), var(--slot)) top / 100% 1px no-repeat,
    var(--yard);
}

.board {
  position: relative;
  background: var(--board);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.board-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 54px;
  padding: 0 20px;
  border-bottom: 1px solid var(--rule);
}
.board-day {
  font-size: 15px;
  font-weight: 700;
}
.board-tabs {
  display: flex;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-3);
}
.board-tabs span {
  padding: 4px 10px;
  border-radius: 7px;
}
.board-tabs .is-on {
  background: var(--lane);
  color: var(--ink);
  font-weight: 600;
}
.board-meta {
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-3);
}

.board-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
}
.lanes {
  border-right: 1px solid var(--rule);
}
.lane + .lane {
  border-top: 1px solid var(--rule);
}
.lane-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: var(--lane);
  font-size: 14px;
  font-weight: 650;
}
.avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lane-truck {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 400;
}
.lane-n {
  display: inline-grid;
  margin-left: auto;
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 500;
}
.lane-n > span {
  grid-area: 1 / 1;
  justify-self: end;
}
.lane-n .n-before {
  opacity: 0;
}

.leg {
  display: grid;
  grid-template-columns: 158px 118px minmax(0, 1fr) 104px 124px;
  align-items: center;
  gap: 14px;
  padding: 11px 20px;
  border-top: 1px solid var(--rule-2);
  font-size: 13.5px;
}
.box {
  font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
/* The check digit, boxed as it is painted on the container's doors. */
.cd {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 18px;
  margin-left: 5px;
  border: 1.25px solid currentColor;
  border-radius: 3px;
  font-size: 11.5px;
  line-height: 1;
}
.move {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  white-space: nowrap;
}
.tick {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 1.5px solid var(--ink-3);
  border-radius: 50%;
}
.tick.done {
  background: var(--brand);
  border-color: var(--brand);
}
.tick.done svg {
  width: 10px;
  height: 10px;
  stroke: var(--on-brand);
}
.route {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.route b {
  color: var(--ink);
  font-weight: 550;
}
.appt {
  font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
}
.chip {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.chip-amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.chip-red {
  background: var(--red-soft);
  color: var(--red);
}
.chip-green {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.chip-plain {
  padding: 0;
  color: var(--ink-3);
  font-weight: 500;
}

.queue {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: var(--lane);
}
.queue-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 2px 4px;
  font-size: 13.5px;
  font-weight: 650;
}
.queue-head span {
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 500;
}
.q-card {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--board);
  font-size: 13px;
}
.q-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.q-route {
  color: var(--ink-2);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* At rest the box has already been planned: the card is gone from Next up. */
.q-card.moving {
  display: none;
}

/*
 * The one moving moment on the page: the released box leaves Next up and lands on Dana's day.
 * Only when motion is welcome; otherwise the board is simply shown as it ends.
 */
@media (prefers-reduced-motion: no-preference) {
  .q-card.moving {
    display: grid;
    max-height: 120px;
    overflow: hidden;
    animation: q-leave 0.55s cubic-bezier(0.4, 0, 0.2, 1) 1.5s both;
  }
  .leg.arrives {
    animation:
      leg-arrive 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 1.75s both,
      leg-glow 1.6s ease-out 2.5s both;
  }
  .lane-n .n-before {
    animation: count-out 0.25s ease 2.2s both;
  }
  .lane-n .n-after {
    animation: count-in 0.25s ease 2.2s both;
  }
}
@keyframes q-leave {
  0% {
    opacity: 1;
    transform: none;
  }
  60% {
    opacity: 0;
    transform: translateX(-28px);
    max-height: 120px;
    padding-block: 10px;
    border-width: 1px;
  }
  100% {
    opacity: 0;
    transform: translateX(-28px);
    max-height: 0;
    padding-block: 0;
    border-width: 0;
    margin-top: -10px;
  }
}
@keyframes leg-arrive {
  from {
    opacity: 0;
    transform: translateX(72px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes leg-glow {
  from {
    background: var(--brand-soft);
  }
  to {
    background: transparent;
  }
}
@keyframes count-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes count-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*
 * The board, to try. The page's script redraws the board from a model of the same day and wires
 * these controls; without it the board stays the picture above.
 */
.board button {
  font: inherit;
  color: inherit;
}
.board button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.board-tabs button {
  padding: 4px 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--ink-3);
  cursor: pointer;
}
.board-tabs button:hover {
  color: var(--ink);
}
.board .board-reset {
  padding: 4px 11px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: var(--board);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.board .board-reset:hover {
  color: var(--ink);
  border-color: var(--ink-3);
}
.board .tick {
  padding: 0;
  background: none;
  cursor: pointer;
}
.board .tick:hover {
  border-color: var(--brand);
}
.board .tick.done {
  background: var(--brand);
}
.board [data-drag] {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.board .q-card {
  width: 100%;
  text-align: left;
  font-size: 13px;
  touch-action: none;
}
.board .q-card:hover {
  border-color: var(--ink-3);
}
.board .q-card.is-picked {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.q-empty {
  margin: 0;
  padding: 8px 2px;
  color: var(--ink-3);
  font-size: 12.5px;
}
.lane,
.queue {
  transition: box-shadow 0.15s ease;
}
.lane.is-over,
.queue.is-over {
  box-shadow: inset 0 0 0 2px var(--brand);
}
.lane.is-over .lane-head {
  background: var(--brand-soft);
}
.board.is-picking .lane {
  cursor: pointer;
}
.board .lane-drop {
  padding: 2px 10px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.is-dragging {
  opacity: 0.35;
}
.drag-ghost {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  margin: 0;
  pointer-events: none;
  background: var(--board);
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.board-table th {
  padding: 10px 20px;
  background: var(--lane);
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.board-table td {
  padding: 11px 20px;
  border-top: 1px solid var(--rule-2);
  white-space: nowrap;
}
.t-dim {
  color: var(--ink-3);
}
.who {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.board-hint {
  position: relative;
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: 13.5px;
}
@media (max-width: 680px) {
  /* The tabs and the count fold away here, so Reset takes the right-hand end of the bar itself. */
  .board .board-reset {
    margin-left: auto;
  }
}
.board-hint .hint-narrow,
.board-hint .hint-note {
  display: none;
}
.board-hint.is-saying .hint-wide,
.board-hint.is-saying .hint-narrow {
  display: none;
}
.board-hint.is-saying .hint-note {
  display: inline;
  color: var(--ink);
  font-weight: 600;
}
@media (prefers-reduced-motion: no-preference) {
  .leg.just-placed {
    animation: leg-glow 1.6s ease-out both;
  }
}
@media (max-width: 1000px) {
  .board-hint .hint-wide {
    display: none;
  }
  .board-hint:not(.is-saying) .hint-narrow {
    display: inline;
  }
}

@media (max-width: 1000px) {
  .board-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .lanes {
    border-right: 0;
  }
  .queue {
    display: none;
  }
  .leg {
    grid-template-columns: 158px 118px minmax(0, 1fr) 124px;
  }
  .leg .appt {
    display: none;
  }
}
@media (max-width: 680px) {
  .stage {
    margin-top: 40px;
    padding-bottom: 64px;
  }
  .stage::before {
    inset: 120px 0 0 0;
  }
  .board-tabs,
  .board-meta {
    display: none;
  }
  .leg {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "box chip"
      "move move"
      "route route";
    gap: 4px 12px;
    padding: 12px 16px;
  }
  .leg .box {
    grid-area: box;
  }
  .leg .move {
    grid-area: move;
  }
  .leg .route {
    grid-area: route;
    white-space: normal;
  }
  .leg .chip {
    grid-area: chip;
    justify-self: end;
  }
  .lane-head {
    padding-inline: 16px;
  }
  .lane-truck {
    display: none;
  }
}

/* ---- Sections ------------------------------------------------------------------------------ */

.section {
  padding-block: 96px;
}
.section + .section {
  border-top: 1px solid var(--rule);
}
/* A section opens on its heading alone: the rows under it say the rest. */
.section-head {
  display: block;
}
.section h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.04;
  font-weight: 760;
  font-stretch: 114%;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
@media (max-width: 900px) {
  .section {
    padding-block: 64px;
  }
}

/* The trip: a real sequence, so the stops are numbered and joined by the track they travel. */
.trip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: stop;
}
.stop {
  position: relative;
  padding: 44px 28px 0 0;
  counter-increment: stop;
}
.stop::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rule);
}
.stop:first-child::before {
  left: 13px;
}
.stop:last-child::before {
  right: auto;
  width: 13px;
}
.stop::after {
  content: counter(stop);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: var(--ground);
  color: var(--brand-ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 500;
}
.stop h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.01em;
}
.stop p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}
@media (max-width: 900px) {
  .trip {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .stop {
    padding: 2px 0 0 48px;
  }
  .stop::before,
  .stop:first-child::before,
  .stop:last-child::before {
    top: 0;
    bottom: -28px;
    left: 13px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .stop:first-child::before {
    top: 14px;
  }
  .stop:last-child::before {
    display: none;
  }
}

/* What the desk uses: a list, not a grid of cards — each is a line of work, read in order. */
.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  margin: 44px 0 0;
}
.spec {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.spec dt {
  font-weight: 700;
  font-stretch: 106%;
}
.spec dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}
@media (max-width: 900px) {
  .specs {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .spec {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* Access and data: four plain statements, each one a fact about how the product is run. */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
  margin: 44px 0 0;
}
.fact {
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.fact h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  font-stretch: 106%;
}
.fact p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}
.fact a {
  color: var(--brand-ink);
  font-weight: 600;
}
@media (max-width: 900px) {
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The close, on the same yard band the board stands on. */
.closing {
  position: relative;
  padding-block: 96px;
  border-top: 1px solid var(--rule);
  background:
    repeating-linear-gradient(90deg, var(--slot) 0 1px, transparent 1px 72px),
    var(--yard);
}
.closing h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1;
  font-weight: 780;
  font-stretch: 118%;
  letter-spacing: -0.026em;
  text-wrap: balance;
}
.closing p {
  margin: 18px 0 0;
  max-width: 52ch;
  color: var(--ink-2);
  font-size: 17px;
}
.closing .hero-actions {
  margin-top: 28px;
}
@media (max-width: 900px) {
  .closing {
    padding-block: 64px;
  }
}

/* ---- Footer -------------------------------------------------------------------------------- */

.site-foot {
  padding-block: 32px 40px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-3);
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.site-foot .brand {
  font-size: 17px;
  color: var(--ink);
}
.site-foot .brand svg {
  width: 22px;
  height: 22px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-left: auto;
}
.foot-links a {
  text-decoration: none;
}
.foot-links a:hover,
.foot-links a[aria-current="page"] {
  color: var(--ink);
}

/* ---- Documents: the privacy policy and the terms ------------------------------------------- */

.doc {
  padding-block: 64px 96px;
}
.doc-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}
.doc-toc {
  position: sticky;
  top: 96px;
  font-size: 14px;
}
.doc-toc p {
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 650;
}
.doc-toc ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.doc-toc a {
  color: var(--ink-2);
  text-decoration: none;
}
.doc-toc a:hover {
  color: var(--brand-ink);
}
.doc-body {
  max-width: 68ch;
}
.doc-body h1 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1;
  font-weight: 780;
  font-stretch: 116%;
  letter-spacing: -0.026em;
}
.doc-date {
  margin: 14px 0 0;
  color: var(--ink-3);
  font-size: 15px;
}
.doc-lede {
  margin: 28px 0 0;
  font-size: 18px;
  color: var(--ink-2);
}
.doc-body h2 {
  margin: 48px 0 10px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 720;
  font-stretch: 108%;
  letter-spacing: -0.01em;
}
.doc-body h3 {
  margin: 24px 0 6px;
  font-size: 17px;
  font-weight: 700;
}
.doc-body p,
.doc-body li {
  color: var(--ink-2);
}
.doc-body p {
  margin: 0 0 14px;
}
.doc-body ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.doc-body li + li {
  margin-top: 6px;
}
.doc-body strong {
  color: var(--ink);
  font-weight: 650;
}
.doc-body a {
  color: var(--brand-ink);
  font-weight: 550;
  text-underline-offset: 2px;
}
.doc-note {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0;
  background: var(--board);
  color: var(--ink);
}
.doc-note p {
  margin: 0;
  color: var(--ink);
}
@media (max-width: 900px) {
  .doc {
    padding-block: 40px 64px;
  }
  .doc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .doc-toc {
    position: static;
    padding: 16px 18px;
    border: 1px solid var(--rule);
    border-radius: 12px;
    background: var(--board);
  }
}

@media (max-width: 600px) {
  .wrap {
    padding-inline: 16px;
  }
  .site-head .wrap {
    gap: 12px;
  }
  .nav .btn {
    height: 34px;
    padding: 0 12px;
  }
}

@media print {
  .site-head,
  .doc-toc,
  .site-foot {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
