:root {
  color-scheme: light;
  font-family: Inter, Roboto, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #152018;
  background: #eef4ef;
  line-height: 1.55;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 28px 16px;
}

a {
  color: #146b39;
  font-weight: 650;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.page-card {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid #d7e2d9;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 45px rgb(22 54 33 / 10%);
}

h1,
h2 {
  line-height: 1.2;
  color: #102c1a;
}

h1 {
  margin: 4px 0 8px;
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: -0.035em;
}

h2 {
  margin: 32px 0 8px;
  font-size: 1.25rem;
}

p {
  margin: 10px 0;
}

.eyebrow {
  margin: 0;
  color: #267244;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.updated,
.support {
  color: #53625a;
}

.notice {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid #bcd9c5;
  border-radius: 16px;
  background: #f1faf4;
}

.notice-warning {
  border-color: #e8d4a3;
  background: #fff9e9;
}

.notice h2 {
  margin-top: 0;
}

.flow-step {
  margin-top: 28px;
  padding-top: 4px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.button-primary {
  color: #ffffff;
  background: #176f3d;
}

.button-danger {
  color: #ffffff;
  background: #a52424;
}

.button:disabled {
  color: #6f7772;
  background: #e2e6e3;
  cursor: not-allowed;
}

.google-button {
  min-height: 2px;
  margin-top: 14px;
}

.confirmation {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0;
  padding: 16px;
  border-radius: 12px;
  background: #f4f5f4;
}

.confirmation input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin: 1px 0 0;
}

.signed-account {
  font-weight: 700;
}

.status {
  min-height: 1.6em;
  margin-top: 22px;
  font-weight: 700;
}

.status[data-kind="error"] {
  color: #981f1f;
}

.status[data-kind="success"] {
  color: #116f37;
}

@media (max-width: 520px) {
  body {
    padding: 0;
  }

  .page-card {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .button {
    width: 100%;
  }
}
