:root {
  --bg-a: #f3fbff;
  --bg-b: #fbf8ef;
  --ink: #132731;
  --muted: #4d6574;
  --panel: rgba(255, 255, 255, 0.88);
  --line: #c8d8df;
  --brand: #0e7f7b;
  --brand-strong: #0f5f86;
  --brand-soft: #e0f3f2;
  --shadow: 0 28px 60px -40px rgba(8, 31, 47, 0.45);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --font-display: "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
  --font-body: "Trebuchet MS", "Lucida Sans", "Gill Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  background: radial-gradient(circle at 12% -10%, #d9f0ff 0%, transparent 42%),
    radial-gradient(circle at 92% 0%, #ffe8d0 0%, transparent 32%),
    linear-gradient(165deg, var(--bg-a) 0%, var(--bg-b) 100%);
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 360px;
  height: 360px;
  right: -130px;
  top: 20%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(13, 127, 123, 0.22) 0%, rgba(13, 127, 123, 0) 66%);
}

body::after {
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(15, 95, 134, 0.14) 0%, rgba(15, 95, 134, 0) 68%);
}

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

.site-header {
  padding: 20px 0 8px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  box-shadow: 0 0 0 5px rgba(14, 127, 123, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.94rem;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.hero {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4.2vw, 46px);
  margin: 10px 0 18px;
  backdrop-filter: blur(4px);
  animation: reveal 500ms ease both;
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-strong);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.15;
}

h1 {
  margin-top: 9px;
  font-size: clamp(1.9rem, 5.4vw, 3rem);
  max-width: 18ch;
}

h2 {
  font-size: 1.2rem;
}

.lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  max-width: 60ch;
}

.cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 11px;
  padding: 11px 15px;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #eef9f8;
  border: 1px solid transparent;
  transition: transform 180ms ease, filter 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.button-subtle {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-color: var(--line);
}

.section-stack {
  display: grid;
  gap: 14px;
  padding-bottom: 6px;
}

.grid-two {
  grid-template-columns: 1fr;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px;
  animation: rise 640ms ease both;
}

.section-stack > :nth-child(1) {
  animation-delay: 90ms;
}

.section-stack > :nth-child(2) {
  animation-delay: 140ms;
}

.section-stack > :nth-child(3) {
  animation-delay: 190ms;
}

.section-stack > :nth-child(4) {
  animation-delay: 240ms;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.card a {
  color: var(--brand-strong);
  font-weight: 700;
  text-underline-offset: 3px;
}

.list-clean {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

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

.site-footer {
  padding: 22px 0 42px;
  color: #617988;
  font-size: 0.9rem;
}

.fineprint {
  margin: 16px 0 0;
  color: #617988;
  font-size: 0.86rem;
}

@media (min-width: 760px) {
  .site-header {
    padding-top: 28px;
  }

  .grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
