/* IsraRecover — landing page. Light page, one deep-petrol rounded hero panel (the program's own palette), Heebo. */
:root {
  color-scheme: light;
  --bg: #F3F6F6;            /* the program's window ground, a touch cooler */
  --surface: #FFFFFF;
  --surface-2: #E6F1F1;     /* accent-soft */
  --text: #13272A;
  --muted: #4E6467;
  --line: #D3DFE0;
  --accent: #0E6B73;        /* petrol */
  --accent-strong: #0B575E;
  --on-accent: #FFFFFF;
  --hero: #0A4A50;          /* the dark panel */
  --hero-2: #0E6B73;
  --hero-text: #F2FAFA;
  --hero-muted: #B9DADC;
  --amber: #C98A12;         /* one warm accent: the calm bar, the current step */
  --amber-soft: #FFF4DC;
  --amber-text: #6B4600;
  --good: #1E7F4F;
  --shadow: 0 18px 50px rgba(10, 74, 80, 0.14);
  --radius: 14px;
  --radius-lg: 28px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font: "Heebo", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0F1718; --surface: #162224; --surface-2: #1C3134; --text: #E6F0F0; --muted: #9DB6B8; --line: #28403F;
    --accent: #5FC1C9; --accent-strong: #7ED2D8; --on-accent: #0A2224; --hero: #0C3E43; --hero-2: #0E6B73;
    --amber: #E0A93A; --amber-soft: #3A2E12; --amber-text: #F6D896; --good: #5CCB8A; --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0F1718; --surface: #162224; --surface-2: #1C3134; --text: #E6F0F0; --muted: #9DB6B8; --line: #28403F;
  --accent: #5FC1C9; --accent-strong: #7ED2D8; --on-accent: #0A2224; --hero: #0C3E43; --hero-2: #0E6B73;
  --amber: #E0A93A; --amber-soft: #3A2E12; --amber-text: #F6D896; --good: #5CCB8A; --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.65; font-size: 1.0625rem; padding-inline: clamp(16px, 4vw, 40px); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-weight: 900; font-size: clamp(2.1rem, 1.4rem + 3.2vw, 4rem); letter-spacing: -0.01em; }
h2 { font-weight: 900; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-weight: 700; font-size: 1.15rem; }
p { margin: 0; }
.wrap { width: min(100%, 72rem); margin-inline: auto; }
.prose { max-width: 62ch; }
.skip { position: absolute; inset-block-start: -100%; inset-inline-start: 16px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; }
.skip:focus { inset-block-start: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.top nav { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 500; padding: 8px 2px; }
.top nav a:hover { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--amber); color: #1E1400; }
.btn-primary:hover { background: #D89A22; }
.btn-ghost { background: transparent; color: var(--hero-text); border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.7); }
.btn-outline { background: var(--surface); color: var(--accent-strong); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--hero) 0%, var(--hero-2) 100%); color: var(--hero-text); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.hero::before { content: ""; position: absolute; inset-inline-end: -12%; inset-block-start: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.10), transparent 70%); pointer-events: none; }
@media (min-width: 64rem) { .hero { grid-template-columns: 1.05fr 1fr; gap: 48px; } }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; color: var(--hero-muted); letter-spacing: 0.02em; }
.hero .eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); display: inline-block; }
.hero h1 { color: #fff; margin-block: 14px 16px; }
.hero .lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); color: var(--hero-text); max-width: 34ch; }
.hero .small { color: var(--hero-muted); margin-block-start: 14px; font-size: 0.95rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 26px; }
.hero .under { color: var(--hero-muted); font-size: 0.9rem; margin-block-start: 12px; }
.hero .under a { color: #fff; }
.calm { margin-block-start: 26px; display: flex; gap: 12px; align-items: flex-start; background: rgba(0, 0, 0, 0.22); border-inline-start: 4px solid var(--amber); border-radius: 10px; padding: 12px 16px; color: #fff; font-size: 0.98rem; }
.calm strong { color: #FFD98A; }
.shot { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.18); transform: rotate(-1.2deg); }
.shot img { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .shot { animation: rise 700ms var(--ease-out) both; }
  @keyframes rise { from { opacity: 0.6; transform: translateY(14px) rotate(-1.2deg); } to { opacity: 1; transform: translateY(0) rotate(-1.2deg); } }
}

/* sections */
section { padding-block: clamp(44px, 7vw, 88px); }
.sec-head { display: grid; gap: 10px; margin-block-end: 30px; }
.sec-head p { color: var(--muted); max-width: 62ch; }
.kicker { color: var(--accent); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; }

/* «מה קרה לך?» tiles */
.tiles { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 40rem) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; display: grid; gap: 8px; align-content: start; transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-3px); border-color: var(--accent); } }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; }
.tile .ico svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.08rem; }
.tile .sit { color: var(--muted); font-size: 0.95rem; }
.tile .does { font-size: 0.95rem; padding-block-start: 8px; border-block-start: 1px dashed var(--line); }
.tile .does b { color: var(--accent-strong); font-weight: 700; }
.unsure { margin-block-start: 16px; color: var(--muted); }

/* steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 22px 18px 18px; counter-increment: step; }
.step::before { content: counter(step); position: absolute; inset-block-start: -14px; inset-inline-start: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 900; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.step h3 { margin-block-end: 6px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* gallery of screens */
.screens { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 48rem) { .screens { grid-template-columns: repeat(2, 1fr); } }
.screens figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.screens img { width: 100%; }
.screens figcaption { padding: 12px 16px; color: var(--muted); font-size: 0.95rem; border-block-start: 1px solid var(--line); }

/* safety */
.safety { background: var(--surface-2); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }
.rules { display: grid; grid-template-columns: 1fr; gap: 12px 28px; margin-block-start: 22px; }
@media (min-width: 48rem) { .rules { grid-template-columns: repeat(2, 1fr); } }
.rules li { list-style: none; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.rules li svg { width: 24px; height: 24px; color: var(--good); margin-block-start: 3px; }
.rules b { display: block; }
.rules span { color: var(--muted); font-size: 0.97rem; }

/* technicians */
.tech { display: grid; gap: 22px; }
@media (min-width: 64rem) { .tech { grid-template-columns: 1fr 1.4fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 0.92rem; }
.tech-list { display: grid; gap: 10px; margin: 0; padding: 0; }
.tech-list li { list-style: none; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: 0.97rem; }
.tech-list b { color: var(--accent-strong); }

/* lab */
.lab { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); background: var(--surface); }
.lab ul { margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.lab li { list-style: none; padding-inline-start: 18px; border-inline-start: 3px solid var(--amber); }
.lab b { display: block; }
.lab span { color: var(--muted); }

/* faq */
.faq details { border-block-end: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 4px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 900; font-size: 1.4rem; line-height: 1; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 18px; color: var(--muted); max-width: 70ch; }

/* download strip */
.dl { display: grid; gap: 18px; background: linear-gradient(160deg, var(--hero) 0%, var(--hero-2) 100%); color: var(--hero-text); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); text-align: center; justify-items: center; }
.dl h2 { color: #fff; }
.dl .files { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.dl .ver { color: var(--hero-muted); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.dl .req { color: var(--hero-muted); font-size: 0.9rem; max-width: 60ch; }

footer { padding-block: 36px 48px; color: var(--muted); font-size: 0.95rem; display: grid; gap: 8px; border-block-start: 1px solid var(--line); margin-block-start: 30px; }
footer a { color: var(--accent-strong); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
