/* תשחץ marketing — newsprint grid + letterpress ink */

:root {
  --paper: #e5d5bc;
  --paper-light: #f0e4d0;
  --paper-deep: #d9c6a9;
  --clue: #a79881;
  --ink: #221f1a;
  --ink-soft: #4a443b;
  --ink-faint: #7a7062;
  --rule: #3a342b;
  --red: #9b3024;
  --red-bright: #c0392b;
  --highlight: #f2d79a;
  --line: rgba(58, 52, 43, 0.22);
  --cell: 28px;
  --body: "Heebo", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --shell: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.shell {
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -4rem;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.55rem 1rem;
  background: var(--red);
  color: #fff;
  font-weight: 800;
}

.skip-link:focus {
  top: 0;
}

.paper {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% -8%, var(--paper-light), transparent 55%),
    var(--paper);
}

.paper__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 31, 26, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 31, 26, 0.09) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 85%);
}

.paper__grain {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px;
  mix-blend-mode: multiply;
}

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 0.85rem 0;
  background: linear-gradient(180deg, rgba(229, 213, 188, 0.94), transparent);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.top.is-solid {
  background: rgba(240, 228, 208, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--ink);
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.mark img {
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.mark span {
  font-size: 1.2rem;
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top__nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.top__nav a:hover {
  color: var(--ink);
}

.top__cta {
  color: var(--paper-light) !important;
  background: var(--red);
  padding: 0.42rem 0.95rem;
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 800 !important;
}

.top__cta:hover {
  text-decoration: none !important;
  transform: translateY(1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
}

.hero {
  position: relative;
  padding: 7.5rem 0 3.5rem;
}

.hero__stage {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__stage {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: calc(100svh - 5rem);
  }
}

.masthead {
  position: relative;
  display: inline-block;
  padding: 0.85rem 0 1rem;
  margin-bottom: 0.85rem;
  border-top: 3px solid var(--rule);
  border-bottom: 3px solid var(--rule);
  box-shadow:
    0 6px 0 -3px var(--rule),
    0 -6px 0 -3px var(--rule);
}

.masthead h1 {
  margin: 0;
  font-size: clamp(4.2rem, 14vw, 7.2rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-shadow: 2px 3px 0 rgba(34, 31, 26, 0.12);
}

.badge {
  position: absolute;
  inset-inline-end: -0.15em;
  top: -0.28em;
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  color: var(--red);
  font-weight: 800;
  font-size: 0.95rem;
  border: 2.5px solid var(--red);
  border-radius: 50%;
  transform: rotate(-8deg);
  background: var(--paper-light);
}

.hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  color: var(--ink);
}

.hero__lede {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero__art {
  margin: 0;
  justify-self: center;
  width: min(100%, 22rem);
}

.hero__art img {
  width: 100%;
  height: auto;
  border: 2.5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  background: var(--paper-deep);
}

.hero__art figcaption {
  margin-top: 0.85rem;
  color: var(--ink-faint);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  font-weight: 800;
  text-decoration: none !important;
  border: 2px solid var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.btn span {
  line-height: 1.15;
  text-align: start;
}

.btn--ink {
  color: var(--paper-light);
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn--red {
  color: var(--paper-light);
  background: var(--red);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn--ink:hover,
.btn--red:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn--quiet {
  color: var(--ink-faint);
  background: var(--paper-light);
  cursor: default;
  box-shadow: 4px 4px 0 rgba(34, 31, 26, 0.18);
}

.motion-rise {
  opacity: 0;
  transform: translateY(16px);
  animation: riseIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-rise--2 { animation-delay: 0.1s; }
.motion-rise--3 { animation-delay: 0.2s; }
.motion-rise--4 { animation-delay: 0.3s; }
.motion-rise--5 { animation-delay: 0.4s; }

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.features {
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

.features__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.25rem 1.1rem 1.35rem;
  background: var(--paper-light);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.feature__icon {
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.feature h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.showcase {
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.showcase__inner {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 880px) {
  .showcase__inner {
    grid-template-columns: 1fr 1.1fr;
  }
}

.mini-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 22rem);
  margin-inline: auto;
  border: 2.5px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 8px 8px 0 var(--ink);
}

.mini-board__cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  font-weight: 900;
  font-size: clamp(1.1rem, 4vw, 1.45rem);
  position: relative;
}

.mini-board__cell.is-clue {
  background: var(--clue);
}

.mini-board__cell.is-fill {
  background: var(--highlight);
}

.dashes {
  display: block;
  width: 58%;
  height: 42%;
  background:
    linear-gradient(var(--ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--ink) 0 0) 0 50% / 100% 2px no-repeat,
    linear-gradient(var(--ink) 0 0) 0 100% / 80% 2px no-repeat;
  opacity: 0.55;
}

.arr {
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
}

.arr--left {
  inset-inline-end: 2px;
  bottom: 4px;
  border-inline-start-color: var(--ink);
  border-inline-end: 0;
}

.arr--down {
  left: 50%;
  right: auto;
  bottom: 2px;
  transform: translateX(-50%);
  border-top-color: var(--ink);
  border-bottom: 0;
}

.showcase__copy h2 {
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  margin-bottom: 0.85rem;
}

.showcase__copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 34rem;
}

.levels {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--ink);
  background: var(--highlight);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
}

.path {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  border-top: 2px solid var(--ink);
  background: linear-gradient(180deg, transparent, rgba(240, 228, 208, 0.7) 40%, transparent);
}

.path__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .path__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.path__copy h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.55rem);
  margin-bottom: 0.85rem;
}

.path__copy p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 34rem;
}

.path__beats {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.path__beats li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.path__beats h3 {
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}

.path__beats p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.path__num {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-weight: 800;
  font-size: 1rem;
  transform: rotate(-6deg);
}

.close {
  padding: clamp(3.5rem, 9vw, 5.5rem) 0 clamp(4.5rem, 11vw, 6.5rem);
  border-top: 2px solid var(--ink);
  text-align: center;
}

.close__inner {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.close__icon {
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.close h2 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
}

.close p {
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
  max-width: 28rem;
  font-weight: 500;
}

.foot {
  border-top: 2px solid var(--ink);
  padding: 2rem 0 2.5rem;
  background: var(--paper-deep);
}

.foot__inner {
  display: grid;
  gap: 1rem;
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
}

.foot__brand img {
  border: 1px solid var(--ink);
}

.foot__by {
  font-weight: 600;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.foot__links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.foot__note {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.85rem;
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 700px) {
  .top__nav a:not(.top__cta) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .motion-rise,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
