:root {
  --ink: #1b1f24;
  --muted: #4a5462;
  --paper: #ffffff;
  --brand: #1d4f91;
  --brand-ink: #ffffff;
  --line: #c9d1db;
  --soft: #f3f6fa;
  --bad: #9b1c1c;
  --good: #0f6b4f;
  --focus: #b45309;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

body {
  margin: 0;
}

main,
header.site,
footer.site {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1rem;
}

a {
  color: var(--brand);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--paper);
  padding: 0.5rem;
}

.brand a {
  font-weight: 700;
  text-decoration: none;
}

.note,
.hint {
  color: var(--muted);
}

.steps {
  padding-left: 1.25rem;
}

.steps h2 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

button {
  font: inherit;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: var(--brand-ink);
  cursor: pointer;
}

button:disabled {
  background: #6b7480;
  cursor: not-allowed;
}

input,
textarea,
select {
  box-sizing: border-box;
  max-width: 100%;
}

pre {
  overflow-x: auto;
  max-width: 100%;
}

:not(pre) > code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

caption {
  text-align: left;
  color: var(--muted);
  padding-bottom: 0.5rem;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem;
  vertical-align: top;
}

thead th {
  background: var(--soft);
}

.bad {
  color: var(--bad);
}

.good {
  color: var(--good);
}

footer.site {
  color: var(--muted);
  font-size: 0.9rem;
}

/* The product's own pages (index, support, privacy, terms, accessibility). */
.brand a,
header.site > a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}
header.site nav,
footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
header.site nav a,
footer.site nav a {
  display: inline-block;
  padding: 0.6rem 0;
}
.lede {
  font-size: 1.15rem;
}
.box {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 8px;
  padding: 1rem;
  margin: 1.5rem 0;
}
.box form {
  display: grid;
  gap: 0.5rem;
  max-width: 32rem;
}
input[type='email'],
input[type='text'] {
  font: inherit;
  min-height: 44px;
  padding: 0.4rem 0.6rem;
  border: 1px solid #6b7480;
  border-radius: 6px;
  width: 100%;
}
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
label.inline {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
label.inline input {
  width: 24px;
  height: 24px;
  margin: 0;
  flex: none;
}
.honeypot {
  display: none;
}
#waitlist-status.ok {
  color: var(--good);
}
#waitlist-status.error {
  color: var(--bad);
}
ul.plain {
  padding-left: 1.25rem;
}
ul.plain li {
  margin-bottom: 0.75rem;
}
h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}
.price {
  font-weight: 700;
  white-space: nowrap;
}

/* AccessDiff for Microsoft 365: wide tables scroll on a phone, so their box takes focus (Chrome) and shows it. */
.table-wrap:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
main {
  overflow-wrap: break-word;
}
th[scope='row'] a {
  display: inline-block;
  min-height: 24px;
  padding: 2px 0;
}

/* AccessDiff for Microsoft 365: the setup and price pages' forms and the consent link. */
a.button {
  display: inline-block;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  background: var(--brand);
  color: var(--brand-ink);
  text-decoration: none;
  font-weight: 600;
}
a.button:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
input[type='number'],
textarea {
  font: inherit;
  min-height: 44px;
  padding: 0.4rem 0.6rem;
  border: 1px solid #6b7480;
  border-radius: 6px;
  width: 100%;
}
input[type='number'] {
  max-width: 10rem;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.5rem 1rem 1rem;
}
[role='status'].ok {
  color: var(--good);
}
[role='status'].error {
  color: var(--bad);
}
pre.request {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.75rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
output.key {
  display: block;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
  padding: 0.5rem 0;
}
dl.facts dt {
  font-weight: 700;
  margin-top: 0.75rem;
}
dl.facts dd {
  margin: 0.25rem 0 0;
  overflow-wrap: anywhere;
}

/* AccessDiff for ArcGIS: the controls its pages add. */
input[type='email'],
input[type='url'],
select {
  font: inherit;
  min-height: 44px;
  padding: 0.4rem 0.6rem;
  border: 1px solid #6b7480;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

input[type='text'] {
  box-sizing: border-box;
}

select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

summary {
  cursor: pointer;
  min-height: 24px;
  padding: 2px 0;
}

section.item h3 a {
  display: inline-block;
  min-height: 24px;
  padding: 2px 0;
}

section.item ul {
  padding-left: 1.2rem;
}

section.item li,
dl.facts dd {
  overflow-wrap: anywhere;
}
