:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171914;
  background: #eff1eb;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; min-height: 100%; }
body { min-height: 100dvh; }
button, input { font: inherit; }

.login-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(420px, 44%) minmax(0, 56%);
  background: #fff;
}

.login-panel { display: grid; place-items: center; padding: 48px clamp(36px, 6vw, 96px); }
.login-inner { width: min(100%, 430px); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px;
  color: #15180e; background: #c6f43d; font-family: Georgia, serif; font-size: 23px; font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 8px 20px rgba(144,185,31,.18);
}
.brand-name { display: flex; flex-direction: column; }
.brand-name strong { font-family: Georgia, serif; font-size: 18px; letter-spacing: -.02em; }
.brand-name small { margin-top: 2px; color: #8a8d83; font-size: 9px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }

.login-copy { margin: clamp(70px, 10vh, 112px) 0 35px; }
.eyebrow { margin: 0 0 11px; color: #688900; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.login-copy h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(34px, 3.2vw, 46px); line-height: 1.04; letter-spacing: -.035em; }
.login-copy > p:last-child { max-width: 390px; margin: 16px 0 0; color: #777a70; font-size: 14px; line-height: 1.65; }

.field { margin-top: 20px; }
.field label { display: block; margin: 0 0 8px; color: #363831; font-size: 12px; font-weight: 700; }
.input-wrap { position: relative; }
.input-wrap > svg {
  position: absolute; top: 50%; left: 16px; width: 18px; height: 18px; transform: translateY(-50%);
  fill: none; stroke: #969a8e; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
}
.input-wrap input {
  width: 100%; height: 54px; padding: 0 48px; border: 1px solid #dedfd9; border-radius: 12px;
  outline: none; color: #20221d; background: #fbfbfa; font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input-wrap input::placeholder { color: #a3a69d; }
.input-wrap input:hover { border-color: #c9cbc3; }
.input-wrap input:focus { border-color: #819f20; background: #fff; box-shadow: 0 0 0 4px rgba(198,244,61,.17); }
.input-wrap input:disabled { opacity: .68; }

.password-toggle {
  position: absolute; top: 50%; right: 9px; width: 38px; height: 38px; transform: translateY(-50%);
  display: grid; place-items: center; border: 0; border-radius: 9px; color: #85897e; background: transparent; cursor: pointer;
}
.password-toggle:hover { color: #31342c; background: #eff0eb; }
.password-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eye-closed, .password-toggle[aria-pressed="true"] .eye-open { display: none; }
.password-toggle[aria-pressed="true"] .eye-closed { display: block; }

.form-message { min-height: 0; margin-top: 0; color: #a43d32; font-size: 12px; line-height: 1.4; opacity: 0; transition: min-height .18s ease, margin .18s ease, opacity .18s ease; }
.form-message.visible { min-height: 18px; margin-top: 13px; opacity: 1; }

.submit-button {
  width: 100%; height: 55px; margin-top: 24px; padding: 0 18px 0 22px; border: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; gap: 12px; color: #15180e; background: #c6f43d;
  box-shadow: 0 12px 24px rgba(115,151,13,.16); font-size: 13px; font-weight: 800; cursor: pointer;
  transition: background .18s ease, transform .15s ease, box-shadow .18s ease;
}
.submit-button:hover { background: #d0fa4f; box-shadow: 0 14px 28px rgba(115,151,13,.22); }
.submit-button:active { transform: translateY(1px); }
.submit-button:disabled { cursor: wait; opacity: .75; }
.submit-button > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-loader { display: none; width: 17px; height: 17px; border: 2px solid rgba(21,24,14,.24); border-top-color: #15180e; border-radius: 50%; animation: spin .7s linear infinite; }
.submit-button.loading .button-loader { display: block; }
.submit-button.loading > svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.security-note { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #92958c; font-size: 10px; }
.security-note svg { width: 15px; height: 15px; fill: none; stroke: #7d9660; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.showcase {
  position: relative; min-height: 100dvh; padding: clamp(52px, 7vw, 96px); display: flex; flex-direction: column; justify-content: center;
  color: #f6f7f2; background: #11130f; overflow: hidden; isolation: isolate;
}
.showcase::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.showcase::after {
  content: ""; position: absolute; right: -20%; bottom: -45%; z-index: -1; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,244,61,.13), transparent 67%); filter: blur(4px);
}
.orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); }
.orb-one { top: -85px; right: 11%; width: 190px; height: 190px; border: 1px solid rgba(198,244,61,.24); }
.orb-two { top: 120px; right: -45px; width: 105px; height: 105px; background: #c6f43d; opacity: .08; }
.showcase-copy { position: relative; z-index: 2; max-width: 720px; margin: 0 auto 40px; width: 100%; }
.showcase-tag { display: inline-flex; align-items: center; gap: 8px; color: #b9bdb2; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.showcase-tag i { width: 7px; height: 7px; border-radius: 50%; background: #c6f43d; box-shadow: 0 0 0 5px rgba(198,244,61,.08); }
.showcase h2 { margin: 20px 0 0; font-family: Georgia, serif; font-size: clamp(35px, 4.3vw, 63px); font-weight: 500; line-height: .99; letter-spacing: -.04em; }
.showcase h2 em { color: #c6f43d; font-style: normal; }
.showcase-copy > p { max-width: 570px; margin: 20px 0 0; color: #8e9288; font-size: 14px; line-height: 1.65; }

.dashboard-preview {
  position: relative; z-index: 2; width: min(100%, 720px); margin: 0 auto; padding: 19px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px;
  background: rgba(34,37,30,.84); box-shadow: 0 32px 80px rgba(0,0,0,.35); backdrop-filter: blur(14px); transform: perspective(1300px) rotateY(-2deg) rotateX(1deg);
}
.preview-topbar { display: flex; align-items: center; gap: 11px; padding-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,.08); }
.preview-logo { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #15180e; background: #c6f43d; font-family: Georgia, serif; font-weight: 800; }
.preview-title { display: flex; flex: 1; flex-direction: column; }
.preview-title b { font-size: 11px; }
.preview-title span { margin-top: 2px; color: #72766d; font-size: 8px; }
.preview-live { display: flex; align-items: center; gap: 5px; color: #aeb3a7; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.preview-live i { width: 5px; height: 5px; border-radius: 50%; background: #83d268; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 15px 0 10px; }
.metric-card { min-width: 0; padding: 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.035); }
.metric-card span { display: block; color: #868a80; font-size: 8px; font-weight: 650; text-transform: uppercase; }
.metric-card strong { display: block; margin-top: 8px; color: #f5f6f2; font-size: clamp(14px, 1.7vw, 20px); letter-spacing: -.03em; }
.metric-card small { display: block; margin-top: 5px; color: #777c71; font-size: 7px; }
.metric-card.featured small { color: #a9cc41; }
.chart-card { padding: 14px 14px 5px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.025); }
.chart-heading { display: flex; align-items: flex-start; justify-content: space-between; }
.chart-heading div { display: flex; flex-direction: column; }
.chart-heading span { color: #7f8379; font-size: 8px; text-transform: uppercase; }
.chart-heading b { margin-top: 4px; font-size: 10px; }
.chart-heading > i { width: 7px; height: 7px; border-radius: 50%; background: #c6f43d; box-shadow: 0 0 0 4px rgba(198,244,61,.08); }
.chart { width: 100%; height: 105px; overflow: visible; }
.grid-line { fill: none; stroke: rgba(255,255,255,.055); stroke-width: 1; }
.chart-fill { fill: url(#chartFill); }
.chart-line { fill: none; stroke: #c6f43d; stroke-width: 2.5; stroke-linecap: round; }
.chart circle { fill: #c6f43d; stroke: #303522; stroke-width: 6; }
.preview-footer { display: flex; gap: 20px; padding: 13px 4px 1px; color: #6f7369; font-size: 7px; text-transform: uppercase; }
.preview-footer span { display: flex; align-items: center; gap: 5px; }
.dot { width: 5px; height: 5px; border-radius: 50%; }.dot.lime{background:#c6f43d}.dot.violet{background:#8574f5}.dot.orange{background:#dd8158}
.showcase-foot { position: relative; z-index: 2; width: min(100%, 720px); margin: 24px auto 0; color: #555950; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.showcase-foot span { margin: 0 6px; color: #859b43; }

@media (max-width: 900px) {
  .login-shell { grid-template-columns: minmax(370px, 48%) minmax(0, 52%); }
  .showcase { padding: 48px 32px; }
  .showcase h2 { font-size: 42px; }
  .metric-card { padding: 11px; }
}

@media (max-width: 740px) {
  .login-shell { display: block; min-height: 100dvh; background: #fff; }
  .login-panel { min-height: 100dvh; padding: 30px 24px; align-items: stretch; }
  .login-inner { display: flex; flex-direction: column; margin: 0 auto; }
  .login-copy { margin: auto 0 31px; padding-top: 64px; }
  .login-copy h1 { font-size: 37px; }
  .security-note { margin-bottom: auto; padding-top: 4px; }
  .showcase { display: none; }
}

@media (max-height: 700px) and (min-width: 741px) {
  .login-panel { padding-block: 28px; }
  .login-copy { margin: 40px 0 22px; }
  .field { margin-top: 14px; }
  .security-note { margin-top: 15px; }
  .showcase-copy { margin-bottom: 22px; }
  .showcase h2 { font-size: 38px; }
  .chart { height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
