:root {
  --brand: #078f9f;
  --brand-strong: #047583;
  --brand-dark: #075e69;
  --brand-soft: #e7f7f8;
  --brand-pale: #f5fbfc;
  --cyan: #51bbc7;
  --ink: #20252b;
  --ink-soft: #5e6974;
  --line: #dce9eb;
  --white: #ffffff;
  --surface: #f5f8f9;
  --shadow-sm: 0 12px 30px rgba(25, 54, 64, 0.08);
  --shadow-lg: 0 24px 70px rgba(25, 54, 64, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 233, 235, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner,
.hero__inner,
.systems-section,
.security-note,
.footer-inner {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: min(320px, 48vw);
  height: auto;
}

.header-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.portal-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-pale);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.portal-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(7, 143, 159, 0.12);
}

.current-date {
  color: var(--ink-soft);
  font-size: 0.85rem;
  white-space: nowrap;
}

main {
  flex: 1;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 86px 0 140px;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 0%, rgba(81, 187, 199, 0.55), transparent 33%),
    linear-gradient(127deg, #063c48 0%, #075f6c 48%, #078f9f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 95%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -95px;
  height: 150px;
  z-index: -1;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--surface);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 72px;
}

.hero__copy {
  max-width: 700px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: #bceff2;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0 20px;
  font-size: clamp(2.65rem, 5.5vw, 5rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero__copy > p {
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.hero__visual {
  min-height: 330px;
  display: grid;
  place-items: center;
}

.network-card {
  position: relative;
  width: min(100%, 370px);
  aspect-ratio: 1.18;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,0.2), rgba(255,255,255,0.06));
  box-shadow: 0 36px 70px rgba(0, 31, 38, 0.28);
  transform: rotate(3deg);
  backdrop-filter: blur(16px);
}

.network-card::before,
.network-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
}

.network-card::before {
  width: 290px;
  height: 290px;
  left: -110px;
  bottom: -125px;
}

.network-card::after {
  width: 220px;
  height: 220px;
  right: -80px;
  top: -92px;
}

.network-card__top {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.network-card__top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
}

.network-card__content {
  height: calc(100% - 54px);
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 40px;
}

.network-card__logo {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: var(--brand-dark);
  background: var(--white);
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: 0 18px 28px rgba(0,0,0,0.13);
}

.network-card__lines {
  flex: 1;
  display: grid;
  gap: 14px;
}

.network-card__lines i {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
}

.network-card__lines i:nth-child(2) {
  width: 78%;
  background: rgba(255,255,255,0.52);
}

.network-card__lines i:nth-child(3) {
  width: 58%;
  background: rgba(255,255,255,0.34);
}

.network-card__nodes b {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 7px rgba(255,255,255,0.08);
}

.network-card__nodes b:nth-child(1) { left: 31px; bottom: 34px; }
.network-card__nodes b:nth-child(2) { left: 132px; bottom: 67px; }
.network-card__nodes b:nth-child(3) { right: 77px; bottom: 40px; }
.network-card__nodes b:nth-child(4) { right: 30px; bottom: 101px; }

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero__glow--one {
  width: 320px;
  height: 320px;
  top: -180px;
  right: 12%;
  background: rgba(122, 224, 231, 0.22);
}

.hero__glow--two {
  width: 230px;
  height: 230px;
  left: 5%;
  bottom: -130px;
  background: rgba(255,255,255,0.10);
}

.systems-section {
  position: relative;
  z-index: 3;
  margin-top: -48px;
  padding-bottom: 48px;
}

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

.section-kicker {
  color: var(--brand);
}

.section-heading h2 {
  margin: 9px 0 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-align: right;
}

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

.system-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.system-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -95px;
  top: -95px;
  border-radius: 50%;
  background: var(--brand-soft);
  opacity: 0.6;
  transition: transform 0.35s ease;
}

.system-card:hover {
  transform: translateY(-5px);
  border-color: rgba(7, 143, 159, 0.42);
  box-shadow: var(--shadow-lg);
}

.system-card:hover::after {
  transform: scale(1.18);
}

.system-card__header,
.system-card__footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.system-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--brand);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(7, 143, 159, 0.08);
}

.system-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.system-type {
  align-self: flex-start;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-card__body {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 42px 0 30px;
}

.system-card__body h3 {
  max-width: 440px;
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.system-card__body p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.72;
}

.system-card__footer {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.access-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 750;
}

.access-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(7, 143, 159, 0.1);
}

.access-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 18px;
  border-radius: 14px;
  color: var(--white);
  background: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 11px 24px rgba(7, 143, 159, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.access-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.access-button:hover {
  background: var(--brand-strong);
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(7, 143, 159, 0.28);
}

.access-button:focus-visible,
.brand:focus-visible,
.footer-contact a:focus-visible {
  outline: 3px solid rgba(81, 187, 199, 0.6);
  outline-offset: 4px;
}

.security-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  margin-bottom: 74px;
  padding: 22px 24px;
  border: 1px solid #cce7ea;
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, #ecf9fa, #f8fcfc);
}

.security-note__icon {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--brand);
  background: var(--white);
  box-shadow: 0 9px 22px rgba(25, 54, 64, 0.08);
}

.security-note__icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-note h2 {
  margin: 0 0 3px;
  font-size: 1rem;
}

.security-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer {
  color: rgba(255,255,255,0.72);
  background: #142f36;
}

.footer-inner {
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 16px 32px;
  padding-block: 32px;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.45rem;
}

.footer-brand span,
.footer-contact,
.copyright {
  font-size: 0.8rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.footer-contact a {
  color: #bde8ec;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.noscript {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  max-width: 650px;
  margin: auto;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  background: #20252b;
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .header-meta {
    display: none;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: min(290px, 72vw);
  }

  .hero {
    padding: 68px 0 126px;
  }

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

  .hero__visual {
    min-height: 280px;
  }

  .network-card {
    width: min(100%, 430px);
  }

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

  .section-heading > p {
    text-align: left;
  }

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

@media (max-width: 600px) {
  .header-inner,
  .hero__inner,
  .systems-section,
  .security-note,
  .footer-inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    justify-content: center;
  }

  .brand img {
    width: min(285px, 82vw);
  }

  .hero {
    padding: 54px 0 105px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

  .hero__copy > p {
    line-height: 1.62;
  }

  .hero__visual {
    min-height: 235px;
  }

  .network-card {
    width: min(100%, 330px);
    border-radius: 24px;
  }

  .network-card__content {
    padding: 26px;
  }

  .network-card__logo {
    width: 75px;
    height: 75px;
    border-radius: 19px;
    font-size: 1.55rem;
  }

  .systems-section {
    margin-top: -36px;
  }

  .system-card {
    min-height: auto;
    padding: 23px;
    border-radius: 22px;
  }

  .system-card__body {
    padding: 34px 0 26px;
  }

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

  .access-button {
    width: 100%;
  }

  .security-note {
    align-items: flex-start;
    margin-bottom: 54px;
    padding: 19px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact {
    flex-wrap: wrap;
    justify-content: center;
  }
}

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