:root {
  color-scheme: light;
  --paper: #f4f2e9;
  --ink: #272e25;
  --muted: #59624f;
  --line: #b9bdad;
  --accent: #d7e7a8;
  --focus: #486629;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
header,
main,
footer {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 100px;
  border-bottom: 1px solid var(--line);
}
header a {
  padding: 10px 0;
}
.wordmark {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -1px;
}
.intro {
  padding-block: 76px 64px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 22px;
}
h1 {
  font-size: clamp(38px, 5.7vw, 70px);
  line-height: 1.2;
  letter-spacing: -0.055em;
  font-weight: 650;
  margin: 0 0 28px;
}
h1 span {
  color: var(--muted);
}
.lead {
  font-size: 19px;
  line-height: 1.8;
  margin: 0 0 24px;
}
.status {
  font-size: 14px;
  color: var(--muted);
  padding-left: 14px;
  border-left: 3px solid var(--focus);
  margin: 24px 0;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 22px;
  background: var(--accent);
  border: 1px solid transparent;
  min-height: 54px;
  font-weight: 650;
}
.access {
  padding-block: 64px;
  border-top: 1px solid var(--line);
}
h2 {
  font-size: 25px;
  line-height: 1.4;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
}
.access > p:not(.eyebrow) {
  max-width: 580px;
  color: var(--muted);
}
.providers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
  max-width: 720px;
}
button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px 20px;
  background: transparent;
  min-height: 54px;
  text-align: left;
  cursor: pointer;
}
.providers button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.providers button:last-child {
  grid-column: 1/-1;
}
.providers button span {
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 13px;
}
button:disabled {
  cursor: default;
}
.note {
  font-size: 14px;
  margin-top: 22px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-block: 42px 64px;
  border-top: 1px solid var(--line);
}
.number {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.principles h2 {
  font-size: 21px;
}
.principles p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}
footer {
  padding-block: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.manage-list,
#account-details { list-style: none; padding: 0; }
.manage-list li,
#account-details li { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 6px; margin-block: 12px; overflow-wrap: anywhere; }
.manage-list strong { min-width: 90px; }
.manage-list span { margin-right: auto; }
#account-details a { padding: 12px 18px; text-decoration: underline; text-underline-offset: 4px; }
dialog { width: min(640px,calc(100% - 32px)); padding: 28px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--paper); max-height: calc(100dvh - 40px); overflow: auto; }
dialog::backdrop { background: #10180eb3; }
dialog label { display: block; margin-block: 20px 8px; }
dialog input { width: 100%; padding: 14px 16px; font: inherit; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); margin-bottom: 20px; }
#deletion-pending { grid-column: 1/-1; padding-block: 32px; }
.is-signed-in .intro,.is-closing .intro { grid-column: 1/-1; padding-block: 36px 24px; }
.is-signed-in .intro h1,.is-closing .intro h1 { font-size: clamp(30px,4vw,44px); }
.is-signed-in .lead,.is-signed-in .intro .primary,.is-signed-in .principles,.is-closing .lead,.is-closing .principles { display: none; }
#signed-in {
  padding-block: 36px 64px;
}
[hidden] {
  display: none !important;
}
a,
button {
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}
@media (hover: hover) {
  header a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
  }
  .primary:hover,
  button:not(:disabled):hover {
    background: var(--accent);
    border-color: var(--focus);
  }
}
@media (min-width: 1000px) {
  main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
  }
  .access {
    padding-top: 80px;
    border-top: 0;
  }
  .principles,
  #signed-in {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  header,
  main,
  footer {
    width: calc(100% - 40px);
  }
  header {
    min-height: 82px;
    font-size: 14px;
  }
  .intro {
    padding-block: 48px 44px;
  }
  .access {
    padding-block: 36px 44px;
  }
  .lead {
    font-size: 17px;
  }
  .providers,
  .principles {
    grid-template-columns: 1fr;
  }
  .principles {
    gap: 28px;
    padding-block: 30px 44px;
  }
  .principles .number {
    margin-bottom: 8px;
  }
  .primary {
    width: 100%;
    gap: 12px;
  }
  .access h2 {
    font-size: 25px;
  }
  footer {
    flex-direction: column;
    gap: 8px;
  }
  .actions {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  a,
  button {
    transition: none;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #101b22;
    --ink: #f1f1e5;
    --muted: #b5bdae;
    --line: #455249;
    --accent: #304134;
    --focus: #d7e7a8;
  }
}

.account-language select {
  font: inherit;
  padding: 10px 12px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
}
.account-language select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}
