:root {
  --navy: #071d49;
  --blue: #063f9b;
  --sky: #36a9e1;
  --ink: #0b1933;
  --muted: #637087;
  --line: #dce5f0;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  background:
    radial-gradient(circle at 90% 8%, rgba(54, 169, 225, .18), transparent 27rem),
    linear-gradient(145deg, #f4f9ff 0%, #fff 46%, #edf5fc 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image: linear-gradient(rgba(7, 29, 73, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 29, 73, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.page-shell {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  border-bottom: 1px solid rgba(7, 29, 73, .11);
}

.brand { display: inline-flex; border-radius: 6px; padding: 5px 0; }
.brand img { display: block; width: 235px; height: 74px; object-fit: contain; }

.header-label {
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

main { flex: 1; padding: clamp(54px, 8vw, 90px) 0 72px; }
.hero { max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--sky); }

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: .99;
  letter-spacing: -.055em;
}

h1 span { color: var(--blue); }
.hero p { max-width: 580px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.14rem); line-height: 1.75; }

.wifi-card {
  width: fit-content;
  max-width: 100%;
  margin-top: 28px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #cfe4f5;
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 30px rgba(7, 29, 73, .07);
  backdrop-filter: blur(10px);
}

.wifi-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--blue);
  background: #e9f5fd;
}

.wifi-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; }
.wifi-icon circle { fill: currentColor; stroke: none; }
.wifi-label { display: block; margin-bottom: 7px; color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.wifi-data { display: flex; align-items: center; gap: 15px; }
.wifi-data > span:not(.wifi-divider) { display: flex; flex-direction: column; gap: 1px; }
.wifi-data small { color: var(--muted); font-size: .67rem; font-weight: 600; }
.wifi-data strong { color: var(--navy); font-size: .9rem; letter-spacing: .01em; }
.wifi-divider { width: 1px; height: 30px; background: var(--line); }

.copy-button {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 11px;
  color: white;
  background: var(--blue);
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.copy-button:hover { background: var(--navy); transform: translateY(-2px); }
.copy-button:focus-visible { outline: 4px solid rgba(54, 169, 225, .35); outline-offset: 3px; }
.copy-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }

.access-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: clamp(46px, 7vw, 72px); }

.access-card {
  position: relative;
  min-height: 320px;
  padding: clamp(28px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 16px 44px rgba(7, 29, 73, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.access-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .08;
  transition: transform .35s ease, opacity .35s ease;
}

.access-card:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--accent), white 45%); box-shadow: 0 24px 60px rgba(7, 29, 73, .15); }
.access-card:hover::after { transform: scale(1.25); opacity: .13; }
.access-card:focus-visible { outline: 4px solid rgba(54, 169, 225, .35); outline-offset: 4px; }
.card-moodle { --accent: #f39c12; }
.card-campus { --accent: #0866c6; }

.card-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent), white 88%);
}

.card-icon svg { width: 37px; height: 37px; fill: currentColor; }
.card-campus .card-icon svg path { fill: none; stroke: white; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.card-campus .card-icon svg rect { fill: currentColor; }

.card-copy { margin-top: 28px; }
.card-kicker { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.card-copy h2 { margin: 8px 0 10px; color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.08; letter-spacing: -.035em; }
.card-copy h2 span { display: block; }
.card-copy p { max-width: 370px; margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.card-action { margin-top: auto; padding-top: 28px; color: var(--navy); font-size: .9rem; font-weight: 800; }
.card-action span { display: inline-block; margin-left: 6px; color: var(--accent); transition: transform .2s ease; }
.access-card:hover .card-action span { transform: translate(3px, -3px); }

footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(7, 29, 73, .11);
  color: #788397;
  font-size: .75rem;
  font-weight: 600;
}

footer p { margin: 0; }

@media (max-width: 720px) {
  .page-shell { width: min(100% - 28px, 560px); }
  .site-header { padding: 20px 0; }
  .brand { padding: 4px 0; }
  .brand img { width: 188px; height: 59px; }
  .header-label { display: none; }
  main { padding: 48px 0 54px; }
  h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .wifi-card { width: 100%; align-items: flex-start; flex-wrap: wrap; }
  .wifi-copy { flex: 1; min-width: 210px; }
  .copy-button { width: 100%; justify-content: center; }
  .access-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 42px; }
  .access-card { min-height: 285px; border-radius: 20px; }
  footer { flex-direction: column; gap: 8px; }
}

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