@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  color-scheme: light;
  --display-font: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body-font: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --ink: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.08);
  --paper: #fcfdff;
  --soft: #f5f7fb;
  --brand: #2f6f73;
  --info: #5f9ea0;
  --accent: #0f172a;
  --brand-dark: #24585c;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 46% at 50% -18%, rgba(47, 111, 115, 0.14) 0%, transparent 100%),
    radial-gradient(rgba(15, 23, 42, 0.1) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(47, 111, 115, 0.045) 0%, transparent 28%),
    radial-gradient(circle at top right, rgba(95, 158, 160, 0.035) 0%, transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, transparent 100%),
    var(--soft);
  background-size: auto, 24px 24px, auto, auto, auto, auto;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header,
.section,
.site-footer {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
  font-size: 1.05rem;
}

.brand::before {
  content: "\2702";
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--brand);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: none;
  font-size: 1rem;
  line-height: 1;
}

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

.nav a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 750;
}

.nav a {
  color: var(--muted);
}

.button {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.nav a.button {
  color: #ffffff;
}

.button:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

.breadcrumbs {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 10px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #9aa6b2;
}

.breadcrumbs a {
  text-decoration: none;
}

.hero {
  padding: 72px 0 44px;
}

.hero .section {
  max-width: 1200px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 850;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: 4.35rem;
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 900;
  background: linear-gradient(270deg, var(--brand), var(--info), var(--accent), var(--brand));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: none;
}

.secondary:hover {
  background: rgba(15, 23, 42, 0.035);
  border-color: rgba(15, 23, 42, 0.24);
  box-shadow: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 56px 0;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(252, 253, 255, 0.88);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.panel h2,
.panel h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.62;
}

.panel a:not(.button) {
  color: var(--ink);
  text-decoration-color: rgba(47, 111, 115, 0.32);
  text-underline-offset: 4px;
}

.panel ul {
  margin: 0;
  padding-left: 20px;
}

.wide {
  grid-column: span 2;
}

.soft-band {
  background: rgba(252, 253, 255, 0.42);
}

.site-footer {
  padding: 28px 0 36px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .site-header,
  .section,
  .site-footer,
  .breadcrumbs {
    width: min(100% - 32px, 1200px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav a,
  .button {
    flex: 1 1 auto;
  }

  .hero {
    padding: 42px 0 38px;
  }

  h1 {
    font-size: 2.75rem;
    line-height: 1;
  }

  .grid {
    grid-template-columns: 1fr;
    padding: 36px 0;
  }

  .wide {
    grid-column: auto;
  }
}
