:root {
  --navy: #0f2b46;
  --navy-soft: #173d5c;
  --olive: #596f30;
  --cream: #f4f0e6;
  --paper: #fffefa;
  --ink: #15283a;
  --muted: #5d7180;
  --line: #d8d4c8;
  --soft: #eef2e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
:where(a, button):focus-visible {
  outline: 3px solid #c5a839;
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(216 212 200 / 85%);
  background: rgb(255 254 250 / 94%);
  backdrop-filter: blur(12px);
}
.header-inner,
.content-shell,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}
.brand {
  display: inline-flex;
  flex: 0 1 238px;
  align-items: center;
}
.brand img { display: block; width: 238px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--navy);
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
}
.site-nav a[aria-current="page"] { background: var(--soft); color: #405522; }
.site-nav .sign-in {
  padding-inline: 18px;
  background: var(--navy);
  color: #fff;
}
.site-nav .sign-in:hover { background: var(--navy-soft); }

.public-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(95deg, rgb(8 29 46 / 94%) 0 42%, rgb(8 29 46 / 68%) 72%, rgb(8 29 46 / 30%)),
    url('/login-lake.jpg') center 53% / cover no-repeat;
  color: #fff;
}
.public-hero::after {
  position: absolute;
  z-index: -1;
  right: -7rem;
  bottom: -10rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  content: "";
}
.hero-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 92px 0 98px; }
.eyebrow {
  margin: 0 0 12px;
  color: #dce8ba;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.public-hero h1 {
  max-width: 820px;
  margin: 0;
  font: 700 clamp(3rem, 7vw, 5.7rem) / .96 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}
.public-hero .lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: #edf2f4;
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgb(255 255 255 / 46%);
  border-radius: 999px;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}
.button.primary { border-color: #fff; background: #fff; color: var(--navy); }
.button:hover { transform: translateY(-1px); }

.content-shell { padding: 58px 0 74px; }
.intro-grid,
.feature-grid,
.policy-layout { display: grid; gap: 22px; }
.intro-grid { grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: start; }
.section-copy h2,
.policy-section h2,
.contact-card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font: 700 clamp(1.8rem, 4vw, 2.7rem) / 1.04 Georgia, "Times New Roman", serif;
}
.section-copy p { max-width: 720px; margin: 0 0 15px; color: var(--muted); }
.fact-card,
.feature-card,
.policy-section,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(255 254 250 / 92%);
  box-shadow: 0 8px 26px rgb(15 43 70 / 5%);
}
.fact-card { padding: 24px; border-top: 5px solid var(--olive); }
.fact-card dl { display: grid; gap: 13px; margin: 0; }
.fact-card div { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.fact-card div:last-child { padding-bottom: 0; border: 0; }
.fact-card dt { color: var(--olive); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.fact-card dd { margin: 3px 0 0; color: var(--navy); font-weight: 750; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; }
.feature-card { padding: 25px; }
.feature-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--olive);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 800;
}
.feature-card h3 { margin: 0 0 8px; color: var(--navy); font: 700 1.3rem Georgia, "Times New Roman", serif; }
.feature-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.access-note { margin-top: 42px; padding: 26px 28px; border-left: 5px solid var(--olive); border-radius: 12px; background: var(--soft); }
.access-note h2 { margin: 0 0 7px; color: var(--navy); font: 700 1.4rem Georgia, "Times New Roman", serif; }
.access-note p { margin: 0; color: #50616b; }

.policy-hero .hero-inner { padding: 68px 0 72px; }
.policy-hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.policy-layout { grid-template-columns: minmax(0, 1fr) 270px; align-items: start; }
.policy-main { display: grid; gap: 18px; }
.policy-section { padding: 27px 29px; scroll-margin-top: 112px; }
.policy-section h2 { font-size: 1.55rem; }
.policy-section h3 { margin: 20px 0 6px; color: var(--navy); font-size: 1rem; }
.policy-section p,
.policy-section li { color: var(--muted); }
.policy-section p { margin: 0 0 12px; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul { margin: 10px 0 0; padding-left: 21px; }
.policy-section li + li { margin-top: 8px; }
.policy-nav {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.policy-nav strong { padding: 3px 8px 7px; color: var(--olive); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.policy-nav a { padding: 7px 8px; border-radius: 8px; color: var(--navy); font-size: .82rem; text-decoration: none; }
.policy-nav a:hover { background: var(--soft); }
.contact-card { margin-top: 42px; padding: 30px; background: var(--navy); color: #fff; }
.contact-card h2 { color: #fff; }
.contact-card p { margin: 0; color: #d7e2e8; }
.contact-card a { color: #fff; font-weight: 800; }

.site-footer { border-top: 1px solid var(--line); background: #fffefa; }
.footer-inner { display: flex; justify-content: space-between; gap: 22px; padding: 28px 0; color: var(--muted); font-size: .78rem; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-weight: 750; }

@media (max-width: 780px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 17px 0; }
  .brand { flex-basis: auto; }
  .site-nav { width: 100%; flex-wrap: wrap; }
  .site-nav a { padding: 7px 10px; }
  .site-nav .sign-in { margin-left: auto; }
  .hero-inner { padding: 70px 0 74px; }
  .intro-grid,
  .policy-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .policy-nav { position: static; grid-row: 1; grid-template-columns: repeat(2, 1fr); }
  .policy-nav strong { grid-column: 1 / -1; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 460px) {
  .header-inner,
  .content-shell,
  .footer-inner,
  .hero-inner { width: min(100% - 28px, 1120px); }
  .brand img { width: 210px; }
  .site-nav .sign-in { margin-left: 0; }
  .public-hero h1 { font-size: 2.7rem; }
  .policy-section { padding: 23px 20px; }
  .policy-nav { grid-template-columns: 1fr; }
  .policy-nav strong { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
