:root {
  --navy: #07153a;
  --navy-2: #0b1f4a;
  --blue: #1f6fd6;
  --green: #059b7a;
  --purple: #7b61ff;
  --orange: #f47b20;
  --red: #c8102e;
  --text: #081b49;
  --muted: #5f6f8f;
  --line: rgba(8, 27, 73, 0.13);
  --glass: rgba(255, 255, 255, 0.74);
  --glass-strong: rgba(255, 255, 255, 0.90);
  --shadow: 0 24px 70px rgba(5, 22, 54, 0.13);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.83) 34%, rgba(255,255,255,.28) 68%, rgba(255,255,255,.18) 100%),
    linear-gradient(180deg, rgba(217,235,255,.92), rgba(250,252,255,.96)),
    url("greater-muscat-bg.jpg");
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 8%, rgba(31,111,214,.24), transparent 26%),
    radial-gradient(circle at 38% 18%, rgba(255,255,255,.75), transparent 18%),
    linear-gradient(120deg, rgba(255,255,255,.85) 0%, transparent 55%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  background-image:
    radial-gradient(circle, rgba(8,27,73,.16) 1.2px, transparent 1.2px),
    linear-gradient(120deg, transparent 0%, transparent 58%, rgba(31,111,214,.13) 58.2%, transparent 58.5%),
    linear-gradient(35deg, transparent 0%, transparent 68%, rgba(5,155,122,.12) 68.2%, transparent 68.5%);
  background-size: 22px 22px, 100% 100%, 100% 100%;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

.page {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 32px) clamp(16px, 4vw, 48px) 34px;
  padding-left: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 48px), env(safe-area-inset-right, 0px));
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.logo {
  width: min(202px, 58vw);
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 24px rgba(93, 83, 220, .16));
}

.company {
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 700;
}

.company span {
  display: block;
  font-weight: 400;
  color: var(--muted);
}

.status-card {
  width: min(360px, 100%);
  flex: 0 1 360px;
  border: 1px solid var(--line);
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.status-card h2 {
  margin: 0 0 18px;
  font-size: 17px;
  color: var(--navy);
}

.status-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(8,27,73,.08);
  font-size: 13px;
}

.status-row:first-of-type {
  border-top: 0;
}

.status-icon {
  width: 26px;
  height: 26px;
  color: #3c5a89;
}

.status-label {
  color: var(--navy);
}

.status-value {
  color: var(--green);
  font-weight: 700;
  text-align: right;
  line-height: 1.35;
  max-width: 11rem;
}

.status-value.red {
  color: var(--red);
}

.hero {
  max-width: 760px;
  margin-bottom: 26px;
}

.oman-line {
  display: flex;
  gap: 0;
  width: 78px;
  height: 3px;
  margin: 0 0 22px;
  border-radius: 999px;
  overflow: hidden;
}

.oman-line span:nth-child(1) { background: var(--red); flex: 1; }
.oman-line span:nth-child(2) { background: #fff; flex: 1; border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); }
.oman-line span:nth-child(3) { background: #007a3d; flex: 1; }

h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.055em;
  color: var(--navy);
}

.lead {
  margin: 0;
  max-width: 610px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.55;
}

.notice {
  margin-top: 22px;
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(8,27,73,.15);
  border-radius: 14px;
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 46px rgba(5,22,54,.08);
  color: var(--navy);
  font-size: 14px;
  line-height: 1.5;
}

.notice svg {
  width: 34px;
  height: 34px;
  color: var(--navy);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.card {
  min-height: 0;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(18px);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 18px 48px rgba(5,22,54,.09);
}

.card.blue { --c: var(--blue); }
.card.green { --c: var(--green); }
.card.purple { --c: var(--purple); }
.card.orange { --c: var(--orange); }

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.card-no {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 13%, white);
  border: 1px solid color-mix(in srgb, var(--c) 24%, transparent);
  color: var(--c);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}

.card-icon {
  width: 34px;
  height: 34px;
  color: var(--c);
}

.card h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 13.5px;
  line-height: 1.45;
}

.links {
  border: 1px solid rgba(8,27,73,.08);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.48);
}

.links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--navy);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(8,27,73,.07);
}

.links a:last-child {
  border-bottom: 0;
}

.links a:hover {
  background: rgba(255,255,255,.75);
}

.links svg {
  width: 15px;
  height: 15px;
  color: var(--c);
  flex: 0 0 auto;
}

.architecture-wrap {
  margin-top: 22px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(5,22,54,.07);
}

.architecture {
  display: grid;
  grid-template-columns: minmax(140px, 1.2fr) repeat(6, minmax(100px, 1fr));
  min-width: min(100%, 720px);
}

.arch-cell {
  padding: 16px;
  border-left: 1px solid rgba(8,27,73,.08);
  color: var(--navy);
  font-size: 12px;
  min-height: 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.arch-cell:first-child {
  border-left: 0;
  font-weight: 800;
}

.arch-cell strong {
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
}

.arch-cell span {
  color: var(--muted);
  font-size: 11px;
}

.footer {
  margin-top: 30px;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1180px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  body {
    background-attachment: scroll;
    background-position: center top;
  }

  .top {
    flex-direction: column;
    align-items: stretch;
  }

  .status-card {
    width: 100%;
    flex: 1 1 auto;
  }

  .status-row {
    grid-template-columns: 30px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 12px;
  }

  .status-value {
    grid-column: 2;
    text-align: left;
    max-width: none;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .notice {
    grid-template-columns: 36px 1fr;
    padding: 16px;
  }

  .notice svg {
    width: 28px;
    height: 28px;
  }

  .lead {
    font-size: 16px;
  }

  .architecture {
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }

  .arch-cell {
    border-left: 0;
    border-top: 1px solid rgba(8,27,73,.08);
    min-height: 58px;
    padding: 14px;
  }

  .arch-cell:first-child {
    grid-column: 1 / -1;
    border-top: 0;
    font-size: 13px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .links a {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  h1 br {
    display: none;
  }

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

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