:root {
  --fg: #0a0a0a;
  --soft: #404040;
  --mut: #6b6b6b;
  --line: #e5e5e5;
  --accent: #0e7490;
  --tint: #f0fafb;
  --edge: #16a6b6;
  --focus: #3b82f6;
  --col: 800px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff 0%, #f4fafa 100%) fixed;
  color: var(--fg);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
p,
h1,
h2,
dl,
dd {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
  transition: color 0.15s ease;
}
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(10px);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--mut);
  text-decoration: none;
}
.nav a:not(.pill) {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 10px);
  background-size: 0 1px;
  transition:
    color 0.15s ease,
    background-size 0.2s ease;
}
.nav a:not(.pill):hover,
.nav a[aria-current="page"] {
  color: var(--fg);
  background-size: 100% 1px;
}
.nav a.pill {
  display: none;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--fg);
  color: #fff;
  font-weight: 600;
  transition: opacity 0.15s ease;
}
.nav a.pill:hover {
  opacity: 0.88;
}
body.in .nav a.pill {
  display: inline-flex;
}

/* Page heading: the same block on every page */
main {
  flex: 1 0 auto;
}
.hero {
  position: relative;
  overflow: hidden;
}
.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 80% at 20% 0%, rgb(6 182 212 / 0.16), transparent 70%),
    radial-gradient(35% 70% at 85% 10%, rgb(59 130 246 / 0.1), transparent 70%);
}
.hero .wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 40px;
}
.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1 {
  margin-bottom: 4px;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.hero-home h1 {
  font-size: 56px;
  line-height: 1.05;
}
.lead {
  color: var(--soft);
  font-size: 19px;
  line-height: 30px;
}
.lead a {
  color: var(--accent);
}
.paras {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Content */
.sec {
  padding-top: 28px;
}
.facts {
  display: grid;
  grid-template-columns: 196px 1fr;
  padding: 2px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.facts dt,
.facts dd {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.facts dt:first-of-type,
.facts dd:first-of-type {
  border-top: 0;
}
.facts dt {
  padding-right: 20px;
  white-space: nowrap;
  font-weight: 600;
}
.facts dd {
  color: var(--soft);
  overflow-wrap: anywhere;
}
.facts a {
  color: var(--accent);
}
.access-notice {
  margin-top: 16px;
  padding: 16px 20px;
  border-left: 3px solid var(--edge);
  border-radius: 8px;
  background: var(--tint);
}
.access-notice h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.access-notice p {
  color: #315764;
}

/* Footer */
footer {
  flex-shrink: 0;
  margin-top: 32px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  background: #f7fafa;
}
.frow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}
.fbrand {
  font-size: 15px;
  font-weight: 600;
}
.fcontact {
  font-size: 14px;
}

/* Phone */
@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  .nav {
    gap: 16px;
  }
  .nav a.pill {
    padding: 0 14px;
    font-size: 13px;
  }
  .hero .wrap {
    padding-top: 40px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-home h1 {
    font-size: 40px;
  }
  .lead {
    font-size: 17px;
    line-height: 27px;
  }
  .facts {
    grid-template-columns: 1fr;
    padding: 4px 20px;
  }
  .facts dt {
    padding: 18px 0 2px;
  }
  .facts dd {
    padding: 0 0 18px;
    border-top: 0;
  }
  footer {
    margin-top: 48px;
  }
}
@media (max-width: 360px) {
  .nav {
    gap: 12px;
  }
  .nav a:not(.pill) {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
