:root {
  --bg: #f5f2ea;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --ink: #151926;
  --muted: #5b6376;
  --line: rgba(21, 25, 38, 0.12);
  --accent: #0f766e;
  --accent-2: #d97706;
  --accent-ink: #f7fffe;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 6%, rgba(217, 119, 6, 0.12), transparent 38%),
    radial-gradient(circle at 12% 10%, rgba(15, 118, 110, 0.14), transparent 42%),
    linear-gradient(#f7f4ed, #f0ede4 65%, #ece8dc);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(21, 25, 38, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 25, 38, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: -1;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(245, 242, 234, 0.72);
  border-bottom: 1px solid rgba(21, 25, 38, 0.06);
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--accent), #155e75);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.brand-text {
  white-space: nowrap;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), #0f5f77);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.22);
}

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

.button.ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}

.button.text {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}

.hero {
  padding: 3.2rem 0 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

h1, h2 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.65rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  max-width: 22ch;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.07rem;
  line-height: 1.25;
}

.lede {
  margin: 1rem 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.lede.small {
  font-size: 1rem;
}

.hero-actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.stat-row {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat-row li {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.85rem;
}

.stat-row strong {
  display: block;
  font-size: 1.15rem;
}

.stat-row span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-panel {
  border: 1px solid rgba(21, 25, 38, 0.1);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.75));
  box-shadow: var(--shadow);
  padding: 0.95rem;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.25rem 0.9rem;
  border-bottom: 1px dashed rgba(21, 25, 38, 0.1);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
  animation: pulse 2.4s infinite;
}

.mini-cards {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.mini-card {
  border-radius: 14px;
  border: 1px solid rgba(21, 25, 38, 0.08);
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.8);
}

.mini-card h2 {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

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

.logo-strip {
  padding: 0.5rem 0 0.7rem;
}

.logo-strip .container {
  border-top: 1px solid rgba(21, 25, 38, 0.08);
  border-bottom: 1px solid rgba(21, 25, 38, 0.08);
  padding: 0.9rem 0;
}

.logo-strip p {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.logo-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.logo-strip li {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(21, 25, 38, 0.08);
  background: rgba(255, 255, 255, 0.6);
  color: #384152;
  font-weight: 700;
  font-size: 0.88rem;
}

.section {
  padding: 2.1rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.14));
  border-top: 1px solid rgba(21, 25, 38, 0.05);
  border-bottom: 1px solid rgba(21, 25, 38, 0.05);
}

.section-head {
  margin-bottom: 1rem;
}

.section-head p:not(.eyebrow) {
  margin: 0.75rem 0 0;
  max-width: 62ch;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 0.9rem;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  border: 1px solid rgba(21, 25, 38, 0.08);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 25px rgba(17, 24, 39, 0.05);
}

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

.case-card {
  background:
    radial-gradient(circle at 100% 0, rgba(15, 118, 110, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.88);
}

.case-label {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.4rem;
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-list li {
  background: #fff;
  border: 1px solid rgba(21, 25, 38, 0.08);
  border-radius: 999px;
  padding: 0.32rem 0.55rem;
  font-size: 0.8rem;
  color: #40485b;
}

.post-card time {
  display: inline-block;
  color: #6b7280;
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

.post-card h3 a {
  text-decoration: none;
}

.post-card h3 a:hover,
.post-card h3 a:focus-visible {
  text-decoration: underline;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.faq-grid details {
  border: 1px solid rgba(21, 25, 38, 0.08);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-grid p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.cta-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
  border: 1px solid rgba(21, 25, 38, 0.08);
  border-radius: calc(var(--radius) + 4px);
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.73));
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(21, 25, 38, 0.14);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: inherit;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.35);
  outline-offset: 1px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer {
  padding: 1.4rem 0 2rem;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.3rem;
}

.footer-brand {
  margin-bottom: 0.4rem;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.footer-meta p {
  margin: 0.25rem 0;
  color: var(--muted);
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(21, 25, 38, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.85rem;
}

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

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .cta-shell,
  .cards.three,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-shell {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.75rem 0;
  }

  .nav-list {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-bottom: 0.2rem;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .footer-shell,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

