:root {
  --mf-navy-950: #06142f;
  --mf-navy-900: #0b1f46;
  --mf-navy-800: #12305f;
  --mf-navy-700: #19457d;
  --mf-blue: #168fc7;
  --mf-sky: #76ccef;
  --mf-sky-soft: #dff4ff;
  --mf-cyan: #47dff4;
  --mf-white: #ffffff;
  --mf-bg: #f4f9ff;
  --mf-bg-2: #edf6ff;
  --mf-text: #13233d;
  --mf-muted: #5d6d82;
  --mf-border: rgba(18, 48, 95, 0.14);
  --mf-border-strong: rgba(18, 48, 95, 0.24);
  --mf-success: #16886b;
  --mf-warning: #b06a06;
  --mf-danger: #c84050;
  --mf-radius-sm: 14px;
  --mf-radius: 22px;
  --mf-radius-lg: 32px;
  --mf-shadow-sm: 0 10px 28px rgba(6, 20, 47, 0.08);
  --mf-shadow: 0 20px 56px rgba(6, 20, 47, 0.13);
  --mf-shadow-lg: 0 28px 80px rgba(6, 20, 47, 0.2);
  --mf-container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 280px;
  overflow-x: hidden;
  color: var(--mf-text);
  background:
    radial-gradient(circle at 8% 4%, rgba(118, 204, 239, 0.22), transparent 28rem),
    linear-gradient(180deg, var(--mf-bg) 0%, #ffffff 48%, var(--mf-bg-2) 100%);
  font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: #eaf3fb;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--mf-sky), var(--mf-navy-700));
  border: 3px solid #eaf3fb;
  border-radius: 999px;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

p,
h1,
h2,
h3,
h4,
ul,
ol {
  margin-top: 0;
}

ul,
ol {
  padding-right: 1.25rem;
}

.container {
  width: min(calc(100% - 36px), var(--mf-container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 2000;
  padding: 10px 16px;
  color: var(--mf-white);
  background: var(--mf-navy-950);
  border-radius: 12px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(18, 48, 95, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 36px rgba(6, 20, 47, 0.1);
}

.nav-shell {
  position: relative;
  width: min(calc(100% - 36px), 1500px);
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--mf-navy-950);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 2px solid var(--mf-navy-800);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(6, 20, 47, 0.16);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.08rem;
}

.brand-text span {
  margin-top: 4px;
  color: var(--mf-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 42px;
  padding: 8px 13px;
  color: #33445e;
  border-radius: 13px;
  font-size: 0.94rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--mf-navy-900);
  background: var(--mf-sky-soft);
  outline: none;
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--mf-navy-900);
  background: var(--mf-white);
  border: 1px solid var(--mf-border);
  border-radius: 14px;
  cursor: pointer;
  box-shadow: var(--mf-shadow-sm);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 99px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid rgba(71, 223, 244, 0.42);
  outline-offset: 3px;
}

.btn-primary {
  color: var(--mf-white);
  background: linear-gradient(135deg, var(--mf-navy-800), var(--mf-blue));
  box-shadow: 0 12px 28px rgba(22, 143, 199, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(22, 143, 199, 0.3);
}

.btn-secondary {
  color: var(--mf-navy-900);
  background: var(--mf-white);
  border-color: var(--mf-border-strong);
  box-shadow: var(--mf-shadow-sm);
}

.btn-secondary:hover {
  border-color: rgba(22, 143, 199, 0.46);
  box-shadow: 0 14px 34px rgba(6, 20, 47, 0.12);
}

.btn-ghost {
  min-height: 42px;
  padding: 8px 14px;
  color: var(--mf-navy-800);
  background: transparent;
  border-color: var(--mf-border);
}

.btn-sm {
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 13px;
  font-size: 0.9rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 12px;
  color: var(--mf-navy-800);
  background: rgba(223, 244, 255, 0.88);
  border: 1px solid rgba(22, 143, 199, 0.16);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--mf-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(22, 143, 199, 0.12);
}

.section {
  position: relative;
  padding: 92px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(223, 244, 255, 0.66), rgba(255, 255, 255, 0.98));
  border-block: 1px solid rgba(18, 48, 95, 0.07);
}

.section-dark {
  color: var(--mf-white);
  background:
    radial-gradient(circle at 12% 20%, rgba(71, 223, 244, 0.14), transparent 20rem),
    radial-gradient(circle at 86% 80%, rgba(118, 204, 239, 0.14), transparent 24rem),
    linear-gradient(135deg, var(--mf-navy-950), var(--mf-navy-800));
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-start {
  margin-inline: 0;
  text-align: start;
}

.section-heading h2 {
  margin-bottom: 14px;
  color: var(--mf-navy-950);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.section-dark .section-heading h2 {
  color: var(--mf-white);
}

.section-heading p {
  margin-bottom: 0;
  color: var(--mf-muted);
  font-size: 1.05rem;
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.accent-text {
  color: var(--mf-blue);
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--mf-border);
  border-radius: var(--mf-radius);
  box-shadow: var(--mf-shadow-sm);
}

.icon-box {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--mf-navy-800);
  background: linear-gradient(135deg, var(--mf-sky-soft), rgba(118, 204, 239, 0.48));
  border: 1px solid rgba(22, 143, 199, 0.2);
  border-radius: 17px;
  font-size: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  min-height: 100%;
  padding: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--mf-border);
  border-radius: var(--mf-radius);
  box-shadow: var(--mf-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -48px -62px auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(118, 204, 239, 0.22), transparent 67%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 143, 199, 0.32);
  box-shadow: var(--mf-shadow);
}

.feature-card h3 {
  margin: 18px 0 10px;
  color: var(--mf-navy-950);
  font-size: 1.2rem;
  line-height: 1.4;
}

.feature-card p {
  margin-bottom: 14px;
  color: var(--mf-muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mf-blue);
  font-weight: 900;
}

.card-link::after {
  content: "←";
  transition: transform 0.2s ease;
}

.card-link:hover::after {
  transform: translateX(-4px);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 5px 10px;
  color: var(--mf-navy-700);
  background: #eef8fd;
  border: 1px solid rgba(22, 143, 199, 0.14);
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 800;
}

.check-list,
.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 11px;
}

.check-list li {
  position: relative;
  padding-right: 30px;
  color: #40516b;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 3px;
  right: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: var(--mf-white);
  background: var(--mf-success);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.number-list {
  counter-reset: mf-step;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.number-list li {
  counter-increment: mf-step;
  position: relative;
  min-height: 52px;
  padding: 9px 58px 9px 0;
}

.number-list li::before {
  content: counter(mf-step, decimal-leading-zero);
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--mf-white);
  background: linear-gradient(135deg, var(--mf-navy-800), var(--mf-blue));
  border-radius: 15px;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(22, 143, 199, 0.22);
}

.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(223, 244, 255, 0.9), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(22, 143, 199, 0.18);
  border-radius: var(--mf-radius);
}

.callout h3 {
  margin-bottom: 4px;
  color: var(--mf-navy-950);
  font-size: 1.05rem;
}

.callout p {
  margin-bottom: 0;
  color: var(--mf-muted);
}

.page-hero {
  position: relative;
  padding: 78px 0 66px;
  overflow: hidden;
  color: var(--mf-white);
  background:
    radial-gradient(circle at 12% 12%, rgba(71, 223, 244, 0.2), transparent 20rem),
    radial-gradient(circle at 88% 78%, rgba(118, 204, 239, 0.17), transparent 24rem),
    linear-gradient(135deg, var(--mf-navy-950), var(--mf-navy-800));
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::before {
  width: 340px;
  height: 340px;
  top: -210px;
  left: -90px;
}

.page-hero::after {
  width: 230px;
  height: 230px;
  right: -120px;
  bottom: -100px;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 46px;
}

.page-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: var(--mf-white);
  font-size: clamp(2.25rem, 5.2vw, 4.4rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.page-hero .lead {
  max-width: 790px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.page-hero .eyebrow {
  color: #eafaff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.13);
}

.page-hero .eyebrow::before {
  background: var(--mf-cyan);
  box-shadow: 0 0 0 5px rgba(71, 223, 244, 0.12);
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.page-hero .btn-secondary {
  color: var(--mf-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.page-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-summary-card {
  position: relative;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--mf-radius-lg);
  box-shadow: var(--mf-shadow-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-summary-card .icon-box {
  width: 62px;
  height: 62px;
  color: var(--mf-white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  font-size: 1.55rem;
}

.hero-summary-card h2 {
  margin: 18px 0 10px;
  color: var(--mf-white);
  font-size: 1.3rem;
}

.hero-summary-card p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-summary-card .clean-list {
  display: grid;
  gap: 10px;
}

.hero-summary-card .clean-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.87);
  font-size: 0.94rem;
}

.hero-summary-card .clean-list i {
  color: var(--mf-cyan);
}

.breadcrumbs {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.breadcrumbs a:hover {
  color: var(--mf-white);
}

.content-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.toc {
  position: sticky;
  top: 104px;
  padding: 19px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--mf-border);
  border-radius: var(--mf-radius);
  box-shadow: var(--mf-shadow-sm);
}

.toc h2 {
  margin-bottom: 13px;
  color: var(--mf-navy-950);
  font-size: 1rem;
}

.toc nav {
  display: grid;
  gap: 5px;
}

.toc a {
  padding: 8px 10px;
  color: var(--mf-muted);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--mf-navy-900);
  background: var(--mf-sky-soft);
  outline: none;
}

.content-stack {
  display: grid;
  gap: 25px;
}

.content-section {
  padding: 30px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--mf-border);
  border-radius: var(--mf-radius-lg);
  box-shadow: var(--mf-shadow-sm);
  scroll-margin-top: 106px;
}

.content-section > header {
  margin-bottom: 24px;
}

.content-section h2 {
  margin-bottom: 8px;
  color: var(--mf-navy-950);
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  line-height: 1.3;
}

.content-section > header p {
  margin-bottom: 0;
  color: var(--mf-muted);
}

.content-section h3 {
  color: var(--mf-navy-900);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-card {
  padding: 20px;
  background: linear-gradient(145deg, #ffffff, #f6fbff);
  border: 1px solid var(--mf-border);
  border-radius: 18px;
}

.detail-card h3 {
  margin: 13px 0 8px;
  font-size: 1.04rem;
}

.detail-card p {
  margin-bottom: 0;
  color: var(--mf-muted);
  font-size: 0.94rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-card {
  position: relative;
  padding: 22px 18px;
  background: #f7fbff;
  border: 1px solid var(--mf-border);
  border-radius: 18px;
}

.process-card strong {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  place-items: center;
  color: var(--mf-white);
  background: linear-gradient(135deg, var(--mf-navy-800), var(--mf-blue));
  border-radius: 13px;
}

.process-card h3 {
  margin-bottom: 7px;
  font-size: 1rem;
}

.process-card p {
  margin-bottom: 0;
  color: var(--mf-muted);
  font-size: 0.9rem;
}

.service-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: -25px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--mf-border);
  border-radius: 18px;
  box-shadow: var(--mf-shadow);
}

.service-nav a {
  padding: 8px 13px;
  color: var(--mf-navy-700);
  background: #f4f9fd;
  border: 1px solid rgba(18, 48, 95, 0.09);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.service-nav a:hover,
.service-nav a:focus-visible {
  color: var(--mf-white);
  background: var(--mf-navy-800);
  outline: none;
}

.catalog-section {
  padding: 32px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--mf-border);
  border-radius: var(--mf-radius-lg);
  box-shadow: var(--mf-shadow-sm);
  scroll-margin-top: 106px;
}

.catalog-section + .catalog-section {
  margin-top: 24px;
}

.catalog-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 25px;
}

.catalog-header h2 {
  margin-bottom: 5px;
  color: var(--mf-navy-950);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.catalog-header p {
  margin-bottom: 0;
  color: var(--mf-muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.catalog-card {
  position: relative;
  padding: 22px;
  background: linear-gradient(145deg, #ffffff, #f4faff);
  border: 1px solid var(--mf-border);
  border-radius: 19px;
  overflow: hidden;
}

.catalog-card::before {
  content: attr(data-number);
  position: absolute;
  top: 14px;
  left: 16px;
  color: rgba(18, 48, 95, 0.09);
  font-size: 2.4rem;
  font-weight: 950;
  line-height: 1;
}

.catalog-card h3 {
  margin: 0 0 9px;
  padding-left: 44px;
  color: var(--mf-navy-950);
  font-size: 1.11rem;
}

.catalog-card > p {
  margin-bottom: 14px;
  color: var(--mf-muted);
  font-size: 0.94rem;
}

.catalog-card .check-list {
  gap: 8px;
}

.catalog-card .check-list li {
  font-size: 0.89rem;
}

.about-hero-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--mf-border);
  border-radius: var(--mf-radius-lg);
  box-shadow: var(--mf-shadow);
}

.about-hero-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 4px solid var(--mf-white);
  border-radius: 34px;
  box-shadow: var(--mf-shadow);
}

.about-hero-card h2 {
  margin-bottom: 11px;
  color: var(--mf-navy-950);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.about-hero-card p {
  margin-bottom: 0;
  color: var(--mf-muted);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pillar-card {
  padding: 22px;
  text-align: center;
  background: var(--mf-white);
  border: 1px solid var(--mf-border);
  border-radius: 19px;
  box-shadow: var(--mf-shadow-sm);
}

.pillar-card .icon-box {
  margin-inline: auto;
}

.pillar-card h3 {
  margin: 14px 0 7px;
  font-size: 1.04rem;
}

.pillar-card p {
  margin-bottom: 0;
  color: var(--mf-muted);
  font-size: 0.9rem;
}

.policy-layout {
  display: grid;
  gap: 21px;
}

.policy-section {
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--mf-border);
  border-radius: var(--mf-radius);
  box-shadow: var(--mf-shadow-sm);
  scroll-margin-top: 106px;
}

.policy-section h2 {
  margin-bottom: 12px;
  color: var(--mf-navy-950);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.policy-section h3 {
  margin: 20px 0 8px;
  color: var(--mf-navy-800);
  font-size: 1.05rem;
}

.policy-section p,
.policy-section li {
  color: #4d5e74;
}

.policy-section a {
  color: var(--mf-blue);
  font-weight: 800;
}

.notice-box {
  padding: 18px 20px;
  color: var(--mf-navy-900);
  background: #eaf8ff;
  border: 1px solid rgba(22, 143, 199, 0.18);
  border-right: 5px solid var(--mf-blue);
  border-radius: 15px;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 38px;
  overflow: hidden;
  color: var(--mf-white);
  background:
    radial-gradient(circle at 8% 10%, rgba(71, 223, 244, 0.2), transparent 18rem),
    linear-gradient(135deg, var(--mf-navy-950), var(--mf-navy-700));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--mf-radius-lg);
  box-shadow: var(--mf-shadow-lg);
}

.cta-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -110px;
  bottom: -150px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.cta-panel h2 {
  margin-bottom: 8px;
  color: var(--mf-white);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.cta-panel p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--mf-navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 0.72fr));
  gap: 36px;
  padding: 58px 0 38px;
}

.footer-brand p {
  max-width: 420px;
  margin: 16px 0 0;
}

.site-footer .brand {
  color: var(--mf-white);
}

.site-footer .brand-text span {
  color: var(--mf-sky);
}

.footer-col h2 {
  margin-bottom: 14px;
  color: var(--mf-white);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.91rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--mf-white);
  outline: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--mf-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(118, 204, 239, 0.22);
  outline: none;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .nav-links a {
    padding-inline: 9px;
    font-size: 0.87rem;
  }

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

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

  .footer-grid {
    grid-template-columns: 1.2fr repeat(2, 1fr);
  }

  .footer-col:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    right: 18px;
    left: 18px;
    display: grid;
    align-content: start;
    max-height: calc(100vh - 100px);
    padding: 14px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--mf-border);
    border-radius: 20px;
    box-shadow: var(--mf-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    justify-content: flex-start;
    min-height: 48px;
    padding-inline: 14px;
  }

  .nav-actions .btn-ghost {
    display: inline-flex;
  }

  .page-hero-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero-summary-card {
    max-width: 630px;
  }

  .toc {
    position: static;
  }

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

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

  .cta-panel {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 24px), var(--mf-container));
  }

  .nav-shell {
    min-height: 70px;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding-block: 10px;
  }

  .brand {
    order: 1;
  }

  .nav-toggle {
    order: 2;
  }

  .nav-actions {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-actions .btn {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
    font-size: 0.84rem;
  }

  .brand-logo {
    width: 43px;
    height: 43px;
    border-radius: 14px;
  }

  .brand-text strong {
    font-size: 0.96rem;
  }

  .brand-text span {
    font-size: 0.65rem;
  }

  .nav-links {
    top: 132px;
    right: 12px;
    left: 12px;
    max-height: calc(100vh - 148px);
  }


  .section {
    padding: 68px 0;
  }

  .section-sm {
    padding: 48px 0;
  }

  .page-hero {
    padding: 54px 0 48px;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3.05rem);
  }

  .feature-grid,
  .detail-grid,
  .detail-grid.three,
  .process-grid,
  .pillar-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .content-section,
  .catalog-section,
  .policy-section {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .about-hero-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .about-hero-card img {
    width: 115px;
    height: 115px;
    order: -1;
  }

  .toc nav {
    grid-template-columns: 1fr;
  }

  .catalog-header {
    display: grid;
  }

  .catalog-card h3 {
    padding-left: 38px;
  }

  .cta-panel {
    padding: 28px 20px;
  }

  .cta-actions,
  .page-hero-actions {
    display: grid;
    width: 100%;
  }

  .cta-actions .btn,
  .page-hero-actions .btn {
    width: 100%;
  }

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

  .footer-bottom {
    display: grid;
    text-align: center;
  }

  .footer-bottom .social-links {
    justify-content: center;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
