:root {
  color-scheme: dark;
  --bg: #11110f;
  --bg-strong: #080807;
  --panel: #181815;
  --panel-soft: #22221d;
  --text: #f7f7f2;
  --muted: #c8c5b9;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #d94235;
  --accent-strong: #ff5849;
  --gold: #f5c54a;
  --mint: #60d6a6;
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

@font-face {
  font-family: "CaseType";
  src: url("assets/fonts/MiriamLibre-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "CaseHand";
  src: url("assets/fonts/GveretLevin-Regular.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.92), rgba(17, 17, 15, 0.98)),
    url("assets/images/wood_table.png") center / cover fixed;
  color: var(--text);
  font-family: Arial, "Noto Sans Hebrew", "Segoe UI", sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 30;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: 6px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 28px;
  background: rgba(8, 8, 7, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 8px 18px var(--shadow);
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  transform: scale(1.02);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.95), rgba(8, 8, 7, 0.42), rgba(8, 8, 7, 0.9)),
    linear-gradient(180deg, rgba(8, 8, 7, 0.18), rgba(8, 8, 7, 0.95));
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-top: 64px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint);
  font-family: "CaseHand", Arial, "Noto Sans Hebrew", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 4rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.35rem;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 600;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: "CaseType", Arial, "Noto Sans Hebrew", sans-serif;
  font-size: 1.03rem;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(217, 66, 53, 0.28);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-strong);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: var(--line);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.13);
}

.facts {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.facts div {
  padding: 18px;
  background: rgba(24, 24, 21, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.facts strong {
  display: block;
  color: var(--gold);
  font-size: 1.75rem;
  line-height: 1.2;
}

.facts span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

.split.reverse .section-copy {
  order: 2;
}

.section-copy p {
  color: var(--muted);
  font-size: 1.1rem;
}

.section-copy.compact {
  max-width: 820px;
  margin-bottom: 28px;
}

.feature-image {
  margin: 0;
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 50px var(--shadow);
}

.feature-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.evidence-band {
  width: 100%;
  max-width: none;
  padding: 76px max(20px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(180deg, rgba(24, 24, 21, 0.92), rgba(12, 12, 10, 0.92)),
    url("assets/images/wood_table.png") center / cover;
  border-block: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-grid article {
  min-height: 150px;
  padding: 20px;
  background: rgba(8, 8, 7, 0.52);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid p,
.download-panel p,
.download-panel li,
.faq p {
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 58px 16px 16px;
  background: rgba(24, 24, 21, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--gold);
  color: #15110a;
  font-weight: 900;
}

.steps strong {
  color: var(--text);
}

.screenshot-carousel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 8, 7, 0.48);
  box-shadow: 0 20px 50px var(--shadow);
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 8px;
  padding: 18px;
}

.carousel-track {
  display: flex;
  direction: ltr;
  gap: 16px;
  will-change: transform;
}

.carousel-slide {
  position: relative;
  flex: 0 0 34%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-strong);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.carousel-slide figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  background: rgba(8, 8, 7, 0.78);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-weight: 900;
}

.carousel-dots {
  position: absolute;
  right: 0;
  bottom: -32px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 26px;
  border-radius: 8px;
  background: var(--gold);
}

.carousel-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  color: var(--muted);
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
  padding: 64px;
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.96), rgba(24, 24, 21, 0.9)),
    url("assets/images/crime_scene_1.png") center / cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.download-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.download-note {
  margin-top: 16px;
  font-size: 0.95rem;
}

.download-panel {
  padding: 22px;
  background: rgba(8, 8, 7, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.download-panel img {
  width: 86px;
  height: 86px;
  margin-bottom: 16px;
  border-radius: 8px;
}

.download-panel ul {
  margin: 14px 0 0;
  padding: 0 20px 0 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: rgba(24, 24, 21, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px;
  font-weight: 900;
}

.faq-list p {
  padding: 0 18px 18px;
  margin: 0;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 38px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text);
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    position: sticky;
    padding: 10px 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .facts,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .split.reverse,
  .download-section {
    grid-template-columns: 1fr;
  }

  .split.reverse .section-copy {
    order: 0;
  }

  .download-section {
    padding: 34px 22px;
  }

  .carousel-slide {
    flex-basis: 48%;
  }
}

@media (max-width: 620px) {
  .brand span {
    max-width: 210px;
    white-space: normal;
    line-height: 1.2;
  }

  .hero-content,
  .section,
  .facts,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero-copy,
  .section-copy p,
  .download-copy p {
    font-size: 1rem;
  }

  .facts,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .carousel-viewport {
    padding: 14px;
  }

  .carousel-track {
    gap: 12px;
  }

  .carousel-slide figcaption {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    font-size: 0.9rem;
  }

  .carousel-slide {
    flex-basis: 82%;
  }

  .site-footer {
    flex-direction: column;
  }
}
