/* ============================================================
   Lead Intel - sales intelligence showcase
   Light "briefing paper" canvas, deep blue primary. Givata house
   rules: one accent, sentence case, mono labels, oklch tokens.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

:root {
  --bg:        #ffffff;
  --surface:   oklch(0.978 0.004 245);
  --surface-2: oklch(0.955 0.008 245);
  --ink:       oklch(0.235 0.025 255);
  --muted:     oklch(0.465 0.025 250);
  --faint:     oklch(0.585 0.02 250);
  --line:      oklch(0.908 0.008 245);
  --line-2:    oklch(0.855 0.012 245);
  --primary:      oklch(0.485 0.175 255);
  --primary-hi:   oklch(0.44 0.175 255);
  --primary-tint: oklch(0.945 0.03 250);
  --good:      oklch(0.5 0.13 155);
  --good-bg:   oklch(0.94 0.05 155);
  --warn:      oklch(0.58 0.15 55);
  --warn-bg:   oklch(0.95 0.05 65);

  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --shell: 1160px;
  --pad: clamp(1.15rem, 4vw, 2.25rem);
  --r-sm: 8px; --r-md: 13px; --r-lg: 18px; --r-xl: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px oklch(0.4 0.04 250 / 0.07), 0 1px 1px oklch(0.4 0.04 250 / 0.04);
  --shadow-md: 0 10px 30px -12px oklch(0.4 0.06 250 / 0.2), 0 2px 8px oklch(0.4 0.06 250 / 0.06);
  --shadow-lg: 0 30px 60px -20px oklch(0.35 0.08 250 / 0.3), 0 8px 20px oklch(0.35 0.08 250 / 0.08);
  --z-nav: 100;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: clamp(0.98rem, 0.95rem + 0.14vw, 1.04rem);
  line-height: 1.62;
  letter-spacing: -0.008em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 500; background: var(--primary); color: #fff; padding: 0.6rem 1rem; border-radius: var(--r-sm); font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600;
  letter-spacing: -0.01em; white-space: nowrap;
  padding: 0.62rem 1.1rem; border-radius: var(--r-sm); border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px oklch(0.3 0.12 255 / 0.3); }
.btn--primary:hover { background: var(--primary-hi); transform: translateY(-1px); box-shadow: 0 8px 20px -8px oklch(0.485 0.175 255 / 0.55); }
.btn--ghost { background: var(--bg); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--faint); transform: translateY(-1px); }
.btn--lg { padding: 0.8rem 1.4rem; font-size: 1.02rem; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-nav); background: oklch(1 0 0 / 0.82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.nav--scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 0.55em; font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand__mark { width: 26px; height: 26px; flex-shrink: 0; }
.nav__lead { display: inline-flex; align-items: center; gap: 0.7rem; min-width: 0; }
.nav__home { display: inline-flex; align-items: center; gap: 0.4em; color: var(--muted); font-weight: 600; font-size: 0.9rem; letter-spacing: -0.01em; transition: color 0.2s var(--ease); }
.nav__home:hover { color: var(--ink); }
.nav__home img { width: 22px; height: 22px; border-radius: 6px; display: block; }
.nav__sep { width: 1px; height: 20px; background: var(--line-2); flex-shrink: 0; }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a { font-size: 0.93rem; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav__menu { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__menu span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.2rem, 8vh, 6rem) clamp(2.6rem, 6vh, 4.5rem); position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; opacity: 0.45;
  mask-image: radial-gradient(110% 85% at 50% 0%, #000 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(110% 85% at 50% 0%, #000 25%, transparent 70%);
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: clamp(2.4rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.05fr 1fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; color: var(--primary); background: var(--primary-tint); padding: 0.35em 0.7em; border-radius: 100px; margin-bottom: 1.3rem; }
.hero h1 { font-weight: 700; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero__lede { margin-top: 1.35rem; font-size: clamp(1.04rem, 1rem + 0.4vw, 1.22rem); color: var(--muted); max-width: 44ch; line-height: 1.58; text-wrap: pretty; }
.hero__cta { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__note { margin-top: 1.2rem; font-size: 0.88rem; color: var(--faint); }

/* ---------- Briefing mock ---------- */
.brief { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--bg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 0.88rem; }
.brief__bar { display: flex; align-items: center; gap: 0.55rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.brief__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.brief__bar span:last-child { font-family: var(--mono); font-size: 0.74rem; color: var(--faint); margin-left: 0.4rem; }
.brief__body { padding: 1.15rem 1.25rem; display: grid; gap: 0.85rem; }
.brief__subject { font-weight: 700; font-size: 0.98rem; letter-spacing: -0.015em; }
.brief__row { display: grid; grid-template-columns: 108px 1fr; gap: 0.7rem; align-items: baseline; }
.brief__k { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); }
.brief__v { color: var(--ink); }
.brief__v .pill { display: inline-block; font-family: var(--mono); font-size: 0.72rem; color: var(--primary); background: var(--primary-tint); border-radius: 100px; padding: 0.16em 0.55em; margin-left: 0.3em; }
.brief__plan { border-top: 1px dashed var(--line-2); padding-top: 0.85rem; }
.brief__plan p { color: var(--muted); }
.brief__plan strong { color: var(--ink); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.2rem, 7.5vh, 6rem); }
.section--tint { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 4vh, 3rem); }
.section__k { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; color: var(--primary); margin-bottom: 0.85rem; }
.section__title { font-weight: 700; font-size: clamp(1.7rem, 1.25rem + 2vw, 2.5rem); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.section__intro { margin-top: 1rem; color: var(--muted); font-size: clamp(1rem, 0.98rem + 0.25vw, 1.12rem); max-width: 56ch; text-wrap: pretty; }

/* split rows */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--flip .split__visual { order: -1; } }
.split__body h3 { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; }
.split__body > p { margin-top: 0.95rem; color: var(--muted); max-width: 48ch; text-wrap: pretty; }
.feat-list { margin-top: 1.3rem; display: grid; gap: 0.65rem; }
.feat-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink); }
.feat-list svg { flex-shrink: 0; margin-top: 4px; color: var(--primary); }

/* ---------- Scorecard mock ---------- */
.score { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--bg); box-shadow: var(--shadow-md); overflow: hidden; font-size: 0.88rem; }
.score__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.15rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.score__title { font-weight: 700; letter-spacing: -0.015em; }
.score__title span { display: block; font-family: var(--mono); font-size: 0.7rem; font-weight: 400; color: var(--faint); margin-top: 2px; }
.score__grade { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--good-bg); color: var(--good); font-weight: 700; font-size: 1.15rem; flex-shrink: 0; }
.score__body { padding: 1.05rem 1.15rem; display: grid; gap: 0.85rem; }
.score__item { display: grid; gap: 0.25rem; }
.score__label { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); }
.score__said { color: var(--muted); }
.score__said q { font-style: italic; }
.score__coach { color: var(--ink); }
.score__coach strong { color: var(--primary); font-weight: 600; }
.score__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; padding-top: 0.4rem; border-top: 1px dashed var(--line-2); }
.score__meta span { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 0.24rem 0.55rem; border-radius: 100px; }

/* ---------- Trailer video ---------- */
.trailer__frame { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); background: #0b1030; }
.trailer__frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.trailer__note { margin-top: 0.9rem; text-align: center; font-size: 0.78rem; color: var(--faint); letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Trailer placeholder ---------- */
.trailer { padding-block: clamp(2.2rem, 5vh, 3.6rem); }
.trailer__panel { border-radius: var(--r-xl); border: 1px solid var(--line-2); background: linear-gradient(165deg, oklch(0.28 0.06 255), oklch(0.2 0.045 255)); color: #fff; padding: clamp(2.4rem, 6vw, 4.2rem); text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.trailer__panel::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(oklch(1 0 0 / 0.07) 1px, transparent 1px), linear-gradient(90deg, oklch(1 0 0 / 0.07) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(90% 130% at 50% 0%, #000, transparent 72%); -webkit-mask-image: radial-gradient(90% 130% at 50% 0%, #000, transparent 72%); }
.trailer__panel > * { position: relative; }
.trailer__badge { display: inline-flex; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase; color: oklch(0.86 0.06 250); border: 1px solid oklch(1 0 0 / 0.25); border-radius: 100px; padding: 0.35em 0.8em; margin-bottom: 1rem; }
.trailer__panel h3 { font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); letter-spacing: -0.02em; }
.trailer__panel p { margin-top: 0.7rem; color: oklch(0.88 0.03 250); max-width: 46ch; margin-inline: auto; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.fcard { padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
.fcard:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.fcard h4 { font-size: 0.99rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.5rem; }
.fcard h4 svg { color: var(--primary); flex-shrink: 0; }
.fcard p { font-size: 0.89rem; color: var(--muted); text-wrap: pretty; }

/* ---------- CTA ---------- */
.cta-band { padding-block: clamp(3.2rem, 7vh, 5.5rem); }
.cta-panel { border-radius: var(--r-xl); padding: clamp(2.4rem, 6vw, 4.2rem); text-align: center; background: linear-gradient(160deg, oklch(0.485 0.175 255), oklch(0.42 0.16 262)); color: #fff; box-shadow: var(--shadow-lg); }
.cta-panel h2 { font-size: clamp(1.7rem, 1.3rem + 2vw, 2.7rem); font-weight: 700; letter-spacing: -0.028em; text-wrap: balance; }
.cta-panel p { margin-top: 0.9rem; font-size: 1.06rem; color: oklch(0.93 0.03 252); max-width: 46ch; margin-inline: auto; }
.cta-panel .btn--primary { background: #fff; color: var(--primary-hi); margin-top: 1.8rem; }
.cta-panel .btn--primary:hover { background: oklch(0.95 0.02 250); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 2.4rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.footer__tag { font-size: 0.85rem; color: var(--faint); }
.footer__links { display: flex; gap: 1.3rem; margin-left: auto; }
.footer__links a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--primary); }
.footer__legal { flex-basis: 100%; color: var(--faint); font-size: 0.82rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.footer__legal a { color: var(--primary); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__menu { display: flex; }
  .nav__links.is-open { display: flex; position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.5rem var(--pad) 1.4rem; z-index: 200; }
  .nav__links.is-open a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
}
@media (max-width: 560px) {
  .nav__home span { display: none; }
  .nav__lead { gap: 0.5rem; }
  .brief__row { grid-template-columns: 1fr; gap: 0.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
