:root {
  color-scheme: light;
  --night: #0b1724;
  --night-soft: #112535;
  --ink: #172b3a;
  --muted: #5a6a76;
  --line: #d7e2e5;
  --paper: #ffffff;
  --mist: #edf3f4;
  --teal: #32c6b5;
  --teal-deep: #087c72;
  --notice: #dff2ef;
  --focus: #ffd262;
}

* { box-sizing: border-box; }

html { background: var(--night); }

body {
  min-width: 320px;
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

.shell { width: min(100% - 48px, 1120px); margin: 0 auto; }

header {
  position: relative;
  z-index: 1;
  background: var(--night);
  color: var(--paper);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: -.025em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 8px;
  color: rgba(255, 255, 255, .76);
}

.brand > span:not(.brand-mark) { color: rgba(255, 255, 255, .72); font-weight: 650; }

nav { display: flex; gap: 22px; flex-wrap: wrap; }
nav a { color: rgba(255, 255, 255, .72); font-size: .9rem; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--paper); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 64px;
  background: var(--night);
  color: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, .32fr);
  align-items: center;
  gap: 48px;
}

h1, h2, p { margin-top: 0; }
h1 {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5vw, 4.55rem);
  letter-spacing: -.04em;
  line-height: .98;
}

.lead { max-width: 66ch; margin-bottom: 0; color: rgba(255, 255, 255, .72); font-size: clamp(1.06rem, 1.7vw, 1.25rem); }

.access-mark { display: grid; min-height: 170px; place-items: center; color: rgba(255, 255, 255, .58); }
.access-mark svg { width: min(100%, 180px); }

main { padding: 54px 0 88px; background: var(--mist); }

.purpose {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
}

.purpose-item { min-height: 228px; padding: 34px 32px; }
.purpose-item + .purpose-item { border-left: 1px solid var(--line); }
.purpose-icon { width: 34px; height: 34px; margin-bottom: 38px; color: var(--teal-deep); }
.purpose h2, .legal-content h2 { margin-bottom: 10px; font-size: 1.12rem; letter-spacing: -.025em; line-height: 1.2; }
p { max-width: 72ch; color: var(--muted); }
.purpose p, .legal-content p { margin-bottom: 0; font-size: .96rem; }

.notice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
  padding: 22px 26px;
  border: 1px solid #b8dfd9;
  background: var(--notice);
  color: var(--night);
}

.notice svg { flex: 0 0 auto; }
.notice p { max-width: 60ch; margin: 0; color: var(--night); font-weight: 560; }
li { max-width: 72ch; }

a { color: var(--teal-deep); text-underline-offset: .16em; }
.notice a { color: var(--night); font-weight: 750; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 3px; }

.legal-hero { padding: 54px 0 48px; background: var(--night); color: var(--paper); }
.legal-hero h1 { max-width: 680px; margin-bottom: 0; font-size: clamp(2.3rem, 4.5vw, 4rem); }

.legal-content {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 72px;
  padding-top: 72px;
}

.legal-nav { height: fit-content; padding-top: 4px; border-top: 1px solid var(--ink); }
.legal-nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .88rem; text-decoration: none; }
.legal-nav a:hover { color: var(--teal-deep); }
.legal-copy { max-width: 690px; }
.legal-copy section + section { margin-top: 44px; }
.legal-copy h2 { font-size: 1.4rem; }

footer { padding: 30px 0 38px; background: var(--night); color: rgba(255, 255, 255, .57); font-size: .84rem; }
footer .shell { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer a { color: rgba(255, 255, 255, .72); }
footer a:hover { color: var(--paper); }

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1120px); }
  .hero { padding: 50px 0 54px; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .access-mark { min-height: 118px; margin-top: 2px; }
  .access-mark svg { width: 138px; }
  .purpose { grid-template-columns: 1fr; margin-top: 0; }
  .purpose-item { min-height: auto; padding: 30px 26px; }
  .purpose-item + .purpose-item { border-top: 1px solid var(--line); border-left: 0; }
  .purpose-icon { margin-bottom: 20px; }
  .legal-content { grid-template-columns: 1fr; gap: 38px; padding-top: 48px; }
  .legal-nav { display: flex; overflow-x: auto; border-top: 0; gap: 20px; }
  .legal-nav a { flex: 0 0 auto; border-bottom: 1px solid var(--line); }
}

@media (max-width: 480px) {
  .topbar { min-height: auto; padding: 19px 0; align-items: flex-start; flex-direction: column; gap: 14px; }
  nav { gap: 16px; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.4rem); }
  .notice { align-items: flex-start; padding: 20px; }
}
