/* ============================================================
   Hymanna — هيمنة | نظام إدارة المكاتب العقارية
   Visual identity cloned from hermes-agent.nousresearch.com
   Content & layout: Arabic (RTL), multi-page
   ============================================================ */

@font-face {
  font-family: "Sigurd";
  src: url("assets/sigurd.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("assets/courier.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cairo";
  src: url("assets/cairo-arabic.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "CairoLatin";
  src: url("assets/cairo-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --hermes: #0000f2;
  --hermes-fg: #f5f5f5;
  --paper: #ffffff;
  --accent: #edff45;
  --ink: #101034;
  --u-anchor: 0.58px;
  --u: max(calc(100vw / 2360), var(--u-anchor));
  --vsq: calc(0.5vw + 0.5vh);
  --frame: calc(2.5 * var(--vsq));
  --pad: clamp(16px, 2vw, 29px);
  --gutter: calc(210 * var(--u));
  --gap: calc(30 * var(--u));
  --edge: calc(93 * var(--u));
  --text-eyebrow: calc(18 * var(--u));
  --text-body: calc(21 * var(--u));
  --font-ar: "Cairo", "CairoLatin", "Segoe UI", Tahoma, sans-serif;
  --font-lat: "Sigurd", "CairoLatin", Georgia, serif;
  --font-mono: "Courier Prime", "Courier New", monospace;
}

html {
  background: var(--hermes);
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--hermes);
  color: var(--hermes-fg);
  font-family: var(--font-ar);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection {
  background: var(--accent);
  color: var(--hermes);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
}
p {
  margin: 0;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: inherit;
}
.lat {
  font-family: var(--font-lat);
}
.mono {
  font-family: var(--font-mono);
}
.num {
  font-family: var(--font-mono);
  direction: ltr;
  unicode-bidi: isolate;
}

/* labels / eyebrows */
.eyebrow {
  font-family: var(--font-ar);
  font-size: max(calc(20 * var(--u)), 0.72rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  color: inherit;
}
.eyebrow--mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ============================================================
   Inline SVG icons (replaces emoji)
   ============================================================ */
.ic {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: none;
  vertical-align: -0.12em;
}
.announce .ic {
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.22em;
}
.trial-band .ic {
  width: 1.3em;
  height: 1.3em;
  vertical-align: -0.26em;
}
.ribbon .ic {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
}
.perk .ic,
.why-item .ic,
.step i .ic,
.plans-note .ic,
.eyebrow .ic,
.cmp-row.head .ic {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
}

/* ============================================================
   Frame (blue bezel)
   ============================================================ */
.frame {
  position: fixed;
  inset: 0;
  border: var(--frame) solid var(--hermes);
  z-index: 90;
  pointer-events: none;
}

/* ============================================================
   Shell / noise
   ============================================================ */
.shell {
  max-width: calc(1600px + 2 * var(--pad));
  margin-inline: auto;
}
.web {
  position: relative;
  padding-inline: var(--pad);
  --noise-tile: 12.8rem;
  --noise-bg: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.noise {
  position: relative;
}
.noise::after {
  content: "";
  background-image: var(--noise-bg);
  background-size: var(--noise-tile) var(--noise-tile);
  mix-blend-mode: color-burn;
  opacity: 0.2;
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.vignette {
  position: relative;
}
.vignette::before {
  content: "";
  background: radial-gradient(120% 90% at 50% 42%, transparent 50%, var(--hermes) 100%);
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.2;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: absolute;
  inset-inline: 0;
  top: calc(var(--frame) + 4px);
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding-inline: calc(var(--gutter) - 40px);
  padding-block: calc(40 * var(--u)) 0;
  box-sizing: border-box;
  gap: 10px 16px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: calc(26 * var(--u));
  justify-self: start;
  padding-top: 6px;
}
.nav-links a {
  font-family: var(--font-ar);
  font-size: clamp(0.92rem, calc(24 * var(--u)), 1.3rem);
  font-weight: 700;
  opacity: 0.85;
  transition: opacity 0.15s;
  padding: 2px 0;
  position: relative;
}
.nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 2px;
}
.nav-links a.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
}
.nav-brand {
  display: flex;
  align-items: center;
  justify-self: center;
}
.nav-brand a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.nav-brand .brand-ar {
  font-size: clamp(1.55rem, calc(42 * var(--u)), 2.7rem);
  font-weight: 900;
  line-height: 1;
}
.nav-brand .brand-lat {
  font-family: var(--font-lat);
  font-size: clamp(0.66rem, calc(17 * var(--u)), 1rem);
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.8;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: calc(22 * var(--u));
  justify-self: end;
}
.nav-cta {
  background: var(--hermes-fg);
  color: var(--hermes);
  font-family: var(--font-ar);
  font-weight: 800;
  font-size: clamp(0.8rem, calc(21 * var(--u)), 1.05rem);
  padding: calc(13 * var(--u)) calc(24 * var(--u));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #fff;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(1330 * var(--u));
  padding-top: calc(330 * var(--u));
  padding-bottom: calc(80 * var(--u));
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero--sm {
  min-height: 0;
  padding-block: calc(430 * var(--u)) calc(120 * var(--u));
}
.hero-art {
  position: absolute;
  top: calc(110 * var(--u));
  inset-inline-end: 0;
  width: min(calc(1150 * var(--u)), 60%);
  aspect-ratio: 0.797;
  object-fit: cover;
  mix-blend-mode: lighten;
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(calc(1250 * var(--u)), 100%);
  margin-inline-start: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: calc(34 * var(--u));
}
.hero-copy--center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}
.hero h1 {
  display: flex;
  flex-direction: column;
  font-family: var(--font-ar);
  font-weight: 800;
  font-size: clamp(2rem, calc(104 * var(--u)), 5.6rem);
  line-height: 1.06;
  letter-spacing: 0;
}
.hero h1 span {
  width: fit-content;
}
.hero-copy--center h1 {
  align-items: center;
}
.hero-lead {
  font-size: max(calc(24 * var(--u)), 0.98rem);
  line-height: 1.9;
  opacity: 0.92;
  max-width: 60ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(26 * var(--u));
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(12 * var(--u));
  background: var(--hermes-fg);
  color: var(--hermes);
  font-family: var(--font-ar);
  font-weight: 800;
  font-size: clamp(0.95rem, calc(22 * var(--u)), 1.15rem);
  line-height: 1;
  padding: calc(20 * var(--u)) calc(34 * var(--u));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease-out, transform 0.15s ease-out;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn:hover {
  background: #fff;
  transform: translateY(-1px);
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn--ink {
  background: var(--hermes);
  color: var(--hermes-fg);
}
.btn--ink:hover {
  background: #2626f6;
}
.btn--ghost {
  background: transparent;
  color: var(--hermes-fg);
  box-shadow: none;
  border: 1.5px solid rgba(245, 245, 245, 0.5);
}
.btn--ghost:hover {
  background: rgba(245, 245, 245, 0.12);
}
.on-paper .btn--ink {
  background: var(--hermes);
  color: #fff;
}
.btn .arr {
  font-size: 1.2em;
  line-height: 0;
}
.link {
  font-weight: 700;
  font-size: max(calc(21 * var(--u)), 0.95rem);
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 2px;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.link:hover {
  opacity: 1;
}

/* ============================================================
   Showcase (app window mock)
   ============================================================ */
.showcase {
  position: relative;
  z-index: 5;
  padding-inline: var(--edge);
  padding-top: calc(70 * var(--u));
  padding-bottom: calc(40 * var(--u));
}
.win {
  position: relative;
  background: #f6f7fb;
  color: #16164a;
  box-shadow: 0 40px 120px rgba(0, 0, 20, 0.35);
  overflow: hidden;
  direction: rtl;
}
.win::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(245, 245, 245, 0.35);
}
.win-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: var(--hermes);
  color: var(--hermes-fg);
}
.win-dots {
  display: flex;
  gap: 6px;
}
.win-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
  background: rgba(245, 245, 245, 0.55);
}
.win-top .win-brand {
  font-weight: 800;
  font-size: 0.95rem;
}
.win-top .win-brand small {
  font-weight: 400;
  opacity: 0.7;
  margin-inline-start: 8px;
}
.win-url {
  margin-inline-start: auto;
  background: rgba(245, 245, 245, 0.16);
  border-radius: 999px;
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  direction: ltr;
}
.win-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 380px;
}
.win-side {
  background: #e9eaf3;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-inline-end: 1px solid rgba(0, 0, 242, 0.08);
}
.win-side span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #34346b;
}
.win-side span.act {
  background: var(--hermes);
  color: #fff;
}
.win-side .ico {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.75;
}
.win-main {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.win-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.win-kpi {
  background: #fff;
  border: 1px solid rgba(0, 0, 242, 0.1);
  border-radius: 8px;
  padding: 12px 14px;
}
.win-kpi b {
  display: block;
  font-size: 1.25rem;
  font-family: var(--font-mono);
  direction: ltr;
  text-align: right;
}
.win-kpi span {
  font-size: 0.72rem;
  color: #55558a;
  font-weight: 600;
}
.win-table {
  background: #fff;
  border: 1px solid rgba(0, 0, 242, 0.1);
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
}
.win-table .tr {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 242, 0.07);
  font-size: 0.76rem;
}
.win-table .tr.th {
  color: #7a7aa8;
  font-weight: 700;
  background: #fafafe;
  font-size: 0.68rem;
}
.win-table .tr:last-child {
  border-bottom: 0;
}
.win-tag {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
}
.win-tag.ok {
  background: #dffbe6;
  color: #0c7a33;
}
.win-tag.soon {
  background: #fff0c2;
  color: #8a5b00;
}
.win-tag.hot {
  background: #ffe0dc;
  color: #b3271a;
}
@media (max-width: 900px) {
  .win-body {
    grid-template-columns: 1fr;
  }
  .win-side {
    display: none;
  }
  .win-kpis {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .win-table .tr {
    grid-template-columns: 1fr 1fr;
  }
}

/* trust chips strip */
.trust {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding-inline: var(--gutter);
  padding-block: calc(110 * var(--u)) calc(30 * var(--u));
}
.trust-item {
  border: 1px solid rgba(245, 245, 245, 0.28);
  padding: calc(26 * var(--u)) calc(28 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(14 * var(--u));
  font-size: max(calc(21 * var(--u)), 0.95rem);
  line-height: 1.8;
}
.trust-item .t-no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.65;
  direction: ltr;
  text-align: right;
}
.trust-item b {
  font-weight: 800;
  font-size: 1.08em;
}

/* ============================================================
   Paper sections (white)
   ============================================================ */
.paper {
  position: relative;
  background: var(--paper);
  color: var(--hermes);
  padding-block: calc(70 * var(--u)) calc(30 * var(--u));
  overflow: hidden;
}
.paper .paper-head {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  padding-inline: var(--edge);
  padding-bottom: calc(80 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(26 * var(--u));
  align-items: center;
}
.paper-head .eyebrow {
  opacity: 0.8;
}
.paper-head h2 {
  font-size: clamp(2rem, calc(70 * var(--u)), 4rem);
  line-height: 1.15;
  font-weight: 800;
}
.paper-head p {
  font-size: max(calc(23 * var(--u)), 1rem);
  line-height: 2;
  opacity: 0.8;
  color: #2a2a70;
}

/* features grid on white paper */
.features {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: calc(30 * var(--u));
  row-gap: calc(130 * var(--u));
  padding-inline: calc(150 * var(--u)) calc(40 * var(--u));
  padding-bottom: calc(60 * var(--u));
}
.fcard {
  display: flex;
  flex-direction: column;
  gap: calc(48 * var(--u));
}
.fcard-head {
  display: flex;
  flex-direction: column;
  gap: calc(34 * var(--u));
}
.fcard-head .f-no {
  font-family: var(--font-mono);
  font-size: max(calc(15 * var(--u)), 0.7rem);
  opacity: 0.6;
  direction: ltr;
  text-align: right;
  letter-spacing: 0.1em;
}
.fcard-head h3 {
  font-size: clamp(1.5rem, calc(52 * var(--u)), 2.5rem);
  line-height: 1.25;
  font-weight: 800;
}
.fcard-art {
  position: relative;
  margin: 0;
  aspect-ratio: 666 / 574;
  background: var(--hermes);
  overflow: hidden;
}
.fcard-art img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.14);
  will-change: transform;
}
.fcard-body {
  font-size: max(calc(22 * var(--u)), 1rem);
  line-height: 2;
  opacity: 0.85;
  color: #26266b;
}
.fcard-body .state {
  font-weight: 700;
  color: var(--hermes);
}

/* security band (blue) */
.secband {
  position: relative;
  padding-inline: var(--gutter);
  padding-block: calc(90 * var(--u)) calc(110 * var(--u));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: calc(70 * var(--u));
  align-items: center;
}
.secband .sb-text {
  display: flex;
  flex-direction: column;
  gap: calc(24 * var(--u));
}
.secband h2 {
  font-size: clamp(1.7rem, calc(62 * var(--u)), 3.4rem);
  line-height: 1.2;
  font-weight: 800;
}
.secband p {
  font-size: max(calc(22 * var(--u)), 1rem);
  line-height: 2;
  opacity: 0.9;
}
.sb-badge {
  background: var(--accent);
  color: var(--hermes);
  font-weight: 800;
  padding: calc(16 * var(--u)) calc(22 * var(--u));
  width: fit-content;
  font-size: max(calc(18 * var(--u)), 0.85rem);
  border-radius: 4px;
  box-shadow: 0 12px 34px rgba(0, 0, 30, 0.3);
}
.sb-art {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.sb-art .card {
  border: 1px solid rgba(245, 245, 245, 0.25);
  padding: calc(26 * var(--u));
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: calc(10 * var(--u));
}
.sb-art .card b {
  font-size: 1.25rem;
  font-weight: 800;
}
.sb-art .card span {
  font-size: max(calc(17 * var(--u)), 0.78rem);
  opacity: 0.75;
  line-height: 1.7;
}
.sb-art .card.acc {
  background: rgba(237, 255, 69, 0.12);
  border-color: rgba(237, 255, 69, 0.5);
}

/* ============================================================
   Wordmarks
   ============================================================ */
.paper-word {
  position: relative;
  z-index: 2;
  text-align: center;
  transform: translateX(-0.7%);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  margin-block: calc(90 * var(--u)) calc(90 * var(--u));
}
.paper-word img {
  display: block;
  width: min(58vw, 1200px);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

/* ============================================================
   Pricing
   ============================================================ */
.plans {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding-inline: calc(90 * var(--u));
  padding-bottom: calc(40 * var(--u));
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--hermes);
  padding: calc(44 * var(--u)) calc(40 * var(--u));
  gap: calc(26 * var(--u));
  box-shadow: 0 30px 80px rgba(0, 0, 40, 0.3);
}
.plan.pop .ribbon {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  background: var(--accent);
  color: var(--hermes);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 8px 16px;
  letter-spacing: 0;
}
.plan .p-name {
  font-size: 1.05rem;
  font-weight: 800;
  opacity: 0.75;
}
.plan .p-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.plan .p-price .amount {
  font-size: clamp(2.4rem, calc(64 * var(--u)), 4rem);
  font-weight: 900;
  font-family: var(--font-mono);
  direction: ltr;
  line-height: 1;
}
.plan .p-price .unit {
  opacity: 0.7;
  font-size: 0.95rem;
  font-weight: 600;
}
.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: calc(15 * var(--u));
  flex: 1;
}
.plan li {
  display: flex;
  gap: calc(14 * var(--u));
  align-items: baseline;
  font-size: max(calc(21 * var(--u)), 0.95rem);
  line-height: 1.8;
}
.plan li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
  outline: 1px solid rgba(0, 0, 242, 0.25);
  transform: translateY(-3px);
}
.plan li.off {
  opacity: 0.45;
}
.plan li.off::before {
  background: transparent;
  outline-color: rgba(0, 0, 242, 0.3);
}
.plan .btn {
  margin-top: calc(10 * var(--u));
  width: 100%;
}
.plans-note {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: var(--edge);
  padding-bottom: calc(60 * var(--u));
  font-size: max(calc(21 * var(--u)), 0.95rem);
  line-height: 2;
  opacity: 0.85;
}

/* ============================================================
   Feature detail rows (features page)
   ============================================================ */
.frows {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}
.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(80 * var(--u));
  align-items: center;
  padding-inline: calc(150 * var(--u)) calc(80 * var(--u));
  padding-block: calc(60 * var(--u));
  border-top: 1px solid rgba(0, 0, 242, 0.12);
}
.frow .fr-text {
  display: flex;
  flex-direction: column;
  gap: calc(22 * var(--u));
}
.frow .fr-text h3 {
  font-size: clamp(1.7rem, calc(60 * var(--u)), 3.2rem);
  font-weight: 800;
  line-height: 1.2;
}
.frow .fr-text p {
  font-size: max(calc(23 * var(--u)), 1.02rem);
  line-height: 2;
  opacity: 0.85;
  color: #26266b;
}
.frow .fr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: calc(12 * var(--u));
}
.frow .fr-tags i {
  font-style: normal;
  border: 1px solid rgba(0, 0, 242, 0.3);
  padding: calc(10 * var(--u)) calc(18 * var(--u));
  font-size: 0.85rem;
  font-weight: 600;
}
.frow .fr-art {
  aspect-ratio: 666 / 574;
  background: var(--hermes);
  overflow: hidden;
  position: relative;
}
.frow .fr-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
}

/* ============================================================
   CTA strip + footer
   ============================================================ */
.cta {
  position: relative;
  text-align: center;
  padding: calc(150 * var(--u)) var(--gutter) calc(120 * var(--u));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(28 * var(--u));
}
.cta h2 {
  font-size: clamp(2.2rem, calc(92 * var(--u)), 5rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 16ch;
}
.cta p {
  font-size: max(calc(23 * var(--u)), 1rem);
  line-height: 2;
  opacity: 0.9;
  max-width: 55ch;
}
.cta .btn {
  font-size: clamp(1rem, calc(24 * var(--u)), 1.25rem);
  padding: calc(22 * var(--u)) calc(42 * var(--u));
}

.footer {
  position: relative;
  min-height: 74vh;
  background: var(--hermes);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(120 * var(--u));
}
.footer .ghost-word {
  position: absolute;
  inset-inline: 0;
  bottom: -1vh;
  text-align: center;
  color: var(--accent);
  mix-blend-mode: exclusion;
  opacity: 0.2;
  font-weight: 700;
  font-size: clamp(90px, 15vw, 230px);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.footer-meta {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--gutter) 6dvh;
  font-size: max(calc(16 * var(--u)), 0.72rem);
  line-height: 1.9;
  opacity: 0.92;
}
.footer-meta a {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.footer-meta .fm-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-meta .fm-brand {
  font-weight: 800;
  font-size: 1.05rem;
}
.footer-meta .fm-brand .lat {
  margin-inline-start: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  font-size: 0.85em;
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: calc(80 * var(--u));
  padding-inline: calc(150 * var(--u)) calc(80 * var(--u));
  padding-bottom: calc(110 * var(--u));
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.contact-cards .ccard {
  border: 1px solid rgba(0, 0, 242, 0.2);
  padding: calc(30 * var(--u));
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-cards .ccard b {
  font-size: 1.05rem;
  font-weight: 800;
}
.contact-cards .ccard span,
.contact-cards .ccard a {
  font-size: max(calc(20 * var(--u)), 0.92rem);
  opacity: 0.8;
  line-height: 1.8;
  font-family: var(--font-mono);
  direction: ltr;
  text-align: right;
  word-break: break-all;
}
.contact-form {
  border: 1px solid rgba(0, 0, 242, 0.2);
  background: #fff;
  padding: calc(44 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(24 * var(--u));
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(24 * var(--u));
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1f1f5c;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  border: 1.5px solid rgba(0, 0, 242, 0.25);
  border-radius: 4px;
  padding: 13px 14px;
  background: #fbfbfe;
  color: #13134b;
  outline: none;
  font-size: 0.95rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--hermes);
  background: #fff;
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-form .note {
  font-size: 0.8rem;
  opacity: 0.65;
  font-family: var(--font-mono);
  direction: ltr;
  text-align: right;
}
.form-ok {
  display: none;
  background: #e9fcef;
  border: 1px solid #0c7a33;
  color: #0c7a33;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.95rem;
}
.form-ok.show {
  display: block;
}

/* security callout inside white paper */
.sec-white {
  position: relative;
  z-index: 2;
  margin-inline: calc(150 * var(--u)) calc(40 * var(--u));
  margin-top: calc(90 * var(--u));
  border-top: 1px solid rgba(0, 0, 242, 0.16);
  padding-top: calc(80 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(56 * var(--u));
}
.sw-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(22 * var(--u));
  max-width: 780px;
  margin-inline: auto;
}
.sw-head h3 {
  font-size: clamp(1.6rem, calc(56 * var(--u)), 3rem);
  line-height: 1.25;
  font-weight: 800;
}
.sw-head p {
  font-size: max(calc(22 * var(--u)), 1rem);
  line-height: 2;
  color: #26266b;
  opacity: 0.85;
}
.sw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(22 * var(--u));
}
.sw-card {
  border: 1px solid rgba(0, 0, 242, 0.25);
  background: #fff;
  padding: calc(28 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
}
.sw-card b {
  font-size: 1.08rem;
  font-weight: 800;
}
.sw-card span {
  font-size: max(calc(18 * var(--u)), 0.8rem);
  opacity: 0.75;
  line-height: 1.85;
}

/* plans band (blue) */
.plans-wrap {
  background: var(--hermes);
  padding-top: calc(110 * var(--u));
}
.paper-head.on-blue h2 {
  color: #fff;
}
.paper-head.on-blue p {
  color: rgba(245, 245, 245, 0.9);
}

/* page-level helpers */
.fr-text .f-no {
  font-family: var(--font-mono);
  font-size: max(calc(15 * var(--u)), 0.7rem);
  letter-spacing: 0.14em;
  opacity: 0.55;
  direction: ltr;
  text-align: right;
}
.paper .btn--ghost,
.in-paper .btn--ghost {
  color: var(--hermes);
  border-color: rgba(0, 0, 242, 0.45);
}
.paper .btn--ghost:hover,
.in-paper .btn--ghost:hover {
  background: rgba(0, 0, 242, 0.06);
}
.paper .cta .eyebrow {
  opacity: 0.75;
}
.plans-wrap .plans {
  position: relative;
  z-index: 3;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .features,
  .plans,
  .frow,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .frow,
  .contact-grid {
    padding-inline: calc(80 * var(--u));
  }
  .plans {
    padding-inline: calc(40 * var(--u));
  }
  .secband {
    grid-template-columns: 1fr;
    padding-inline: calc(80 * var(--u));
  }
  .sw-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sec-white {
    margin-inline: calc(40 * var(--u));
  }
}
@media (max-width: 767.98px) {
  .frame {
    border-width: 10px;
  }
  .nav {
    top: 10px;
    grid-template-columns: 1fr auto;
    padding-inline: 8px;
    padding-top: calc(16 * var(--u));
  }
  .nav-brand {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-self: start;
  }
  .nav-brand .brand-ar {
    font-size: 1.7rem;
  }
  .nav-brand .brand-lat {
    font-size: 0.6rem;
  }
  .nav-actions {
    grid-column: 2;
    grid-row: 1;
  }
  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: center;
    gap: calc(20 * var(--u));
    border-top: 1px solid rgba(245, 245, 245, 0.18);
    padding-top: calc(14 * var(--u));
    margin-top: calc(6 * var(--u));
  }
  .hero {
    padding-top: calc(300 * var(--u));
    padding-bottom: 6dvh;
  }
  .hero--sm {
    padding-block: calc(340 * var(--u)) calc(60 * var(--u));
  }
  .hero-art {
    width: 88vw;
    inset-inline-end: -20vw;
    opacity: 0.5;
  }
  .hero-copy {
    width: 100%;
    margin-inline-start: 0;
    padding-inline: calc(18 * var(--u));
    box-sizing: border-box;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 11vw, 3.4rem);
    line-height: 1.1;
  }
  .hero-lead {
    font-size: 1rem;
  }
  .showcase {
    padding-inline: 0;
    padding-top: calc(30 * var(--u));
  }
  .win-url {
    display: none;
  }
  .trust {
    grid-template-columns: 1fr;
    padding-inline: calc(20 * var(--u));
    padding-top: calc(60 * var(--u));
  }
  .features,
  .frow,
  .contact-grid {
    grid-template-columns: 1fr;
    padding-inline: calc(20 * var(--u));
    row-gap: calc(90 * var(--u));
  }
  .sw-grid {
    grid-template-columns: 1fr;
  }
  .sec-white {
    margin-inline: calc(20 * var(--u));
  }
  .frow {
    gap: calc(34 * var(--u));
  }
  .plans {
    grid-template-columns: 1fr;
    padding-inline: calc(20 * var(--u));
  }
  .paper-head,
  .plans-note,
  .cta p {
    padding-inline: 0;
  }
  .cta {
    padding-inline: calc(20 * var(--u));
    padding-top: calc(90 * var(--u));
  }
  .cta h2 {
    font-size: 2.1rem;
  }
  .secband {
    padding-inline: calc(20 * var(--u));
  }
  .sb-art {
    grid-template-columns: 1fr;
  }
  .paper-word {
    margin-block: calc(60 * var(--u)) calc(60 * var(--u));
  }
  .paper-word img {
    width: min(88vw, 560px);
    height: auto;
  }
  .footer {
    min-height: 0;
    padding-top: calc(90 * var(--u));
  }
  .footer .ghost-word {
    bottom: 22dvh;
    font-size: 34vw;
  }
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding-inline: calc(20 * var(--u));
    padding-bottom: 8dvh;
  }
  .contact-form .row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Hymanna full-site components (home / how / about / faq / legal)
   ============================================================ */

/* hero extras */
.announce {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  width: fit-content;
  background: var(--accent);
  color: var(--hermes);
  border-radius: 999px;
  padding: calc(12 * var(--u)) calc(20 * var(--u));
  font-size: max(calc(18 * var(--u)), 0.85rem);
  box-shadow: 0 10px 30px rgba(0, 0, 20, 0.35);
  transition: transform 0.15s;
}
.announce:hover {
  transform: translateY(-1px);
}
.announce b {
  font-weight: 800;
}
.announce em {
  font-style: normal;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.hmeta {
  font-size: max(calc(16 * var(--u)), 0.74rem);
  opacity: 0.75;
  letter-spacing: 0.06em;
}

/* generic blue section w/ heading */
.sec {
  position: relative;
  padding-inline: var(--gutter);
  padding-block: calc(70 * var(--u));
}
.sec-head {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--u));
}
.sec-head.center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}
.sec-head h2 {
  font-size: clamp(1.6rem, calc(58 * var(--u)), 3.2rem);
  line-height: 1.3;
  font-weight: 800;
}
.sec-head p {
  font-size: max(calc(22 * var(--u)), 1rem);
  line-height: 2;
  opacity: 0.9;
}
.sec-head .mark {
  color: var(--accent);
}
.center {
  text-align: center;
}

/* logos strip */
.logos {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(18 * var(--u));
  padding-top: calc(30 * var(--u));
  padding-bottom: calc(70 * var(--u));
}
.logos .eyebrow {
  opacity: 0.6;
  font-size: max(calc(16 * var(--u)), 0.72rem);
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(18 * var(--u));
}
.logos-row span {
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: max(calc(21 * var(--u)), 0.95rem);
  opacity: 0.8;
  border: 1px solid rgba(245, 245, 245, 0.25);
  padding: calc(14 * var(--u)) calc(24 * var(--u));
  border-radius: 6px;
  white-space: nowrap;
}

/* audience mini-cards */
.aud .aud-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: calc(50 * var(--u));
}
.aud .mini {
  border: 1px solid rgba(245, 245, 245, 0.28);
  padding: calc(28 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(16 * var(--u));
}
.aud .mini span {
  font-size: 1.7rem;
  line-height: 1;
}
.aud .mini b {
  font-size: max(calc(21 * var(--u)), 0.95rem);
  font-weight: 800;
}
.aud .center {
  margin-top: calc(40 * var(--u));
}

/* pain cards */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: calc(56 * var(--u));
}
.pain {
  border: 1px solid rgba(245, 245, 245, 0.22);
  background: rgba(245, 245, 245, 0.05);
  padding: calc(30 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
}
.pain span {
  font-size: 1.6rem;
}
.pain b {
  font-size: 1.08rem;
  font-weight: 800;
}
.pain p {
  font-size: max(calc(19 * var(--u)), 0.9rem);
  line-height: 1.9;
  opacity: 0.8;
}

/* module chips */
.mods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(14 * var(--u));
  margin-top: calc(46 * var(--u));
}
.mod {
  border: 1px solid rgba(245, 245, 245, 0.3);
  border-radius: 999px;
  padding: calc(14 * var(--u)) calc(24 * var(--u));
  font-weight: 700;
  font-size: max(calc(19 * var(--u)), 0.9rem);
}
.mod.on {
  background: var(--accent);
  color: var(--hermes);
  border-color: var(--accent);
  font-weight: 800;
}

/* gallery: feature cards (blue section) */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-top: calc(56 * var(--u));
}
.gal {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: calc(26 * var(--u));
}
.gal-img {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--hermes);
  border: 1px solid rgba(245, 245, 245, 0.3);
  overflow: hidden;
}
.gal-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.gal:hover .gal-img img {
  transform: scale(1.06);
}
.gal figcaption {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
}
.gal figcaption .f-no {
  font-family: var(--font-mono);
  font-size: max(calc(15 * var(--u)), 0.7rem);
  opacity: 0.6;
  direction: ltr;
  text-align: right;
  letter-spacing: 0.1em;
}
.gal figcaption h3 {
  font-size: clamp(1.25rem, calc(36 * var(--u)), 1.8rem);
  line-height: 1.4;
  font-weight: 800;
}
.gal figcaption p {
  font-size: max(calc(19 * var(--u)), 0.92rem);
  line-height: 1.9;
  opacity: 0.85;
}

/* wide feature card (paper) */
.fwide {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: calc(80 * var(--u));
  align-items: center;
  padding-inline: calc(150 * var(--u)) calc(80 * var(--u));
  padding-block: calc(120 * var(--u)) calc(60 * var(--u));
  border-top: 1px solid rgba(0, 0, 242, 0.12);
  margin-top: calc(100 * var(--u));
}
.fwide-art {
  aspect-ratio: 666 / 574;
  background: var(--hermes);
  overflow: hidden;
  position: relative;
  margin: 0;
}
.fwide-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
}
.fwide-text {
  display: flex;
  flex-direction: column;
  gap: calc(24 * var(--u));
  align-items: flex-start;
}
.fwide-text .f-no {
  font-family: var(--font-mono);
  font-size: max(calc(15 * var(--u)), 0.7rem);
  letter-spacing: 0.14em;
  opacity: 0.55;
  direction: ltr;
}
.fwide-text h3 {
  font-size: clamp(1.7rem, calc(58 * var(--u)), 3rem);
  font-weight: 800;
  line-height: 1.25;
}
.fwide-text p {
  font-size: max(calc(22 * var(--u)), 1rem);
  line-height: 2;
  color: #26266b;
  opacity: 0.9;
}
.fwide-text .fr-tags i {
  border-color: rgba(0, 0, 242, 0.3);
}

/* why strip */
.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding-inline: calc(150 * var(--u)) calc(80 * var(--u));
  padding-block: calc(90 * var(--u)) 0;
  border-top: 1px solid rgba(0, 0, 242, 0.12);
  margin-top: calc(120 * var(--u));
}
.why-item {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
}
.why-item b {
  font-size: clamp(1.2rem, calc(40 * var(--u)), 1.9rem);
  font-weight: 800;
}
.why-item span {
  font-size: max(calc(18 * var(--u)), 0.82rem);
  opacity: 0.75;
  line-height: 1.8;
}

/* testimonials */
.testimonials {
  padding-inline: calc(150 * var(--u)) calc(80 * var(--u));
  padding-block: calc(120 * var(--u)) 0;
  border-top: 1px solid rgba(0, 0, 242, 0.12);
  margin-top: calc(120 * var(--u));
}
.t-head {
  text-align: center;
  margin-bottom: calc(60 * var(--u));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(18 * var(--u));
}
.t-head .eyebrow {
  opacity: 0.8;
}
.t-head h3 {
  font-size: clamp(1.6rem, calc(56 * var(--u)), 3rem);
  font-weight: 800;
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.tcard {
  margin: 0;
  border: 1px solid rgba(0, 0, 242, 0.18);
  background: #fbfbfe;
  padding: calc(34 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(22 * var(--u));
}
.tcard .stars {
  color: var(--hermes);
  letter-spacing: 4px;
}
.tcard p {
  font-size: max(calc(21 * var(--u)), 0.95rem);
  line-height: 2.1;
  color: #26266b;
  flex: 1;
}
.tcard footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(0, 0, 242, 0.12);
  padding-top: calc(18 * var(--u));
}
.tcard footer b {
  font-weight: 800;
}
.tcard footer span {
  font-size: max(calc(17 * var(--u)), 0.8rem);
  opacity: 0.7;
}

/* trial band + plans */
.trial-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  background: rgba(237, 255, 69, 0.14);
  border: 1px solid rgba(237, 255, 69, 0.5);
  color: var(--hermes-fg);
  padding: calc(18 * var(--u)) calc(26 * var(--u));
  margin: 0 var(--gutter) calc(50 * var(--u));
  border-radius: 6px;
  font-size: max(calc(20 * var(--u)), 0.95rem);
}
.trial-band b {
  color: var(--accent);
  font-weight: 800;
}
.plan .p-tag {
  font-size: max(calc(19 * var(--u)), 0.88rem);
  opacity: 0.7;
  line-height: 1.7;
}
.plan li b {
  font-weight: 800;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  max-width: 860px;
  margin-inline: auto;
  padding: 0 var(--edge) calc(40 * var(--u));
}
.fq {
  border-bottom: 1px solid rgba(0, 0, 242, 0.18);
}
.fq summary {
  list-style: none;
  cursor: pointer;
  padding: calc(26 * var(--u)) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
  font-size: max(calc(23 * var(--u)), 1.05rem);
  user-select: none;
}
.fq summary::-webkit-details-marker {
  display: none;
}
.fq summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s;
  opacity: 0.6;
}
.fq[open] summary::after {
  transform: rotate(45deg);
}
.fq p {
  padding-bottom: calc(26 * var(--u));
  font-size: max(calc(21 * var(--u)), 0.98rem);
  line-height: 2;
  color: #26266b;
  opacity: 0.9;
}
.faq-list.on-blue .fq {
  border-bottom-color: rgba(245, 245, 245, 0.25);
}
.faq-list.on-blue .fq summary::after {
  color: var(--accent);
}
.faq-list.on-blue .fq p {
  color: rgba(245, 245, 245, 0.92);
}
.faq-mini {
  padding-top: calc(40 * var(--u));
}
.faq-mini .paper-head {
  padding-bottom: calc(20 * var(--u));
  padding-top: calc(40 * var(--u));
}

/* how page: audience big cards */
.bigc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  padding-inline: calc(150 * var(--u)) calc(80 * var(--u));
}
.audc {
  border: 1px solid rgba(0, 0, 242, 0.2);
  background: #fbfbfe;
  padding: calc(36 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
}
.audc-ico {
  font-size: 2.2rem;
  line-height: 1;
}
.audc > b {
  font-size: clamp(1.4rem, calc(44 * var(--u)), 2.1rem);
  font-weight: 800;
}
.audc > i {
  font-style: normal;
  font-size: max(calc(18 * var(--u)), 0.84rem);
  opacity: 0.65;
}
.audc ul {
  margin: calc(10 * var(--u)) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
}
.audc li {
  display: flex;
  gap: calc(12 * var(--u));
  align-items: baseline;
  font-size: max(calc(20 * var(--u)), 0.94rem);
  line-height: 1.9;
}
.audc li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
  outline: 1px solid rgba(0, 0, 242, 0.3);
  transform: translateY(-3px);
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding-inline: calc(150 * var(--u)) calc(80 * var(--u));
  padding-bottom: calc(40 * var(--u));
}
.step {
  border-top: 2px solid var(--hermes);
  padding-top: calc(24 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
  align-items: flex-start;
}
.s-no {
  font-size: clamp(3rem, calc(96 * var(--u)), 6rem);
  line-height: 1;
  opacity: 0.16;
  font-weight: 400;
}
.step b {
  font-size: clamp(1.3rem, calc(42 * var(--u)), 2rem);
  font-weight: 800;
}
.step p {
  font-size: max(calc(20 * var(--u)), 0.94rem);
  line-height: 2;
  color: #26266b;
}
.step i {
  font-style: normal;
  font-size: max(calc(16 * var(--u)), 0.76rem);
  font-weight: 700;
  color: var(--hermes);
  opacity: 0.8;
}

/* comparison table */
.cmp-wrap {
  padding: calc(40 * var(--u)) calc(80 * var(--u)) calc(30 * var(--u));
  border-top: 1px solid rgba(0, 0, 242, 0.12);
  margin-top: calc(40 * var(--u));
}
.cmp-wrap .paper-head {
  padding-bottom: calc(50 * var(--u));
}
.cmp {
  border: 1px solid rgba(0, 0, 242, 0.2);
}
.cmp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(0, 0, 242, 0.12);
}
.cmp-row:last-child {
  border-bottom: 0;
}
.cmp-row > * {
  padding: calc(20 * var(--u)) calc(24 * var(--u));
  font-size: max(calc(20 * var(--u)), 0.92rem);
}
.cmp-row > * + * {
  border-inline-start: 1px solid rgba(0, 0, 242, 0.12);
}
.cmp-row span:nth-child(2) {
  opacity: 0.55;
}
.cmp-row b {
  font-weight: 800;
  background: rgba(237, 255, 69, 0.35);
}
.cmp-row.head {
  background: var(--hermes);
  color: #fff;
  font-weight: 800;
}
.cmp-row.head > * + * {
  border-inline-start-color: rgba(245, 245, 245, 0.25);
}

/* pricing page perks */
.perks {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding: 0 var(--gutter) calc(40 * var(--u));
}
.perk {
  border: 1px solid rgba(245, 245, 245, 0.25);
  padding: calc(26 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
}
.perk b {
  font-weight: 800;
  font-size: 1.02rem;
}
.perk span {
  font-size: max(calc(17 * var(--u)), 0.8rem);
  opacity: 0.8;
  line-height: 1.8;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding-inline: calc(150 * var(--u)) calc(80 * var(--u));
  border-top: 1px solid rgba(0, 0, 242, 0.12);
  padding-top: calc(90 * var(--u));
}
.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  border: 1px solid rgba(0, 0, 242, 0.2);
  padding: calc(34 * var(--u)) calc(20 * var(--u));
}
.stat b {
  font-size: clamp(2rem, calc(64 * var(--u)), 3.6rem);
  font-weight: 900;
  line-height: 1;
}
.stat span {
  font-weight: 600;
  opacity: 0.75;
}

/* values */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding-inline: calc(150 * var(--u)) calc(80 * var(--u));
  padding-bottom: calc(40 * var(--u));
}
.value {
  border: 1px solid rgba(0, 0, 242, 0.2);
  background: #fbfbfe;
  padding: calc(36 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
  align-items: flex-start;
}
.value > span {
  font-size: 2rem;
}
.value b {
  font-size: clamp(1.3rem, calc(42 * var(--u)), 2rem);
  font-weight: 800;
}
.value p {
  font-size: max(calc(20 * var(--u)), 0.94rem);
  line-height: 2;
  color: #26266b;
}

/* extra tiles on features page */
.xgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding-inline: calc(150 * var(--u)) calc(80 * var(--u));
  padding-top: calc(80 * var(--u));
}
.xcard {
  border: 1px solid rgba(0, 0, 242, 0.2);
  background: #fbfbfe;
  padding: calc(34 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
  align-items: flex-start;
}
.x-ico {
  font-size: 1.9rem;
}
.xcard h3 {
  font-size: clamp(1.2rem, calc(38 * var(--u)), 1.8rem);
  font-weight: 800;
}
.xcard p {
  font-size: max(calc(19 * var(--u)), 0.9rem);
  line-height: 2;
  color: #26266b;
}

/* legal pages */
.legal {
  max-width: 860px;
  margin-inline: auto;
  padding: 0 var(--edge) calc(80 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(24 * var(--u));
}
.legal h2 {
  font-size: clamp(1.4rem, calc(46 * var(--u)), 2.3rem);
  font-weight: 800;
  margin-top: calc(20 * var(--u));
}
.legal p {
  font-size: max(calc(21 * var(--u)), 1rem);
  line-height: 2.1;
  color: #26266b;
  opacity: 0.9;
}
.legal a {
  text-decoration: underline;
  color: var(--hermes);
}
.legal .legal-note {
  margin-top: calc(30 * var(--u));
  font-size: max(calc(17 * var(--u)), 0.8rem);
  opacity: 0.55;
}

/* nav login link */
.nav-login {
  font-weight: 800;
  font-size: clamp(0.82rem, calc(21 * var(--u)), 1rem);
  opacity: 0.9;
  padding: calc(8 * var(--u)) 0;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}
.nav-login:hover {
  opacity: 1;
}

/* footer columns */
.footer-cols {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: calc(40 * var(--u));
  padding: 0 var(--gutter) calc(40 * var(--u));
}
.fc {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
  align-items: flex-start;
}
.fc b {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: calc(6 * var(--u));
}
.fc a {
  opacity: 0.85;
  font-size: max(calc(18 * var(--u)), 0.85rem);
}
.fc a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.fc-brand .fm-brand {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: calc(4 * var(--u));
}
.fc-brand p {
  font-size: max(calc(18 * var(--u)), 0.86rem);
  line-height: 2;
  opacity: 0.75;
  max-width: 34ch;
}
.footer-meta {
  border-top: 1px solid rgba(245, 245, 245, 0.18);
  padding-top: calc(26 * var(--u));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

/* ============================================================
   Responsive additions for the above
   ============================================================ */
@media (max-width: 1080px) {
  .aud .aud-grid,
  .why,
  .pain-grid,
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .t-grid,
  .stats,
  .perks,
  .xgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    padding-inline: calc(80 * var(--u));
  }
  .bigc,
  .values {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767.98px) {
  .announce {
    font-size: 0.78rem;
    border-radius: 14px;
  }
  .hmeta {
    font-size: 0.68rem;
  }
  .sec {
    padding-inline: calc(20 * var(--u));
    padding-block: calc(56 * var(--u));
  }
  .logos {
    padding-inline: calc(20 * var(--u));
  }
  .logos-row span {
    font-size: 0.8rem;
    padding: 10px 14px;
  }
  .aud .aud-grid,
  .why,
  .pain-grid,
  .t-grid,
  .stats,
  .xgrid,
  .bigc,
  .values,
  .gal-grid {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }
  .mods {
    gap: 10px;
  }
  .mod {
    font-size: 0.82rem;
    padding: 10px 16px;
  }
  .fwide {
    grid-template-columns: 1fr;
    padding-inline: calc(20 * var(--u));
    gap: calc(30 * var(--u));
  }
  .testimonials {
    padding-inline: calc(20 * var(--u));
  }
  .steps {
    grid-template-columns: 1fr;
    padding-inline: calc(20 * var(--u));
  }
  .cmp-wrap {
    padding-inline: calc(20 * var(--u));
    overflow-x: auto;
  }
  .cmp {
    min-width: 560px;
  }
  .trial-band {
    margin-inline: calc(20 * var(--u));
    font-size: 0.88rem;
  }
  .faq-list {
    padding-inline: calc(20 * var(--u));
  }
  .faq-mini .paper-head {
    padding-inline: 0;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    padding-inline: calc(20 * var(--u));
    padding-bottom: calc(30 * var(--u));
  }
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .perks {
    grid-template-columns: 1fr;
    padding-inline: calc(20 * var(--u));
  }
  .stats {
    gap: 16px;
  }
  .stat {
    padding: 22px 12px;
  }
  .xgrid,
  .bigc,
  .values,
  .cmp-wrap {
    padding-inline: calc(20 * var(--u));
  }
  /* comparison table: stacked mini-cards (no horizontal scroll) */
  .cmp-wrap {
    overflow-x: visible;
  }
  .cmp {
    min-width: 0;
    border: 0;
    display: grid;
    gap: calc(14 * var(--u));
  }
  .cmp-row.head {
    display: none;
  }
  .cmp-row {
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgba(0, 0, 242, 0.16);
    border-radius: 16px;
    overflow: hidden;
  }
  .cmp-row > * {
    padding: calc(16 * var(--u));
    font-size: max(calc(17 * var(--u)), 0.84rem);
  }
  .cmp-row > * + * {
    border-inline-start-width: 1px;
  }
  .cmp-row > span:first-child {
    grid-column: 1 / -1;
    border-inline-start: 0;
    background: rgba(0, 0, 242, 0.05);
    border-bottom: 1px solid rgba(0, 0, 242, 0.12);
    color: var(--hermes);
    font-weight: 800;
    font-size: max(calc(18 * var(--u)), 0.9rem);
  }
  .cmp-row > span:nth-child(2),
  .cmp-row > b {
    display: flex;
    flex-direction: column;
    gap: calc(6 * var(--u));
  }
  .cmp-row > span:nth-child(2) {
    opacity: 1;
    border-inline-start: 0;
  }
  .cmp-row > b {
    background: rgba(237, 255, 69, 0.3);
  }
  .cmp-row > span:nth-child(2)::before,
  .cmp-row > b::before {
    font-size: max(calc(13 * var(--u)), 0.62rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    opacity: 0.6;
    color: #26266b;
  }
  .cmp-row > span:nth-child(2)::before {
    content: "الطريقة التقليدية";
  }
  .cmp-row > b::before {
    content: "هيمنة";
  }
}

/* ============================================================
   3s opening splash (home page) — logo intro
   ============================================================ */
.hy-splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--hermes);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(46 * var(--u));
  transition: opacity 0.55s ease;
  cursor: wait;
}
.hy-splash img {
  width: min(52vw, 460px);
  height: auto;
  filter: brightness(0) invert(1);
  animation: hy-splash-pop 0.7s cubic-bezier(0.2, 0.85, 0.3, 1.1) both;
}
.hy-splash .hy-splash-bar {
  width: min(52vw, 460px);
  height: 3px;
  border-radius: 99px;
  background: rgba(245, 245, 245, 0.18);
  overflow: hidden;
  position: relative;
}
.hy-splash .hy-splash-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: right center;
  animation: hy-splash-bar 2.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hy-splash.done {
  opacity: 0;
  pointer-events: none;
}
@keyframes hy-splash-pop {
  from { opacity: 0; transform: scale(0.86) translateY(6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes hy-splash-bar {
  to { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hy-splash { display: none; }
}

/* program explanation page — 3-up module grid (responsive) */
.bigc.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1080px) {
  .bigc.cols-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767.98px) {
  .bigc.cols-3 {
    grid-template-columns: 1fr;
  }
}
