/* Tokens, page shell and shared rules. Port of docs/source/advisory-v3.html. */
:root {
  --bg: #000000;
  --fg: #ffffff;
  --line: #fefefe;
  --chip: rgba(76, 76, 76, 0.5); /* #4C4C4C at 50%: the grey for chips and button hovers */
  --chip-solid: #595959; /* the same grey, opaque: the top chips and the Book a call hover; white text is 7:1 */
  --signal: #ffa600;
  --booked: #ff3c00;
  --free: #00c527;
  --paper: #ffffff;
  --ink: #000000;
  --mute: rgba(255, 255, 255, 0.62);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Google Sans Flex", "Helvetica Neue", Arial, sans-serif;
  --font-utility: "Google Sans Code", ui-monospace, "SF Mono", Menlo, monospace;
  --side: max(clamp(16px, 6.9vw, 100px), env(safe-area-inset-left, 0px));
  --side-r: max(clamp(16px, 6.9vw, 100px), env(safe-area-inset-right, 0px));
  --ring-gap: var(--bg);
  color-scheme: dark;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  /* Light text on black reads heavier in macOS browsers than in Figma; grayscale smoothing matches it. */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: var(--side);
  padding-right: var(--side-r);
}

/* Content column: every section centres a column of min(1240px, 100%). */
.column {
  width: min(1240px, 100%);
}

/* Section labels are h2, 14px mono, 50px above the content. */
.section-label {
  width: min(1240px, 100%);
  margin: 0 0 50px;
  font-family: var(--font-utility);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

/* The signal focus ring on every button, chip and link. */
a:focus-visible,
button:focus-visible,
[tabindex="0"]:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px var(--ring-gap),
    0 0 0 5px var(--signal);
}

/* The page sits over the footer, which is revealed as the last section scrolls away. */
.page {
  position: relative;
  z-index: 1;
  background: var(--bg);
  margin-left: calc(-1 * var(--side));
  margin-right: calc(-1 * var(--side-r));
  padding-left: var(--side);
  padding-right: var(--side-r);
}
