:root {
  color-scheme: light;
  --bg: #b9c6d2;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(50, 68, 86, 0.18);
  --ink: #1d2b38;
  --muted: rgba(29, 43, 56, 0.72);
  --accent: #315f7d;
  --accent-strong: #18394f;
  --pipe: #f7fafc;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 20% 15%,
      rgba(255, 255, 255, 0.55),
      transparent 26rem
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(96, 141, 170, 0.28),
      transparent 24rem
    ),
    linear-gradient(135deg, #d9e4ee 0%, var(--bg) 48%, #92a8b9 100%);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(90deg, rgba(24, 57, 79, 0.14) 2px, transparent 2px),
    linear-gradient(rgba(24, 57, 79, 0.14) 2px, transparent 2px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

a {
  color: inherit;
}

.container {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
}

.nav,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav {
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.links,
.actions,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.links {
  color: var(--muted);
  font-size: 0.94rem;
}

.links a {
  text-decoration: none;
}

.links a:hover {
  color: var(--ink);
}

.hero,
.page {
  padding: clamp(44px, 10vw, 92px) 0;
}

.hero {
  text-align: center;
}

.icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 24px;
  border-radius: 26px;
  box-shadow:
    0 24px 70px rgba(24, 57, 79, 0.28),
    0 0 0 6px rgba(255, 255, 255, 0.54),
    0 0 0 8px rgba(49, 95, 125, 0.16);
}

h1 {
  margin: 0;
  color: var(--accent-strong);
  font-size: clamp(2.4rem, 7vw, 4.7rem);
  font-weight: 920;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.page h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}

.lede {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.page > .lede {
  max-width: none;
  margin: 10px 0 0;
  font-size: 0.95rem;
}

.actions,
.pill-row {
  justify-content: center;
  margin-top: 28px;
}

.button,
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  backdrop-filter: blur(16px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.pill {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
}

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.card {
  margin-top: 26px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 24px 80px rgba(24, 57, 79, 0.16);
  backdrop-filter: blur(18px);
}

h2 {
  margin: 28px 0 8px;
  color: var(--accent-strong);
  font-size: 1.25rem;
}

h2:first-child {
  margin-top: 0;
}

p,
li {
  color: var(--muted);
}

ul {
  padding-left: 1.2rem;
}

.card a {
  color: var(--accent-strong);
  font-weight: 800;
}

.footer {
  padding: 28px 0 38px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 560px) {
  .nav,
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
