:root{
  --bg:#f3f5f9;
  --card:#ffffff;
  --ink:#0f1b3d;
  --ink-soft:#5a6482;
  --line:#e2e6ef;
  --blue:#2446d6;
  --say:#2b2f8f;
  --omit:#0f7a56;
  --partial:#b4570b;
  --sans:"Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display:"Fraunces", Georgia, serif;
  --hebrew:"Frank Ruhl Libre", "David", serif;
}
*{box-sizing:border-box}
body{margin:0; background:var(--bg); color:var(--ink); font-family:var(--sans); font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased}

/* hero */
.hero{
  background:
    radial-gradient(900px 300px at 85% -20%, rgba(80,120,255,.45), transparent 70%),
    linear-gradient(180deg,#0f1b3d,#16275a);
  color:#fff; padding:56px 24px 96px; text-align:center;
}
.hero-inner{max-width:760px; margin:0 auto}
.kicker{margin:0 0 10px; font-size:12px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:#9db4ff}
h1{font-family:var(--display); font-weight:700; font-size:clamp(44px,8vw,84px); line-height:1; margin:0 0 18px; letter-spacing:-.02em}
h1 .q{color:#7d9bff}
.tagline{margin:0 auto 18px; max-width:620px; font-size:clamp(16px,2.2vw,19px); color:#cdd8ff; min-height:3.2em}
.pill-btn{
  font:inherit; font-size:13px; font-weight:500; color:#fff; background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.28); border-radius:999px; padding:7px 16px; cursor:pointer;
}
.pill-btn:hover{background:rgba(255,255,255,.2)}

.page{max-width:1040px; margin:-56px auto 0; padding:0 20px 40px}
.grid{display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:20px; align-items:start}
@media (max-width:820px){.grid{grid-template-columns:1fr}}

.card{background:var(--card); border:1px solid var(--line); border-radius:16px; padding:26px; box-shadow:0 1px 2px rgba(15,27,61,.04), 0 12px 32px -16px rgba(15,27,61,.18)}

.section-title{font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); margin:26px 0 8px}
.section-title.first{margin-top:0}
.label{display:block; font-size:12px; font-weight:500; color:var(--ink-soft); margin-bottom:5px}

/* controls */
.datebar{display:flex; align-items:flex-end; gap:8px; flex-wrap:wrap}
.datefield{flex:1 1 170px}
input[type=date], select{
  width:100%; font:inherit; color:var(--ink); background:#fff; border:1px solid var(--line);
  padding:9px 11px; border-radius:10px;
}
:focus-visible{outline:2px solid var(--blue); outline-offset:2px}
.step{font:inherit; font-size:22px; line-height:1; width:42px; height:42px; background:#fff; border:1px solid var(--line); border-radius:10px; color:var(--ink); cursor:pointer}
.step:hover,.ghost:hover{background:#eef1fa}
.ghost{font:inherit; font-size:14px; font-weight:500; color:var(--blue); background:transparent; border:1px solid var(--line); border-radius:10px; padding:9px 14px; cursor:pointer}

/* date */
.hebdate{text-align:center; margin:26px 0 20px}
.heb-en{font-family:var(--display); font-weight:700; font-size:clamp(28px,5vw,38px); margin:0; line-height:1.1; letter-spacing:-.01em}
.heb-he{font-family:var(--hebrew); font-size:24px; margin:4px 0 0; color:var(--ink-soft)}
.weekday{margin:4px 0 0; font-size:14px; color:var(--ink-soft)}

/* verdict badge */
.badge{border-radius:14px; padding:24px 16px; text-align:center; color:#fff; display:flex; flex-direction:column; gap:4px; transition:background .2s}
.badge-label{font-family:var(--display); font-weight:700; font-size:clamp(26px,5vw,36px); line-height:1.15}
.badge-sub{font-size:13px; font-weight:500; letter-spacing:.06em; text-transform:uppercase; opacity:.85}
.badge[data-state=say]{background:var(--say)}
.badge[data-state=omit]{background:var(--omit)}
.badge[data-state=partial]{background:var(--partial)}

/* reasons */
.reasons{list-style:none; margin:0; padding:0}
.reasons li{padding:11px 0 11px 18px; border-bottom:1px solid var(--line); position:relative; font-weight:500}
.reasons li:last-child{border-bottom:0}
.reasons li::before{content:""; position:absolute; left:0; top:19px; width:7px; height:7px; border-radius:50%; background:var(--blue)}
.reasons li small{display:block; font-weight:400; color:var(--ink-soft); font-size:14px}
.notes li::before{background:#b9c2dd}

/* customs */
.seg{display:grid; grid-template-columns:1fr 1fr; gap:6px; background:#eef1f8; padding:5px; border-radius:12px; margin-bottom:10px}
.seg-btn{font:inherit; font-weight:600; font-size:15px; color:var(--ink-soft); background:transparent; border:0; border-radius:8px; padding:10px 6px; cursor:pointer; display:flex; flex-direction:column; line-height:1.2}
.seg-btn small{font-weight:400; font-size:11.5px; opacity:.8}
.seg-btn[aria-checked=true]{background:#fff; color:var(--ink); box-shadow:0 1px 3px rgba(15,27,61,.15)}
.fine{margin:0 0 16px; font-size:13.5px; color:var(--ink-soft)}
.field{display:block; margin-bottom:10px}
.group-title{font-size:14px; font-weight:600; margin:20px 0 4px}
.check{display:flex; gap:10px; align-items:flex-start; padding:6px 0; cursor:pointer; font-size:15px; line-height:1.35}
.check input{margin-top:3px; width:16px; height:16px; accent-color:var(--blue)}
.check small{display:block; color:var(--ink-soft); font-size:12.5px}
#reset{margin-top:14px}

/* outlook */
.outlook{margin-top:20px}
.strip{display:grid; grid-template-columns:repeat(7,1fr); gap:8px}
@media (max-width:640px){.strip{grid-template-columns:repeat(4,1fr)}}
.chip{font:inherit; text-align:center; padding:10px 4px; background:#fff; border:1px solid var(--line); border-radius:12px; cursor:pointer; color:var(--ink)}
.chip:hover{background:#eef1fa}
.chip[aria-current=true]{border-color:var(--blue); box-shadow:0 0 0 1px var(--blue)}
.chip .dow{display:block; font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft)}
.chip .gd{display:block; font-family:var(--display); font-weight:700; font-size:22px; line-height:1.15}
.chip .hd{display:block; font-size:11.5px; color:var(--ink-soft)}
.chip .dot{margin:6px 0 0}
.dot{display:inline-block; width:9px; height:9px; border-radius:50%; margin:0 6px 0 16px; vertical-align:baseline}
.dot.say{background:var(--say)} .dot.omit{background:var(--omit)} .dot.partial{background:var(--partial)}
.legend{margin:14px 0 0; font-size:13px; color:var(--ink-soft)}
.legend .dot:first-child{margin-left:0}

.foot{margin:26px auto 0; text-align:center; font-size:13px; color:var(--ink-soft); max-width:640px}
