:root {
  --bg: #eef4f3;
  --bg-deep: #dce9e7;
  --ink: #152326;
  --muted: #5a6c6f;
  --line: rgba(21, 35, 38, 0.1);
  --accent: #0c6b75;
  --accent-soft: rgba(12, 107, 117, 0.12);
  --surface: rgba(255, 255, 255, 0.62);
  --surface-solid: #f7fbfa;
  --glow: rgba(12, 107, 117, 0.18);
  --radius: 22px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 90% 60% at 12% -10%, rgba(12, 107, 117, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 8%, rgba(90, 140, 130, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 100%, rgba(180, 200, 190, 0.35), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 160ms ease, opacity 160ms ease;
}

a:hover {
  color: #08555d;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 80px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 56px;
  animation: rise 700ms ease both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: inherit;
  opacity: 0.85;
}

.mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 8px 24px var(--glow);
}

.brand-name {
  font-size: 15px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 14px;
  font-weight: 600;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--accent);
}

.hero {
  margin-bottom: 40px;
  animation: rise 800ms 80ms ease both;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-hero {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(42px, 9vw, 64px);
  font-weight: 560;
  font-optical-sizing: auto;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 42px);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lede,
.updated {
  color: var(--muted);
  max-width: 38rem;
}

.lede {
  margin: 0;
  font-size: 1.05rem;
}

.updated {
  margin: 14px 0 0;
  font-size: 14px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  color: #f4fbfb;
  background: linear-gradient(180deg, #12818c 0%, var(--accent) 100%);
  box-shadow: 0 10px 28px var(--glow);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.links {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  animation: rise 900ms 140ms ease both;
}

@media (min-width: 640px) {
  .links {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.link-item {
  display: block;
  padding: 8px 2px 18px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 180ms ease, transform 180ms ease;
}

.link-item:hover {
  color: inherit;
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  transform: translateY(-2px);
}

.link-item h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.link-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.panel {
  margin-top: 8px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
  animation: rise 850ms 120ms ease both;
}

.panel h2 {
  margin: 36px 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

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

.panel p,
.panel li {
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
}

.panel ul {
  padding-left: 1.15em;
}

.panel li + li {
  margin-top: 8px;
}

.support-note {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.support-note p {
  margin: 0;
  color: var(--muted);
}

.support-note a {
  font-weight: 600;
}

.support-note br + a {
  display: inline-block;
  margin-top: 8px;
}

footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  animation: rise 900ms 180ms ease both;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
