:root{
  --teal:#008f8b;
  --teal-700:#006f6c;
  --teal-soft:#e8f7f5;
  --dark:#17312c;
  --muted:#667a74;
  --line:#dfe8e4;
  --bg:#f4f8f7;
  --surface:#ffffff;
  --danger:#a33d32;
  --danger-soft:#fff0ed;
  --success:#167a63;
  --shadow:0 24px 70px rgba(23,49,44,.10);
}
*{box-sizing:border-box}
html{min-height:100%;background:var(--bg)}
body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(circle at 12% 8%,rgba(0,143,139,.08),transparent 30%),
    radial-gradient(circle at 88% 88%,rgba(0,143,139,.06),transparent 34%),
    var(--bg);
  color:var(--dark);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
a{color:var(--teal-700)}
.shell{
  width:min(100%,1180px);
  margin:auto;
  padding:28px 28px 42px;
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:54px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--teal);
  font-weight:800;
  font-size:20px;
  text-decoration:none;
}
.brand-mark{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:13px;
  background:var(--teal);
  color:#fff;
  box-shadow:0 10px 24px rgba(0,143,139,.18);
  font-size:20px;
}
.toplinks{
  display:flex;
  align-items:center;
  gap:20px;
  font-size:13px;
  font-weight:650;
}
.toplinks a{
  text-decoration:none;
  color:var(--muted);
}
.toplinks a:hover{color:var(--teal)}
.page{
  min-height:calc(100vh - 124px);
  display:grid;
  place-items:center;
  padding:36px 0 52px;
}
.card{
  width:min(820px,100%);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card-inner{
  padding:52px 56px 44px;
}
.icon-wrap{
  width:74px;
  height:74px;
  border-radius:22px;
  background:var(--teal-soft);
  display:grid;
  place-items:center;
  margin-bottom:26px;
}
.icon{
  width:34px;
  height:34px;
  position:relative;
}
.icon::before{
  content:"";
  position:absolute;
  inset:5px 2px;
  border:2px solid var(--teal);
  border-radius:7px;
}
.icon::after{
  content:"✓";
  position:absolute;
  right:-4px;
  bottom:-5px;
  width:21px;
  height:21px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--teal);
  color:white;
  font-size:12px;
  font-weight:900;
  border:3px solid var(--surface);
}
h1{
  margin:0;
  font-size:clamp(30px,4vw,40px);
  line-height:1.15;
  letter-spacing:-.02em;
}
.intro{
  margin:14px 0 0;
  color:var(--muted);
  line-height:1.7;
  font-size:16px;
}
.content{margin-top:30px}
label{
  display:block;
  margin:0 0 8px;
  font-weight:750;
  font-size:13px;
}
input{
  width:100%;
  min-height:52px;
  padding:13px 14px;
  border:1px solid #c9d8d3;
  border-radius:12px;
  background:#fff;
  color:var(--dark);
  font:inherit;
  outline:none;
  transition:border-color .16s ease,box-shadow .16s ease;
}
input:focus{
  border-color:var(--teal);
  box-shadow:0 0 0 3px rgba(0,143,139,.12);
}
.field{position:relative}
.field input{padding-right:96px}
.toggle{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  min-height:36px;
  padding:0 10px;
  border:0;
  background:transparent;
  color:var(--teal-700);
  font-weight:750;
  cursor:pointer;
}
button,.button{
  min-height:50px;
  padding:13px 18px;
  border:0;
  border-radius:12px;
  background:var(--teal);
  color:#fff;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  text-align:center;
  text-decoration:none;
  transition:background .16s ease,transform .16s ease,box-shadow .16s ease;
}
button:hover,.button:hover{
  background:var(--teal-700);
  box-shadow:0 8px 22px rgba(0,143,139,.16);
}
button:active,.button:active{transform:translateY(1px)}
button:focus-visible,.button:focus-visible,.toggle:focus-visible,a:focus-visible{
  outline:3px solid rgba(0,143,139,.22);
  outline-offset:3px;
}
button:disabled{opacity:.55;cursor:not-allowed}
.resend-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:end;
}
.resend-grid button{min-width:190px}
.assist{
  margin-top:26px;
  padding-top:24px;
  border-top:1px solid var(--line);
}
.status{
  margin-top:26px;
  padding:16px 18px;
  border:1px solid #cfe8e2;
  border-radius:14px;
  background:var(--teal-soft);
  color:var(--teal-700);
  line-height:1.55;
}
.status.error{
  border-color:#f0c9c3;
  background:var(--danger-soft);
  color:var(--danger);
}
.security-note{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-top:24px;
  padding:16px 18px;
  background:#fafcfb;
  border:1px solid var(--line);
  border-radius:14px;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
.lock{
  flex:0 0 auto;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:var(--teal-soft);
  color:var(--teal-700);
  font-weight:900;
}
.footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  margin-top:32px;
  padding-top:22px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
}
.footer-links{
  display:flex;
  gap:16px;
}
.footer a{text-decoration:none}
.footer a:hover{color:var(--teal)}
.reset-form button[type="submit"]{width:100%;margin-top:22px}
.reset-form label:not(:first-child){margin-top:18px}
.hero{
  text-align:center;
  padding:10px 0 4px;
}
.hero .icon-wrap{margin:0 auto 24px}
.benefits{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:30px 0;
  text-align:left;
}
.benefit{
  padding:20px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}
.benefit strong{display:block;margin-bottom:6px}
.benefit span{color:var(--muted);font-size:14px;line-height:1.5}
.download{
  display:block;
  padding:15px;
  border-radius:12px;
  background:var(--teal-soft);
  color:var(--teal-700);
  font-weight:800;
}
@media(max-width:720px){
  .shell{padding:20px 16px 28px}
  .topbar{align-items:flex-start}
  .toplinks{gap:12px}
  .page{padding:24px 0}
  .card{border-radius:18px}
  .card-inner{padding:34px 24px 30px}
  .resend-grid{grid-template-columns:1fr}
  .resend-grid button{width:100%;min-width:0}
  .benefits{grid-template-columns:1fr}
}

