:root {
  --navy-950: #031a31;
  --navy-900: #052746;
  --navy-800: #083963;
  --blue: #0b4779;
  --teal: #0a8b7d;
  --teal-dark: #087266;
  --gold: #d7a51f;
  --gold-light: #f0c75d;
  --white: #ffffff;
  --ink: #082c52;
  --muted: #55687b;
  --card: rgba(255,255,255,.97);
  --border: rgba(255,255,255,.14);
  --shadow: 0 24px 60px rgba(1, 16, 32, .32);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: var(--navy-950);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(110deg, rgba(2, 25, 49, .96), rgba(4, 44, 78, .83) 48%, rgba(4, 31, 58, .96)),
    radial-gradient(circle at 78% 18%, rgba(11, 139, 125, .28), transparent 34%),
    linear-gradient(180deg, #0b355d 0%, #052542 100%);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.background-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(500px) rotateX(58deg) scale(1.45) translateY(24%);
  transform-origin: bottom;
}

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

.glow-one { width: 420px; height: 420px; background: rgba(8, 142, 127, .18); top: -130px; right: -100px; }
.glow-two { width: 360px; height: 360px; background: rgba(215, 165, 31, .11); bottom: 80px; left: -120px; }

.container {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 28px;
}

.brand-header { display: flex; justify-content: center; }
.brand-logo { width: min(420px, 76vw); height: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.22)); }

.hero { text-align: center; max-width: 850px; margin: 24px auto 28px; }
.eyebrow { margin: 0 0 12px; letter-spacing: .3em; font-weight: 700; font-size: .76rem; color: rgba(255,255,255,.72); }
.hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.hero h1 span { display: block; color: var(--gold-light); }
.hero-subtitle { margin: 18px 0 0; color: rgba(255,255,255,.88); font-size: clamp(1rem, 2vw, 1.25rem); }
.hero-line { width: 74px; height: 3px; margin: 20px auto 0; border-radius: 999px; background: var(--gold); }

.access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; max-width: 850px; margin: 0 auto; }
.access-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 390px;
  padding: 34px 34px 30px;
  color: var(--ink);
  text-align: center;
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.access-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; background: var(--blue); }
.card-intranet::before { background: var(--teal); }
.access-card:hover { transform: translateY(-7px); box-shadow: 0 30px 76px rgba(1,16,32,.42); }

.card-icon { width: 80px; height: 80px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); box-shadow: 0 12px 28px rgba(3, 30, 57, .25); }
.card-intranet .card-icon { background: linear-gradient(145deg, #16a494, #087468); }
.card-icon svg { width: 43px; height: 43px; fill: #fff; }
.access-card h2 { margin: 20px 0 0; font-size: 2rem; letter-spacing: -.035em; }
.card-intranet h2 { color: var(--teal-dark); }
.card-divider { width: 46px; height: 3px; margin: 17px 0 20px; background: var(--gold); border-radius: 999px; }
.access-card p { max-width: 310px; margin: 0 0 26px; color: var(--muted); line-height: 1.65; font-size: 1rem; }

.action-button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 215px;
  padding: 14px 22px;
  border-radius: 13px;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(2, 30, 57, .18);
  transition: transform .18s ease, filter .18s ease;
}
.action-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button-site { background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.button-intranet { background: linear-gradient(135deg, #119c8d, #087366); }
.action-button span { font-size: 1.5rem; line-height: 1; }

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
  padding: 25px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillar { display: flex; gap: 14px; padding: 0 22px; border-right: 1px solid var(--border); }
.pillar:last-child { border-right: none; }
.pillar-icon { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; color: var(--gold-light); border: 2px solid var(--gold); border-radius: 13px; font-size: 1.25rem; font-weight: 800; }
.pillar strong, .pillar span { display: block; }
.pillar strong { margin-bottom: 6px; font-size: .96rem; }
.pillar span { color: rgba(255,255,255,.7); font-size: .82rem; line-height: 1.5; }

.footer { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.1); background: rgba(1, 18, 35, .52); backdrop-filter: blur(14px); }
.footer-content { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0; display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 34px; }
.footer img { width: 230px; height: auto; }
.footer-copy { display: flex; flex-direction: column; gap: 5px; padding-left: 34px; border-left: 1px solid var(--border); }
.footer-copy span, .footer-copy small { color: rgba(255,255,255,.66); }
.footer-status { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.75); font-size: .86rem; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #32d39b; box-shadow: 0 0 0 5px rgba(50,211,155,.13); }

@media (max-width: 920px) {
  .pillars { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .pillar:nth-child(2) { border-right: none; }
  .footer-content { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-copy { border-left: none; padding-left: 0; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 620px); padding-top: 28px; }
  .access-grid { grid-template-columns: 1fr; gap: 22px; }
  .access-card { min-height: 350px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; padding: 16px 8px; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: none; }
  .footer-content { width: min(100% - 28px, 620px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
