:root {
  /* Teal-forward professional palette — restrained saturation for readability */
  --background: 0 0% 100%;
  --foreground: 172 40% 10%;
  --card: 0 0% 100%;
  --primary: 172 52% 28%;
  --primary-foreground: 180 25% 98%;
  --secondary: 172 28% 95.5%;
  --secondary-foreground: 172 40% 12%;
  --muted: 172 25% 96%;
  --muted-foreground: 172 12% 42%;
  --accent: 172 30% 93%;
  --accent-foreground: 172 52% 22%;
  --border: 172 18% 90%;
  --ring: 172 52% 28%;
  --radius: 0.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  background: hsl(var(--background));
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 1rem;
}

.section-muted {
  background: hsl(var(--muted) / 0.5);
}

.section-primary-soft {
  background: hsl(var(--primary) / 0.05);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 2vw + 1.25rem, 2.25rem);
  line-height: 1.2;
  font-weight: 700;
}

.section-subtitle {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 4rem;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(6px);
}

.site-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.15s ease-in-out;
}

.nav-link:hover {
  color: hsl(var(--foreground));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
}

.btn-outline {
  border-color: hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
}

.btn-lg {
  min-height: 2.75rem;
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.hero {
  padding: 8rem 1rem 4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-primary-soft {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.hero-title {
  margin: 1.5rem 0;
  font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem);
  line-height: 1.1;
  font-weight: 700;
}

.text-primary {
  color: hsl(var(--primary));
}

.hero-copy {
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.icon-4 {
  width: 1rem;
  height: 1rem;
}

.icon-5 {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-6 {
  width: 1.5rem;
  height: 1.5rem;
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-copy {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

.benefits {
  display: grid;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.benefit-item svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: hsl(var(--primary));
}

.steps-intro {
  margin-bottom: 4rem;
}

.steps-grid {
  display: grid;
  gap: 2rem;
}

.step-card-wrap {
  position: relative;
}

.step-card {
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--primary) / 0.1);
  padding: 1.5rem;
  transition: border-color 0.15s ease-in-out;
}

.step-card:hover {
  border-color: hsl(var(--primary));
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  margin-bottom: 1rem;
}

.step-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.step-copy {
  margin: 0;
  color: hsl(var(--muted-foreground));
}

.step-connector {
  display: none;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid hsl(var(--border));
}

.faq-item {
  border-bottom: 1px solid hsl(var(--border));
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 500;
}

.faq-trigger:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease-out;
}

.faq-content-inner {
  min-height: 0;
  overflow: hidden;
  color: hsl(var(--muted-foreground));
  padding-bottom: 0;
}

.faq-item[data-open="true"] .faq-content {
  grid-template-rows: 1fr;
}

.faq-item[data-open="true"] .faq-content-inner {
  padding-bottom: 1rem;
}

.faq-item[data-open="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-chevron {
  transition: transform 0.2s ease-in-out;
  flex-shrink: 0;
}

.cta-card {
  border-radius: 1rem;
  border: 1px solid hsl(var(--primary) / 0.2);
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--primary) / 0.05));
  padding: 2rem;
}

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

.article-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: 0 10px 30px -25px hsl(var(--foreground) / 0.15);
  padding: 1.25rem;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.article-card:hover {
  border-color: hsl(var(--primary));
  transform: translateY(-2px);
}

.article-card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
  line-height: 1.3;
}

.article-card p {
  color: hsl(var(--muted-foreground));
  margin: 0 0 0.9rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.tag {
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  padding: 0.16rem 0.62rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
}

.article-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  font-weight: 600;
}

.article-card a:hover {
  text-decoration: underline;
}

.card-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  z-index: 1;
}

.card-button {
  position: relative;
  z-index: 2;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.card-button:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--primary) / 0.35);
  text-decoration: none;
}

.cta-copy {
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

.small-copy {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.small-copy a,
.underline-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.small-copy a:hover,
.underline-link:hover {
  color: hsl(var(--foreground));
}

.footer {
  padding: 3rem 1rem;
  border-top: 1px solid hsl(var(--border));
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p + p {
  margin-top: 0.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-copy {
    font-size: 1.25rem;
  }

  .cta-card {
    padding: 3rem;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: inline-flex;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

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

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

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

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

  .step-connector {
    position: absolute;
    top: 50%;
    right: -1rem;
    display: block;
    width: 2rem;
    border-top: 2px solid hsl(var(--border));
  }

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