:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172523;
  background: #f5f8f7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
a {
  color: #147b68;
  text-underline-offset: 3px;
}
.page-shell {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 30px 0 56px;
}
.brand {
  display: inline-block;
  margin-bottom: 28px;
  color: #167663;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
}
h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
h2 {
  margin: 0 0 18px;
  font-size: 20px;
}
p,
li {
  line-height: 1.7;
}
p {
  margin: 14px 0;
}
.muted {
  color: #667874;
  font-size: 14px;
}
.notice {
  padding: 14px 16px;
  border: 1px solid #d9e9e4;
  border-radius: 12px;
  background: #eef6f3;
  color: #31544b;
}
.card {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid #dce6e2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px #17372b0a;
}
.legal-content {
  margin-top: 20px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.legal-content h2,
.legal-content h3,
.legal-content h4 {
  margin: 24px 0 8px;
}
.legal-content p {
  margin: 12px 0;
}
.legal-content ul,
.legal-content ol {
  padding-left: 24px;
}
.legal-content img {
  max-width: 100%;
  height: auto;
}
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dce6e2;
  font-size: 14px;
}
form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
label {
  font-size: 14px;
  font-weight: 650;
}
input:not([type="checkbox"]) {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #bccbc6;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  font: inherit;
}
input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #6ab9a5;
  outline-offset: 2px;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
  font-weight: 450;
}
.check-row input {
  margin-top: 4px;
}
.primary-button,
.danger-button,
.secondary-button {
  min-height: 46px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.primary-button {
  background: #167663;
  color: #fff;
}
.danger-button {
  background: #a52c2c;
  color: #fff;
}
.secondary-button {
  border: 1px solid #bdcdc7;
  background: #fff;
  color: #24443b;
}
.button[disabled],
button[disabled] {
  opacity: 0.55;
  cursor: wait;
}
.method-switch,
.inline-field {
  display: flex;
  align-items: center;
  gap: 10px;
}
.method-switch {
  margin-bottom: 18px;
}
.method-switch [aria-selected="true"] {
  border-color: #167663;
  background: #eaf5f1;
  color: #12614f;
}
.inline-field {
  justify-content: space-between;
}
.error {
  color: #a52c2c;
}
.success {
  border-color: #9dcfbd;
  background: #f2faf6;
}
