:root {
  --navy: #061527;
  --navy-2: #0b213d;
  --panel: #ffffff;
  --panel-soft: #f4f8fc;
  --ink: #102033;
  --muted: #63748b;
  --line: #dbe8f3;
  --cyan: #22c7ee;
  --blue: #176bd7;
  --green: #35d69a;
  --amber: #f3bd43;
  --shadow: 0 22px 70px rgba(8, 28, 55, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(34, 199, 238, 0.15), transparent 34rem),
    linear-gradient(180deg, #f8fbfe 0%, #edf4fa 100%);
  line-height: 1.5;
}

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

.shell-header,
main {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.shell-header {
  padding: 22px 0 10px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: 180px;
  display: block;
}

.title-block h1,
.title-block p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.title-block h1 {
  color: var(--navy);
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

.header-status {
  min-height: 38px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.pulse,
.status-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(53, 214, 154, 0.14);
}

.overview-panel {
  margin-top: 18px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(6, 21, 39, 0.98), rgba(9, 48, 91, 0.94)),
    var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.overview-panel .eyebrow {
  color: var(--cyan);
}

.overview-panel h2,
.overview-panel p {
  margin: 0;
}

.overview-panel h2 {
  max-width: 680px;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.overview-panel p:last-child {
  align-self: end;
  color: #d8e8f8;
  font-size: 18px;
}

.section-block {
  padding: 44px 0 0;
}

.section-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2,
.platform-story h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.timestamp {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.service-card,
.snapshot-grid article,
.module-grid article,
.platform-story {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 42px rgba(10, 35, 68, 0.08);
}

.service-card {
  min-height: 250px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.card-top {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot.pending {
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(243, 189, 67, 0.16);
}

.status-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 22px;
  letter-spacing: 0;
}

.service-card .url {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.service-card p:not(.url) {
  margin: 0 0 18px;
  color: var(--muted);
}

.service-card a {
  width: fit-content;
  margin-top: auto;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--cyan);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.snapshot-grid article {
  min-height: 118px;
  padding: 18px;
}

.snapshot-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.snapshot-grid strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.2;
}

.platform-story {
  margin-top: 44px;
  padding: 30px;
}

.platform-story p:last-child {
  max-width: 820px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.module-grid article {
  min-height: 170px;
  padding: 18px;
}

.module-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
}

.module-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --panel: #0c2038;
    --panel-soft: #0b1c31;
    --ink: #edf7ff;
    --muted: #a9bad0;
    --line: rgba(178, 217, 245, 0.18);
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(34, 199, 238, 0.12), transparent 32rem),
      linear-gradient(180deg, #061527 0%, #0a1b2f 100%);
  }

  .header-status,
  .service-card,
  .snapshot-grid article,
  .module-grid article,
  .platform-story {
    background: rgba(12, 32, 56, 0.88);
  }

  .title-block h1,
  .section-heading h2,
  .platform-story h2,
  .service-card h3,
  .snapshot-grid strong,
  .module-grid h3,
  .header-status {
    color: #f2f9ff;
  }
}

@media (max-width: 980px) {
  .shell-header {
    grid-template-columns: 1fr auto;
  }

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

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

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

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

@media (max-width: 640px) {
  .shell-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1220px);
  }

  .shell-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .overview-panel {
    padding: 24px;
    border-radius: 20px;
  }

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

  .service-grid,
  .snapshot-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }
}
