@font-face {
  font-family: "Elya Sans";
  src: url("../fonts/yekanbakh-400.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Elya Sans";
  src: url("../fonts/yekanbakh-600.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Elya Display";
  src: url("../fonts/peyda-display-800.woff") format("woff");
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #101713;
  --paper: #f5f7f2;
  --white: #fcfdf9;
  --gold: #e7bd23;
  --green: #0b6554;
  --cyan: #227982;
  --rose: #a94269;
  --coral: #ad5934;
  --focus: #005f50;
}

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

html {
  direction: rtl;
  overflow: hidden;
  background: var(--paper);
  font-family: "Elya Sans", Tahoma, sans-serif;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Elya Sans", Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 100;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.elya-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--paper);
}

.life-scene,
.scene-wash,
.copy-field {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
}

.life-scene {
  z-index: 0;
  overflow: hidden;
}

.life-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% 50%;
  filter: saturate(0.9) contrast(0.98);
  transform: scale(1.008);
  transition: transform 220ms ease-out;
}

.scene-wash {
  z-index: 1;
  background: rgba(248, 248, 242, 0.14);
}

.copy-field {
  z-index: 2;
  right: 0;
  left: auto;
  width: clamp(500px, 43.5vw, 720px);
  border-inline-start: 1px solid rgba(16, 23, 19, 0.12);
  background: rgba(7, 35, 29, 0.94);
}

.site-header {
  position: absolute;
  z-index: 20;
  inset-block-start: max(22px, env(safe-area-inset-top));
  inset-inline: clamp(26px, 4.6vw, 74px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-block-end: 1px solid rgba(16, 23, 19, 0.19);
  padding-block-end: 10px;
}

.brand-home,
.system-status {
  display: inline-flex;
  align-items: center;
}

.brand-home {
  gap: 9px;
  min-height: 44px;
  font-size: 11px;
  font-weight: 600;
}

.brand-home {
  color: var(--white);
}

.brand-home img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.system-status {
  gap: 8px;
  margin: 0;
  color: rgba(16, 23, 19, 0.69);
  font-size: 10px;
  font-weight: 600;
}

.system-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(11, 101, 84, 0.1);
}

.hero-copy {
  position: absolute;
  z-index: 10;
  inset-block-start: clamp(116px, 15vh, 152px);
  right: clamp(34px, 5.2vw, 84px);
  left: auto;
  width: min(520px, 35vw);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: rgba(252, 253, 249, 0.68);
  font-size: 10px;
  font-weight: 600;
}

.hero-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup > img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-lockup h1 {
  display: flex;
  align-items: flex-end;
  gap: 11px;
  margin: 0;
  line-height: 1;
}

.brand-lockup h1 span {
  margin-block-end: 10px;
  border-block-start: 2px solid var(--gold);
  padding-block-start: 5px;
  color: rgba(252, 253, 249, 0.72);
  font-size: 15px;
  font-weight: 600;
}

.brand-lockup h1 strong {
  color: var(--white);
  font-family: "Elya Display", "Elya Sans", sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 0.9;
}

.hero-promise {
  margin: 18px 0 0;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  color: var(--white);
}

.hero-intro {
  width: min(440px, 100%);
  margin: 6px 0 0;
  color: rgba(252, 253, 249, 0.68);
  font-size: 12px;
  line-height: 1.9;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 226px;
  min-height: 50px;
  margin-block-start: 18px;
  padding-inline: 18px;
  color: var(--ink);
  background: var(--gold);
  font-size: 11px;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.primary-action:hover,
.primary-action.is-active {
  color: var(--ink);
  background: var(--white);
  transform: translateY(-2px);
}

.system-readout {
  width: min(430px, 100%);
  min-height: 37px;
  margin: 16px 0 0;
  border-inline-start: 2px solid rgba(252, 253, 249, 0.2);
  padding-inline-start: 11px;
  color: rgba(252, 253, 249, 0.54);
  font-size: 9px;
  line-height: 1.9;
  transition: opacity 100ms ease, transform 100ms ease;
}

.system-readout.is-changing {
  opacity: 0;
  transform: translateY(2px);
}

.product-constellation {
  position: absolute;
  z-index: 9;
  inset: 0;
  pointer-events: none;
}

.constellation-label {
  position: absolute;
  inset-block-start: clamp(96px, 12vh, 124px);
  right: auto;
  left: clamp(28px, 4.6vw, 74px);
  display: grid;
  gap: 2px;
  margin: 0;
  color: rgba(16, 23, 19, 0.72);
  text-align: start;
}

.constellation-label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Elya Display", "Elya Sans", sans-serif;
  font-size: 17px;
  font-weight: 800;
}

.constellation-label span::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}

.constellation-label small {
  color: rgba(16, 23, 19, 0.52);
  font-size: 10px;
}

.system-origin {
  position: absolute;
  left: 40.2%;
  inset-block-start: 49.5%;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: rgba(16, 23, 19, 0.55);
  font-size: 8px;
  font-weight: 600;
  transform: translate(-50%, -50%);
}

.system-origin i {
  width: 10px;
  height: 10px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(231, 189, 35, 0.12);
}

.system-origin b {
  font-weight: 600;
}

.mobile-system-line {
  display: none;
}

.context-product {
  --accent: var(--green);
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 150px;
  min-height: 44px;
  color: var(--ink);
  text-shadow: 0 1px 10px rgba(252, 253, 249, 0.98);
  transform: translate(-50%, -50%);
  transition: color 180ms ease, transform 180ms ease;
  pointer-events: auto;
}

.context-product.is-mopos {
  --accent: var(--rose);
  left: 18%;
  inset-block-start: 31%;
}

.context-product.is-sofreh {
  --accent: var(--coral);
  left: 21%;
  inset-block-start: 76%;
}

.context-product.is-azmai {
  --accent: var(--cyan);
  left: 51.5%;
  inset-block-start: 79%;
}

.context-product > i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(16, 23, 19, 0.08);
}

.context-product span {
  display: grid;
  gap: 1px;
}

.context-product strong {
  font-family: "Elya Display", "Elya Sans", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.context-product small {
  color: rgba(16, 23, 19, 0.64);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
}

.context-product:hover,
.context-product:focus-visible,
.context-product.is-active {
  color: var(--accent);
  transform: translate(-50%, -50%) translateY(-3px);
}

.site-footer {
  position: absolute;
  z-index: 20;
  inset-inline: clamp(22px, 4.6vw, 74px);
  inset-block-end: max(11px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(16, 23, 19, 0.43);
  font-size: 8px;
}

.site-footer > p {
  margin: 0;
}

.compliance {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.46;
  transition: opacity 180ms ease;
  color: var(--white);
}

.compliance:hover,
.compliance:focus-within {
  opacity: 0.92;
}

.compliance > span {
  font-size: 8px;
  white-space: nowrap;
}

.compliance ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compliance li,
.compliance li > a,
.compliance li > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.compliance li > a,
.compliance li > span {
  position: relative;
}

.compliance img {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: grayscale(1) brightness(3.2);
}

.compliance li b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 5px;
}

.compliance li.is-unavailable img {
  display: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

@media (max-width: 1120px) and (min-width: 821px) {
  .copy-field {
    width: 48vw;
  }

  .hero-copy {
    right: 34px;
    left: auto;
    width: 41vw;
  }

  .brand-lockup h1 strong {
    font-size: 62px;
  }

  .hero-promise {
    font-size: 23px;
  }

  .context-product.is-azmai {
    left: 47%;
  }
}

@media (max-height: 720px) and (min-width: 821px) {
  .hero-copy {
    inset-block-start: 102px;
  }

  .hero-kicker {
    margin-block-end: 8px;
  }

  .brand-lockup > img {
    width: 50px;
    height: 50px;
  }

  .brand-lockup h1 strong {
    font-size: 60px;
  }

  .hero-promise {
    margin-block-start: 12px;
    font-size: 22px;
  }

  .hero-intro {
    font-size: 11px;
  }

  .primary-action {
    min-height: 46px;
    margin-block-start: 12px;
  }

  .system-readout {
    position: relative;
    margin-block-start: 10px;
  }
}

@media (max-width: 820px) {
  .life-scene {
    inset: 0 0 auto;
    height: 43%;
  }

  .life-scene img {
    object-position: 38% 48%;
    filter: saturate(0.92) contrast(1);
    transform: scale(1.012);
  }

  .scene-wash {
    inset: 0 0 auto;
    height: 43%;
    background: rgba(8, 24, 20, 0.08);
  }

  .copy-field {
    inset: 40% 0 0;
    width: auto;
    border-block-start: 1px solid rgba(16, 23, 19, 0.1);
    border-inline-start: 0;
    background: #092b24;
  }

  .site-header {
    inset-block-start: max(8px, env(safe-area-inset-top));
    inset-inline: 12px;
    min-height: 42px;
    border-color: rgba(255, 255, 255, 0.56);
    padding-block-end: 5px;
    color: var(--white);
    text-shadow: 0 1px 9px rgba(0, 0, 0, 0.34);
  }

  .brand-home {
    min-height: 44px;
    gap: 6px;
    font-size: 10px;
  }

  .brand-home img {
    width: 28px;
    height: 28px;
  }

  .system-status {
    color: rgba(255, 255, 255, 0.94);
    font-size: 9px;
  }

  .system-status i {
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(231, 189, 35, 0.18);
  }

  .hero-copy {
    inset-block-start: 42.5%;
    inset-inline: 18px;
    width: auto;
    max-width: 520px;
    margin-inline: auto;
  }

  .hero-kicker {
    margin-block-end: 8px;
    font-size: 9px;
  }

  .hero-kicker::before {
    width: 22px;
    height: 1px;
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-lockup > img {
    width: 43px;
    height: 43px;
  }

  .brand-lockup h1 {
    gap: 8px;
  }

  .brand-lockup h1 span {
    margin-block-end: 7px;
    padding-block-start: 3px;
    font-size: 11px;
  }

  .brand-lockup h1 strong {
    font-size: 51px;
  }

  .hero-promise {
    margin-block-start: 10px;
    font-size: 18px;
  }

  .hero-intro {
    width: min(360px, 100%);
    margin-block-start: 3px;
    font-size: 10px;
    line-height: 1.75;
  }

  .primary-action {
    min-width: 215px;
    min-height: 46px;
    margin-block-start: 11px;
    padding-inline: 14px;
    font-size: 10px;
  }

  .system-readout {
    position: relative;
    width: min(370px, 100%);
    min-height: 31px;
    margin-block-start: 10px;
    font-size: 8px;
    line-height: 1.75;
  }

  .system-readout::after {
    content: "";
    position: absolute;
    inset-block-start: 100%;
    inset-inline-start: -2px;
    width: 1px;
    height: 48px;
    background: rgba(252, 253, 249, 0.16);
  }

  .product-constellation {
    inset: auto 16px max(74px, 9vh);
    height: 126px;
  }

  .constellation-label {
    inset: 0 0 auto auto;
    gap: 0;
    color: rgba(252, 253, 249, 0.94);
  }

  .constellation-label span {
    font-size: 12px;
  }

  .constellation-label span::after {
    width: 16px;
    height: 1px;
  }

  .constellation-label small {
    color: rgba(252, 253, 249, 0.52);
    font-size: 8px;
  }

  .system-origin {
    display: none;
  }

  .mobile-system-line {
    position: absolute;
    inset-block-start: 28px;
    left: 50%;
    display: block;
    width: min(300px, 94%);
    height: 72px;
    color: rgba(16, 23, 19, 0.18);
    transform: translateX(-50%);
  }

  .mobile-system-line path:first-child {
    stroke: rgba(252, 253, 249, 0.24);
    stroke-width: 1;
  }

  .mobile-system-line path:last-child {
    stroke: rgba(231, 189, 35, 0.78);
    stroke-width: 1.5;
  }

  .context-product {
    min-width: 88px;
    min-height: 44px;
    justify-content: center;
    gap: 5px;
    text-align: start;
    color: var(--white);
    text-shadow: none;
  }

  .context-product.is-sofreh {
    left: 17%;
    inset-block-start: 78%;
  }

  .context-product.is-mopos {
    left: 50%;
    inset-block-start: 52%;
  }

  .context-product.is-azmai {
    left: 83%;
    inset-block-start: 78%;
  }

  .context-product > i {
    width: 6px;
    height: 6px;
    border-width: 1px;
    box-shadow: 0 0 0 4px rgba(16, 23, 19, 0.06);
  }

  .context-product strong {
    font-size: 13px;
  }

  .context-product small {
    color: rgba(252, 253, 249, 0.58);
    font-size: 8px;
    white-space: nowrap;
  }

  .site-footer {
    inset-inline: 12px;
    inset-block-end: max(5px, env(safe-area-inset-bottom));
    font-size: 7px;
  }

  .site-footer > p {
    color: rgba(252, 253, 249, 0.46);
  }

  .compliance {
    gap: 4px;
  }

  .compliance > span {
    display: none;
  }

  .compliance ul {
    gap: 2px;
  }

  .compliance img {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 360px) {
  .site-header {
    inset-inline: 9px;
  }

  .brand-home span,
  .system-status {
    font-size: 8px;
  }

  .hero-copy {
    inset-inline: 12px;
  }

  .brand-lockup > img {
    width: 38px;
    height: 38px;
  }

  .brand-lockup h1 strong {
    font-size: 45px;
  }

  .hero-promise {
    font-size: 16px;
  }

  .hero-intro {
    font-size: 9px;
  }

  .primary-action {
    min-width: 205px;
    min-height: 46px;
  }

  .product-constellation {
    inset-inline: 10px;
  }

  .context-product {
    min-width: 82px;
  }

  .context-product strong {
    font-size: 12px;
  }
}

@media (max-height: 700px) and (max-width: 820px) {
  .life-scene,
  .scene-wash {
    height: 34%;
  }

  .copy-field {
    inset-block-start: 31%;
  }

  .hero-copy {
    inset-block-start: 32.5%;
  }

  .hero-kicker,
  .hero-intro {
    display: none;
  }

  .brand-lockup > img {
    width: 36px;
    height: 36px;
  }

  .brand-lockup h1 strong {
    font-size: 43px;
  }

  .hero-promise {
    margin-block-start: 7px;
    font-size: 15px;
  }

  .primary-action {
    min-height: 46px;
    margin-block-start: 8px;
  }

  .system-readout {
    min-height: 26px;
    margin-block-start: 7px;
    font-size: 7px;
  }

  .system-readout::after {
    height: 58px;
  }

  .product-constellation {
    bottom: max(68px, env(safe-area-inset-bottom));
    height: 96px;
  }

  .constellation-label small,
  .context-product small {
    display: none;
  }

  .mobile-system-line {
    inset-block-start: 18px;
    height: 62px;
  }

  .context-product.is-mopos {
    inset-block-start: 48%;
  }

  .context-product.is-sofreh,
  .context-product.is-azmai {
    inset-block-start: 76%;
  }
}

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