/* source-sans-3-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-sans-3-cyrillic-ext-wght-normal.c6e00786.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* source-sans-3-cyrillic-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-sans-3-cyrillic-wght-normal.b6b721e0.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* source-sans-3-greek-ext-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-sans-3-greek-ext-wght-normal.67fbab24.woff2) format('woff2-variations');
  unicode-range: U+1F00-1FFF;
}

/* source-sans-3-greek-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-sans-3-greek-wght-normal.dd6ec387.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* source-sans-3-vietnamese-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-sans-3-vietnamese-wght-normal.a91edbcd.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* source-sans-3-latin-ext-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-sans-3-latin-ext-wght-normal.a85a7459.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* source-sans-3-latin-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-sans-3-latin-wght-normal.19143dca.woff2) format('woff2-variations');
  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;
}
/* source-code-pro-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Source Code Pro Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-code-pro-cyrillic-ext-wght-normal.dd503d60.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* source-code-pro-cyrillic-wght-normal */
@font-face {
  font-family: 'Source Code Pro Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-code-pro-cyrillic-wght-normal.fd7699ec.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* source-code-pro-greek-ext-wght-normal */
@font-face {
  font-family: 'Source Code Pro Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-code-pro-greek-ext-wght-normal.01e467c8.woff2) format('woff2-variations');
  unicode-range: U+1F00-1FFF;
}

/* source-code-pro-greek-wght-normal */
@font-face {
  font-family: 'Source Code Pro Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-code-pro-greek-wght-normal.34dfcd3f.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* source-code-pro-vietnamese-wght-normal */
@font-face {
  font-family: 'Source Code Pro Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-code-pro-vietnamese-wght-normal.d8a28d78.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* source-code-pro-latin-ext-wght-normal */
@font-face {
  font-family: 'Source Code Pro Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-code-pro-latin-ext-wght-normal.ab316ee7.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* source-code-pro-latin-wght-normal */
@font-face {
  font-family: 'Source Code Pro Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/source-code-pro-latin-wght-normal.8b774aaa.woff2) format('woff2-variations');
  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;
}
/*
 * The status page laid out as status.claude.com lays out its own (D-330),
 * with no build: the dashboard's light tokens under its names and values,
 * the days' three colours of its own (test/design-tokens.test.ts), and the
 * site's type.
 */
:root {
  color-scheme: light;
  --color-ink: #1c1d1f;
  --color-ink-2: #4f545b;
  --color-ink-3: #5c6168;
  --color-paper: #ffffff;
  --color-rule: #d5d8dc;
  --color-accent: #2245d1;
  --color-on-accent: #f2f1ec;
  --color-ok: #1d6f3a;
  --color-warn: #8a5300;
  --color-alert: #b0261c;
  --color-surface: #ffffff;
  --color-warn-soft: #fbf0dc;
  --color-day-up: #4a9a2c;
  --color-day-dip: #b8860b;
  --color-day-down: #d14343;
  --font-serif: 'Source Serif 4 Variable', Georgia, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3 Variable', system-ui, sans-serif;
  --font-mono: 'Source Code Pro Variable', ui-monospace, Menlo, Consolas, monospace;
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 850 pixels of content, as status.claude.com has, and a 20-pixel gutter on a phone. */
.column {
  width: 100%;
  max-width: 55.625rem;
  margin: 0 auto;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}

/* The 0.35em gap keeps half the mark's height, 0.342em, clear beside the lockup (D-433). */
.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.35em;
  padding-top: 4.375rem;
  padding-bottom: 4.375rem;
  font-size: 2rem;
  line-height: 1.2;
}

/*
 * The horizontal lockup at the masthead's size (D-431): its viewBox spans 752
 * of the font's 1000 units to the em, so the name keeps the masthead's size
 * and the mark beside it is 1.689em wide.
 */
.wordmark {
  color: var(--color-ink);
  text-decoration: none;
}

.wordmark .logo {
  display: inline-block;
  width: auto;
  height: 0.752em;
}

.product {
  color: var(--color-ink-2);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.product:hover {
  text-decoration: underline;
}

/* status.claude.com's dark button, which leads to the notices' feed. */
.subscribe {
  align-self: center;
  margin-left: auto;
  padding: 0.625rem 0.9375rem;
  border-radius: 4px;
  background: var(--color-ink);
  color: var(--color-on-accent);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.subscribe:hover {
  background: var(--color-ink-2);
}

.subscribe:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

main {
  flex: 1;
}

.staging {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--color-warn);
  background: var(--color-warn-soft);
}

.banner {
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  color: var(--color-on-accent);
}

.banner.up {
  background: var(--color-ok);
}

.banner.partial {
  background: var(--color-warn);
}

.banner.down {
  background: var(--color-alert);
}

.banner.unknown {
  background: var(--color-ink-2);
}

.banner h1 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.banner p {
  max-width: 44rem;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
}

/* A notice not yet resolved, under the banner, headed in its impact's colour. */
.incident {
  margin-top: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--color-rule);
  border-radius: 4px;
  background: var(--color-surface);
}

.incident h2 {
  padding: 0.75rem 1.25rem;
  background: var(--color-ink-2);
  color: var(--color-on-accent);
  font-size: 1.0625rem;
  font-weight: 600;
}

.incident.minor h2 {
  background: var(--color-warn);
}

.incident.major h2,
.incident.critical h2 {
  background: var(--color-alert);
}

.incident .updates {
  padding: 0 1.25rem;
}

.incident .updates li {
  padding: 0.75rem 0;
}

.incident .updates li + li {
  border-top: 1px solid var(--color-rule);
}

.updates p {
  white-space: pre-line;
}

.when {
  margin-top: 0.25rem;
  color: var(--color-ink-2);
  font-size: 0.8125rem;
}

/* "Past Incidents": a day a heading, as status.claude.com lists them. */
.past {
  margin-top: 4rem;
}

.past > h2 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.day {
  margin-top: 1.5rem;
}

.day h3 {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--color-rule);
  font-size: 1.125rem;
  font-weight: 600;
}

.quiet {
  margin-top: 0.625rem;
  color: var(--color-ink-2);
}

.past-incident {
  margin-top: 0.75rem;
}

.past-incident h4 {
  font-size: 1.0625rem;
  font-weight: 600;
}

.past-incident h4.minor {
  color: var(--color-warn);
}

.past-incident h4.major,
.past-incident h4.critical {
  color: var(--color-alert);
}

.past-incident .updates li {
  padding: 0.375rem 0;
}

.uptime {
  margin-top: 3.5rem;
  margin-bottom: 0.375rem;
  color: var(--color-ink-2);
  font-size: 0.875rem;
  text-align: right;
}

.uptime a {
  color: var(--color-ink);
}

.checks {
  border: 1px solid var(--color-rule);
  border-radius: 4px;
  background: var(--color-surface);
}

.checks > li + li {
  border-top: 1px solid var(--color-rule);
}

/* Name and state share a line, which wraps on a phone; the days and their span take a line each. */
.check {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding: 1.125rem 1.25rem;
}

.checks h2,
.checks h3 {
  font-size: 1rem;
  font-weight: 500;
}

/* A check's name with its ⓘ beside it, as status.claude.com puts its question mark. */
.name {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.info {
  display: inline-flex;
  padding: 0.125rem;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--color-ink-3);
  cursor: help;
}

.info:hover {
  color: var(--color-ink);
}

.info:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.info svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.info .dot {
  fill: currentcolor;
  stroke: none;
}

/* SMTP's ports sit under its name, indented with their rules. */
.group > h2 {
  padding: 1.125rem 1.25rem 0.5rem;
}

.group .check {
  margin-left: 2.5rem;
  padding-left: 0;
  border-top: 1px solid var(--color-rule);
}

.state {
  font-size: 0.875rem;
}

.state.up {
  color: var(--color-ok);
}

.state.down {
  color: var(--color-alert);
}

.state.unknown {
  color: var(--color-ink-2);
}

/* Each state has a shape as well as a word: a square up, the square turned down, a hollow one unknown. */
.state::before {
  content: '';
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-right: 0.5em;
  vertical-align: 0.05em;
}

.state.up::before {
  background: var(--color-ok);
}

.state.down::before {
  background: var(--color-alert);
  transform: rotate(45deg) scale(0.85);
}

.state.unknown::before {
  border: 0.12em solid var(--color-ink-2);
}

/* A bar a day: green with no downtime, yellow down to 99 percent, red below it, grey unmeasured. */
.days {
  display: flex;
  flex-basis: 100%;
  gap: 3px;
  height: 2.125rem;
  margin-top: 0.375rem;
}

.days li {
  flex: 1;
  min-width: 0;
  border-radius: 1px;
  background: var(--color-rule);
}

.days .up {
  background: var(--color-day-up);
}

.days .dip {
  background: var(--color-day-dip);
}

.days .down {
  background: var(--color-day-down);
}

.days li:hover {
  opacity: 0.7;
}

.span {
  display: flex;
  flex-basis: 100%;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
  color: var(--color-ink-2);
  font-size: 0.875rem;
}

.share {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.share::before,
.share::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--color-rule);
}

.narrow {
  display: none;
}

/* The tooltip tooltips.js places on a bar or an ⓘ: a card above it, as status.claude.com's. */
.tooltip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  width: max-content;
  max-width: min(18rem, calc(100vw - 1rem));
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-rule);
  border-radius: 4px;
  background: var(--color-surface);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--color-ink) 14%, transparent);
  font-size: 0.875rem;
  line-height: 1.4;
}

.tooltip[hidden] {
  display: none;
}

.tooltip strong {
  font-weight: 600;
}

.tooltip-text {
  color: var(--color-ink-2);
}

.tooltip-arrow {
  position: absolute;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
  background: var(--color-surface);
  transform: rotate(45deg);
}

.tooltip[data-side='bottom'] .tooltip-arrow {
  top: -5px;
  bottom: auto;
  transform: rotate(225deg);
}

/* The posting page: plain fields a phone fills in, at a size it does not zoom into. */
.posting section {
  margin-top: 2.5rem;
}

.posting h2 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.post {
  display: grid;
  gap: 0.375rem;
  max-width: 36rem;
}

.post label:not(.choice),
.post legend {
  margin-top: 0.75rem;
  font-weight: 500;
}

.post input:not([type='radio'], [type='checkbox']),
.post select,
.post textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--color-ink-3);
  border-radius: 4px;
  background: var(--color-surface);
  color: var(--color-ink);
  font: inherit;
}

.post fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-right: 1.25rem;
  padding: 0.375rem 0;
}

.post button {
  justify-self: start;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 4px;
  background: var(--color-ink);
  color: var(--color-on-accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.post button:hover {
  background: var(--color-ink-2);
}

.post :focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.message {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--color-alert);
  background: var(--color-surface);
}

.message ul {
  padding-left: 1.25rem;
  list-style: disc;
}

/* The uptime page: each month in a box like the checks', then how it is counted and the results. */
.title {
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Positioned, so the text of a cell that only a screen reader reads scrolls
   with the table instead of widening the page. */
.table {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--color-rule);
  border-radius: 4px;
  background: var(--color-surface);
}

.table:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.months {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.months th,
.months td {
  padding: 0.875rem 1.25rem;
  text-align: right;
  white-space: nowrap;
}

.months th:first-child {
  text-align: left;
}

.months thead th {
  color: var(--color-ink-2);
  font-size: 0.8125rem;
  font-weight: 500;
}

.months tbody th {
  font-weight: 500;
}

.months tbody tr {
  border-top: 1px solid var(--color-rule);
}

.so-far {
  display: block;
  color: var(--color-ink-2);
  font-size: 0.8125rem;
  font-weight: 400;
}

.history h2 {
  margin-top: 3rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.history h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.notes,
.downloads {
  padding-left: 1.25rem;
  list-style: disc;
}

.notes li + li,
.downloads li + li {
  margin-top: 0.375rem;
}

.downloads {
  margin-top: 0.75rem;
}

.fields {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.25rem;
  margin: 0;
}

.fields dd {
  margin: 0;
}

.fields + p {
  margin-top: 1rem;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
}

.code {
  margin-bottom: 0.5rem;
  color: var(--color-ink-2);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.missing {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead {
  margin-top: 1rem;
  color: var(--color-ink-2);
}

.foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 4.375rem;
  margin-bottom: 4.375rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-rule);
}

.seller {
  color: var(--color-ink-3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

@media (width < 40rem) {
  .masthead {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    font-size: 1.625rem;
  }

  .banner {
    padding: 0.625rem 0.875rem;
  }

  .banner h1 {
    font-size: 1.0625rem;
  }

  .subscribe {
    padding: 0.5rem 0.75rem;
  }

  .incident h2 {
    padding: 0.625rem 0.875rem;
  }

  .incident .updates {
    padding: 0 0.875rem;
  }

  .past {
    margin-top: 3rem;
  }

  .past > h2 {
    font-size: 1.375rem;
  }

  .uptime {
    margin-top: 2.5rem;
  }

  .check {
    padding: 0.875rem;
  }

  .group > h2 {
    padding: 0.875rem 0.875rem 0.375rem;
  }

  .group .check {
    margin-left: 1.75rem;
  }

  /* status.claude.com's phone view: the last 31 days, which page.ts writes last. */
  .days li:nth-child(-n + 60) {
    display: none;
  }

  .wide {
    display: none;
  }

  .narrow {
    display: inline;
  }

  .months {
    font-size: 0.8125rem;
  }

  .months th,
  .months td {
    padding: 0.75rem 0.375rem;
  }

  .months th:first-child {
    padding-left: 0.75rem;
  }

  .months th:last-child,
  .months td:last-child {
    padding-right: 0.75rem;
  }

  .fields {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .fields dd + dt {
    margin-top: 0.5rem;
  }

  .foot {
    justify-content: flex-start;
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
}

/* At 26 pixels the masthead needs 379 pixels; below 384 it drops to 23 so it keeps one line from 360. */
@media (width < 24rem) {
  .masthead {
    font-size: 1.4375rem;
  }
}
