@font-face {
  font-family: "Yekan";
  src: url("../fonts/Yekan-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Yekan";
  src: url("../fonts/Yekan-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --paper-2: #ebe7dc;
  --surface: #fffdf8;
  --ink: #111410;
  --ink-2: #1a1f1c;
  --steel: #5b645f;
  --line: #c9c5b9;
  --line-dark: rgba(17, 20, 16, .18);
  --amber: #d79b16;
  --amber-bright: #f3bd43;
  --blue: #165dff;
  --oxide: #c4472d;
  --success: #167557;
  --danger: #b62828;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(24, 28, 25, .08);
  --shadow-md: 0 22px 70px rgba(24, 28, 25, .13);
  --shadow-heavy: 0 34px 110px rgba(13, 16, 14, .22);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --container: min(1440px, calc(100% - 64px));
  --header-h: 88px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --font-fa: "Yekan", Tahoma, Arial, sans-serif;
  --font-latin: Inter, Arial, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 82% 5%, rgba(22, 93, 255, .07), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-fa);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 1000;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .22;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(25vw - 1px), rgba(17, 20, 16, .025) calc(25vw - 1px), rgba(17, 20, 16, .025) 25vw);
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a,
select,
summary,
[role="button"] {
  cursor: pointer;
}

button {
  border: 0;
}

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

p,
h1,
h2,
h3,
h4,
figure,
blockquote {
  margin-block: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 16px;
  background: var(--blue);
  color: var(--white);
  transform: translateY(-180%);
  transition: transform .2s ease;
}

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

.shell {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(80px, 10vw, 160px);
}

.section--compact {
  padding-block: clamp(56px, 7vw, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  color: var(--steel);
  font-family: var(--font-latin);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow--amber {
  color: var(--amber-bright);
}

.eyebrow--blue {
  color: var(--blue);
}

.display-title,
.section-title {
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.section-title {
  max-width: 900px;
  margin-top: 22px;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
}

.section-lead {
  max-width: 700px;
  margin-top: 24px;
  color: #46504b;
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
}

.latin {
  direction: ltr;
  font-family: var(--font-latin);
  letter-spacing: .04em;
}

.numeric {
  direction: ltr;
  font-family: var(--font-latin);
  font-variant-numeric: tabular-nums;
}

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s var(--ease-out), box-shadow .22s ease;
}

.button::after {
  position: absolute;
  inset: 0;
  background: var(--blue);
  content: "";
  transform: translateX(102%);
  transition: transform .42s var(--ease-out);
}

[dir="rtl"] .button::after {
  transform: translateX(-102%);
}

.button > * {
  position: relative;
  z-index: 1;
}

.button:hover::after {
  transform: translateX(0);
}

.button:hover {
  box-shadow: 0 16px 36px rgba(22, 93, 255, .22);
  transform: translateY(-2px);
}

.button--amber {
  background: var(--amber);
  color: var(--ink);
}

.button--amber::after {
  background: var(--amber-bright);
}

.button--ghost {
  border-color: currentColor;
  background: transparent;
  color: var(--ink);
}

.button--ghost::after {
  background: var(--ink);
}

.button--ghost:hover {
  color: var(--white);
  box-shadow: none;
}

.button--sm {
  min-height: 44px;
  padding: 9px 17px;
  font-size: .9rem;
}

.button--icon {
  width: 48px;
  min-height: 48px;
  padding: 0;
}

.button--icon::after {
  display: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  transition: gap .22s var(--ease-out), color .22s ease;
}

.text-link:hover {
  gap: 18px;
  color: var(--blue);
}

.site-header {
  position: sticky;
  z-index: 900;
  inset-block-start: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  min-height: var(--header-h);
  padding-inline: max(32px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid var(--line-dark);
  background: rgba(243, 240, 232, .96);
  transition: min-height .28s ease, box-shadow .28s ease, background .28s ease;
}

.site-header.is-scrolled,
.site-header[data-scrolled="true"] {
  min-height: 72px;
  background: rgba(255, 253, 248, .98);
  box-shadow: 0 12px 36px rgba(17, 20, 16, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  min-height: 52px;
}

.brand img {
  width: 48px;
  aspect-ratio: 1;
  object-fit: contain;
}

.brand__text {
  display: grid;
  direction: ltr;
  font-family: var(--font-latin);
  line-height: 1;
}

.brand__text strong {
  font-size: .94rem;
  letter-spacing: .12em;
}

.brand__text small {
  margin-top: 6px;
  color: var(--steel);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .32em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 34px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #2d3531;
  font-size: .92rem;
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 3px;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a.is-active::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.header-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding-inline: 15px;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  font-size: .84rem;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.header-chip:hover,
.header-chip[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.header-chip__count {
  display: grid;
  min-width: 22px;
  min-height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: .72rem;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line-dark);
  background: transparent;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle span {
  display: block;
  margin-block: 5px;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.scroll-progress {
  position: fixed;
  z-index: 1200;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
}

.page-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding-inline: max(32px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: var(--ink);
  color: rgba(255, 255, 255, .76);
  font-size: .78rem;
}

.page-kicker strong {
  color: var(--amber-bright);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr .7fr .7fr 1fr;
  gap: clamp(34px, 6vw, 90px);
  padding-block: clamp(72px, 9vw, 130px);
}

.footer-brand p {
  max-width: 410px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .62);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  direction: ltr;
  font-family: var(--font-latin);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.footer-logo img {
  width: 54px;
}

.footer-column h3 {
  margin-bottom: 22px;
  color: var(--amber-bright);
  font-family: var(--font-latin);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column button {
  display: flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  transition: color .2s ease, transform .2s ease;
}

.footer-column a:hover,
.footer-column button:hover {
  color: var(--white);
  transform: translateX(-5px);
}

.newsletter {
  display: flex;
  margin-top: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.newsletter input {
  width: 100%;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--white);
  outline: 0;
}

.newsletter button {
  min-width: 48px;
  background: transparent;
  color: var(--amber-bright);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .5);
  font-size: .78rem;
}

.footer-wordmark {
  position: absolute;
  inset-inline-end: -2vw;
  inset-block-end: -3.8vw;
  color: rgba(255, 255, 255, .025);
  font-family: var(--font-latin);
  font-size: clamp(5rem, 14vw, 14rem);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.dialog {
  width: min(920px, calc(100% - 32px));
  max-height: min(88vh, 860px);
  padding: 0;
  border: 0;
  background: var(--surface);
  box-shadow: var(--shadow-heavy);
  color: var(--ink);
}

.dialog::backdrop {
  background: rgba(9, 12, 10, .78);
  backdrop-filter: blur(4px);
}

.dialog__close {
  position: absolute;
  z-index: 3;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-latin);
  font-size: 1.5rem;
}

.dialog__body {
  padding: clamp(28px, 5vw, 64px);
}

.toast {
  position: fixed;
  z-index: 1800;
  inset-inline-end: 24px;
  inset-block-end: 24px;
  max-width: min(420px, calc(100vw - 48px));
  padding: 15px 20px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity .25s ease, transform .35s var(--ease-out);
}

.toast.is-visible,
.toast[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

.cursor-glow {
  position: fixed;
  z-index: 1500;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 93, 255, .11), transparent 66%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity .25s ease;
  mix-blend-mode: multiply;
}

.cursor-glow.is-active {
  opacity: 1;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.js [data-reveal="clip"] {
  clip-path: inset(0 0 100% 0);
  opacity: 1;
  transform: none;
  transition: clip-path .9s var(--ease-out);
}

.js [data-reveal].is-visible,
.js [data-reveal][data-visible="true"] {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateY(0);
}

.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}

.js [data-stagger].is-visible > *,
.js [data-stagger][data-visible="true"] > * {
  opacity: 1;
  transform: translateY(0);
}

.js [data-stagger].is-visible > *:nth-child(2),
.js [data-stagger][data-visible="true"] > *:nth-child(2) { transition-delay: .06s; }
.js [data-stagger].is-visible > *:nth-child(3),
.js [data-stagger][data-visible="true"] > *:nth-child(3) { transition-delay: .12s; }
.js [data-stagger].is-visible > *:nth-child(4),
.js [data-stagger][data-visible="true"] > *:nth-child(4) { transition-delay: .18s; }
.js [data-stagger].is-visible > *:nth-child(5),
.js [data-stagger][data-visible="true"] > *:nth-child(5) { transition-delay: .24s; }
.js [data-stagger].is-visible > *:nth-child(6),
.js [data-stagger][data-visible="true"] > *:nth-child(6) { transition-delay: .30s; }
.js [data-stagger].is-visible > *:nth-child(7),
.js [data-stagger][data-visible="true"] > *:nth-child(7) { transition-delay: .36s; }
.js [data-stagger].is-visible > *:nth-child(8),
.js [data-stagger][data-visible="true"] > *:nth-child(8) { transition-delay: .42s; }

@media (max-width: 1180px) {
  :root {
    --container: min(100% - 44px, 1100px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 22px;
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    z-index: 850;
    inset: var(--header-h) 0 auto;
    display: grid;
    justify-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    padding: 20px 22px 34px;
    border-bottom: 1px solid var(--line-dark);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity .22s ease, transform .3s var(--ease-out);
  }

  .site-nav.is-open,
  .site-nav[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 56px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .header-actions {
    position: absolute;
    inset-inline-end: 82px;
  }

  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 30px, 680px);
    --header-h: 72px;
  }

  body::before,
  .cursor-glow {
    display: none;
  }

  .section {
    padding-block: 76px;
  }

  .site-header {
    min-height: var(--header-h);
    padding-inline: 15px;
  }

  .brand img {
    width: 42px;
  }

  .brand__text strong {
    font-size: .78rem;
  }

  .brand__text small {
    font-size: .5rem;
  }

  .header-actions {
    inset-inline-end: 70px;
  }

  .header-chip {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .header-chip > span:not(.header-chip__count),
  .header-chip > .header-chip__label {
    display: none;
  }

  .header-chip__count {
    position: absolute;
    inset-block-start: 2px;
    inset-inline-end: 0;
    min-width: 17px;
    min-height: 17px;
    font-size: .58rem;
  }

  .page-kicker {
    padding-inline: 15px;
    font-size: .68rem;
  }

  .page-kicker span:last-child {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 42px 24px;
  }

  .footer-brand,
  .footer-column:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 20px;
  }
}

@media (max-width: 480px) {
  .brand__text {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-column:last-child {
    grid-column: auto;
  }

  .button {
    width: 100%;
  }
}

@media (hover: none) {
  .button:hover,
  .footer-column a:hover,
  .footer-column button:hover {
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js [data-reveal],
  .js [data-reveal="clip"],
  .js [data-stagger] > * {
    clip-path: none;
    opacity: 1;
    transform: none;
  }
}
