@import url('/fonts.css');

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #182b27;
  background: #f5f7f4;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --green: #123a32;
  --green-soft: #e8f1ed;
  --muted: #71817c;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
.app-shell { max-width: 1180px; margin: 0 auto; padding: 0 40px 48px; }
.topbar { height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e4eae6; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--green); text-decoration: none; font-weight: 750; letter-spacing: -.04em; font-size: 19px; }
.brand img { border-radius: 11px; }
.brand-light { font-weight: 450; }
.connection { display: flex; align-items: center; gap: 9px; color: #52655f; font-size: 13px; }
.connection-dot { width: 8px; height: 8px; border-radius: 50%; background: #4a9b72; box-shadow: 0 0 0 4px #e3f2e9; }
.connection.offline .connection-dot { background: #d58b43; box-shadow: 0 0 0 4px #fbf0e2; }
main { padding-top: 48px; }
.welcome { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 205px; padding: 35px 48px; border-radius: 20px; overflow: hidden; color: #f7fbf7; background: linear-gradient(112deg, #123a32 0%, #1d5143 100%); }
.eyebrow { margin: 0 0 11px; font-size: 10px; letter-spacing: .14em; font-weight: 750; color: #718c83; }
.welcome .eyebrow { color: #acd0be; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 550px; margin-bottom: 12px; font-size: clamp(26px, 4vw, 38px); line-height: 1.13; letter-spacing: -.04em; font-weight: 650; }
.welcome-copy { max-width: 530px; margin: 0; color: #c1d8ce; font-size: 14px; line-height: 1.65; }
.welcome-mark { position: absolute; right: 66px; width: 124px; height: 124px; display: grid; place-items: center; border: 1px solid #ffffff24; border-radius: 50%; color: #ffffffaa; font-size: 36px; font-weight: 400; }
.welcome-mark::before, .welcome-mark::after { position: absolute; content: ""; border: 1px solid #ffffff20; border-radius: 50%; inset: 13px; }
.welcome-mark::after { inset: -15px; }
.status-card { margin-top: 24px; padding: 32px 36px 28px; border: 1px solid #e5ebe7; border-radius: 18px; background: #fff; box-shadow: 0 5px 20px #243d3110; }
.auth-card { margin-top: 24px; padding: 28px 36px; border: 1px solid #e5ebe7; border-radius: 18px; background: #fff; box-shadow: 0 5px 20px #243d3110; }
.auth-card .eyebrow { margin-bottom: 9px; }
.auth-copy { margin: 14px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-card form { display: grid; max-width: 440px; gap: 9px; }
.auth-card label { margin-top: 4px; color: #42554f; font-size: 12px; font-weight: 650; }
.auth-card input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #dce5df; border-radius: 9px; background: #fff; color: #182b27; font: inherit; font-size: 14px; }
.auth-card input:focus { outline: 3px solid #123a3226; border-color: #39725e; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.primary-button, .secondary-button { min-height: 40px; padding: 9px 14px; border: 0; border-radius: 9px; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.primary-button { background: var(--green); color: #fff; }
.secondary-button { background: #edf3ef; color: #244d40; }
.primary-button:disabled, .secondary-button:disabled { opacity: .6; cursor: wait; }
.auth-card [hidden] { display: none; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.section-heading .eyebrow { margin-bottom: 9px; }
h2 { margin: 0; color: #183b32; font-size: 21px; letter-spacing: -.025em; font-weight: 650; }
.status-pill { display: flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: #edf6f0; color: #35724f; font-size: 11px; font-weight: 650; white-space: nowrap; }
.status-copy { margin: 14px 0 26px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid #edf0ee; padding-top: 23px; }
.feature { display: flex; gap: 13px; align-items: flex-start; }
.feature-icon { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--green-soft); color: var(--green); font-size: 18px; }
.feature h3 { margin: 1px 0 6px; color: #253d36; font-size: 13px; font-weight: 650; }
.feature p { max-width: 220px; margin: 0; color: #788680; font-size: 11px; line-height: 1.55; }
.footer-note { display: flex; gap: 11px; align-items: flex-start; max-width: 720px; margin: 23px auto 0; color: #76857e; }
.footer-note p { margin: 0; font-size: 11px; line-height: 1.65; }
.lock { color: #5d8b73; font-size: 14px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 2; display: flex; align-items: center; gap: 18px; padding: 14px 16px; border: 1px solid #deebe3; border-radius: 13px; background: white; box-shadow: 0 12px 32px #173a2b20; font-size: 13px; }
.toast button { border: 0; border-radius: 8px; padding: 8px 12px; background: var(--green); color: white; font: inherit; cursor: pointer; }
@media (max-width: 700px) {
  .app-shell { padding: 0 18px 32px; }
  .topbar { height: 70px; }
  .connection { font-size: 11px; }
  main { padding-top: 22px; }
  .welcome { min-height: 220px; padding: 28px 24px; align-items: flex-start; }
  .welcome-mark { right: 20px; bottom: -41px; width: 100px; height: 100px; font-size: 28px; }
  .welcome-copy { max-width: 440px; font-size: 13px; }
  .status-card { padding: 25px 22px 22px; }
  .auth-card { padding: 24px 22px; }
  .section-heading { align-items: center; }
  h2 { font-size: 18px; }
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature p { max-width: none; }
  .toast { left: 14px; right: 14px; bottom: 14px; justify-content: space-between; }
}
