* { box-sizing: border-box; }
:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #20312d;
  background: #f3f6f4;
  font-synthesis: none;
}
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.page-shell { width: min(100% - 40px, 1080px); margin: 0 auto; }
.site-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dce5e0; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #173b35; text-decoration: none; font-weight: 750; letter-spacing: -.025em; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: white; background: #1e5147; font-size: 19px; }
.brand-amp { color: #6a8980; }
.header-note { color: #72827c; font-size: 13px; }
.intro { max-width: 640px; padding: 55px 0 28px; }
.eyebrow { margin: 0 0 12px; color: #387264; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; color: #173b35; font-size: clamp(34px, 5vw, 50px); line-height: 1.08; letter-spacing: -.045em; }
.intro-copy { max-width: 520px; margin: 15px 0 0; color: #64756e; font-size: 16px; line-height: 1.65; }
.auth-card { width: min(100%, 500px); margin: 0 auto 56px; padding: 0 32px 32px; border: 1px solid #e0e8e3; border-radius: 17px; background: #fff; box-shadow: 0 14px 45px rgba(27, 59, 48, .07); }
.tabs { display: flex; gap: 24px; border-bottom: 1px solid #e8eeea; margin: 0 -32px 27px; padding: 0 32px; }
.tab { position: relative; padding: 19px 0 15px; border: 0; background: transparent; color: #7a8983; font-size: 14px; font-weight: 650; cursor: pointer; }
.tab.is-active { color: #1d5146; }
.tab.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #2e7564; content: ""; }
.panel h2 { margin: 0; color: #203b34; font-size: 23px; letter-spacing: -.025em; }
.panel-copy { margin: 8px 0 23px; color: #74827c; font-size: 14px; line-height: 1.55; }
form { display: grid; gap: 9px; }
form label { margin-top: 7px; color: #344a42; font-size: 13px; font-weight: 650; }
input:not([type="checkbox"]), select { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #d8e2dc; border-radius: 8px; outline: none; color: #243a32; background: #fff; }
input:focus, select:focus { border-color: #428675; box-shadow: 0 0 0 3px rgba(66, 134, 117, .12); }
.field-help { margin: -3px 0 3px; color: #829089; font-size: 12px; line-height: 1.5; }
.primary-button { min-height: 47px; margin-top: 13px; padding: 12px 18px; border: 0; border-radius: 8px; color: #fff; background: #20584d; font-weight: 700; cursor: pointer; transition: background .15s ease; }
.primary-button:hover:not(:disabled) { background: #17483e; }
.primary-button:disabled { color: #f4f6f5; background: #9aaba4; cursor: not-allowed; }
.inline-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; margin-top: 20px; }
.text-button { padding: 0; border: 0; color: #367766; background: transparent; font-size: 13px; font-weight: 650; cursor: pointer; text-align: left; }
.text-button:hover, a:hover { text-decoration: underline; }
.back-to-login { margin-top: 20px; }
.notice { margin: 0 0 20px; padding: 12px 14px; border: 1px solid #d7e6dd; border-radius: 8px; color: #285a45; background: #f0f7f2; font-size: 13px; line-height: 1.5; }
.notice.error { border-color: #f0d4d1; color: #8b3932; background: #fff5f4; }
.terms-box { margin-top: 12px; padding: 13px; border: 1px solid #e4ebe6; border-radius: 8px; background: #f8faf8; }
.terms-box p { margin: 0 0 7px; color: #687a71; font-size: 12px; line-height: 1.5; }
.terms-box a, .site-footer a { color: #367766; font-size: 12px; font-weight: 650; }
.check-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 10px !important; line-height: 1.5; }
.check-row input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: #20584d; }
.site-footer { display: flex; justify-content: space-between; padding: 18px 0 28px; border-top: 1px solid #dce5e0; color: #87948e; font-size: 12px; }
[hidden] { display: none !important; }
@media (min-width: 760px) { .intro { padding-top: 64px; } }
@media (max-width: 560px) {
  .page-shell { width: min(100% - 28px, 1080px); }
  .site-header { min-height: 70px; }
  .header-note { max-width: 110px; text-align: right; font-size: 11px; }
  .brand { gap: 8px; font-size: 14px; }
  .brand-mark { width: 31px; height: 31px; }
  .intro { padding: 39px 0 24px; }
  .intro-copy { font-size: 14px; }
  .auth-card { padding: 0 20px 24px; margin-bottom: 38px; }
  .tabs { gap: 18px; margin-right: -20px; margin-left: -20px; padding: 0 20px; }
  .tab { font-size: 13px; }
  .inline-links { flex-direction: column; align-items: flex-start; }
  .site-footer { gap: 12px; }
}
