:root {
  font-family: Arial, Helvetica, sans-serif;
  background: #e6dfd3;
  color: #30302e;
  --charcoal: #30302e;
  --muted: #66635e;
  --line: #cec7bb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
a {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--charcoal);
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 5%;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -3px;
}
.brand svg {
  width: 34px;
  height: 42px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  color: var(--muted);
}
main {
  max-width: 750px;
  margin: auto;
  padding: 0 25px;
  min-height: calc(100vh - 170px);
}
.welcome {
  max-width: 430px;
  margin: 80px auto;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
}
h1 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -2px;
  margin: 0 0 20px;
}
h2 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}
h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 6px;
}
p {
  line-height: 1.65;
}
.lead {
  font-size: 17px;
  color: #625f59;
  margin: 0 0 27px;
}
.primary,
.secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  border: 0;
  border-radius: 7px;
  padding: 15px 18px;
  font-size: 14px;
}
.primary {
  background: var(--charcoal);
  color: #f4f0e9;
  width: 100%;
  margin: 22px 0 12px;
}
.primary:hover {
  background: #1f201e;
}
.secondary {
  background: transparent;
  border: 1px solid #bcb5a9;
  color: var(--charcoal);
  width: fit-content;
  padding: 11px 15px;
}
.text-button {
  border: 0;
  border-bottom: 1px solid #a9a398;
  background: none;
  color: var(--charcoal);
  padding: 4px 0;
  font-size: 12px;
}
.hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.access {
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
}
summary {
  cursor: pointer;
}
label {
  display: block;
  font-size: 13px;
  margin: 22px 0 8px;
}
input {
  width: 100%;
  border: 1px solid #bcb5a9;
  border-radius: 6px;
  background: #f4f0e9;
  color: inherit;
  padding: 14px;
  font-size: 16px;
}
.welcome-foot {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 13px;
}
.welcome-foot strong {
  color: #484640;
  font-weight: 500;
}
.intro {
  padding: 56px 0 35px;
}
.intro .primary {
  max-width: 340px;
}
.panel {
  padding: 29px 0;
  border-top: 1px solid var(--line);
}
.section-head {
  margin-bottom: 14px;
}
.section-head p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px 0;
}
.contact-row + .contact-row {
  border-top: 1px solid #d6cfc3;
}
.icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #c3bcae;
  border-radius: 9px;
  color: var(--charcoal);
  font-size: 20px;
}
.contact-copy {
  flex: 1;
  min-width: 0;
}
.contact-copy p,
.contact-copy a {
  font-size: 13px;
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.contact-copy a {
  color: var(--charcoal);
}
.status {
  background: #d6d0c5;
  color: #3f403c;
  padding: 6px 8px;
  font-size: 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.neutral {
  background: #ddd6cb;
  color: #66635e;
}
.privacy-note {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  font-size: 12px;
  color: var(--muted);
}
.privacy-note strong {
  font-weight: 500;
  color: #484640;
}
.privacy-note p {
  margin: 5px 0 18px;
}
footer {
  padding: 35px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
#error {
  padding: 15px;
  border: 1px solid #d9beb1;
  border-radius: 7px;
  font-size: 13px;
  color: #984934;
}
#loading {
  padding: 50px 0;
  color: var(--muted);
}
dialog {
  max-width: 450px;
  width: calc(100% - 32px);
  border: 1px solid #c3bcae;
  border-radius: 12px;
  padding: 30px;
  background: #e6dfd3;
  color: inherit;
}
dialog::backdrop {
  background: #30302e66;
  backdrop-filter: blur(3px);
}
dialog p {
  font-size: 14px;
  color: var(--muted);
}
dialog details {
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0;
}
blockquote {
  margin: 15px 0;
  font-size: 12px;
  overflow-wrap: anywhere;
  padding: 12px;
  background: #ddd6cb;
  border-radius: 4px;
}
.dialog-close {
  float: right;
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--muted);
}
@media (max-width: 600px) {
  header {
    padding: 19px 23px;
  }
  .account-menu {
    gap: 12px;
  }
  .account-menu > span {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand {
    font-size: 32px;
  }
  .brand svg {
    width: 28px;
  }
  .welcome {
    margin: 55px auto;
  }
  h1 {
    font-size: 39px;
  }
  .intro {
    padding-top: 43px;
  }
  .contact-row {
    gap: 12px;
    flex-wrap: wrap;
  }
  .contact-row > .secondary {
    margin-left: auto;
  }
  .intro .primary {
    max-width: none;
  }
  .eyebrow {
    font-size: 9px;
  }
  .status {
    font-size: 9px;
  }
  .lead {
    font-size: 16px;
  }
}

.context-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 30px; }
.context-option { border: 1px solid #c3bcae; border-radius: 10px; padding: 20px; }
.context-option h3 { margin: 16px 0 10px; }
.context-option p { font-size: 14px; line-height: 1.6; }
.context-option a { font-size: 14px; }
@media (max-width: 600px) { .context-options { grid-template-columns: 1fr; } }
