:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #142a3a;
  background: #f6f9fc;
  font-size: 16px;
  line-height: 1.6;
  --navy: #142a3a;
  --orange: #bd4818;
  --border: #cbd5df;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
header,
footer,
main {
  max-width: 760px;
  margin: auto;
  padding: 32px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-size: 1.6rem;
  font-weight: 850;
  letter-spacing: -1px;
  text-decoration: none;
}
.wordmark span {
  color: var(--orange);
}
nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  font-weight: 600;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #4f6476;
}
h1 {
  font-size: 2rem;
  line-height: 1.06;
  letter-spacing: -1px;
  margin: 0 0 12px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 12px 0;
}
h3 {
  line-height: 1.3;
}
p {
  margin: 12px 0 20px;
}
.hint {
  font-size: 0.875rem;
  color: #4f6476;
}
.signup {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 16px 50px #172c4110;
}
.signup > p {
  color: #4f6476;
}
.notice {
  padding: 12px 16px;
  background: #eef4fa;
  border-radius: 8px;
  margin: 24px 0;
  font-size: 0.875rem;
}
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 650;
  margin: 16px 0 8px;
}
input,
select {
  display: block;
  width: 100%;
  font: inherit;
  color: var(--navy);
  padding: 12px;
  border: 1px solid #9dabba;
  border-radius: 7px;
  background: white;
  margin-top: 6px;
  min-height: 48px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 24px 0;
}
.consent input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--navy);
}
button,
.button {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button.secondary {
  background: #e8eff6;
  color: var(--navy);
  margin-top: 12px;
}
.text-button {
  background: transparent;
  color: var(--navy);
  font-size: 0.875rem;
  text-decoration: underline;
}
.error {
  color: #a62929;
  font-size: 0.875rem;
}
.join-code {
  font-size: 1.5rem;
  font-family: ui-monospace, monospace;
  background: #eef4fa;
  padding: 16px;
  text-align: center;
  border-radius: 8px;
}
footer {
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  padding-bottom: 40px;
}
#card-element {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
input:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #d66a31;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.document {
  max-width: 800px;
}
.document h1 {
  font-size: 2.7rem;
  letter-spacing: -1px;
}
.document h2 {
  font-size: 1.35rem;
  margin-top: 32px;
}
.document li {
  margin: 8px 0;
}
.manage-panel {
  background: #fff;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 24px 0;
}
@media (max-width: 800px) {
  header,
  footer,
  main {
    padding: 24px;
  }
  .signup {
    padding: 24px;
  }
  header {
    align-items: flex-start;
  }
  nav {
    gap: 12px;
  }
}
@media (max-width: 390px) {
  .two {
    grid-template-columns: 1fr;
    gap: 0;
  }
  header {
    flex-direction: column;
  }
}

.document {
  max-width: 760px;
  margin: 55px auto 90px;
  padding: 0 24px;
}
.document h1 {
  font-size: 48px;
  line-height: 1.1;
}
.document h2 {
  margin-top: 32px;
}
.document p {
  line-height: 1.7;
}
.document form {
  background: white;
  padding: 24px;
  border-radius: 18px;
}
.document button {
  max-width: 360px;
}
