:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1c1e21;
  background: #f0f2f5;
  --surface: #fff;
  --blue: #0866df;
  --blue-hover: #0752b5;
  --muted: #505966;
  --line: #dce0e6;
  --page-gutter: clamp(1rem, 4vw, 2rem);
}

* { box-sizing: border-box; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
}

h1, h2, p, dl, dd { margin: 0; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 1;
  inset: 0.75rem auto auto var(--page-gutter);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background: var(--blue);
  color: #fff;
  translate: 0 calc(-100% - 1rem);
}

.skip-link:focus { translate: 0; }
.skip-link:hover { background: var(--blue-hover); color: #fff; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  width: min(62rem, 100% - 2 * var(--page-gutter));
  margin-inline: auto;
}

.brand {
  padding-block: 0.75rem;
  font-size: 1.125rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.site-nav { display: flex; gap: 0.25rem; }

.site-nav a {
  display: grid;
  place-items: center;
  min-height: 3.5rem;
  padding-inline: 0.875rem;
  border-block: 2px solid transparent;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover { color: var(--blue-hover); background: #f5f8fd; }
.site-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.site-nav a:focus-visible { outline-offset: -4px; }

.page-shell {
  width: min(36rem, 100% - 2 * var(--page-gutter));
  margin: clamp(2rem, 9vh, 5rem) auto 0;
  padding: clamp(1.25rem, 5vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  background: var(--surface);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.contact { margin-top: 1.75rem; }

.contact > div {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
}

.contact dt { color: var(--muted); font-size: 0.875rem; }
.contact dd { overflow-wrap: anywhere; }
.contact a {
  display: inline-block;
  padding-block: 0.625rem;
  font-weight: 600;
  text-decoration: none;
}
.contact a:hover { text-decoration: underline; }

.site-footer {
  margin-top: auto;
  padding: 2.5rem var(--page-gutter) 1.5rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.8125rem;
}

.policy { width: min(52rem, 100% - 2 * var(--page-gutter)); overflow-wrap: anywhere; }
.policy > p { margin-top: 0.75rem; }
.policy > h2 { margin-top: 2rem; font-size: 1.25rem; line-height: 1.3; }
.policy > .last-updated { color: var(--muted); font-size: 0.875rem; }

.table-scroll {
  margin-block: 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
}

.policy table { width: 100%; min-width: 39rem; border-collapse: collapse; font-size: 0.875rem; }
.policy th, .policy td { padding: 0.75rem; text-align: left; vertical-align: top; }
.policy th { background: #edf4ff; color: #203652; }
.policy td { border-top: 1px solid var(--line); }
.policy :is(th, td) + :is(th, td) { border-left: 1px solid var(--line); }
.policy td p + p { margin-top: 0.5rem; }

@media (max-width: 32rem) {
  .site-nav { width: 100%; }
  .site-nav a { flex: 1; min-height: 2.75rem; padding-inline: 0.5rem; }
  .page-shell { margin-top: 1.75rem; }
  .contact > div { grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0.5rem; }
}
