:root{
  --bg:#0b0f14;
  --panel:#0f1620;
  --text:#e7edf5;
  --muted:#a9b6c6;
  --line:#223041;
  --accent:#cfd8e3;
  --max:1080px;
  --radius:10px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:var(--text); text-decoration:none}
a:hover{text-decoration:underline}

.skip-link{
  position:absolute;
  left:-999px;
}
.skip-link:focus{
  left:12px;
  top:12px;
  padding:10px 12px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:8px;
  z-index:1000;
}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px;
}

/* ================= HEADER ================= */

header{
  border-bottom:1px solid var(--line);
  background:rgba(11,15,20,0.9);
  position:sticky;
  top:0;
  z-index:10;
}

.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
  gap:18px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.brand-row{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo{
  height:28px;
  width:auto;
  object-fit:contain;
}

.brand strong{
  font-size:14px;
  letter-spacing:.3px;
}

nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

nav a{
  font-size:13px;
  color:var(--muted);
  padding:6px 8px;
  border-radius:8px;
}

nav a[aria-current="page"]{
  color:var(--text);
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);
}

/* ================= CONTENT ================= */

main{
  padding:34px 0 54px;
}

.section{
  padding:26px 0;
}

.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
}

h1{
  font-size:28px;
  margin:0 0 10px;
}

h2{
  font-size:20px;
}

.lede{
  font-size:15px;
  color:var(--muted);
  max-width:75ch;
}

.list{
  padding-left:18px;
}

.cta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.button{
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.03);
  font-size:13px;
}

.button.primary{
  background:rgba(207,216,227,0.12);
}

/* ================= FORMS ================= */

form{
  display:grid;
  gap:12px;
}

.field{
  display:grid;
  gap:6px;
}

label{
  font-size:13px;
  color:var(--text);
}

input,
select,
textarea{
  width:100%;
  padding:10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.02);
  color:var(--text);
  font-size:13px;
}

/* 🔧 FIX: dropdown text visibility */
select option{
  color:#0b0f14;          /* טקסט כהה */
  background:#ffffff;    /* רקע לבן */
}

select{
  appearance:auto;
}

/* prevents iOS zoom */
@media (max-width:720px){
  input, select, textarea{
    font-size:16px;
  }
}

.notice{
  border-left:3px solid rgba(207,216,227,0.35);
  padding:10px 12px;
  background:rgba(255,255,255,0.02);
  border-radius:10px;
  color:var(--muted);
  font-size:13px;
}

/* ================= FOOTER ================= */

footer{
  border-top:1px solid var(--line);
  padding:18px 0;
  font-size:12px;
  color:var(--muted);
}

/* ================= RESPONSIVE ================= */

@media (max-width:900px){
  .grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:720px){
  .header-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  h1{font-size:22px}
  h2{font-size:18px}
  .lede{font-size:14px}
}
