:root{
  --bg:#f7f9fb;
  --card:#ffffff;
  --text:#1f2f5f;
  --body-text:#25334a;
  --muted:#66738a;
  --line:#dfe5ec;
  --navy:#21366b;
  --navy-dark:#172750;
  --teal:#2ba1a7;
  --teal-dark:#21838a;
  --orange:#f5a332;
  --soft-teal:#eef9f8;
  --soft-blue:#f1f5fb;
  --danger:#a53030;
  --shadow:0 18px 50px rgba(30,51,93,.10);
}
*{box-sizing:border-box}
html,body{
  margin:0;
  min-height:100%;
  background:
    radial-gradient(circle at 12% 10%, rgba(43,161,167,.08), transparent 29%),
    radial-gradient(circle at 88% 5%, rgba(245,163,50,.08), transparent 25%),
    var(--bg);
  color:var(--body-text);
  font-family:Arial,"Noto Sans Hebrew",sans-serif;
}
body{min-height:100vh;display:grid;place-items:center;padding:28px 16px}
.shell{width:min(100%,620px)}
.brand{text-align:center;margin-bottom:20px}
.brand-logo{
  display:block;
  width:176px;
  max-width:48vw;
  height:auto;
  margin:0 auto 8px;
  filter:drop-shadow(0 9px 18px rgba(33,54,107,.08));
}
.brand h1{margin:0;color:var(--navy);font-size:28px;letter-spacing:-.25px}
.brand p{margin:7px 0 0;color:var(--muted);line-height:1.55}
.card{
  position:relative;
  overflow:hidden;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:28px;
}
.card::before{
  content:"";
  position:absolute;
  top:0;right:0;left:0;
  height:4px;
  background:linear-gradient(90deg,var(--navy) 0 37%,var(--teal) 37% 72%,var(--orange) 72%);
}
h2{margin:0 0 10px;color:var(--navy);font-size:23px}
p{line-height:1.65}
.lead{color:var(--muted);margin-top:0}
.trust{
  background:linear-gradient(135deg,var(--soft-teal),#f7fbfb);
  border:1px solid rgba(43,161,167,.16);
  border-inline-start:4px solid var(--teal);
  border-radius:14px;
  padding:14px 16px;
  margin:18px 0;
  line-height:1.65;
  font-size:14px;
}
.stack{display:grid;gap:12px}
button,.button{
  width:100%;
  border:0;
  border-radius:12px;
  min-height:48px;
  padding:12px 16px;
  cursor:pointer;
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  display:inline-grid;
  place-items:center;
  transition:transform .12s ease,box-shadow .12s ease,background .12s ease,border-color .12s ease;
}
button:not(:disabled):active,.button:active{transform:translateY(1px)}
.primary{
  background:linear-gradient(135deg,var(--teal),#27949b);
  color:#fff;
  box-shadow:0 8px 18px rgba(43,161,167,.18);
}
.primary:hover{background:linear-gradient(135deg,var(--navy),#2d4b88)}
.secondary{
  background:#fff;
  color:var(--navy);
  border:1px solid #cdd7e5;
}
.secondary:hover{border-color:var(--teal);background:var(--soft-blue)}
.text-button{background:transparent;color:var(--muted);min-height:40px}
.text-button:hover{color:var(--navy)}
button:disabled{opacity:.55;cursor:not-allowed}
.divider{display:flex;align-items:center;gap:12px;color:#8b949e;font-size:13px;margin:3px 0}
.divider::before,.divider::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--line),rgba(245,163,50,.45),var(--line))}
label{display:block;margin-bottom:6px;color:var(--navy);font-size:14px;font-weight:700}
input[type=email]{
  width:100%;
  border:1px solid #cfd8e4;
  border-radius:12px;
  min-height:48px;
  padding:10px 13px;
  font-size:16px;
  direction:ltr;
  text-align:left;
  outline:none;
  background:#fff;
}
input[type=email]:focus{
  border-color:var(--teal);
  box-shadow:0 0 0 3px rgba(43,161,167,.12);
}
.message{padding:12px 14px;border-radius:11px;font-size:14px;line-height:1.55}
.message.info{background:var(--soft-blue);border:1px solid rgba(33,54,107,.08)}
.message.success{background:var(--soft-teal);border:1px solid rgba(43,161,167,.16)}
.message.error{background:#fff0f0;color:var(--danger)}
.fineprint,footer{color:var(--muted);font-size:12px;line-height:1.6}
footer{margin-top:18px;text-align:center}
footer a,.inline-link{color:var(--navy);text-decoration-color:rgba(33,54,107,.35)}
footer a:hover,.inline-link:hover{color:var(--teal)}
.permission-list{margin:12px 0 20px;padding:0;list-style:none}
.permission-list li{padding:10px 0;border-bottom:1px solid var(--line)}
.client-box{
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  margin:16px 0;
  background:linear-gradient(135deg,#fff,var(--soft-blue));
}
.client-name{color:var(--navy);font-weight:800;font-size:18px}
.policy h2{margin-top:24px}
.policy h2:first-child{margin-top:0}
.policy ul{line-height:1.7}
.spinner{
  width:24px;height:24px;
  border:3px solid #dbe7e7;
  border-top-color:var(--orange);
  border-right-color:var(--teal);
  border-radius:50%;
  animation:spin .85s linear infinite;
  margin:18px auto;
}
@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:520px){
  .card{padding:22px 18px;border-radius:18px}
  .brand-logo{width:150px;max-width:52vw}
  .brand h1{font-size:25px}
}
