:root {
  --ink: #152922;
  --muted: #63746e;
  --line: #dfe8e4;
  --surface: #ffffff;
  --soft: #f3f8f5;
  --green: #17825e;
  --green-dark: #0e6649;
  --green-light: #bfe9d8;
  --navy: #102d27;
  --shadow: 0 24px 70px rgba(19, 66, 51, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; letter-spacing: -0.02em; }
.brand strong { font-weight: 720; }
.brand-mark, .login-symbol {
  position: relative; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 11px; background: var(--green); transform: rotate(7deg);
}
.brand-mark::before, .brand-mark::after, .brand-mark span,
.login-symbol::before, .login-symbol::after, .login-symbol span {
  content: ""; position: absolute; height: 2px; border-radius: 2px; background: white;
}
.brand-mark::before, .login-symbol::before { width: 17px; transform: translateY(-5px); }
.brand-mark span, .login-symbol span { width: 12px; transform: translate(2px, 1px); }
.brand-mark::after, .login-symbol::after { width: 7px; transform: translate(4px, 7px); }

.site-header { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.site-header nav { display: flex; align-items: center; gap: 24px; }
.nav-link { color: var(--muted); font-size: 14px; font-weight: 600; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 12px; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--green); box-shadow: 0 10px 24px rgba(23, 130, 94, .22); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { color: var(--green-dark); background: var(--soft); }
.button-small { min-height: 40px; padding-inline: 17px; }
.button-full { width: 100%; margin-top: 8px; }

.hero { min-height: 610px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 80px; align-items: center; padding-block: 62px 78px; }
.hero-copy { max-width: 610px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow > span { width: 23px; height: 2px; border-radius: 2px; background: currentColor; }
.hero h1 { margin: 22px 0; font-size: clamp(42px, 5vw, 65px); line-height: 1.04; letter-spacing: -.055em; font-weight: 720; }
.hero-copy > p { max-width: 570px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.secure-note { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; }
.secure-note span { display: grid; place-items: center; width: 20px; height: 20px; color: var(--green); background: var(--soft); border-radius: 50%; font-size: 11px; }

.status-card { position: relative; min-height: 410px; padding: 30px; border: 1px solid rgba(23,130,94,.14); border-radius: 26px; background: linear-gradient(145deg, #fff, #f5faf7); box-shadow: var(--shadow); overflow: hidden; }
.status-card::before { content: ""; position: absolute; width: 240px; height: 240px; top: -110px; right: -80px; border-radius: 50%; background: rgba(23,130,94,.08); }
.status-card-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; }
.status-card-top > div { display: grid; gap: 6px; }
.status-card-top strong { font-size: 20px; }
.mini-label { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: var(--green-dark); background: var(--green-light); border-radius: 20px; font-size: 11px; font-weight: 700; }
.live-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.pulse-visual { position: relative; height: 170px; margin: 32px -5px 20px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent, transparent 41px, rgba(20,75,58,.055) 42px); overflow: hidden; }
.pulse-line { position: absolute; left: 3%; right: 3%; height: 2px; background: linear-gradient(90deg, transparent 0%, rgba(23,130,94,.25) 15%, var(--green) 50%, rgba(23,130,94,.28) 82%, transparent 100%); transform-origin: left; }
.line-one { top: 50%; transform: rotate(-8deg); }
.line-two { top: 54%; transform: rotate(5deg); opacity: .55; }
.line-three { top: 65%; transform: rotate(-2deg); opacity: .28; }
.pulse-dot { position: absolute; left: 61%; top: 40%; width: 13px; height: 13px; border: 3px solid white; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 7px rgba(23,130,94,.12); }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.status-grid div { display: grid; gap: 7px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.7); }
.status-grid span { color: var(--muted); font-size: 10px; }
.status-grid strong { font-size: 12px; }

.promise { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise article { display: flex; gap: 17px; padding: 30px; }
.promise article + article { border-left: 1px solid var(--line); }
.promise-icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; color: var(--green); background: var(--soft); border-radius: 10px; font-size: 10px; font-weight: 800; }
.promise h2 { margin: 1px 0 7px; font-size: 14px; }
.promise p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.site-footer { min-height: 110px; display: flex; justify-content: space-between; align-items: center; color: #81908b; font-size: 12px; }

.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr); }
.auth-aside { display: flex; flex-direction: column; min-height: 100vh; padding: 46px clamp(40px, 6vw, 90px); color: white; background: radial-gradient(circle at 20% 80%, rgba(64,173,130,.24), transparent 38%), var(--navy); }
.brand-light .brand-mark { background: #2ab17f; }
.auth-message { margin: auto 0; }
.eyebrow-light { color: #83d7b8; }
.auth-message h1 { margin: 23px 0 18px; font-size: clamp(46px, 5vw, 72px); line-height: 1.05; letter-spacing: -.055em; }
.auth-message p { max-width: 420px; margin: 0; color: #b6cac3; font-size: 17px; line-height: 1.7; }
.auth-aside-footer { margin: 0; color: #79978c; font-size: 12px; }
.auth-panel { display: grid; place-items: center; padding: 40px; background: #f7faf8; }
.login-card { width: min(430px, 100%); }
.back-link { display: inline-block; margin-bottom: 55px; color: var(--muted); font-size: 13px; font-weight: 650; }
.login-symbol { width: 46px; height: 46px; margin-bottom: 26px; border-radius: 14px; }
.login-heading h2 { margin: 0 0 9px; font-size: 34px; letter-spacing: -.04em; }
.login-heading p { margin: 0 0 30px; color: var(--muted); font-size: 14px; }
.form-error { margin: -10px 0 22px; padding: 12px 14px; border: 1px solid #f3c9c9; border-radius: 10px; color: #8c3232; background: #fff5f5; font-size: 13px; }
.login-form { display: grid; gap: 10px; }
.login-form label { margin-top: 8px; font-size: 12px; font-weight: 750; }
.login-form input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid #d8e2de; border-radius: 11px; color: var(--ink); background: white; outline: none; transition: border .18s ease, box-shadow .18s ease; }
.login-form input::placeholder { color: #a2aea9; }
.login-form input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(23,130,94,.1); }
.login-help { margin: 24px 0 0; color: #8b9893; text-align: center; font-size: 11px; }

.dashboard-page { min-height: 100vh; background: #f6f9f7; }
.dashboard-header { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 70px); border-bottom: 1px solid var(--line); background: white; }
.user-actions, .user-chip { display: flex; align-items: center; gap: 15px; }
.user-chip { color: var(--muted); font-size: 12px; font-weight: 650; }
.user-chip > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: white; background: var(--navy); font-size: 12px; }
.logout-button { padding: 7px 12px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; font-weight: 650; }
.dashboard-content { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0; }
.dashboard-intro h1 { margin: 15px 0 8px; font-size: 38px; letter-spacing: -.045em; }
.dashboard-intro p { margin: 0; color: var(--muted); font-size: 14px; }
.empty-state { display: grid; justify-items: center; margin-top: 48px; padding: 85px 30px; border: 1px dashed #cedbd5; border-radius: 22px; background: rgba(255,255,255,.65); text-align: center; }
.empty-icon { position: relative; width: 86px; height: 86px; margin-bottom: 27px; }
.empty-ring { position: absolute; border: 1px solid rgba(23,130,94,.2); border-radius: 50%; inset: 0; }
.ring-two { inset: 15px; background: rgba(23,130,94,.04); }
.empty-center { position: absolute; inset: 31px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 8px rgba(23,130,94,.11); }
.empty-state h2 { margin: 0 0 10px; font-size: 19px; }
.empty-state p { max-width: 420px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.coming-soon { margin-top: 22px; padding: 7px 12px; border-radius: 20px; color: var(--green-dark); background: var(--soft); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 50px; padding-top: 50px; }
  .hero-copy { max-width: 680px; }
  .status-card { width: 100%; }
  .promise { grid-template-columns: 1fr; }
  .promise article + article { border-left: 0; border-top: 1px solid var(--line); }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 30px, 1160px); }
  .site-header { height: 72px; }
  .site-header .nav-link { display: none; }
  .hero { min-height: auto; padding-block: 50px 60px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .status-card { min-height: 360px; padding: 22px; }
  .status-grid { grid-template-columns: 1fr; }
  .status-grid div:nth-child(n+2) { display: none; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; }
  .auth-panel { padding: 26px 22px; }
  .login-card { padding-top: 20px; }
  .back-link { margin-bottom: 42px; }
  .dashboard-header { padding-inline: 18px; }
  .dashboard-header .brand > span:last-child { display: none; }
  .dashboard-content { width: calc(100% - 30px); padding-top: 48px; }
  .empty-state { padding: 65px 20px; }
}

