:root {
  --green: #00c26a;
  --green-bright: #19e884;
  --forest: #07140e;
  --ink: #101511;
  --muted: #69736d;
  --paper: #f2f5f3;
  --white: #fff;
  --line: #dce3df;
  --danger: #a33b3b;
  --danger-soft: #fff1f0;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; }
body {
  min-height: 100dvh;
  color: var(--ink);
  background: #080b09;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }

.portal-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
  min-height: 100dvh;
  overflow: hidden;
}

.brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100dvh;
  padding: clamp(42px, 5vw, 76px) clamp(42px, 7vw, 112px) 42px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 75% 15%, rgba(0, 194, 106, .24), transparent 26%),
    radial-gradient(circle at 12% 90%, rgba(0, 194, 106, .12), transparent 28%),
    linear-gradient(145deg, #060907 0%, #08150e 58%, #092116 100%);
}
.brand-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .12;
  background-image: radial-gradient(circle, rgba(255,255,255,.45) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(125deg, black, transparent 74%);
}
.brand-panel::after {
  position: absolute;
  right: -12vw;
  bottom: -34vw;
  width: 54vw;
  height: 54vw;
  border: 1px solid rgba(34, 255, 146, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 6vw rgba(0, 194, 106, .035), 0 0 0 12vw rgba(0, 194, 106, .025);
  content: "";
}
.brand-logo { position: relative; z-index: 1; width: 170px; height: auto; }
.brand-copy { position: relative; z-index: 1; max-width: 760px; margin-block: 60px 48px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #a7f6cb; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow i { width: 25px; height: 2px; background: var(--green-bright); }
.brand-copy h1 { margin: 0; font-size: clamp(48px, 6vw, 88px); font-weight: 750; line-height: .96; letter-spacing: -.065em; }
.brand-copy h1 strong { color: var(--green-bright); font-weight: inherit; }
.brand-copy p { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.67); font-size: clamp(15px, 1.25vw, 19px); line-height: 1.62; }
.journey { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.13); }
.journey li { position: relative; padding: 22px 18px 0 0; }
.journey li:not(:last-child)::after { position: absolute; top: -1px; right: 16px; left: 0; height: 1px; content: ""; background: var(--green-bright); transform: scaleX(.3); transform-origin: left; }
.journey span { display: block; color: #62e99e; font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.journey b { display: block; margin-top: 7px; font-size: 14px; }
.journey small { display: block; margin-top: 4px; color: rgba(255,255,255,.42); font-size: 10px; }
.brand-foot { position: relative; z-index: 1; margin: 46px 0 0; color: rgba(255,255,255,.32); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.access-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 46px;
  background:
    linear-gradient(rgba(255,255,255,.75), rgba(255,255,255,.75)),
    radial-gradient(circle at 20% 0%, #d9f5e7, transparent 35%),
    var(--paper);
}
.access-card { width: min(100%, 480px); padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(16,21,17,.09); border-radius: 28px; background: rgba(255,255,255,.88); box-shadow: 0 32px 90px rgba(7, 31, 22, .12); backdrop-filter: blur(18px); }
.privacy { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid #cfddd5; border-radius: 999px; color: #476057; background: #f5f9f7; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.privacy i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0,194,106,.12); }
.access-heading { margin: 28px 0 30px; }
.access-heading > span { color: #16814e; font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.access-heading h2 { margin: 8px 0 10px; font-size: clamp(31px, 3vw, 42px); line-height: 1.02; letter-spacing: -.05em; }
.access-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.alert { margin: -10px 0 22px; padding: 12px 14px; border: 1px solid #f0c7c5; border-radius: 12px; color: var(--danger); background: var(--danger-soft); font-size: 12px; line-height: 1.45; }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
label { color: #26342d; font-size: 11px; font-weight: 800; }
input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid var(--line); border-radius: 13px; outline: none; color: var(--ink); background: #fbfdfc; font-size: 14px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
input::placeholder { color: #a0aaa4; }
input:hover { border-color: #bdcbc3; }
input:focus { border-color: #00a75c; background: white; box-shadow: 0 0 0 4px rgba(0,194,106,.12); }
.password-field { position: relative; }
.password-field input { padding-right: 84px; }
.password-toggle { position: absolute; top: 50%; right: 7px; min-width: 68px; height: 38px; border: 0; border-radius: 9px; color: #167c4c; background: transparent; font-size: 10px; font-weight: 800; cursor: pointer; transform: translateY(-50%); }
.password-toggle:hover { background: #eaf7f0; }
.submit { display: flex; align-items: center; justify-content: space-between; height: 54px; margin-top: 5px; padding: 0 18px; border: 0; border-radius: 14px; color: #04130c; background: var(--green-bright); box-shadow: 0 14px 32px rgba(0,194,106,.22); font-size: 13px; font-weight: 850; cursor: pointer; transition: transform .22s var(--ease), background .2s ease, box-shadow .2s ease; }
.submit:hover { background: #38ef98; box-shadow: 0 18px 38px rgba(0,194,106,.28); transform: translateY(-2px); }
.submit:active { transform: translateY(0); }
.submit span:last-child { font-size: 19px; }
.support { margin: 22px 0 0; color: #87918b; font-size: 10px; line-height: 1.5; text-align: center; }
.security-note { position: absolute; bottom: 22px; margin: 0; color: #87918b; font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.security-note span { margin-right: 7px; color: var(--green); }

@media (max-width: 980px) {
  .portal-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: auto; padding: 32px 28px 42px; }
  .brand-copy { margin: 70px 0 38px; }
  .brand-copy h1 { font-size: clamp(44px, 10vw, 72px); }
  .brand-foot { display: none; }
  .access-panel { min-height: auto; padding: 54px 24px 76px; }
  .security-note { bottom: 24px; }
}
@media (max-width: 560px) {
  .brand-logo { width: 140px; }
  .brand-copy { margin-top: 54px; }
  .brand-copy h1 { font-size: 43px; }
  .journey { grid-template-columns: 1fr; gap: 18px; }
  .journey li { padding-top: 14px; }
  .journey li:not(:last-child)::after { display: none; }
  .access-panel { padding-inline: 15px; }
  .access-card { padding: 26px 20px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
