:root {
  color-scheme: dark;
  --night: #071b2c;
  --twilight: #274060;
  --sky: #5a8ca6;
  --candle: #f5d98b;
  --pomegranate: #b43b4d;
  --mineral: #2a9d8f;
  --ink: #fffaf0;
  --muted: #c8d4db;
  --line: rgba(245, 217, 139, 0.28);
  --panel: rgba(7, 27, 44, 0.68);
}

* { box-sizing: border-box; }

html { background: var(--night); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 9%, rgba(180, 59, 77, 0.38), transparent 34rem),
    linear-gradient(145deg, var(--night) 0%, var(--twilight) 48%, #175d64 100%);
  font-family: Charter, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  line-height: 1.62;
}

a { color: var(--candle); text-underline-offset: 0.2em; }
a:hover { color: white; }
a:focus-visible { outline: 3px solid var(--candle); outline-offset: 4px; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: white;
  font: 700 1.05rem/1 ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

nav { display: flex; gap: 18px; font: 600 0.82rem/1 system-ui, sans-serif; }
nav a { color: var(--muted); text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  min-height: 72vh;
  padding: 72px 0 88px;
}

.eyebrow, .utility {
  color: var(--candle);
  font: 700 0.72rem/1.4 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1, h2 { text-wrap: balance; }
h1 { margin: 18px 0 24px; font-size: clamp(3.2rem, 8.5vw, 7.6rem); font-weight: 500; line-height: 0.92; letter-spacing: -0.055em; }
h2 { margin: 0 0 18px; font-size: clamp(1.8rem, 4vw, 3.3rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }
h3 { margin: 0 0 8px; font: 700 1rem/1.3 system-ui, sans-serif; }
p { margin: 0 0 1.1em; }

.lede { max-width: 38rem; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.42rem); }

.dial {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 420px);
  margin: 0 auto;
  border: 2px dashed rgba(245, 217, 139, 0.62);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(42, 157, 143, 0.18), inset 0 0 60px rgba(7, 27, 44, 0.6);
}

.dial::before {
  content: "";
  position: absolute;
  inset: 13%;
  border: 2px solid rgba(255, 250, 240, 0.72);
  border-radius: 50%;
}

.dial::after {
  content: "שעה זמנית";
  position: absolute;
  inset: 30%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--night);
  background: conic-gradient(from -90deg, var(--candle) 0 67%, rgba(245, 217, 139, 0.18) 67% 100%);
  box-shadow: 0 0 40px rgba(245, 217, 139, 0.24);
  font-size: clamp(1rem, 3.2vw, 2rem);
  font-weight: 700;
}

.tick {
  position: absolute;
  top: 2.8%;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border: 1px solid var(--candle);
  border-radius: 50%;
  transform-origin: 4px calc(50cqw - 4px);
}

.tick:nth-child(1) { transform: rotate(0deg); }
.tick:nth-child(2) { transform: rotate(30deg); }
.tick:nth-child(3) { transform: rotate(60deg); }
.tick:nth-child(4) { transform: rotate(90deg); }
.tick:nth-child(5) { transform: rotate(120deg); }
.tick:nth-child(6) { transform: rotate(150deg); }
.tick:nth-child(7) { transform: rotate(180deg); }
.tick:nth-child(8) { transform: rotate(210deg); }
.tick:nth-child(9) { transform: rotate(240deg); }
.tick:nth-child(10) { transform: rotate(270deg); background: var(--pomegranate); border-color: white; width: 13px; height: 13px; }
.tick:nth-child(11) { transform: rotate(300deg); }
.tick:nth-child(12) { transform: rotate(330deg); }

.band { padding: 72px 0; border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; backdrop-filter: blur(18px); }
.card p { margin: 0; color: var(--muted); }

.article { max-width: 760px; padding: 72px 0 110px; }
.article h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); }
.article h2 { margin-top: 2.2em; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.article p, .article li { color: #e2e9ed; }
.article ul { padding-left: 1.2em; }
.effective { color: var(--candle); font-style: italic; }

footer { padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font: 500 0.8rem/1.5 system-ui, sans-serif; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-copy { order: 1; }
  .dial { width: min(78vw, 330px); }
  .grid { grid-template-columns: 1fr; }
  header { align-items: flex-start; }
  nav { flex-wrap: wrap; justify-content: flex-end; }
}

@media (prefers-reduced-transparency: reduce) {
  .card { background: #102d40; backdrop-filter: none; }
}
