:root {
  --bg: #07090b;
  --bg-elev: #0c0f12;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.15);
  --text: #f4f6f8;
  --muted: #a3adb8;
  --faint: #6f7a86;
  --signal: #d63a28;
  --ok: #3a9a8c;
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(16px, 3.6vw, 48px);
  --max: 1100px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

/* ——— top ——— */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px var(--pad);
  background: rgba(7, 9, 11, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.top.scrolled { border-bottom-color: var(--line); }
.logo {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
}
.logo i { font-style: normal; color: var(--signal); }
.top-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}
.top-links a:hover { color: var(--text); }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--signal);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 2px;
  letter-spacing: 0.01em;
  transition: filter 0.2s ease, transform 0.25s var(--ease);
}
.cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
.cta-ghost {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text);
}

/* ——— hero ——— */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: grid;
  align-items: end;
  isolation: isolate;
  padding: 0 0 clamp(36px, 7vh, 68px);
}
.hero-media, .hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  animation: slowZoom 32s var(--ease) infinite alternate;
}
.hero-veil {
  background:
    linear-gradient(105deg, rgba(7,9,11,0.96) 0%, rgba(7,9,11,0.78) 38%, rgba(7,9,11,0.35) 68%, rgba(7,9,11,0.55) 100%),
    linear-gradient(180deg, rgba(7,9,11,0.45) 0%, rgba(7,9,11,0.12) 40%, rgba(7,9,11,0.92) 100%);
}
.hero-copy { padding-top: clamp(88px, 14vh, 140px); }
.eyebrow {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 7.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 11ch;
}
.hero h1 b {
  display: block;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.1px rgba(244, 246, 248, 0.5);
}
.lede {
  margin: 20px 0 26px;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.1vw, 1.08rem);
  font-weight: 400;
  line-height: 1.75;
}
.lede strong {
  color: var(--text);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: 36rem;
}
.hero-proof li {
  position: relative;
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 500;
  padding-inline-start: 12px;
}
.hero-proof li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 5px;
  height: 1px;
  background: var(--signal);
}

/* ——— sections ——— */
.sec {
  padding: clamp(52px, 9vw, 100px) 0;
  border-top: 1px solid var(--line);
}
.sec-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(28px, 5vw, 44px);
}
@media (min-width: 800px) {
  .sec-head {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
  }
}
.kicker {
  margin: 0 0 10px;
  color: var(--signal);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.sec h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.8vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 18ch;
}
.sec-note {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.75;
}

/* pains — ruled columns, no cards */
.pains {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) {
  .pains { grid-template-columns: repeat(3, 1fr); }
}
.pain {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .pain {
    padding: 28px 22px;
    border-bottom: 0;
    border-inline-start: 1px solid var(--line);
  }
  .pain:first-child { border-inline-start: 0; padding-inline-start: 0; }
  .pain:last-child { padding-inline-end: 0; }
}
.pain .idx {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--faint);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.pain h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}
.pain p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* systems matrix */
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.matrix th,
.matrix td {
  text-align: start;
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.matrix th {
  color: var(--faint);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.matrix td:first-child {
  font-weight: 600;
  color: var(--text);
  min-width: 8rem;
}
.matrix .yes { color: var(--ok); font-weight: 600; }
.matrix .soft { color: var(--faint); }
.matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overscroll-behavior-x: contain;
}

/* packages — typographic stacks, NOT cards */
.tier {
  padding: clamp(28px, 4vw, 42px) 0;
  border-top: 1px solid var(--line);
}
.tier.featured {
  border-top: 2px solid var(--signal);
  background: linear-gradient(180deg, rgba(214, 58, 40, 0.06), transparent 52%);
  margin-inline: calc(-1 * var(--pad));
  padding-inline: var(--pad);
}
.tier-top {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 880px) {
  .tier-top {
    grid-template-columns: 1.25fr 0.85fr auto;
    align-items: end;
  }
}
.tier-badge {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}
.tier-name {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tier-who { margin: 0; color: var(--muted); font-size: 0.95rem; max-width: 36rem; }
.tier-price {
  font-size: clamp(1.9rem, 4.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier-price small {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  line-height: 1.45;
}
.tier-systems {
  display: grid;
  gap: 20px;
}
@media (min-width: 700px) {
  .tier-systems { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .tier.featured .tier-systems { grid-template-columns: repeat(4, 1fr); }
  .tier:not(.featured) .tier-systems { grid-template-columns: repeat(3, 1fr); }
}
.sys h4 {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 600;
}
.sys li {
  position: relative;
  padding-inline-start: 14px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.sys li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.7em;
  width: 5px;
  height: 1px;
  background: var(--line-2);
}

/* process */
.steps { border-top: 1px solid var(--line); }
.step {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .step {
    grid-template-columns: 72px 1fr 1.35fr;
    gap: 20px;
    align-items: baseline;
  }
}
.step .n {
  font-family: var(--mono);
  font-size: 1.25rem;
  color: var(--signal);
  font-weight: 600;
}
.step h3 { margin: 0; font-size: 1.12rem; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* faq */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 42rem;
  font-size: 0.96rem;
}

/* close */
.close {
  padding: clamp(64px, 11vw, 112px) 0;
  background:
    radial-gradient(480px 200px at 88% 0%, rgba(214,58,40,0.14), transparent 65%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.close h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 5.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 14ch;
}
.close p {
  margin: 0 0 26px;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.75;
}
.close-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 20px var(--pad) 32px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.8rem;
}
.foot a { color: var(--muted); font-weight: 600; }

/* mobile sticky CTA */
.dock {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 45;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 9, 11, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.dock .cta { width: 100%; min-height: 48px; }

/* tablet */
@media (min-width: 641px) and (max-width: 1023px) {
  .hero h1 { max-width: 12ch; }
  .hero-media img { object-position: 65% center; }
}

@media (max-width: 760px) {
  .dock { display: block; }
  body { padding-bottom: 76px; }
  .top-links .desk { display: none; }
  .hero {
    min-height: min(100svh, 780px);
    align-items: end;
  }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(7,9,11,0.55) 0%, rgba(7,9,11,0.35) 35%, rgba(7,9,11,0.96) 78%),
      linear-gradient(90deg, rgba(7,9,11,0.88) 0%, rgba(7,9,11,0.45) 100%);
  }
  .hero-media img { object-position: 60% center; }
  .matrix { font-size: 0.84rem; min-width: 560px; }
  .matrix th, .matrix td { padding: 12px 8px; }
}

@keyframes slowZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  .cta:hover { transform: none; }
}
