:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fafafa;
  --ion-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --ion-background-color: #fafafa;
  --ion-text-color: #1a1a1a;
  --ion-color-primary: #1b6a94;
  --ion-color-primary-rgb: 27, 106, 148;
  --ion-color-primary-contrast: #fff;
  --ion-color-primary-shade: #175c81;
  --ion-color-primary-tint: #347da0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
.shell {
  max-width: 1248px;
  margin: auto;
  padding: calc(32px + env(safe-area-inset-top)) max(32px, env(safe-area-inset-right))
    calc(24px + env(safe-area-inset-bottom)) max(32px, env(safe-area-inset-left));
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 23px;
  letter-spacing: -1px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 500;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  font-size: 26px;
  font-weight: 300;
}
.edition {
  font-size: 13px;
  color: #6b6b6b;
}
.layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: center;
  flex: 1;
  padding: 96px 0;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.13em;
  font-weight: 500;
  color: #6b6b6b;
  margin: 0 0 24px;
}
h1 {
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
}
.lede {
  font-size: 19px;
  line-height: 1.6;
  color: #6b6b6b;
}
.intro-rule {
  width: 48px;
  height: 1px;
  background: #b0b0ab;
  margin: 40px 0 24px;
}
.quiet {
  font-size: 14px;
  color: #6b6b6b;
}
.panel {
  padding: 36px;
  border: 1px solid #e0e0dd;
  border-radius: 8px;
  background: #f2f2f0;
}
.panel .eyebrow {
  margin-bottom: 16px;
}
h2 {
  font-size: 27px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.panel-description {
  font-size: 14px;
  line-height: 1.6;
  color: #6b6b6b;
  margin: 0 0 28px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}
input {
  display: block;
  background: #fafafa;
  border: 1px solid #cfcfcb;
  border-radius: 4px;
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  min-height: 46px;
  font: inherit;
  font-size: 16px;
  color: #1a1a1a;
}
input:focus-visible {
  outline: 2px solid #1b6a94;
  outline-offset: 2px;
}
small {
  display: block;
  color: #6b6b6b;
  font-size: 12px;
  font-weight: 400;
  margin-top: 8px;
}
.primary {
  margin: 28px 0 0;
  --border-radius: 4px;
  --box-shadow: none;
  min-height: 46px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 500;
}
.account-actions {
  text-align: center;
  font-size: 13px;
  color: #6b6b6b;
  margin-top: 20px;
}
.account-actions p {
  margin: 22px 0 0;
}
.account-actions button {
  background: none;
  border: 0;
  padding: 8px 4px;
  cursor: pointer;
  color: #1b6a94;
  font: inherit;
  min-height: 36px;
}
.account-actions button:hover {
  text-decoration: underline;
}
.account-actions ion-button {
  text-transform: none;
}
.notice {
  padding: 12px;
  border: 1px solid #8fcfef;
  background: #eef7fc;
  color: #134c6b;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}
.notice.error {
  color: #a8442f;
  background: #fdf1ee;
  border-color: #f0d2c9;
}
.loading {
  min-height: 300px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #6b6b6b;
}
.account-email {
  font-size: 13px;
}
.account-email span {
  font-weight: 500;
}
.account-email p {
  font-size: 15px;
  color: #6b6b6b;
  overflow-wrap: anywhere;
}
footer {
  padding-top: 24px;
  border-top: 1px solid #e0e0dd;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6b6b6b;
}
@media (max-width: 850px) {
  .layout {
    gap: 32px;
    grid-template-columns: 1fr 400px;
  }
  .intro h1 {
    font-size: 40px;
  }
}
@media (max-width: 700px) {
  .shell {
    padding-left: 24px;
    padding-right: 24px;
  }
  .layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
    align-items: start;
  }
  .intro h1 {
    font-size: 38px;
  }
  .intro .lede,
  .intro-rule,
  .quiet {
    display: none;
  }
  .intro .eyebrow {
    margin-bottom: 16px;
  }
  .intro h1 {
    margin: 0;
  }
  .panel {
    padding: 28px 24px;
  }
  .edition {
    display: none;
  }
  .panel h2 {
    font-size: 26px;
  }
  footer {
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
