:root {
  color-scheme: light;
  --bg: #f3f4ef;
  --bg-accent: #dde8dd;
  --panel-strong: #ffffff;
  --text: #18251b;
  --muted: #55645a;
  --border: rgba(24, 37, 27, 0.12);
  --border-strong: rgba(24, 37, 27, 0.22);
  --shadow: 0 20px 50px rgba(25, 39, 28, 0.12);
  --shadow-soft: 0 14px 34px rgba(25, 39, 28, 0.08);
  --accent: #0f766e;
  --accent-strong: #115e59;
  --focus: #0b57d0;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-display: "Segoe UI Variable Display", "Aptos Display", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Segoe UI Variable Text", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-mono: "Cascadia Code", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  font-size: 18px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 28rem),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.14), transparent 24rem),
    linear-gradient(180deg, var(--bg-accent) 0%, var(--bg) 24%, #eef0e8 100%);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
  padding: 16px 0 28px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  min-width: 3.4rem;
  height: 2.75rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav-link,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.site-nav-link:hover,
.button-link:hover {
  border-color: rgba(24, 37, 27, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(24, 37, 27, 0.08);
}

.site-nav-link[aria-current="page"] {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent) 0%, #0f8a7e 100%);
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(15, 118, 110, 0.22);
}

.main-grid {
  display: grid;
  gap: 20px;
}

.hero-card,
.surface-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.7));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 44rem;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

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

.button-link-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent) 0%, #0f8a7e 100%);
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(15, 118, 110, 0.22);
}

.button-link-secondary {
  background: rgba(255, 255, 255, 0.72);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.stat-card {
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.64);
}

.stat-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 20px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--accent-strong);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[contenteditable="true"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  html {
    font-size: 17px;
  }

  .site-shell {
    width: min(100%, calc(100% - 16px));
    padding-top: 12px;
    padding-bottom: 20px;
  }

  .site-header {
    border-radius: var(--radius-lg);
    padding: 14px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav-link {
    flex: 1 1 calc(50% - 10px);
  }

  .button-link {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav-link,
  .button-link {
    transition: none;
  }
}
