*{box-sizing:border-box}
:root{
  --green:#176529;
  --green-dark:#104d1e;
  --ink:#10283f;
  --muted:#637183;
  --line:#d5dfd7;
}
html,body{min-height:100%;margin:0}
body{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 76% 25%,rgba(221,235,216,.6),transparent 27%),
    radial-gradient(circle at 35% 86%,rgba(238,230,211,.55),transparent 30%),
    #f6f6f2;
}
.login-header{
  height:72px;
  display:flex;
  align-items:center;
  padding:0 42px;
  color:#fff;
  font-size:24px;
  font-weight:750;
  background:linear-gradient(105deg,var(--green-dark),var(--green));
  box-shadow:0 4px 18px rgba(16,77,30,.16);
}
.login-shell{
  width:min(1380px,calc(100% - 70px));
  min-height:calc(100vh - 72px);
  margin:auto;
  padding:55px 0 70px;
  display:grid;
  grid-template-columns:460px minmax(0,1fr);
  gap:90px;
  align-items:center;
}
.login-card{
  padding:45px 44px 38px;
  border:1px solid rgba(213,223,215,.9);
  border-radius:24px;
  background:rgba(255,255,255,.93);
  box-shadow:0 25px 65px rgba(40,58,46,.13);
  backdrop-filter:blur(12px);
}
.login-card h1{
  margin:0 0 36px;
  font-size:42px;
  letter-spacing:-.04em;
}
.login-field{margin-bottom:22px}
.login-field label{
  display:block;
  margin-bottom:10px;
  font-size:16px;
  font-weight:650;
}
.login-input{
  width:100%;
  height:58px;
  padding:0 18px 0 52px;
  border:1px solid #cbd7cd;
  border-radius:12px;
  outline:none;
  color:var(--ink);
  background:#fdfefd;
  font:inherit;
  font-size:17px;
}
.login-input:focus{
  border-color:#348247;
  box-shadow:0 0 0 4px rgba(52,130,71,.12);
}
.input-box{position:relative}
.input-box svg{
  position:absolute;
  left:17px;
  top:50%;
  width:22px;
  transform:translateY(-50%);
  color:#77867b;
}
.login-button{
  width:100%;
  height:58px;
  margin-top:10px;
  border:0;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(100deg,#106921,#18812e);
  font:inherit;
  font-size:18px;
  font-weight:750;
  cursor:pointer;
  box-shadow:0 9px 22px rgba(20,112,40,.22);
}
.login-button:hover{filter:brightness(1.05);transform:translateY(-1px)}
.login-note{
  margin:34px auto 0;
  max-width:315px;
  color:#324b61;
  line-height:1.55;
  text-align:center;
}
.login-error{
  margin-top:20px;
  padding:12px;
  border:1px solid #efb9b9;
  border-radius:10px;
  color:#a52b2b;
  background:#fff1f1;
  text-align:center;
  font-weight:650;
}
.login-hero{position:relative;min-height:630px;padding-top:28px}
.login-hero h2{
  position:relative;
  z-index:3;
  margin:0;
  max-width:760px;
  font-size:clamp(50px,5vw,76px);
  line-height:1.04;
  letter-spacing:-.055em;
}
.login-subtitle{
  position:relative;
  z-index:3;
  margin:26px 0 0;
  color:#1e3850;
  font-size:25px;
  line-height:1.45;
}
.news-stack{
  position:relative;
  z-index:2;
  width:760px;
  max-width:100%;
  height:390px;
  margin-top:38px;
}
.login-news{
  position:absolute;
  width:min(550px,76%);
  padding:23px 27px;
  border:1px solid rgba(216,224,217,.9);
  border-radius:17px;
  background:rgba(255,255,255,.9);
  box-shadow:0 20px 45px rgba(45,59,50,.12);
  backdrop-filter:blur(8px);
}
.login-news:nth-child(1){top:0;left:110px;z-index:3;transform:rotate(-2deg)}
.login-news:nth-child(2){top:136px;left:215px;z-index:2;transform:rotate(.8deg)}
.login-news:nth-child(3){top:270px;left:85px;z-index:1;transform:rotate(2.2deg)}
.news-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:13px;
}
.news-label{
  padding:5px 10px;
  border-radius:8px;
  color:#443680;
  background:#eee9ff;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
.login-news:nth-child(2) .news-label{color:#43507b;background:#edf0fb}
.login-news:nth-child(3) .news-label{color:#207337;background:#e5f4e8}
.news-time,.news-source{color:var(--muted);font-size:14px;font-weight:650}
.news-title{font-size:20px;line-height:1.33;font-weight:730}
.news-source{margin-top:10px}
.editorial-doodle{
  position:absolute;
  color:rgba(61,113,65,.17);
  font-size:110px;
  line-height:1;
  user-select:none;
}
.doodle-cup{right:5%;top:20px}
.doodle-paper{left:-5%;top:340px;transform:rotate(-10deg)}
.doodle-pen{right:2%;bottom:25px;transform:rotate(15deg)}
@media(max-width:1000px){
  .login-shell{
    width:min(720px,calc(100% - 32px));
    grid-template-columns:1fr;
    gap:45px;
    align-items:start;
  }
  .login-card{width:min(520px,100%);margin:auto}
  .login-hero{text-align:center}
  .login-hero h2{margin:auto}
  .news-stack{margin-left:auto;margin-right:auto;text-align:left}
}
@media(max-width:620px){
  .login-header{height:62px;padding:0 20px;font-size:20px}
  .login-shell{padding:25px 0 45px}
  .login-card{padding:34px 24px;border-radius:19px}
  .login-card h1{font-size:36px}
  .login-hero{min-height:600px}
  .login-hero h2{font-size:44px}
  .login-subtitle{font-size:20px}
  .login-news{width:94%;padding:19px}
  .login-news:nth-child(1){left:1%}
  .login-news:nth-child(2){left:5%;top:145px}
  .login-news:nth-child(3){left:1%;top:295px}
  .news-title{font-size:17px}
  .editorial-doodle{opacity:.45}
}
