/* Deraya Public — Black & White Purist System */

@import url("https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@400;700&display=swap");

:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --black: #F3F1EC;
  --white: #0A0A0A;
  --max: 1440px;
  --section: 120px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hero-accent: #E2B15A;
  --spin-0: #E4C56A;
  --spin-1: #6EC8D4;
  --spin-2: #E28B74;
  --spin-3: #7EA8E6;
  --plan-25: #E4C56A;
  --plan-75: #1F7A74;
  --plan-199: #7EA8E6;
}

html[data-theme="light"] {
  color-scheme: light;
  --black: #161412;
  --white: #F6F3EC;
  --hero-accent: #9A6B1A;
  --spin-0: #9A6B1A;
  --spin-1: #1F7A74;
  --spin-2: #B54A32;
  --spin-3: #3D5A8A;
  --plan-25: #A67C2D;
  --plan-75: #6EC8D4;
  --plan-199: #3B5C9A;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: "Readex Pro", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

#bw-nav {
  position: relative;
  z-index: 100;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--white) 86%, transparent);
  backdrop-filter: saturate(1.2) blur(18px);
  -webkit-backdrop-filter: saturate(1.2) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) auto minmax(9rem, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-inline: clamp(20px, 3vw, 40px);
}

.brand {
  display: flex;
  align-items: center;
  color: var(--black);
  min-width: 0;
  justify-self: start;
}

.brand-mark {
  display: none;
}

.brand-word {
  font-family: "Aref Ruqaa", "Cairo", serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 32px);
  font-size: 0.8rem;
  font-weight: 500;
}

.nav-links a:not(.btn-nav) {
  position: relative;
  white-space: nowrap;
  color: color-mix(in srgb, var(--black) 62%, transparent);
  transition: color .22s var(--ease);
}

.nav-links a:not(.btn-nav)::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width .28s var(--ease);
}

[dir="ltr"] .nav-links a:not(.btn-nav)::after {
  right: auto;
  left: 0;
}

.nav-links a:not(.btn-nav):hover,
.nav-links a.active {
  color: var(--black);
}

.nav-links a:not(.btn-nav):hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  align-self: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-login {
  padding: 0 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--black) 62%, transparent);
  white-space: nowrap;
  transition: color .22s var(--ease);
}

.nav-login:hover {
  color: var(--black);
}

.icon-btn {
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  max-width: 38px;
  max-height: 38px;
  padding: 0;
  margin: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--black) 32%, transparent);
  background: transparent;
  color: var(--black);
  border-radius: 50%;
  flex: 0 0 38px;
  align-self: center;
  line-height: 0;
  overflow: hidden;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.icon-btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.icon-btn-svg {
  width: 16px;
  height: 16px;
}

.theme-toggle .icon-btn-svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

html[data-theme="dark"] .theme-toggle .icon-btn-svg {
  fill: currentColor;
}

.lang-toggle-mark {
  font: 700 0.68rem "Inter", "Readex Pro", sans-serif;
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-drawer-toggles {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  height: 38px;
  min-height: 38px;
  padding: 0 16px;
  font-weight: 700;
  font-size: .8rem;
  border: 1px solid var(--black);
  border-radius: 2px;
  white-space: nowrap;
  transition: background .25s, color .25s;
}

.btn-nav:hover {
  background: var(--white);
  color: var(--black);
}

.nav-toggle,
.nav-drawer,
.nav-scrim,
.nav-drawer-close {
  display: none;
}

.nav-drawer:not(.is-open),
.nav-scrim:not(.is-open) {
  display: none !important;
}

@media (max-width: 1199px) {
  .nav-links > .hide-mobile,
  .nav-login {
    display: none;
  }
}

/* ─── Shared ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 32px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  font-weight: 700;
  font-size: .95rem;
  border-radius: 2px;
  transition: background .25s, color .25s;
}

.btn:hover {
  background: var(--white);
  color: var(--black);
}

.btn-outline {
  background: var(--white);
  color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.section {
  padding: var(--section) 0;
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-light {
  background: var(--white);
  color: var(--black);
}

h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 20px;
  letter-spacing: -.03em;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.section-head {
  margin-bottom: 40px;
}

.section-copy {
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.85;
}

.icon {
  width: 28px;
  height: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── Inner pages ─── */
.page-main {
  padding-top: 64px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.page-hero {
  padding: calc(var(--section) * .65) 0 calc(var(--section) * .35);
  border-bottom: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
}

.page-back,
.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 28px;
  opacity: .55;
  letter-spacing: .04em;
}

.page-back:hover,
.crumbs a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -.04em;
  margin-bottom: 16px;
  font-weight: 800;
}

.page-hero .meta {
  font: 600 .68rem "Inter", sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: .48;
}

.page-hero .section-copy {
  max-width: 62ch;
  font-size: 1.06rem;
  line-height: 1.8;
  opacity: .78;
}

.page-body {
  padding: 8px 0 var(--section);
  flex: 1;
}

body.inner-page .page-hero {
  padding: 56px 0 48px;
}

body.folio-page[data-page="sectors"] { --hero-accent: var(--spin-0); }
body.folio-page[data-page="features"] { --hero-accent: var(--spin-1); }
body.folio-page[data-page="pricing"] { --hero-accent: var(--spin-3); }
body.folio-page[data-page="about"] { --hero-accent: var(--spin-0); }
body.folio-page[data-page="contact"] { --hero-accent: var(--spin-2); }

body.folio-page .page-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
  border-bottom: 0;
}

body.folio-page .page-hero::before {
  content: "D";
  position: absolute;
  inset-inline-end: -6%;
  top: 8%;
  font-family: "Aref Ruqaa", serif;
  font-size: min(48vw, 320px);
  line-height: 0.7;
  color: var(--black);
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
}

body.folio-page .page-hero .container {
  position: relative;
  z-index: 1;
}

body.folio-page .page-hero h1 {
  font-family: "Cairo", "Readex Pro", sans-serif;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.28em;
}

body.folio-page .page-hero .folio-accent {
  color: var(--hero-accent, var(--spin-0));
}

body.folio-page .page-hero .section-copy {
  max-width: 38rem;
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 0;
  opacity: 0.78;
}

body.folio-page .page-hero .hero-actions {
  margin-top: 28px;
}

body.folio-page .page-hero--docked {
  padding: 72px 0 0;
}

body.folio-page .page-hero--docked::before {
  opacity: 0.04;
  top: auto;
  bottom: -18%;
}

.folio-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
  max-width: 52rem;
}

.folio-index a {
  font-size: 1.02rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--black) 70%, transparent);
  text-underline-offset: 5px;
}

.folio-index a:hover,
.folio-index a:focus-visible {
  color: var(--black);
  text-decoration: underline;
}

.folio-catalog {
  display: grid;
}

.folio-row {
  position: relative;
  isolation: isolate;
  padding: 72px 0;
  scroll-margin-top: 96px;
  --row-tint: var(--spin-0);
}

.folio-row[data-i="0"] { --row-tint: var(--spin-0); }
.folio-row[data-i="1"] { --row-tint: var(--spin-1); }
.folio-row[data-i="2"] { --row-tint: var(--spin-2); }
.folio-row[data-i="3"] { --row-tint: var(--spin-3); }

.folio-row::before {
  content: "";
  position: absolute;
  inset-inline: 14%;
  top: 0;
  height: 1px;
  background: linear-gradient(
    to left,
    transparent,
    color-mix(in srgb, var(--row-tint) 46%, transparent),
    transparent
  );
  pointer-events: none;
}

.folio-row::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 55% at 50% 0%,
    color-mix(in srgb, var(--row-tint) 22%, transparent),
    transparent 72%
  );
}

html[data-theme="light"] .folio-row::after {
  background: radial-gradient(
    ellipse 70% 55% at 50% 0%,
    color-mix(in srgb, var(--row-tint) 14%, transparent),
    transparent 74%
  );
}

.folio-row-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px 56px;
  align-items: start;
}

.folio-row-title {
  font-family: "Cairo", "Readex Pro", sans-serif;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--row-tint);
  margin: 0;
  max-width: none;
}

.folio-row-copy {
  max-width: none;
  padding-bottom: 6px;
}

.folio-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.folio-chips li {
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--black) 22%, transparent);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.folio-row-copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 62ch;
  color: color-mix(in srgb, var(--black) 82%, transparent);
}

.folio-feats {
  display: grid;
}

.folio-feat {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 20px 48px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
}

.folio-feat h2 {
  font-family: "Cairo", "Readex Pro", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

.folio-feat-copy {
  max-width: 48ch;
}

.folio-feat-lead {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.7;
  margin: 0 0 10px;
}

.folio-feat-copy p:last-child {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.85;
  color: color-mix(in srgb, var(--black) 78%, transparent);
}

.folio-feat--lead {
  padding: 8px 0 56px;
  border-top: 0;
  align-items: start;
}

.folio-feat--lead h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: none;
  color: var(--spin-1);
}

.folio-feat--lead .folio-feat-lead {
  font-size: 1.2rem;
}

.folio-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0 0 72px;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
}

.folio-pillars li {
  padding: 28px 18px 12px;
  text-align: center;
  border-inline-end: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
}

.folio-pillars li:last-child {
  border-inline-end: 0;
}

.folio-pillars h3 {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  line-height: 1.3;
}

.folio-pillars p {
  margin: 0 auto;
  font-size: 0.92rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--black) 76%, transparent);
  max-width: 28ch;
}

.folio-pillars li:nth-child(1) h3 { color: var(--spin-0); }
.folio-pillars li:nth-child(2) h3 { color: var(--spin-1); }
.folio-pillars li:nth-child(3) h3 { color: var(--spin-2); }
.folio-pillars li:nth-child(4) h3 { color: var(--spin-3); }

.folio-essay {
  display: grid;
  gap: 0;
}

.folio-essay article {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: 16px 48px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
}

.folio-essay article:first-child {
  border-top: 0;
  padding-top: 8px;
}

.folio-essay article h2 {
  font-family: "Cairo", "Readex Pro", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 16ch;
}

.folio-essay article p {
  margin: 0;
  max-width: 62ch;
  font-size: 1.06rem;
  line-height: 1.9;
  color: color-mix(in srgb, var(--black) 82%, transparent);
}

body.folio-page .pricing-row {
  max-width: none;
  gap: 16px;
  padding-top: 18px;
}

body.folio-page .plan {
  padding: 40px 32px;
  overflow: visible;
}

.folio-ledger-wrap {
  margin-top: 56px;
  overflow-x: auto;
}

.folio-ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.folio-ledger th,
.folio-ledger td {
  padding: 16px 18px;
  text-align: start;
  border-bottom: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
}

.folio-ledger thead th {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.folio-ledger tbody th {
  font-weight: 700;
  width: 28%;
}

.folio-ledger td {
  font-family: "Inter", "Cairo", sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.folio-ledger tbody tr:last-child th,
.folio-ledger tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-foot {
  max-width: 52ch;
  margin: 28px 0 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--black) 62%, transparent);
}

body.folio-page .cta-band {
  margin-top: 24px;
  padding-top: 72px;
  text-align: start;
}

body.folio-page .contact-folio {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "back back"
    "head form"
    "info form";
  column-gap: 64px;
  row-gap: 8px;
  align-items: start;
  padding-bottom: var(--section);
}

body.folio-page .contact-folio > .page-back,
body.folio-page .contact-folio > .crumbs {
  grid-area: back;
}

body.folio-page .contact-head {
  grid-area: head;
  padding-top: 8px;
}

body.folio-page .contact-head h1 {
  font-family: "Cairo", "Readex Pro", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 10ch;
}

body.folio-page .contact-head .section-copy {
  max-width: 36rem;
  margin: 0;
}

body.folio-page .contact-info {
  grid-area: info;
  border: 0;
  padding: 28px 0 0;
}

body.folio-page .contact-info h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

body.folio-page .contact-form {
  grid-area: form;
  padding: 36px 36px 32px;
  border-color: color-mix(in srgb, var(--black) 16%, transparent);
  background: color-mix(in srgb, var(--black) 3.5%, var(--white));
}

.content-block {
  max-width: 760px;
}

.content-block h2 {
  font-size: 1.4rem;
  margin: 40px 0 12px;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p {
  margin-bottom: 16px;
  line-height: 1.85;
}
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card-bw {
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  padding: 28px;
  transition: background .3s, color .3s;
}

.card-bw:hover {
  background: var(--black);
  color: var(--white);
}

.card-bw .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
}

.card-bw p {
  font-size: .88rem;
  margin-top: 8px;
  line-height: 1.7;
}

/* ─── Homepage: Wayl-scale type on a black field ─── */
body.home-page {
  --rail: 32px;
  --home-ink: var(--black);
  --home-ink-dim: color-mix(in srgb, var(--black) 62%, transparent);
  --home-line: color-mix(in srgb, var(--black) 12%, transparent);
  background: var(--white);
  color: var(--home-ink);
}

body.home-page .home-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--rail);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: color-mix(in srgb, var(--black) 72%, transparent);
  border-bottom: 1px solid var(--home-line);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0 clamp(20px, 3vw, 40px);
}

html[data-theme="light"] body.home-page .home-rail {
  background: var(--black);
  color: var(--white);
  border-bottom-color: var(--black);
}

body.home-page .home-rail:hover {
  color: var(--black);
}

html[data-theme="light"] body.home-page .home-rail:hover {
  color: var(--white);
  opacity: 0.88;
}

body.home-page .nav {
  top: var(--rail);
  height: 64px;
}

body.home-page .section-light,
body.home-page .section-dark,
body.home-page .brand-reveal {
  background: var(--white);
  color: var(--home-ink);
}

body.home-page .feature {
  border-inline-start-color: var(--home-line);
}

body.home-page .feature:nth-child(n+4) {
  border-top-color: var(--home-line);
}

body.home-page .feature:hover {
  background: color-mix(in srgb, var(--black) 6%, var(--white));
  color: var(--home-ink);
}

body.home-page .pillar-grid::before,
body.home-page .pillar-grid::after {
  background: var(--home-line);
}

body.home-page .employee-card {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

body.home-page .employee-top {
  border-bottom-color: color-mix(in srgb, var(--white) 28%, transparent);
}

body.home-page .avatar {
  border-color: color-mix(in srgb, var(--white) 40%, transparent);
  color: var(--white);
}

body.home-page .quick button {
  color: var(--white);
  background: transparent;
  border-color: color-mix(in srgb, var(--white) 32%, transparent);
}

body.home-page .employee-name h3 {
  color: var(--white);
}

body.home-page .employee-name p,
body.home-page .status {
  color: color-mix(in srgb, var(--white) 78%, transparent);
}

body.home-page .status::before {
  background: var(--white);
}

body.home-page .quick button:hover {
  background: var(--white);
  color: var(--black);
}

body.home-page .plan.pro {
  background: var(--home-ink);
  color: var(--white);
}

body.home-page .plan.pro .popular {
  background: var(--white);
  color: var(--home-ink);
  border-color: var(--home-ink);
}

body.home-page .plan.pro .btn {
  background: var(--white);
  color: var(--home-ink);
  border-color: var(--white);
}

body.home-page .plan.pro .btn:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

body.home-page main > .section:not(.hero) {
  position: relative;
  isolation: isolate;
}

body.home-page main > .section:not(.hero) > .container {
  position: relative;
  z-index: 1;
}

body.home-page main > .section:not(.hero)::before {
  content: "";
  position: absolute;
  inset-inline: 12%;
  top: 0;
  height: 1px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to left,
    transparent,
    color-mix(in srgb, var(--section-tint, var(--hero-accent)) 42%, transparent),
    transparent
  );
}

body.home-page main > .section:not(.hero)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 78% 42% at 50% 0%,
      color-mix(in srgb, var(--section-tint, var(--hero-accent)) 16%, transparent),
      transparent 72%
    );
}

html[data-theme="light"] body.home-page main > .section:not(.hero)::after {
  background:
    radial-gradient(
      ellipse 78% 42% at 50% 0%,
      color-mix(in srgb, var(--section-tint, var(--hero-accent)) 11%, transparent),
      transparent 74%
    );
}

body.home-page #sectors { --section-tint: var(--spin-0); }
body.home-page #features { --section-tint: var(--spin-1); }
body.home-page #employee { --section-tint: var(--spin-2); }
body.home-page #pricing { --section-tint: var(--spin-3); }
body.home-page #why { --section-tint: var(--spin-0); }
body.home-page #faq { --section-tint: var(--spin-1); }

/* ─── Hero (landing) ─── */
.hero {
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

body.home-page .hero,
body.home-page .hero.section {
  min-height: calc(100svh - var(--rail));
  height: auto;
  overflow: visible;
  padding: calc(96px + var(--rail)) 0 112px;
  justify-content: flex-start;
}

body.home-page .hero::before {
  content: "";
  position: absolute;
  inset-inline-end: -12%;
  bottom: -28%;
  width: min(70vw, 820px);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--hero-accent) 28%, transparent) 0%, transparent 68%);
  filter: blur(28px);
  opacity: 0.55;
  transition: background 0.9s var(--ease);
}

html[data-theme="light"] body.home-page .hero::before {
  opacity: 0.4;
}

.hero[data-spin="0"] { --hero-accent: var(--spin-0); }
.hero[data-spin="1"] { --hero-accent: var(--spin-1); }
.hero[data-spin="2"] { --hero-accent: var(--spin-2); }
.hero[data-spin="3"] { --hero-accent: var(--spin-3); }

body.home-page[data-spin="0"] { --hero-accent: var(--spin-0); }
body.home-page[data-spin="1"] { --hero-accent: var(--spin-1); }
body.home-page[data-spin="2"] { --hero-accent: var(--spin-2); }
body.home-page[data-spin="3"] { --hero-accent: var(--spin-3); }

.hero-d {
  position: absolute;
  inset-inline-end: -18%;
  top: 38%;
  transform: translateY(-50%);
  width: min(92vw, 1100px);
  pointer-events: none;
  z-index: 0;
  color: var(--hero-accent);
  filter: blur(22px);
  -webkit-mask-image: radial-gradient(ellipse 68% 62% at 42% 48%, #000 28%, transparent 78%);
  mask-image: radial-gradient(ellipse 68% 62% at 42% 48%, #000 28%, transparent 78%);
  transition: color 0.9s var(--ease);
}

html[data-theme="light"] .hero-d {
  filter: blur(32px);
}

.hero-d svg {
  width: 100%;
  height: auto;
  overflow: visible;
  fill: none;
  stroke: none;
}

.hero-d-letter {
  fill: currentColor;
  stroke: none;
  opacity: 0.16;
}

html[data-theme="light"] .hero-d-letter {
  opacity: 0.22;
}

.hero-d-outline {
  display: none;
}

.hero-mark {
  display: none;
}

.hero-stage {
  position: relative;
  z-index: 2;
  padding-block: 32px;
  max-width: min(calc(100% - 48px), 1440px);
}

body.home-page .hero-stage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero-shape {
  position: absolute;
  width: min(38vw, 420px);
  aspect-ratio: 1;
  border: 1px solid var(--black);
  border-radius: 50%;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  opacity: .025;
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 7vh, 88px);
  width: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 38rem;
  position: relative;
  z-index: 1;
  padding-inline-start: 0;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: min(42vw, 420px);
}

body.home-page .hero-media,
body.home-page .hero-video {
  display: none;
}

.hero-video {
  width: min(100%, 400px);
  max-height: min(58svh, 480px);
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
  filter: contrast(1.08) brightness(1.12);
  pointer-events: none;
}

body.home-page .hero-video {
  width: 100%;
  max-height: min(70svh, 640px);
  mix-blend-mode: screen;
  filter: grayscale(1) contrast(1.15) brightness(0.92);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font: 600 0.72rem "Readex Pro", sans-serif;
  letter-spacing: 0.08em;
  color: var(--hero-accent);
}

.hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero-meta {
  font: 500 0.68rem "Inter", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.55;
}

.hero h1 {
  font-family: "Cairo", "Readex Pro", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

body.home-page .hero h1 {
  font-size: clamp(1.9rem, 1.2rem + 3.6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: none;
}

body.home-page .hero-offer {
  margin-top: clamp(36px, 4.5vh, 56px);
  width: min(100%, 42rem);
  padding: 32px 36px 28px;
  border: 1px solid color-mix(in srgb, var(--black) 18%, transparent);
  border-inline-start: 2px solid var(--hero-accent);
  background: color-mix(in srgb, var(--black) 4.5%, transparent);
  box-shadow: 0 18px 48px color-mix(in srgb, #000 18%, transparent);
}

body.home-page .hero-offer .hero-desc {
  margin: 0;
  max-width: 36rem;
  font-family: "Cairo", "Readex Pro", sans-serif;
  font-size: clamp(1.12rem, 1.15vw, 1.28rem);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0;
  text-wrap: pretty;
  opacity: 1;
  color: color-mix(in srgb, var(--black) 94%, transparent);
}

body.home-page .hero-offer .hero-actions {
  margin-top: 28px;
}

body.home-page .hero-offer .btn-hero {
  min-height: 52px;
  padding: 0 32px;
  letter-spacing: 0.01em;
  font-family: "Cairo", "Readex Pro", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.hero-title-line {
  display: block;
}

.hero-title-line--spin {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.28em;
  white-space: nowrap;
  max-width: 100%;
}

.hero-spin {
  display: inline-block;
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--hero-accent);
  font-weight: 800;
  padding: 0;
  border: 0;
  line-height: inherit;
  min-width: var(--spin-fit, 8ch);
  will-change: opacity, transform, filter, color;
  transition:
    opacity 0.48s var(--ease),
    transform 0.48s var(--ease),
    filter 0.48s var(--ease),
    color 0.8s var(--ease);
}

.hero-spin.is-out {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28%);
}

.hero-sub {
  font-family: "Cairo", "Readex Pro", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.5;
  opacity: 0.88;
  max-width: 26rem;
}

.hero-desc {
  font-family: "Readex Pro", sans-serif;
  font-size: 0.94rem;
  font-weight: 400;
  max-width: 28rem;
  margin: 0 0 22px;
  line-height: 1.7;
  opacity: 0.68;
}

body.home-page .hero-desc {
  font-size: 1.05rem;
  max-width: 34rem;
  opacity: 0.72;
  margin: 0 0 22px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: auto;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 48px;
  padding: 0 22px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 2px;
}

body.home-page .btn-hero {
  min-height: 48px;
  padding: 0 22px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}

body.home-page .btn-hero:hover {
  background: transparent;
  color: var(--black);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.48;
  transition: opacity .25s var(--ease);
}

.hero-scroll:hover {
  opacity: 1;
}

.hero-scroll-label {
  font-family: "Readex Pro", sans-serif;
}

.hero-scroll-track {
  position: relative;
  width: 1px;
  height: 56px;
  background: color-mix(in srgb, var(--black) 22%, transparent);
  overflow: hidden;
}

.hero-scroll-thumb {
  position: absolute;
  top: -30%;
  left: 0;
  width: 100%;
  height: 28%;
  background: var(--black);
  animation: hero-scroll-move 1.8s var(--ease) infinite;
}

@keyframes hero-scroll-move {
  0% { top: -30%; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

#sectors {
  scroll-margin-top: calc(var(--rail, 0px) + 64px + 18px);
}

.hero-line {
  width: 100%;
  height: 1px;
  background: var(--black);
  margin-top: auto;
}

/* ─── Sectors ─── */
.sector-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.sector-card {
  flex: 1 1 240px;
  max-width: 320px;
  min-height: 220px;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .3s, color .3s;
  cursor: pointer;
  text-decoration: none;
}

.sector-card:nth-child(5),
.sector-card:nth-child(6),
.sector-card:nth-child(7) {
  grid-column: auto;
}

.sector-card:hover {
  background: var(--black);
  color: var(--white);
}

.sector-card .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
}

.sector-link {
  font-size: .8rem;
  font-weight: 700;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Page sectors: 2-col asymmetric */
.cards-grid .card-bw:nth-child(odd) {
  grid-column: span 5;
}

.cards-grid .card-bw:nth-child(even) {
  grid-column: span 7;
}

.cards-grid .card-bw:nth-child(5) {
  grid-column: 2 / span 5;
}

.cards-grid .card-bw:nth-child(6) {
  grid-column: 7 / span 5;
}

.cards-grid .card-bw:nth-child(7) {
  grid-column: 1 / span 12;
  max-width: 520px;
}

/* ─── Features ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  min-height: 200px;
  padding: 40px 32px;
  border-inline-start: 1px solid var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: background .3s, color .3s;
  color: inherit;
  text-decoration: none;
}

.feature:nth-child(3n) {
  border-inline-start: none;
}

.feature:nth-child(n+4) {
  border-top: 1px solid var(--white);
}

.feature .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 28px;
}

.feature-num {
  font: 600 .65rem "Inter", sans-serif;
  letter-spacing: .15em;
  margin-bottom: 10px;
}

.feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.feature:hover {
  background: var(--white);
  color: var(--black);
}

.section-dark h2 {
  color: var(--white);
}

.section-dark .section-copy {
  color: var(--white);
}

/* Features page cards */
.cards-grid.features-page .card-bw {
  grid-column: span 4;
  min-height: 240px;
}

.cards-grid.features-page .card-bw:nth-child(n+4) {
  grid-column: span 4;
}

.section-dark .card-bw {
  border-color: var(--white);
  background: var(--black);
  color: var(--white);
}

.section-dark .card-bw:hover {
  background: var(--white);
  color: var(--black);
}

/* ─── Employee ─── */
.employee-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 9vw;
  align-items: center;
}

.employee-copy .section-copy {
  margin: 28px 0 40px;
}

.employee-card {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  padding: 36px;
  min-height: 420px;
}

.employee-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--white);
  margin-bottom: 28px;
}

.avatar {
  width: 72px;
  height: 72px;
  border: 1px solid var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.avatar .icon {
  width: 32px;
  height: 32px;
}

.status {
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
}

.employee-name h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 4px;
}

.employee-name p {
  font-size: .88rem;
}

.quick {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.quick button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--white);
  color: var(--white);
  text-align: right;
  font-size: .88rem;
  font-weight: 600;
  transition: background .25s, color .25s;
}

.quick button:hover {
  background: var(--white);
  color: var(--black);
}

/* ─── Pricing ─── */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  max-width: 1080px;
  margin-inline: auto;
}

.plan {
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  padding: 36px 28px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan.pro {
  background: var(--black);
  color: var(--white);
}

.plan-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.popular {
  position: absolute;
  top: 0;
  right: 20px;
  transform: translateY(-50%);
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
  padding: 6px 12px;
  font-size: .68rem;
  font-weight: 800;
}

.plan.pro .popular {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
}

.price {
  font: 800 clamp(2.6rem, 5vw, 3.6rem) "Inter", sans-serif;
  margin: 16px 0 28px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.price-num {
  font: inherit;
}

.plan[data-plan="basic"] .price-num { color: var(--plan-25); }
.plan[data-plan="pro"] .price-num { color: var(--plan-75); }
.plan[data-plan="enterprise"] .price-num { color: var(--plan-199); }

.price small {
  font: 600 0.82rem "Readex Pro", "Cairo", sans-serif;
  letter-spacing: 0;
  color: color-mix(in srgb, var(--black) 52%, transparent);
  margin-inline-start: 4px;
}

.plan.pro .price small {
  color: color-mix(in srgb, var(--white) 52%, transparent);
}

.plan ul {
  list-style: none;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
  font-size: .88rem;
  flex: 1;
}

.plan li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan li::before {
  content: "—";
  font-weight: 800;
}

.plan .btn {
  width: 100%;
  margin-top: auto;
}

.plan.pro .btn {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.plan.pro .btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
}

/* ─── Why Deraya ─── */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.pillar-grid::before,
.pillar-grid::after {
  content: "";
  position: absolute;
  background: var(--white);
}

.pillar-grid::before {
  width: 1px;
  top: 0;
  bottom: 0;
  left: 50%;
}

.pillar-grid::after {
  height: 1px;
  left: 0;
  right: 0;
  top: 50%;
}

.pillar {
  padding: 48px 40px;
  min-height: 240px;
}

.pillar .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
}

.pillar p {
  font-size: .92rem;
  max-width: 380px;
  line-height: 1.8;
}

.section-dark .pillar h3 {
  color: var(--white);
}

/* ─── FAQ ─── */
.faq-section .section-head,
.faq-more {
  text-align: center;
}

.faq-section .section-copy {
  margin-inline: auto;
}

.faq-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-list {
  width: 100%;
  max-width: 820px;
  border-top: 1px solid var(--black);
}

.faq-item {
  border-bottom: 1px solid var(--black);
}

.faq-question {
  width: 100%;
  padding: 26px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.45;
  color: inherit;
  background: none;
  transition: opacity .25s;
}

.faq-question>span:first-child {
  flex: 1;
  max-width: 640px;
}

.faq-question:hover {
  opacity: .7;
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .3s;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease), padding .45s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 280px;
  padding-bottom: 26px;
}

.faq-answer p {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  font-size: .95rem;
  line-height: 1.85;
  opacity: .78;
}

.faq-more {
  margin-top: 36px;
  font-size: .92rem;
  font-weight: 600;
  opacity: .82;
}

.faq-more a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-more a:hover {
  opacity: .7;
}

/* ─── Brand reveal (scroll) ─── */
.brand-reveal {
  background: var(--white);
  overflow: visible;
}

.brand-reveal-track {
  display: block;
  padding: 0;
  position: relative;
  min-height: 55vh;
  min-height: 55dvh;
}

.brand-reveal-word {
  position: sticky;
  bottom: 0;
  width: 100%;
  height: calc(100vh - 72px);
  height: calc(100dvh - 72px);
  min-height: 380px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  padding-inline: clamp(2px, 0.5vw, 10px);
  direction: ltr;
  user-select: none;
  pointer-events: none;
  container-type: size;
}

.brand-reveal-letter {
  min-width: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  font-family: "Inter", sans-serif;
  font-weight: 100;
  font-size: min(84cqh, 13.8cqw);
  line-height: 0.88;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14%);
  transition:
    opacity .7s var(--ease),
    transform .8s var(--ease);
}

.brand-reveal-letter.is-on {
  opacity: 0.13;
  transform: translateY(0);
}

.brand-reveal-word[data-count="7"] {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.brand-reveal-word[data-count="7"] .brand-reveal-letter {
  font-size: min(76cqh, 10.6cqw);
  letter-spacing: 0.03em;
}

/* ─── Final CTA ─── */
.final {
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.decision h2 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: -.05em;
  margin-bottom: 20px;
}

.decision p {
  font-size: 1.15rem;
  margin-bottom: 44px;
}

.cta-band {
  padding: var(--section) 0;
  border-top: 1px solid var(--black);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 12px;
}

.cta-band p {
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--black);
  padding: 32px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: .78rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  text-decoration: underline;
}

.section-more {
  display: inline-flex;
  margin-top: 14px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Auth ─── */
.auth-body .auth-page {
  padding-top: 64px;
  min-height: 100svh;
}

.auth-page .auth-card,
.auth-page .reveal {
  opacity: 1;
  transform: none;
}

.auth-page {
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--white);
  direction: ltr; /* شبكة ثابتة: aside يسار، النموذج يمين — بدون انزياح RTL */
}

.auth-aside {
  background: var(--black);
  color: var(--white);
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  height: 100%;
}

.auth-aside::before {
  content: "";
  position: absolute;
  width: min(55vw, 420px);
  aspect-ratio: 1;
  border: 1px solid var(--white);
  border-radius: 50%;
  top: -12%;
  left: -18%;
  opacity: .08;
  pointer-events: none;
}

.auth-aside-inner {
  position: relative;
  z-index: 1;
  max-width: 420px;
  direction: rtl;
  text-align: right;
  width: 100%;
}

.auth-aside .brand {
  color: var(--white);
  margin-bottom: 40px;
}

.auth-aside .brand-mark {
  border-color: var(--white);
  color: var(--white);
}

.auth-meta {
  font: 600 .72rem "Inter", sans-serif;
  letter-spacing: .14em;
  margin-bottom: 20px;
  opacity: .72;
}

.auth-aside h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.04em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.auth-aside p {
  font-size: 1rem;
  line-height: 1.85;
  opacity: .88;
  max-width: 36ch;
}

.auth-aside-line {
  width: 56px;
  height: 1px;
  background: var(--white);
  margin: 28px 0;
}

.auth-main {
  display: grid;
  place-items: center;
  justify-items: center;
  align-content: center;
  padding: clamp(32px, 5vw, 64px) 24px;
  position: relative;
  min-width: 0;
  width: 100%;
  direction: rtl;
}

.auth-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--black) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, var(--black) 1px, transparent 1px) 0 0 / 72px 100%;
  opacity: .025;
  pointer-events: none;
}

.auth-card {
  width: min(100%, 440px);
  border: 1px solid var(--black);
  padding: clamp(32px, 4vw, 48px);
  background: var(--white);
  position: relative;
  z-index: 1;
}

.auth-logo {
  margin-bottom: 32px;
}

.auth-logo h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}

.auth-logo p {
  font-size: .92rem;
  line-height: 1.7;
  opacity: .82;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: .82rem;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  font: inherit;
  border-radius: 2px;
  transition: background .2s, color .2s;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: color-mix(in srgb, var(--black) 42%, transparent);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.form-row .btn {
  flex: 1;
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--black);
}

.step-dot.active {
  background: var(--black);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--black);
  font-size: .88rem;
}

.auth-footer a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 28px;
  opacity: .72;
}

.auth-back:hover {
  opacity: 1;
  text-decoration: underline;
}

.auth-link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: .82rem;
}

.auth-link-row a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.contact-info {
  border: 1px solid var(--black);
  padding: 40px 32px;
}

.contact-info h3 {
  font-size: 1.5rem;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}

.contact-intro {
  font-size: 1rem;
  line-height: 1.8;
  opacity: .88;
  margin-bottom: 8px;
}

.contact-info p {
  font-size: .92rem;
  margin-bottom: 8px;
}

.contact-dl {
  margin: 32px 0 0;
  display: grid;
  gap: 22px;
}

.contact-dl dt {
  font: 700 .68rem "Inter", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 6px;
}

.contact-dl dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-dl a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.contact-list span {
  font-size: .88rem;
  font-weight: 600;
}

.contact-form {
  border: 1px solid var(--black);
  padding: 40px 32px;
}

.contact-note {
  font-size: .82rem;
  opacity: .62;
  margin: 0 0 20px;
}

/* ─── Mobile ─── */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    overflow: visible;
    padding-bottom: 20px;
  }

  body.home-page .hero {
    min-height: 0;
    height: auto;
    overflow: visible;
    padding-bottom: 96px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding-block: 36px 32px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-media {
    order: 1;
    min-height: 180px;
    max-height: 260px;
    margin-top: 4px;
  }

  body.home-page .hero-media {
    width: min(70vw, 380px);
    opacity: 0.18;
    transform: translateY(-38%);
  }

  .hero-video {
    width: min(68vw, 260px);
    max-height: 240px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  body.home-page .hero-stage,
  body.home-page .hero h1,
  body.home-page .hero-title-line {
    min-width: 0;
    max-width: 100%;
  }

  body.home-page .hero h1 {
    font-size: clamp(1.7rem, 1rem + 3.4vw, 2.6rem);
    line-height: 1.28;
    width: 100%;
    overflow-wrap: break-word;
  }

  html[dir="ltr"] body.home-page .hero h1 {
    font-size: clamp(1.45rem, 5.6vw, 2.05rem);
  }

  body.home-page .hero-title-line--spin {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    white-space: normal;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 0.02em;
  }

  body.home-page .hero-spin {
    display: block;
    flex: none;
    width: auto;
    min-width: 0 !important;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: break-word;
    padding-block: 0.08em;
    line-height: 1.28;
  }

  .employee-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .plan {
    min-width: 0;
    min-height: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  body.folio-page .page-hero {
    padding: 56px 0 48px;
  }

  body.folio-page .page-hero h1,
  body.folio-page .contact-head h1 {
    max-width: none;
    font-size: clamp(2.1rem, 9vw, 3.1rem);
  }

  .folio-row {
    padding: 48px 0;
  }

  .folio-row-inner,
  .folio-essay article {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .folio-feat,
  .folio-feat--lead {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }

  .folio-feat--lead {
    padding-bottom: 36px;
  }

  .folio-pillars {
    grid-template-columns: 1fr 1fr;
  }

  .folio-pillars li {
    padding: 24px 16px 12px;
  }

  .folio-pillars li:nth-child(2n) {
    border-inline-end: 0;
  }

  body.folio-page .contact-folio {
    grid-template-columns: 1fr;
    grid-template-areas:
      "back"
      "head"
      "form"
      "info";
    row-gap: 20px;
  }

  body.folio-page .contact-form {
    padding: 24px;
  }

  body.folio-page .contact-info {
    padding-top: 8px;
  }

  .story-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 36px 0;
  }

  .story-num {
    padding-top: 0;
  }

  .cards-grid .card-bw,
  .cards-grid .card-bw:nth-child(n) {
    grid-column: span 6;
  }

  .cards-grid.features-page .card-bw {
    grid-column: span 6;
  }
}

@media (max-width: 980px) {
  .nav-inner {
    display: flex;
    grid-template-columns: none;
    justify-content: space-between;
    gap: 12px;
    padding-inline: 18px;
  }

  .nav-links,
  .nav-tools {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid var(--black);
    background: var(--white);
    color: var(--black);
    padding: 0;
  }

  .nav-toggle-bars {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 10px;
  }

  .nav-toggle-bars span {
    display: block;
    height: 1px;
    width: 100%;
    background: var(--black);
    transition: transform .28s var(--ease), opacity .2s;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .nav {
    z-index: 140;
    height: calc(64px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }

  .nav-scrim {
    display: block;
    position: fixed;
    top: calc(64px + env(safe-area-inset-top, 0px));
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 145;
    background: color-mix(in srgb, var(--white) 28%, transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s var(--ease);
  }

  .nav-scrim.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(64px + env(safe-area-inset-top, 0px) + 10px);
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    inset-inline-end: 12px;
    z-index: 160;
    width: min(calc(100vw - 24px), 20.5rem);
    background: var(--white);
    color: var(--black);
    border: 1px solid color-mix(in srgb, var(--black) 16%, transparent);
    padding: 18px 20px 16px;
    transform: translateX(12px);
    opacity: 0;
    transition: transform .32s var(--ease), opacity .32s var(--ease);
  }

  body.home-page .nav-scrim {
    top: calc(var(--rail) + 64px + env(safe-area-inset-top, 0px));
  }

  body.home-page .nav-drawer {
    top: calc(var(--rail) + 64px + env(safe-area-inset-top, 0px) + 10px);
  }

  [dir="rtl"] .nav-drawer {
    transform: translateX(-12px);
  }

  .nav-drawer.is-open,
  [dir="rtl"] .nav-drawer.is-open {
    transform: none;
    opacity: 1;
    display: flex;
  }

  .nav-drawer:not(.is-open) {
    display: none !important;
  }

  .nav-drawer-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
  }

  .nav-drawer-close {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
    color: color-mix(in srgb, var(--black) 48%, transparent);
    font: 600 .68rem "Inter", "Readex Pro", sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 4px 0;
  }

  .nav-drawer-close:hover {
    color: var(--black);
    background: transparent;
  }

  .nav-drawer-meta {
    display: block;
    margin: 0;
    font: 600 .62rem "Inter", sans-serif;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: .42;
  }

  .nav-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    overflow: auto;
    padding: 8px 0 12px;
  }

  .nav-drawer-links a,
  .nav-drawer-links a.hide-mobile,
  .nav-drawer-link {
    display: grid;
    grid-template-columns: 1.7rem 1fr;
    align-items: baseline;
    gap: 10px;
    min-height: 0;
    padding: 11px 0;
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: -.01em;
    border-bottom: 0;
    border-top: 1px solid color-mix(in srgb, var(--black) 9%, transparent);
    white-space: nowrap;
    color: color-mix(in srgb, var(--black) 78%, transparent);
    text-decoration: none;
  }

  .nav-drawer-links a:first-child {
    border-top: 0;
  }

  .nav-drawer-idx {
    font: 500 .62rem "Inter", sans-serif;
    letter-spacing: .14em;
    opacity: .38;
  }

  .nav-drawer-links a::after {
    display: none;
  }

  .nav-drawer-links a:hover,
  .nav-drawer-links a.active {
    color: var(--black);
  }

  .nav-drawer-links a.active .nav-drawer-idx {
    opacity: .7;
  }

  .nav-drawer-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding-top: 14px;
    border-top: 1px solid color-mix(in srgb, var(--black) 10%, transparent);
  }

  .nav-drawer-login {
    font-size: .82rem;
    font-weight: 600;
    margin-inline-start: auto;
    color: color-mix(in srgb, var(--black) 62%, transparent);
  }

  .nav-drawer-login:hover {
    color: var(--black);
  }

  .nav-drawer-cta,
  .nav-drawer-foot .btn-nav {
    width: 100%;
    text-align: center;
    min-height: 40px;
    height: 40px;
    font-size: .82rem;
    order: 3;
  }

  .nav-drawer-toggles {
    justify-content: flex-start;
    gap: 8px;
  }

  .nav-drawer-toggles .icon-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    max-width: 34px;
    max-height: 34px;
    flex-basis: 34px;
  }
}

@media (max-width: 768px) {
  :root {
    --section: 64px;
  }

  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero {
    min-height: auto;
    padding-top: calc(64px + env(safe-area-inset-top, 0px));
  }

  body.home-page .hero {
    padding: calc(96px + var(--rail) + env(safe-area-inset-top, 0px)) 0 72px;
    min-height: 0;
    justify-content: flex-start;
  }

  body.home-page .hero-offer {
    margin-top: 28px;
    width: 100%;
    padding: 24px 22px 22px;
  }

  body.home-page .hero-offer .hero-desc {
    font-size: 1.05rem;
    line-height: 1.95;
  }

  .hero-scroll {
    bottom: 16px;
  }

  .hero-shape,
  .hero-mark {
    display: none;
  }

  body.home-page .hero-d {
    width: min(120vw, 640px);
    inset-inline-end: -28%;
    top: 42%;
    opacity: 1;
    filter: blur(14px);
  }

  .hero-copy {
    padding-inline-start: 0;
    max-width: 100%;
  }

  body.home-page .hero-media {
    display: none;
  }

  .cta-band .btn,
  .employee-copy .btn {
    width: 100%;
  }

  body.home-page .hero-actions,
  body.home-page .hero-actions .btn-hero {
    width: auto;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 2.55rem);
  }

  body.home-page .hero h1 {
    font-size: clamp(1.5rem, 1rem + 3vw, 2.05rem);
    line-height: 1.3;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
  }

  html[dir="ltr"] body.home-page .hero h1,
  html[lang="en"] body.home-page .hero h1 {
    font-size: clamp(1.32rem, 5.4vw, 1.75rem);
  }

  body.home-page .hero-title-line--spin {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    white-space: normal;
    width: 100%;
    max-width: 100%;
  }

  body.home-page .hero-spin {
    display: block;
    flex: none;
    min-width: 0 !important;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: break-word;
    padding-block: 0.08em;
    line-height: 1.3;
  }

  body.home-page .home-rail {
    font-size: 0.72rem;
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .section-head {
    margin-bottom: 36px;
  }

  .page-hero {
    padding: 40px 0 28px;
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  body.folio-page .page-hero {
    padding: 48px 0 36px;
  }

  body.folio-page .page-hero h1,
  body.folio-page .contact-head h1,
  .folio-row-title,
  .folio-feat--lead h2 {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .folio-pillars {
    grid-template-columns: 1fr;
  }

  .folio-pillars li,
  .folio-pillars li:nth-child(2n) {
    border-inline-end: 0;
    padding: 24px 12px 12px;
    border-top: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
  }

  .sector-card {
    grid-column: span 12 !important;
    min-height: 140px;
  }

  .sector-card:nth-child(7) {
    grid-column: span 12 !important;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    border: none !important;
    border-top: 1px solid var(--white) !important;
    min-height: auto;
    padding: 24px 16px;
  }

  .feature:nth-child(odd) {
    border-inline-start: none !important;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .pillar-grid::before,
  .pillar-grid::after {
    display: none;
  }

  .pillar {
    border-bottom: 1px solid var(--white);
    padding: 36px 0;
  }

  .employee-card {
    min-height: 0;
    padding: 24px;
  }

  .quick button {
    min-height: 44px;
    text-align: start;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .faq-question {
    text-align: start;
    justify-content: space-between;
    padding-block: 18px;
  }

  .plan {
    min-width: 0;
    min-height: 0;
    width: 100%;
  }

  .footer-inner,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .cards-grid .card-bw,
  .cards-grid .card-bw:nth-child(n) {
    grid-column: span 12;
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    min-height: auto;
    padding: 32px 24px 28px;
  }

  .auth-aside h2 {
    font-size: 1.75rem;
  }

  .auth-aside p {
    max-width: none;
  }

  .auth-main {
    padding: 24px 16px 40px;
  }

  .auth-card {
    width: 100%;
    padding: 28px 20px;
  }

  .auth-card .btn {
    width: 100%;
  }

  input, select, textarea {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-spin,
  .hero-spin.is-out {
    transition: none;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero-d {
    filter: blur(12px);
  }

  .hero-scroll-thumb {
    animation: none;
    top: 36%;
  }

  .brand-reveal-letter {
    font-size: min(62svh, 12.5vw);
    font-weight: 200;
    opacity: 0.12;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .brand-reveal-word[data-count="7"] .brand-reveal-letter {
    font-size: min(48svh, 10.5vw);
    letter-spacing: 0.03em;
  }

  .nav-drawer,
  .nav-scrim,
  .nav-toggle-bars span {
    transition: none;
  }
}

/* ─── Desktop D cursor ─── */
.deraya-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483000;
  width: 26px;
  height: auto;
  pointer-events: none;
  opacity: 0;
  color: var(--black);
  will-change: transform;
  filter: drop-shadow(0 0 0.4px var(--white));
}

.deraya-cursor.is-on {
  opacity: 1;
}

.deraya-cursor.is-text,
.deraya-cursor:not(.is-on) {
  opacity: 0;
}

.deraya-cursor svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: none;
  stroke: none;
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}

.deraya-cursor text {
  stroke-linejoin: round;
}

.deraya-cursor-halo {
  fill: var(--white);
  stroke: var(--white);
  stroke-width: 2.2;
  paint-order: stroke fill;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.deraya-cursor-halo text {
  stroke-width: 4;
}

.deraya-cursor-ink {
  fill: currentColor;
  stroke: none;
}

html.has-deraya-cursor,
html.has-deraya-cursor * {
  cursor: none !important;
}

html.has-deraya-cursor input,
html.has-deraya-cursor textarea,
html.has-deraya-cursor select,
html.has-deraya-cursor [contenteditable="true"] {
  cursor: text !important;
}

@media (hover: none), (pointer: coarse) {
  html.has-deraya-cursor,
  html.has-deraya-cursor * {
    cursor: auto !important;
  }

  html.has-deraya-cursor a,
  html.has-deraya-cursor button {
    cursor: pointer !important;
  }

  .deraya-cursor {
    display: none !important;
  }
}
/* Sector landing + resources SEO pages */
.land-flows {
  margin: 0.75rem 0 0;
  padding-inline-start: 1.25rem;
  display: grid;
  gap: 0.55rem;
  max-width: 42rem;
  color: var(--ink-muted, #444);
  line-height: 1.65;
}
.land-note {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  max-width: 42rem;
  font-size: 0.92rem;
  line-height: 1.55;
}
.land-faq .faq-list {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
  max-width: 42rem;
}
.land-faq .faq-item {
  border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  padding: 0.35rem 0 0.65rem;
}
.land-faq summary {
  cursor: pointer;
  font-weight: 600;
}
.land-faq details p {
  margin: 0.5rem 0 0;
  color: var(--ink-muted, #444);
  line-height: 1.6;
}
.land-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.land-related a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.hero-actions .btn + a:not(.btn) {
  align-self: center;
  margin-inline-start: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.folio-row-title a {
  color: inherit;
  text-decoration: none;
}
.folio-row-title a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
