:root {
  color-scheme: light;
  --ink: #273238;
  --muted: #667278;
  --green: #007a5e;
  --green-dark: #00634d;
  --line: #d7ddde;
  --soft: #f6f8f7;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}
a { color: inherit; }
.topbar { height: 72px; border-bottom: 1px solid #edf0ef; display: flex; align-items: center; justify-content: space-between; padding: 0 44px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--green); font-family: Nunito, sans-serif; font-weight: 900; font-size: 26px; letter-spacing: -1.7px; }
.brand-mark { width: 29px; height: 25px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; align-items: end; transform: skewY(-8deg); }
.brand-mark i { display: block; border-radius: 10px 10px 3px 3px; background: var(--green); }
.brand-mark i:nth-child(1), .brand-mark i:nth-child(4) { height: 12px; }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(5) { height: 21px; }
.brand-mark i:nth-child(3), .brand-mark i:nth-child(6) { height: 16px; }
.brand-mark i:nth-child(n+4) { display: none; }
.top-actions { display: flex; align-items: center; gap: 19px; color: var(--muted); }
.signup-link { color: var(--green); font-weight: 700; text-decoration: none; }
.page-shell { min-height: calc(100vh - 137px); display: flex; justify-content: center; align-items: flex-start; padding: 60px 20px 75px; background: linear-gradient(180deg, #fff 0%, #fcfdfc 100%); }
.login-card { width: 100%; max-width: 410px; text-align: center; }
.card-intro h1 { margin: 0 0 12px; font-family: Nunito, sans-serif; font-size: 30px; line-height: 1.2; letter-spacing: -.7px; color: #26383a; }
.card-intro p { max-width: 325px; margin: 0 auto 31px; color: var(--muted); line-height: 1.55; }
.social-buttons { display: grid; gap: 12px; }
button, input { font: inherit; }
.social-button { width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid #cbd3d4; border-radius: 4px; background: #fff; color: #354145; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.social-button:hover { background: #f8faf9; border-color: #9da9a9; box-shadow: 0 1px 3px #1e302e12; }
.google-icon { color: #4285f4; font-size: 18px; font-weight: 700; }
.apple-icon { color: #111; font-size: 15px; line-height: 1; position: relative; }
.apple-icon::after { content: ""; position: absolute; width: 6px; height: 4px; border-radius: 100%; background: #111; top: -4px; right: -2px; transform: rotate(-28deg); }
.divider { height: 48px; display: flex; align-items: center; gap: 14px; color: #849095; font-size: 13px; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: #e1e6e5; }
form { text-align: left; }
label { display: block; margin-bottom: 8px; color: #435055; font-size: 13px; font-weight: 600; }
input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #aebabc; border-radius: 4px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #8b9598; }
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px #007a5e1c; }
.field-error { min-height: 18px; margin: 7px 0 0; color: #bd2525; font-size: 12px; }
.primary-button { width: 100%; height: 48px; margin-top: 10px; border: 0; border-radius: 4px; background: var(--green); color: white; font-weight: 700; cursor: pointer; transition: background .15s, transform .1s; }
.primary-button:hover { background: var(--green-dark); }
.primary-button:active { transform: translateY(1px); }
.legal { margin: 23px auto 0; max-width: 370px; color: #738085; font-size: 11px; line-height: 1.55; }
.legal a, .help-link { color: var(--green); font-weight: 600; }
.help-link { display: inline-block; margin-top: 22px; text-decoration: none; font-size: 13px; }
.footer { min-height: 65px; padding: 22px 44px; border-top: 1px solid #edf0ef; display: flex; align-items: center; justify-content: space-between; color: #7d888b; font-size: 12px; }
.footer nav { display: flex; align-items: center; gap: 22px; }
.footer a, .footer button { color: #687477; text-decoration: none; background: transparent; border: 0; padding: 0; cursor: pointer; font-size: 12px; }
.footer a:hover, .footer button:hover, .help-link:hover, .signup-link:hover { text-decoration: underline; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 15px); padding: 12px 18px; border-radius: 5px; background: #26383a; color: #fff; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 600px) {
  .topbar { height: 64px; padding: 0 20px; }
  .brand { font-size: 23px; }
  .new-here { display: none; }
  .page-shell { min-height: calc(100vh - 129px); padding: 43px 20px 58px; }
  .card-intro h1 { font-size: 27px; }
  .footer { padding: 20px; align-items: flex-start; gap: 15px; flex-direction: column-reverse; }
  .footer nav { flex-wrap: wrap; gap: 12px 18px; }
}
.standalone-button { display:flex; align-items:center; justify-content:center; margin-top:24px; text-decoration:none; } code { padding:2px 4px; border-radius:3px; background:var(--soft); color:var(--green-dark); }
