:root {
  --ink: #1a2228;
  --ink-muted: #4a5560;
  --surface: #e8eef2;
  --accent: #0d6e6e;
  --accent-hover: #0a5858;
  --line: rgba(26, 34, 40, 0.12);
  --font-display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 100% 70% at 0% 0%, rgba(13, 110, 110, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 55% at 100% 20%, rgba(70, 100, 130, 0.12), transparent 50%),
    linear-gradient(160deg, #dfe8ee 0%, #e8eef2 45%, #d5e0e6 100%);
  overflow: hidden;
}

.site-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a2228' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}

.site-bg::after {
  content: "";
  position: absolute;
  width: min(85vw, 900px);
  height: min(85vw, 900px);
  right: -18%;
  bottom: -25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 110, 110, 0.16), transparent 68%);
  animation: wash-drift 14s ease-in-out infinite alternate;
}

@keyframes wash-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-4%, -3%) scale(1.05);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 8vw, 5rem) clamp(1.5rem, 6vw, 4rem);
  max-width: 52rem;
}

.brand {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 11vw, 5.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  animation: rise-in 0.85s ease-out both;
}

.headline {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  animation: rise-in 0.85s ease-out 0.1s both;
}

.lede {
  margin: 0 0 2rem;
  max-width: 34ch;
  font-size: 1.125rem;
  color: var(--ink-muted);
  animation: rise-in 0.85s ease-out 0.2s both;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  animation: rise-in 0.85s ease-out 0.3s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  background: var(--accent);
  color: #f5faf9;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-1px);
  outline: none;
}

.cta-secondary {
  color: var(--ink-muted);
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
  color: var(--ink);
  outline: none;
}

.site-footer {
  padding: 1.25rem clamp(1.5rem, 6vw, 4rem) 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  outline: none;
}

.legal {
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.5rem, 6vw, 4rem) 3rem;
  max-width: 42rem;
}

.legal .brand-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.legal .brand-link:hover,
.legal .brand-link:focus-visible {
  color: var(--accent);
  outline: none;
}

.legal h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal .updated {
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.legal h2 {
  margin: 1.75rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
}

.legal p,
.legal li {
  color: var(--ink-muted);
  font-size: 1rem;
}

.legal ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.legal a {
  color: var(--ink);
  text-underline-offset: 0.15em;
}

.legal a:hover,
.legal a:focus-visible {
  color: var(--accent);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-bg::after,
  .brand,
  .headline,
  .lede,
  .cta-group {
    animation: none;
  }

  .cta:hover,
  .cta:focus-visible {
    transform: none;
  }
}
