/* Peak 14 — website (light) · Blue #215A78 · Green #558B71 */

:root {
  --blue: #215a78;
  --blue-hover: #1a4a63;
  --green: #558b71;
  --green-hover: #4a7a63;

  --bg: #f4f8f6;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-muted: #eef4f1;
  --border: #c5d8cf;
  --text: #1e2d28;
  --text-muted: #4d6359;

  --accent: var(--blue);
  --accent-hover: var(--blue-hover);
  --accent-green: var(--green);
  --accent-dim: rgba(33, 90, 120, 0.09);
  --accent-green-dim: rgba(85, 139, 113, 0.12);
  --on-accent: #ffffff;

  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 12px 40px rgba(33, 90, 120, 0.08);
  --max: 1120px;
  --header-h: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(
      ellipse 100% 70% at 50% -15%,
      rgba(85, 139, 113, 0.14),
      transparent 52%
    ),
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(33, 90, 120, 0.1), transparent 45%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(85, 139, 113, 0.08), transparent 50%);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: var(--radius);
  z-index: 200;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent-green);
}

.logo--with-img {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo--with-img img {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: min(240px, 58vw);
  object-fit: contain;
}

@media (max-width: 380px) {
  .logo--with-img img {
    height: 2.15rem;
    max-width: 52vw;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-muted);
}

.nav a.nav-cta {
  color: var(--on-accent);
  background: var(--accent);
  margin-left: 0.35rem;
}

.nav a.nav-cta:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
  background: var(--surface-muted);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

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

.footer-links a {
  font-size: 0.9375rem;
}

.hero {
  padding: 2rem 0 3.5rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 3rem 0 4rem;
  }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 18ch;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--ghost:hover {
  background: var(--accent-dim);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

.section {
  margin-top: 3.5rem;
}

.section:first-of-type {
  margin-top: 0;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.section__intro {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 1.75rem;
}

.grid-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-cards--2,
  .grid-cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .grid-cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent-green);
  border-radius: 2px;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.page-intro {
  color: var(--text-muted);
  max-width: 65ch;
  margin: 0 0 2rem;
}

.service-block {
  margin-bottom: 2.5rem;
}

.service-block h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.service-block p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  max-width: 65ch;
}

.founder__grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 720px) {
  .founder__grid {
    grid-template-columns: min(240px, 34vw) 1fr;
  }
}

.founder__photo {
  margin: 0;
}

.founder__photo img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.founder__bio p:last-child {
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.step {
  background: linear-gradient(135deg, var(--accent-dim) 0%, var(--accent-green-dim) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  position: relative;
  padding-left: 3.25rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.35rem;
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.quote {
  border-left: 3px solid var(--accent-green);
  padding: 0 0 0 1.25rem;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-style: italic;
}

.quote footer {
  margin-top: 0.65rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  font-size: 0.9375rem;
}

.contact-panel {
  max-width: 36rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.contact-panel__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.contact-panel__email {
  margin: 0;
  font-size: 1.25rem;
}

.contact-panel__email a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.contact-panel__email a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.legal-doc__meta {
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
  }

  .nav a.nav-cta {
    margin-left: 0;
    text-align: center;
  }
}
