/* ==========================================================================
   bnamc.ir — Apple-style system on the AMC brand palette
   Brand tokens: brand-color-palette-handoff.md
   ========================================================================== */

:root {
  /* Brand */
  --brand-primary: #044d7e;
  --brand-navy-deep: #032a45;
  --brand-cyan: #02d1e1;
  --brand-teal: #018bac;
  --brand-ocean: #02a3c0;
  --gradient-brand: linear-gradient(110deg, #018bac 0%, #02a3c0 45%, #02d1e1 100%);
  --gradient-ink: linear-gradient(100deg, #044d7e 0%, #01709a 55%, #018bac 100%);

  /* Apple-like neutrals */
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --ink-4: #86868b;
  --canvas: #ffffff;
  --tile: #f5f5f7;
  --hairline: #d2d2d7;

  /* Interactive (AA on white and #f5f5f7) */
  --accent: #00799a;
  --accent-hover: #04608a;
  --link: #00799a;

  --font: "SF Arabic", "SFArabic", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;

  --nav-h: 5.25rem;
  --wide: 80rem;
  --content: 61.25rem;
  --text: 42.5rem;
  --radius-xl: 1.75rem;
  --radius-lg: 1.25rem;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@font-face {
  font-family: "SF Arabic";
  src:
    local("SF Arabic"),
    local("SFArabic"),
    url("../fonts/SF-Arabic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--brand-ocean);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgb(2 209 225 / 0.28);
  color: var(--ink);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 0.6rem;
  text-decoration: none;
}

/* ==========================================================================
   Global nav — frosted, sticky
   ========================================================================== */

.gnav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: box-shadow 300ms var(--ease);
}

/* Frosted layer lives on a pseudo-element so the header itself never becomes
   the containing block for the fixed mobile menu panel. */
.gnav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(251 251 253 / 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background-color 300ms var(--ease);
}

.gnav.is-scrolled {
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.08);
}

.gnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: 1.375rem;
}

.gnav__brand {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

.gnav__brand:hover {
  text-decoration: none;
}

.gnav__brand img {
  height: 4.1rem;
  width: auto;
}

.gnav__menu {
  flex: 1;
}

.gnav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gnav__list > li > a,
.submenu-trigger {
  display: inline-flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgb(0 0 0 / 0.8);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 200ms var(--ease);
}

.gnav__list > li > a:hover,
.submenu-trigger:hover,
.gnav__list a[aria-current="page"] {
  color: #000;
  text-decoration: none;
}

.gnav__list > li > a[aria-current="page"] {
  font-weight: 600;
}

.submenu-trigger::after {
  content: "";
  width: 0.36rem;
  height: 0.36rem;
  margin-inline-start: 0.45rem;
  margin-top: -0.2rem;
  border-right: 1.25px solid currentColor;
  border-bottom: 1.25px solid currentColor;
  transform: rotate(45deg);
  transition: transform 240ms var(--ease);
}

.has-submenu {
  position: relative;
}

.has-submenu.is-open .submenu-trigger::after {
  transform: rotate(-135deg);
  margin-top: 0.3rem;
}

.submenu {
  position: absolute;
  inset-inline-start: -1.25rem;
  top: calc(100% - 0.25rem);
  min-width: 14rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: rgb(251 251 253 / 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-radius: 1rem;
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.05),
    0 18px 40px rgb(0 0 0 / 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.4rem) scale(0.98);
  transform-origin: top;
  transition:
    opacity 220ms var(--ease),
    transform 220ms var(--ease),
    visibility 220ms;
}

.has-submenu.is-open > .submenu,
.has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.submenu a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 0.65rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  background: rgb(0 0 0 / 0.05);
  text-decoration: none;
}

.submenu a[aria-current="page"] {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  margin-inline-end: -0.75rem;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before {
  position: absolute;
  inset-inline: 0.85rem;
  height: 1.25px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 300ms var(--ease);
}

.nav-toggle__bars {
  top: calc(50% - 3.5px);
}

.nav-toggle__bars::before {
  content: "";
  inset-inline: 0;
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  transform: translateY(3.5px) rotate(45deg);
}

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

/* ==========================================================================
   Buttons & links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition:
    background-color 200ms var(--ease),
    color 200ms var(--ease),
    transform 200ms var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  border-color: currentColor;
  color: var(--accent);
}

.btn--ghost:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--brand-primary);
}

.btn--light:hover {
  background: rgb(255 255 255 / 0.86);
  color: var(--brand-primary);
}

.btn--outline-light {
  border-color: rgb(255 255 255 / 0.85);
  color: #fff;
}

.btn--outline-light:hover {
  background: #fff;
  color: var(--brand-primary);
}

/* Apple-style "Learn more ›" link — chevron points left in RTL */
.more {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--link);
}

.more::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-inline-start: 0.35rem;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(225deg);
  transition: translate 200ms var(--ease);
}

.more:hover::after {
  translate: -3px 0;
}

.more--light {
  color: #6fe6ef;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

/* ==========================================================================
   Home hero
   ========================================================================== */

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--nav-h));
  min-height: max(40rem, calc(100svh - var(--nav-h)));
  overflow: hidden;
  color: #fff;
  background: #032f50;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 70%;
  transform: scale(1.06);
  animation: hero-settle 2.4s var(--ease-out) both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgb(3 30 52 / 0.55) 0%, rgb(3 30 52 / 0.05) 45%, transparent 60%),
    linear-gradient(to top, rgb(2 20 36 / 0.55) 0%, transparent 30%);
  pointer-events: none;
}

.hero__copy {
  align-self: start;
  justify-self: center;
  width: min(100% - 2.5rem, 52rem);
  padding-top: clamp(3.5rem, 10vh, 7rem);
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 600;
  color: #7ff0f7;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6.2vw, 4.75rem);
  font-weight: 700;
  line-height: 1.22;
}

.hero__sub {
  margin: 0 auto 2rem;
  max-width: 34rem;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.88);
}

.hero .btn--primary {
  background: #fff;
  color: var(--brand-primary);
}

.hero .btn--primary:hover {
  background: rgb(255 255 255 / 0.86);
}

.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  translate: -50% 0;
  width: 1.5rem;
  height: 2.4rem;
  border: 1.5px solid rgb(255 255 255 / 0.6);
  border-radius: 999px;
}

.hero__scroll::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 50%;
  width: 3px;
  height: 0.45rem;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: scroll-dot 2s var(--ease) infinite;
}

@keyframes hero-settle {
  from {
    transform: scale(1.14);
    opacity: 0.4;
  }
  to {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translateY(-2px);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(0.75rem);
  }
}

/* ==========================================================================
   Statement & pillars
   ========================================================================== */

.statement {
  padding: clamp(5rem, 12vw, 9rem) 1.5rem clamp(4rem, 9vw, 7rem);
  text-align: center;
}

.statement__inner {
  max-width: var(--content);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--accent);
}

.statement__text {
  margin: 0 auto;
  max-width: 50rem;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.gradient-text {
  background: var(--gradient-ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: var(--content);
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  padding: 0;
  list-style: none;
}

.pillar {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 1.5rem 0.75rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--tile);
}

.pillar__num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.pillar__label {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}

.statement__note {
  margin: 1.5rem auto 0;
  max-width: 36rem;
  font-size: 0.875rem;
  color: var(--ink-4);
}

/* ==========================================================================
   Tiles grid (Apple homepage)
   ========================================================================== */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0 0.75rem 0.75rem;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 36rem;
  padding: clamp(2.75rem, 5vw, 3.75rem) 1.75rem 0;
  overflow: hidden;
  text-align: center;
  background: var(--tile);
  color: var(--ink);
  isolation: isolate;
}

.tile--full {
  grid-column: 1 / -1;
}

.tile--dark {
  background: radial-gradient(120% 90% at 50% 110%, #075a8f 0%, var(--brand-navy-deep) 55%, #021827 100%);
  color: #fff;
}

.tile--white {
  background: var(--canvas);
}

.tile__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--accent);
}

.tile--dark .tile__eyebrow {
  color: #6fe6ef;
}

.tile__title {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.3;
}

.tile__sub {
  margin: 0 0 1.1rem;
  max-width: 30rem;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.tile--dark .tile__sub {
  color: rgb(255 255 255 / 0.78);
}

.tile__visual {
  flex: 1;
  display: grid;
  place-items: center;
  width: 100%;
  margin-top: 1.5rem;
}

/* About tile — logo emblem */
.emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: min(22rem, 80%);
  aspect-ratio: 1;
}

.emblem::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgb(2 209 225 / 0.22), transparent 68%);
  animation: breathe 6s var(--ease) infinite;
}

.emblem img {
  position: relative;
  width: 82%;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

/* Board tile — stat */
.stat {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4rem);
  padding-bottom: 3.5rem;
}

.stat__item {
  display: grid;
  justify-items: center;
}

.stat__num {
  font-size: clamp(5rem, 11vw, 8.5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 15%, #6fe6ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  margin-top: 0.6rem;
  font-size: 1rem;
  color: rgb(255 255 255 / 0.72);
}

.stat__divider {
  width: 1px;
  height: 7rem;
  margin-bottom: 1rem;
  background: rgb(255 255 255 / 0.18);
}

/* News tile */
.tile--news {
  min-height: 0;
  padding-bottom: 0;
}

.tile--news .tile__title {
  max-width: 48rem;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.45;
}

.news-figure {
  width: min(100%, 64rem);
  margin: 2.5rem auto 0;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.news-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 1.2s var(--ease-out);
}

.tile--news:hover .news-figure img {
  transform: scale(1.03);
}

/* Regulations tile — document stack */
.docs {
  position: relative;
  width: min(20rem, 80%);
  height: 17rem;
  margin-top: auto;
}

.doc {
  position: absolute;
  inset-inline: 0;
  bottom: -1.5rem;
  height: 15rem;
  padding: 1.5rem 1.4rem;
  border-radius: 1rem 1rem 0 0;
  background: #fff;
  box-shadow: 0 -2px 30px rgb(4 40 70 / 0.12);
  text-align: start;
  transition: transform 500ms var(--ease-out);
}

.doc:nth-child(1) {
  transform: translate(-2.4rem, -4.6rem) rotate(-6deg);
}

.doc:nth-child(2) {
  transform: translate(1.2rem, -0.8rem) rotate(3deg);
}

.tile:hover .doc:nth-child(1) {
  transform: translate(-3.4rem, -5.8rem) rotate(-9deg);
}

.tile:hover .doc:nth-child(2) {
  transform: translate(2rem, -1.4rem) rotate(5deg);
}

.doc__title {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.doc__tag {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.1rem 0.65rem;
  border-radius: 999px;
  background: rgb(1 139 172 / 0.1);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.doc__lines {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.doc__lines span {
  height: 0.45rem;
  border-radius: 999px;
  background: #e8edf1;
}

.doc__lines span:nth-child(2) {
  width: 85%;
}

.doc__lines span:nth-child(3) {
  width: 92%;
}

.doc__lines span:nth-child(4) {
  width: 60%;
}

/* Contact tile — rings */
.signal {
  position: relative;
  display: grid;
  place-items: center;
  width: min(18rem, 80%);
  aspect-ratio: 1;
  margin-bottom: 2rem;
}

.signal span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgb(111 230 239 / 0.35);
  animation: ripple 4s var(--ease) infinite;
}

.signal span:nth-child(2) {
  animation-delay: 1.3s;
}

.signal span:nth-child(3) {
  animation-delay: 2.6s;
}

.signal__core {
  position: relative;
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 10px 40px rgb(2 209 225 / 0.35);
}

.signal__core svg {
  width: 2.2rem;
  height: 2.2rem;
  stroke: #fff;
}

@keyframes ripple {
  from {
    transform: scale(0.35);
    opacity: 1;
  }
  to {
    transform: scale(1);
    opacity: 0;
  }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

.page-head {
  padding: clamp(3.5rem, 9vw, 6.5rem) 1.5rem clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.page-head__inner {
  max-width: var(--content);
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.breadcrumb a {
  color: var(--ink-3);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb [aria-hidden] {
  color: var(--ink-4);
}

.page-head__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.22;
}

.page-head__lead {
  margin: 0 auto;
  max-width: 40rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: var(--ink-3);
}

.band {
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
}

.band--tile {
  background: var(--tile);
}

.band__inner {
  max-width: var(--content);
  margin-inline: auto;
}

.band__inner--text {
  max-width: var(--text);
}

.prose {
  font-size: 1.1875rem;
  line-height: 2.05;
  color: var(--ink);
}

.prose p {
  margin: 0 0 1.5rem;
}

.placeholder {
  display: grid;
  place-items: center;
  min-height: 16rem;
  margin: 2.5rem 0;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 120% at 100% 0%, rgb(2 209 225 / 0.14), transparent 55%),
    var(--tile);
  color: var(--ink-4);
  font-size: 1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

/* Board */
.board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member {
  display: grid;
  align-content: start;
  gap: 0.25rem;
  min-height: 0;
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  background: #fff;
  transition:
    transform 400ms var(--ease-out),
    box-shadow 400ms var(--ease-out);
}

.member:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.08);
}

.member__avatar {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--tile);
}

.member__avatar svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: var(--ink-4);
}

.member__role {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
}

.member__name {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.5;
}

.member--lead {
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 1.75rem;
  min-height: 0;
  padding: 2.25rem 2.5rem;
  background: radial-gradient(120% 160% at 0% 100%, #075a8f 0%, var(--brand-navy-deep) 60%, #021827 100%);
  color: #fff;
}

.member--lead .member__avatar {
  grid-row: span 2;
  width: 5rem;
  height: 5rem;
  margin: 0;
  background: rgb(255 255 255 / 0.1);
}

.member--lead .member__avatar svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: #6fe6ef;
}

.member--lead .member__role {
  color: #6fe6ef;
}

.member--lead .member__name {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.board-group {
  margin: 3rem 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Article (newsroom) */
.article-head {
  padding: clamp(3rem, 8vw, 5.5rem) 1.5rem 2rem;
}

.article-head__inner {
  max-width: var(--text);
  margin-inline: auto;
}

.article-head .breadcrumb {
  justify-content: flex-start;
}

.article__meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-3);
}

.article__category {
  padding: 0.1rem 0.75rem;
  border-radius: 999px;
  background: rgb(1 139 172 / 0.1);
  color: var(--accent);
}

.article__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.5;
}

.article__lead {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.375rem);
  line-height: 1.8;
  color: var(--ink-2);
}

.article__figure {
  max-width: var(--wide);
  margin: 1.5rem auto clamp(2.5rem, 6vw, 4rem);
  padding-inline: clamp(0.75rem, 3vw, 2.5rem);
}

.article__figure img {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article__figure figcaption {
  max-width: var(--text);
  margin: 0.9rem auto 0;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.article__body {
  max-width: var(--text);
  margin-inline: auto;
  padding: 0 1.5rem clamp(4rem, 8vw, 6rem);
}

.share-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

/* ==========================================================================
   Footer — Apple-style
   ========================================================================== */

.gfoot {
  background: var(--tile);
  color: var(--ink-3);
  font-size: 0.8125rem;
  line-height: 1.75;
}

.gfoot__inner {
  max-width: var(--content);
  margin-inline: auto;
  padding: 1.25rem 1.375rem 1.5rem;
}

.gfoot__note {
  margin: 0;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-3);
}

.gfoot__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding-block: 1.6rem 1.4rem;
}

.gfoot__heading {
  margin: 0 0 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.gfoot__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gfoot__links li + li {
  margin-top: 0.35rem;
}

.gfoot__links a {
  color: var(--ink-3);
}

.gfoot__links a:hover {
  color: var(--ink);
}

.gfoot__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
}

.gfoot__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-2);
}

.gfoot__brand img {
  height: 1.6rem;
  width: auto;
}

.gfoot__bottom p {
  margin: 0;
}

/* ==========================================================================
   Scroll reveal (only when JS is running)
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1068px) {
  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 833px) {
  :root {
    --nav-h: 4.5rem;
  }

  .gnav__brand img {
    height: 3.3rem;
  }

  .nav-toggle {
    display: block;
  }

  .gnav.is-menu-open::before {
    background: var(--canvas);
  }

  .gnav.is-menu-open {
    box-shadow: 0 1px 0 rgb(0 0 0 / 0.08);
  }

  .gnav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    z-index: 99;
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    padding: 0.5rem 1.375rem calc(2rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--canvas);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition:
      opacity 280ms var(--ease),
      transform 360ms var(--ease-out),
      visibility 280ms;
  }

  .gnav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .gnav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 100%;
  }

  .gnav__list > li {
    border-bottom: 1px solid rgb(0 0 0 / 0.08);
    opacity: 0;
    transform: translateY(-0.5rem);
    transition:
      opacity 360ms var(--ease-out),
      transform 360ms var(--ease-out);
  }

  .gnav__menu.is-open .gnav__list > li {
    opacity: 1;
    transform: none;
  }

  .gnav__menu.is-open .gnav__list > li:nth-child(2) { transition-delay: 35ms; }
  .gnav__menu.is-open .gnav__list > li:nth-child(3) { transition-delay: 70ms; }
  .gnav__menu.is-open .gnav__list > li:nth-child(4) { transition-delay: 105ms; }
  .gnav__menu.is-open .gnav__list > li:nth-child(5) { transition-delay: 140ms; }
  .gnav__menu.is-open .gnav__list > li:nth-child(6) { transition-delay: 175ms; }

  .gnav__list > li > a,
  .submenu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 3.75rem;
    height: auto;
    padding: 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    text-align: start;
    -webkit-tap-highlight-color: transparent;
  }

  .gnav__list > li > a:active,
  .submenu-trigger:active {
    color: var(--accent);
  }

  /* Forward chevron (points left in RTL) */
  .gnav__list > li > a::after {
    content: "";
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    margin-inline-end: 0.3rem;
    border-left: 1.5px solid var(--ink-4);
    border-bottom: 1.5px solid var(--ink-4);
    transform: rotate(45deg);
  }

  .gnav__list > li > a[aria-current="page"] {
    color: var(--accent);
  }

  .gnav__list > li > a[aria-current="page"]::after {
    border-color: var(--accent);
  }

  .submenu-trigger::after {
    width: 0.5rem;
    height: 0.5rem;
    margin-top: -0.25rem;
    margin-inline-end: 0.3rem;
    border-right-width: 1.5px;
    border-bottom-width: 1.5px;
    border-color: var(--ink-4);
  }

  .has-submenu.is-open .submenu-trigger {
    color: var(--accent);
  }

  .has-submenu.is-open .submenu-trigger::after {
    margin-top: 0.3rem;
    border-color: var(--accent);
  }

  /* Accordion submenu */
  .submenu {
    position: static;
    display: block;
    max-height: 0;
    overflow: hidden;
    min-width: 0;
    padding: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition:
      max-height 360ms var(--ease-out),
      padding 360ms var(--ease-out),
      opacity 240ms var(--ease),
      visibility 320ms;
  }

  .has-submenu.is-open > .submenu {
    max-height: 20rem;
    padding-bottom: 0.75rem;
    opacity: 1;
    visibility: visible;
  }

  .has-submenu:focus-within:not(.is-open) > .submenu {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
  }

  .submenu a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.5rem 1rem;
    margin-inline-start: 0.25rem;
    border-inline-start: 2px solid rgb(0 0 0 / 0.08);
    border-radius: 0;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--ink-2);
  }

  .submenu a:hover {
    background: none;
  }

  .submenu a[aria-current="page"] {
    color: var(--accent);
    background: none;
    border-inline-start-color: var(--accent);
  }

  /* Contact as a primary call to action at the bottom of the sheet */
  .gnav__list > li:last-child {
    margin-top: auto;
    padding-top: 2rem;
    border-bottom: 0;
  }

  .gnav__list > li:last-child > a {
    justify-content: center;
    min-height: 3.25rem;
    border-radius: 999px;
    background: var(--gradient-ink);
    color: #fff;
    font-size: 1.0625rem;
  }

  .gnav__list > li:last-child > a::after {
    border-color: currentColor;
  }

  .gnav__list > li:last-child > a[aria-current="page"] {
    color: #fff;
  }

  .tiles {
    grid-template-columns: 1fr;
  }

  .tile {
    min-height: 32rem;
  }

  .gfoot__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .hero__media img {
    object-position: 96% 70%;
  }

  .hero__copy {
    padding-top: 3rem;
  }

  .tiles {
    padding-inline: 0;
  }

  .tile {
    min-height: 30rem;
    padding-inline: 1.25rem;
  }

  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board {
    grid-template-columns: 1fr;
  }


  .member--lead {
    grid-template-columns: 1fr;
    padding: 2rem 1.75rem;
  }

  .member--lead .member__avatar {
    grid-row: auto;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.25rem;
  }

  .stat__divider {
    height: 5rem;
  }

  .article__figure {
    padding-inline: 0;
  }

  .article__figure img {
    border-radius: 0;
  }

  .article__figure figcaption {
    padding-inline: 1.5rem;
  }

  .gfoot__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Content components (about / services / regulations / contact)
   ========================================================================== */

.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.section-head__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.3;
}

.section-head__lead {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.75;
  color: var(--ink-3);
}

.band--dark {
  background: radial-gradient(120% 90% at 50% 110%, #075a8f 0%, var(--brand-navy-deep) 55%, #021827 100%);
  color: #fff;
}

.band--dark .section-head__lead,
.band--dark .card__text {
  color: rgb(255 255 255 / 0.74);
}

.band--dark .eyebrow {
  color: #6fe6ef;
}

/* Facts row */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--tile);
}

.band--tile .fact {
  background: #fff;
}

.fact__value {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.3;
  background: var(--gradient-ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fact__label {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-3);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-xl);
  background: var(--tile);
  transition:
    transform 400ms var(--ease-out),
    box-shadow 400ms var(--ease-out);
}

.band--tile .card {
  background: #fff;
}

.band--dark .card {
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
}

a.card {
  color: inherit;
}

a.card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.08);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: 0.9rem;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__kicker {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.band--dark .card__kicker {
  color: #6fe6ef;
}

.card__title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
}

.card__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink-2);
}

.card .more {
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  counter-increment: step;
}

.band--dark .step {
  border-top-color: rgb(255 255 255 / 0.18);
}

.step::before {
  content: counter(step, persian);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.step__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink-3);
}

.band--dark .step__text {
  color: rgb(255 255 255 / 0.72);
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.split__title {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.35;
}

.split__title .eyebrow {
  display: block;
  margin-bottom: 0.5rem;
}

/* Definition rows */
.rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--hairline);
}

.row:first-child {
  border-top: 1px solid var(--hairline);
}

.row__key {
  font-weight: 700;
  color: var(--ink);
}

.row__value {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.9;
}

/* Accordion */
.faq {
  max-width: var(--text);
  margin-inline: auto;
}

.faq details {
  border-bottom: 1px solid var(--hairline);
}

.faq details:first-child {
  border-top: 1px solid var(--hairline);
}

.faq summary {
  position: relative;
  display: block;
  padding: 1.35rem 0 1.35rem 2.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -0.4rem;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform 300ms var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -0.1rem;
}

.faq__body {
  padding: 0 0 1.5rem;
  color: var(--ink-2);
  line-height: 2;
}

.faq__body p {
  margin: 0 0 0.75rem;
}

.faq__body ul {
  margin: 0;
  padding-inline-start: 1.25rem;
}

.faq__body li + li {
  margin-top: 0.4rem;
}

/* Legal documents */
.docs-list {
  display: grid;
  gap: 1rem;
}

.legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem 3rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: #fff;
}

.legal__tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.8rem;
  border-radius: 999px;
  background: rgb(1 139 172 / 0.1);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.legal__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.45;
}

.legal__desc {
  margin: 0 0 1.5rem;
  color: var(--ink-2);
  line-height: 1.9;
}

.legal__meta {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.95rem;
}

.legal__meta div {
  display: flex;
  gap: 0.75rem;
}

.legal__meta dt {
  min-width: 6.5rem;
  color: var(--ink-3);
}

.legal__meta dd {
  margin: 0;
  font-weight: 600;
}

.legal__parts {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: part;
}

.legal__parts li {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  counter-increment: part;
  line-height: 1.7;
}

.legal__parts li:last-child {
  border-bottom: 0;
}

.legal__parts li::before {
  content: counter(part, persian);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--tile);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.legal__parts small {
  display: block;
  color: var(--ink-3);
  font-size: 0.875rem;
}

.legal .actions {
  justify-content: flex-start;
  margin-top: 1.75rem;
}

/* Callout */
.callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: var(--text);
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgb(1 139 172 / 0.08);
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.9;
}

.callout svg {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.25rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.callout p {
  margin: 0;
}

/* Page-local nav (chips) */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.chips a {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: var(--tile);
  color: var(--ink);
  font-size: 0.95rem;
}

.chips a:hover {
  background: #e8e8ed;
  text-decoration: none;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-xl);
  background: #fff;
}

.contact-card__label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-3);
}

.contact-card__value {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.contact-card__note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-3);
}

.pending {
  display: inline-block;
  padding: 0.1rem 0.7rem;
  border-radius: 999px;
  background: var(--tile);
  color: var(--ink-3);
  font-size: 0.85rem;
  font-weight: 600;
}

.source-note {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-4);
  text-align: center;
}

.band--dark .source-note {
  color: rgb(255 255 255 / 0.55);
}

@media (max-width: 1068px) {
  .cards--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards--4,
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 833px) {
  .cards,
  .cards--5,
  .steps,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .split__title {
    position: static;
  }
}

@media (max-width: 640px) {
  .cards,
  .cards--2,
  .cards--4,
  .cards--5,
  .steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact {
    padding: 1.35rem 1.1rem;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .legal {
    padding: 1.75rem 1.35rem;
  }
}
