/* =========================================================================
   Kolligent - landing page · light editorial
   Light indigo-tinted canvas lit by a single indigo->purple gradient.
   Type: Inter (Latin/UI/numerals) + Noto Sans Hebrew/Arabic (RTL). No serif.
   ========================================================================= */

/* ---- Tokens --------------------------------------------------------------- */
:root {
  /* surfaces - light, indigo-tinted (brand hue carried into the neutrals) */
  --canvas: #f5f6fd; /* airy indigo-white - never flat #fff */
  --canvas-deep: #eceefb; /* slightly deeper light band / footer */
  --glass: rgba(255, 255, 255, 0.72); /* frosted white card */
  --glass-strong: rgba(255, 255, 255, 0.92);
  --hairline: rgba(28, 33, 80, 0.1);
  --hairline-soft: rgba(28, 33, 80, 0.06);
  --hairline-strong: rgba(28, 33, 80, 0.16);

  /* brand accent - the single hue (unchanged from the video) */
  --grad: linear-gradient(135deg, #605dff, #7a45ef, #9135e8);
  --grad-soft: linear-gradient(135deg, rgba(96, 93, 255, 0.16), rgba(145, 53, 232, 0.12));
  --primary: #605dff;
  --primary-deep: #4936f5;
  --spark: #9135e8;
  --success: #17a44f;

  /* text - dark indigo ink on light */
  --ink: #16183a; /* primary headings + ink */
  --text-2: #4b4f70; /* secondary running text */
  --muted: #7b80a0; /* labels, captions, disabled */

  /* radius */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-card: 28px;
  --r-pill: 9999px;

  /* spacing */
  --s-xs: 8px;
  --s-sm: 12px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-xxl: 48px;
  --s-section: 56px;

  /* layout */
  --maxw: 1200px;
  --gutter: 40px;

  /* type families */
  --sans: "Inter", "SF Pro Display", system-ui, helvetica, sans-serif;
  --heb: "Noto Sans Hebrew", "Inter", system-ui, sans-serif;
  --ar: "Noto Sans Arabic", "Inter", system-ui, sans-serif;
}

/* Hebrew copy switches the whole stack to Noto Sans Hebrew. */
[lang="he"],
[dir="rtl"] {
  --sans: var(--heb);
}

/* Arabic copy uses Noto Sans Arabic - placed AFTER the rtl rule so it wins
   over the Hebrew stack for [lang="ar"] (equal specificity, later = winner). */
[lang="ar"] {
  --sans: var(--ar);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Full-page atmospheric indigo bloom - softened for the light canvas, drifting. */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 46% at 50% -6%, rgba(96, 93, 255, 0.16), transparent 70%),
    radial-gradient(46% 40% at 100% 10%, rgba(145, 53, 232, 0.13), transparent 70%),
    radial-gradient(44% 38% at 0% 82%, rgba(73, 54, 245, 0.1), transparent 72%);
  animation: bloom-drift 26s ease-in-out infinite alternate;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(96, 93, 255, 0.35);
  color: #fff;
}

/* ---- Typography roles ----------------------------------------------------- */
/* Editorial restraint via weight contrast: heavy display, light labels. */
.display-xl {
  font-size: clamp(30px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -1.6px;
  margin: 0;
}

.display-lg {
  font-size: clamp(26px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 0;
}

.card-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin: 0;
}

.body-lg {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1px;
  color: var(--text-2);
}

.body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.1px;
  color: var(--text-2);
}

.body-sm {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1px;
  color: var(--text-2);
}

/* Inter uppercase eyebrow (ElevenLabs caption-uppercase). RTL drops the
   uppercase + wide tracking - Hebrew has neither. */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: var(--muted);
}

.caption {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.4px;
  color: var(--muted);
}

[dir="rtl"] .eyebrow,
[dir="rtl"] .caption {
  text-transform: none;
  letter-spacing: 0;
}

/* Numerals & prices stay tabular; bidi keeps them LTR inside RTL copy. */
.summary-card__meta,
.briefing-row .v,
.step__num {
  font-variant-numeric: tabular-nums;
}

/* ---- Layout helpers ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--s-section);
}

.section--tight {
  padding-block: calc(var(--s-section) * 0.62);
}

.measure {
  max-width: 58ch;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-xs);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  border: none;
  border-radius: var(--r-pill);
  min-height: 46px;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary CTA = indigo gradient pill (deliberate divergence from ElevenLabs'
   ink-pill: Kolligent's brand IS the gradient). */
.btn--primary {
  background: var(--grad);
  background-size: 200% auto;
  color: #fff;
  padding: 12px 24px;
  box-shadow: 0 10px 30px -12px rgba(96, 93, 255, 0.6);
  animation: gradient-shift 6s linear infinite;
}

.btn--primary:hover {
  box-shadow: 0 16px 44px -10px rgba(122, 69, 239, 0.8);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  padding: 11px 22px;
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
}

.btn--secondary:hover {
  background: rgba(28, 33, 80, 0.04);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.btn--block {
  width: 100%;
}

.link-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-bottom: 1px solid rgba(96, 93, 255, 0.5);
  padding-bottom: 2px;
  animation: gradient-shift 7s linear infinite;
}

/* ---- Top nav -------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 246, 253, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.nav__inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  height: 30px;
  width: auto;
  display: block;
  /* the wordmark is Latin - keep it LTR even when the page flips to RTL,
     otherwise the <text> renders off-edge and clips to "igent". */
  direction: ltr;
}

.brand__logo--lg {
  height: 36px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
}

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

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
}

.nav__actions .btn {
  font-size: 15px;
  min-height: 40px;
}

/* language switcher - flag + label dropdown (mirrors Landing-page LangService) */
.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  height: 36px;
  padding: 0 12px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.lang__btn:hover {
  background: rgba(28, 33, 80, 0.04);
  border-color: var(--primary);
}

.lang__flag {
  font-size: 15px;
  line-height: 1;
}

.lang__chev {
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.lang.is-open .lang__chev {
  transform: rotate(180deg);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 152px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: 0 18px 44px -18px rgba(22, 24, 58, 0.45);
  z-index: 120;
}

.lang__menu[hidden] {
  display: none;
}

.lang__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.lang__opt:hover {
  background: var(--grad-soft);
  color: var(--ink);
}

.lang__opt.is-active {
  color: var(--primary);
  font-weight: 700;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
  padding: 4px;
}

/* ---- Marquee strip -------------------------------------------------------- */
.marquee {
  background: var(--canvas-deep);
  color: var(--text-2);
  overflow: hidden;
  white-space: nowrap;
  padding-block: 11px;
  border-block: 1px solid var(--hairline-soft);
}

.marquee__track {
  display: inline-flex;
  gap: var(--s-xxl);
  padding-inline-start: var(--s-xxl);
  animation: marquee 34s linear infinite;
}

.marquee__track span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: var(--s-xxl);
}

.marquee__track span::after {
  content: "✳";
  color: var(--primary);
  opacity: 0.8;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

[dir="rtl"] .marquee__track {
  animation-direction: reverse;
}

/* ---- Atmospheric orbs ----------------------------------------------------- */
.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(96, 93, 255, 0.38), rgba(145, 53, 232, 0.2) 45%, transparent 72%);
  filter: blur(64px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 18s ease-in-out infinite alternate;
}

.orb--hero {
  width: 620px;
  height: 620px;
  top: -180px;
  inset-inline-end: -120px;
}

.orb--a {
  width: 460px;
  height: 460px;
  top: -140px;
  inset-inline-start: -120px;
  animation-duration: 22s;
}

.orb--b {
  width: 520px;
  height: 520px;
  bottom: -200px;
  inset-inline-end: -160px;
  animation-duration: 26s;
}

@keyframes orb-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  to {
    transform: translate3d(-26px, 30px, 0) scale(1.1) rotate(8deg);
  }
}

/* page-wide bloom slow drift */
@keyframes bloom-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-3%, 2%, 0) scale(1.08);
  }
}

/* flowing gradient (text + pill CTAs + brand mark) */
@keyframes gradient-shift {
  to {
    background-position: 200% center;
  }
}

/* hero product card gentle float */
@keyframes float-y {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-12px);
  }
}

/* staggered hero entrance */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* "live" pulse for the AI badge */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(96, 93, 255, 0.5);
  }
  70%,
  100% {
    box-shadow: 0 0 0 8px rgba(96, 93, 255, 0);
  }
}

/* sentiment dot breathing glow */
@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(23, 164, 79, 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(23, 164, 79, 0);
  }
}

/* ---- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--s-section) * 0.6);
  padding-bottom: var(--s-section);
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-xxl);
  align-items: center;
}

/* staggered entrance for the hero copy */
.hero__copy > * {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__copy > *:nth-child(1) {
  animation-delay: 0.05s;
}
.hero__copy > *:nth-child(2) {
  animation-delay: 0.13s;
}
.hero__copy > *:nth-child(3) {
  animation-delay: 0.21s;
}
.hero__copy > *:nth-child(4) {
  animation-delay: 0.29s;
}
.hero__copy > *:nth-child(5) {
  animation-delay: 0.37s;
}

.hero__eyebrow {
  margin-bottom: var(--s-lg);
  display: inline-block;
}

.hero__title {
  margin-bottom: var(--s-lg);
}

.hero__title em {
  font-style: normal;
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 7s linear infinite;
}

.hero__lead {
  margin-bottom: var(--s-xl);
  max-width: 46ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
  align-items: center;
}

.hero__trust {
  margin-top: var(--s-lg);
}

/* ---- Product mock: AI call summary card (mirrors the brand video) --------- */
.mock {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: var(--s-lg);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 40px 80px -40px rgba(40, 36, 110, 0.35);
  animation: float-y 5s ease-in-out infinite alternate;
}

.summary-card {
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  box-shadow: 0 12px 30px -22px rgba(40, 36, 110, 0.4);
}

.summary-card__head {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  padding-bottom: var(--s-md);
  border-bottom: 1px solid var(--hairline);
}

.summary-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex: none;
  box-shadow: 0 6px 18px -6px rgba(96, 93, 255, 0.8);
}

.summary-card__who {
  display: flex;
  flex-direction: column;
}

.summary-card__name {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}

.summary-card__meta {
  font-size: 12px;
  letter-spacing: 0.2px;
  color: var(--muted);
  margin-top: 3px;
}

.summary-card__pill {
  margin-inline-start: auto;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  animation: pulse-ring 2.4s ease-out infinite;
}

[dir="rtl"] .summary-card__pill {
  text-transform: none;
  letter-spacing: 0;
}

.summary-block {
  padding-top: var(--s-md);
}

.summary-block + .summary-block {
  border-top: 1px solid var(--hairline);
}

.summary-block__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-xs);
}

[dir="rtl"] .summary-block__label {
  text-transform: none;
  letter-spacing: 0;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.summary-list li {
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-2);
  padding-inline-start: 20px;
  position: relative;
}

.summary-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--grad);
}

.summary-list--check li::before {
  content: "✓";
  background: none;
  color: var(--success);
  top: 0;
  font-size: 14px;
  font-weight: 700;
  width: auto;
  height: auto;
}

.summary-sentiment {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--success);
}

.summary-sentiment .dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ---- Glass bands (was: pastel color blocks) ------------------------------- */
.block {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  padding: clamp(28px, 5vw, 64px);
  background: var(--glass);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 30px 70px -45px rgba(40, 36, 110, 0.28);
}

/* the accent band - "how it works", a pale indigo wash */
.block--deep {
  background: linear-gradient(160deg, #edefff 0%, #f3edff 60%, #f7eefb 100%);
}

/* lift real content above the orb - but never the orb itself (it must stay
   absolutely positioned; otherwise it becomes a tall in-flow flex item). */
.block > *:not(.orb) {
  position: relative;
  z-index: 1;
}

.block__eyebrow {
  display: inline-block;
  margin-bottom: var(--s-lg);
}

/* ---- Feature tiles -------------------------------------------------------- */
.section-head {
  max-width: 64ch;
  margin-bottom: var(--s-xxl);
}

.section-head .eyebrow {
  display: inline-block;
  margin-bottom: var(--s-md);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}

.feature-tile {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  min-height: 260px;
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.feature-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 93, 255, 0.4);
  box-shadow: 0 22px 44px -28px rgba(40, 36, 110, 0.4);
}

.feature-tile__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--grad-soft);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.feature-tile .card-title {
  color: var(--ink);
}

.feature-tile__index {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: auto;
}

[dir="rtl"] .feature-tile__index {
  text-transform: none;
  letter-spacing: 0;
}

/* ---- "No lead left behind" grid ------------------------------------------- */
.poster {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-xxl);
  align-items: start;
}

.poster__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl) var(--s-lg);
}

.point__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.point__title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: var(--r-xs);
  background: var(--grad);
  flex: none;
}

.point__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ---- How it works (deep band) --------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-lg);
  margin-top: var(--s-xl);
}

.step__num {
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--s-md);
  box-shadow: 0 8px 22px -8px rgba(96, 93, 255, 0.8);
}

.step__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}

.step__desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ---- Real-estate band ----------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xxl);
  align-items: center;
}

.briefing-card {
  position: relative;
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  box-shadow: 0 24px 56px -40px rgba(40, 36, 110, 0.4);
}

.briefing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
}

.briefing-row:last-child {
  border-bottom: none;
}

.briefing-row .k {
  font-size: 14px;
  color: var(--muted);
}

.briefing-row .v {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.briefing-row .v.up {
  color: var(--success);
}

.briefing-card__head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--s-sm);
}

[dir="rtl"] .briefing-card__head {
  text-transform: none;
  letter-spacing: 0;
}

/* ---- Trust strip ---------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
}

.trust-cell {
  padding: var(--s-xl) var(--s-lg);
  padding-inline-start: 0;
  border-inline-end: 1px solid var(--hairline-soft);
}

.trust-cell:last-child {
  border-inline-end: none;
}

.trust-cell__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin-bottom: 9px;
}

.trust-cell__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ---- FAQ ------------------------------------------------------------------ */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--s-xxl);
  align-items: start;
}

.faq__list {
  border-top: 1px solid var(--hairline);
}

.faq__item {
  border-bottom: 1px solid var(--hairline);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-md);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--ink);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  color: var(--primary);
  flex: none;
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 0 var(--s-lg);
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
}

/* ---- Final CTA ------------------------------------------------------------ */
.final-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-lg);
  padding-block: clamp(44px, 7vw, 84px);
}

.final-cta .display-lg {
  max-width: 18ch;
}

/* ---- Footer --------------------------------------------------------------- */
.footer {
  background: var(--canvas-deep);
  border-top: 1px solid var(--hairline);
  padding-block: 64px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-xl);
  padding-bottom: var(--s-xxl);
  border-bottom: 1px solid var(--hairline-soft);
}

.footer__brand .brand {
  margin-bottom: var(--s-md);
}

.footer__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 38ch;
}

.footer__colhead {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--s-md);
}

[dir="rtl"] .footer__colhead,
[dir="rtl"] .footer__copy {
  text-transform: none;
  letter-spacing: 0;
}

.footer__col a {
  display: block;
  font-size: 15px;
  padding: 5px 0;
  color: var(--text-2);
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-md);
  padding-top: var(--s-lg);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Reveal animation ----------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

  .hero__copy > * {
    opacity: 1;
    transform: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  :root {
    --gutter: 22px;
    --s-section: 44px;
  }

  .nav__links,
  .nav__actions .btn--ghost {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--s-xl);
  }

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

  .poster,
  .split,
  .faq {
    grid-template-columns: 1fr;
    gap: var(--s-lg);
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-cell {
    border-bottom: 1px solid var(--hairline-soft);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 18px;
    --s-section: 36px;
  }

  /* tighter display tracking + leading at phone sizes */
  .display-xl {
    line-height: 1.08;
    letter-spacing: -0.5px;
  }

  .display-lg {
    line-height: 1.14;
    letter-spacing: -0.3px;
  }

  .section-head {
    margin-bottom: var(--s-xl);
  }

  .body-lg {
    font-size: 17px;
  }

  .feature-grid,
  .poster__points,
  .steps,
  .trust-grid,
  .footer__top {
    grid-template-columns: 1fr;
  }

  /* cards: no forced height, lighter padding */
  .feature-tile {
    min-height: auto;
    padding: var(--s-lg);
  }

  .block {
    padding: var(--s-lg);
  }

  /* declutter the nav - the primary CTA lives in the hamburger menu */
  .nav__actions .btn--primary {
    display: none;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .summary-card__pill {
    display: none;
  }

  .orb {
    filter: blur(36px);
    opacity: 0.5;
  }
}

/* ---- Mobile nav overlay --------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--canvas);
  padding: var(--s-lg) var(--gutter);
  display: none;
  flex-direction: column;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 66px;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  margin-top: var(--s-xl);
}

.mobile-menu__links a {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.mobile-menu__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  padding-bottom: var(--s-xl);
}

/* ---- Sign-up modal -------------------------------------------------------- */
.signup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.signup.is-open {
  display: block;
}

.signup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 30, 0.5);
  backdrop-filter: blur(4px);
}

.signup__panel {
  position: relative;
  width: min(560px, calc(100% - 32px));
  margin: 6vh auto 24px;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 40px 100px -40px rgba(40, 36, 110, 0.5);
  animation: rise 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.signup__close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup__close:hover {
  background: var(--canvas-deep);
  color: var(--ink);
}

.signup__title {
  font-size: clamp(22px, 3.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--ink);
  margin: 10px 0 6px;
}

.signup__sub {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0 0 20px;
}

.signup__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.signup__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.signup__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.signup__field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.signup__field input,
.signup__field select {
  height: 44px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-sm);
  padding: 0 12px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.signup__field input::placeholder {
  color: var(--muted);
}

.signup__field input:focus,
.signup__field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(96, 93, 255, 0.15);
}

.signup__submit {
  margin-top: 6px;
}

.signup__submit:disabled {
  opacity: 0.65;
  pointer-events: none;
}

.signup__error {
  margin: 0;
  font-size: 14px;
  color: #dc2626;
}

.signup__alt {
  margin: 4px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-2);
}

.signup__alt a {
  color: var(--primary);
  font-weight: 600;
  margin-inline-start: 4px;
}

.signup__success {
  text-align: center;
  padding: 16px 0 8px;
}

.signup__check {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(96, 93, 255, 0.8);
}

.signup__success .btn {
  margin-top: 18px;
}

@media (max-width: 560px) {
  .signup__panel {
    width: 100%;
    margin: 0;
    min-height: 100%;
    border-radius: 0;
    max-height: 100vh;
  }

  .signup__row {
    grid-template-columns: 1fr;
  }
}
