:root {
  --background: hsl(180 20% 99%);
  --foreground: hsl(200 25% 15%);
  --card: hsl(0 0% 100%);
  --primary: hsl(174 58% 45%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(180 25% 96%);
  --secondary-foreground: hsl(200 25% 25%);
  --muted-foreground: hsl(200 15% 45%);
  --accent: hsl(12 85% 62%);
  --accent-foreground: hsl(0 0% 100%);
  --border: hsl(180 20% 90%);
  --gradient-hero: linear-gradient(135deg, hsl(180 30% 97%) 0%, hsl(174 40% 95%) 100%);
  --shadow-soft: 0 4px 20px -4px hsl(200 25% 15% / 0.08);
  --shadow-card: 0 8px 30px -8px hsl(200 25% 15% / 0.1);
  --shadow-glow: 0 0 40px hsl(174 58% 45% / 0.15);
  --radius: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; scroll-padding-top: 4rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; }
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.icon {
  width: 1.5rem; height: 1.5rem; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.text-primary { color: var(--primary); }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: 48rem; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.25rem; padding: 0 1rem; border-radius: calc(var(--radius) - 2px);
  background: var(--primary); color: var(--primary-foreground);
  font-size: 0.875rem; font-weight: 500; white-space: nowrap;
  box-shadow: var(--shadow-soft); transition: all 0.2s;
}
.btn:hover { background: hsl(174 58% 45% / 0.9); box-shadow: var(--shadow-card); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn .icon { width: 1.25rem; height: 1.25rem; }
.btn-block { width: 100%; }
.btn-hero {
  height: 3rem; padding: 0 2rem; border-radius: calc(var(--radius) + 4px);
  background: var(--accent); color: var(--accent-foreground);
  font-size: 1rem; font-weight: 600; box-shadow: var(--shadow-card);
}
.btn-hero:hover { background: hsl(12 85% 62% / 0.9); box-shadow: var(--shadow-glow); transform: scale(1.02); }

/* Brand */
.brand { display: flex; align-items: center; gap: 0.5rem; }
.brand-mark {
  width: 2.25rem; height: 2.25rem; border-radius: calc(var(--radius) + 4px);
  background: var(--primary); color: var(--primary-foreground);
  display: flex; align-items: center; justify-content: center;
}
.brand-mark .icon { width: 1.25rem; height: 1.25rem; }
.brand-name { font-weight: 600; font-size: 1.125rem; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: hsl(180 20% 99% / 0.8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(180 20% 90% / 0.5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.nav-desktop, .btn-desktop { display: none; }
.nav-desktop a, .mobile-nav a:not(.btn) { color: var(--muted-foreground); transition: color 0.2s; }
.nav-desktop a:hover, .mobile-nav a:not(.btn):hover { color: var(--foreground); }
.menu-toggle {
  display: block; padding: 0.5rem; background: none; border: 0;
  color: var(--foreground); cursor: pointer;
}
.menu-toggle .icon-close, .menu-toggle.open .icon-menu { display: none; }
.menu-toggle.open .icon-close { display: block; }
.mobile-menu { background: var(--background); border-bottom: 1px solid var(--border); animation: fadeIn 0.5s ease-out; }
.mobile-nav { display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.mobile-nav a:not(.btn) { padding: 0.5rem 0; }
.mobile-nav .btn { margin-top: 0.5rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden; background: var(--gradient-hero);
  padding: 8rem 0 5rem;
}
.blob { position: absolute; border-radius: 9999px; filter: blur(64px); }
.blob-1 { top: 5rem; right: 2.5rem; width: 16rem; height: 16rem; background: hsl(174 58% 45% / 0.05); }
.blob-2 { bottom: 2.5rem; left: 2.5rem; width: 12rem; height: 12rem; background: hsl(12 85% 62% / 0.05); }
.hero-inner { position: relative; max-width: 48rem; text-align: center; }
.hero h1 { font-size: 2.25rem; line-height: 1.25; font-weight: 700; animation: fadeUp 0.6s ease-out both; }
.lead {
  margin: 1.5rem auto 0; max-width: 42rem; font-size: 1.125rem; line-height: 1.625;
  color: var(--muted-foreground); animation: fadeUp 0.6s ease-out 0.1s both;
}
.search-box {
  margin: 2.5rem auto 0; max-width: 42rem; padding: 0.75rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  background: var(--card); border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow-card);
  animation: fadeUp 0.6s ease-out 0.2s both;
}
.search-field { position: relative; flex: 1; }
.search-field .icon {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 1.25rem; height: 1.25rem; color: var(--muted-foreground);
}
.search-field input {
  width: 100%; height: 3rem; padding: 0 1rem 0 3rem; border: 0;
  border-radius: calc(var(--radius) + 4px); background: hsl(180 25% 96% / 0.5);
  color: var(--foreground); font: inherit;
}
.search-field input::placeholder { color: var(--muted-foreground); }
.search-field input:focus { outline: none; box-shadow: 0 0 0 2px hsl(174 58% 45% / 0.3); }

/* Sections */
.section { padding: 5rem 0; }
.section-tinted { background: hsl(180 25% 96% / 0.3); }
.section h2 { font-size: 1.875rem; line-height: 1.25; font-weight: 700; }
.section-head { max-width: 42rem; margin: 0 auto 4rem; text-align: center; }
.section-lead { margin-top: 1rem; font-size: 1.125rem; color: var(--muted-foreground); }
.sub { margin-top: 2.5rem; font-size: 1.5rem; line-height: 2rem; }
.body-text { margin-top: 1rem; color: var(--muted-foreground); }
.bullets { margin-top: 1rem; padding-left: 1.25rem; list-style: disc; color: var(--muted-foreground); }
.bullets li + li { margin-top: 0.75rem; }
.bullets strong { color: var(--foreground); font-weight: 600; }
.chips { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chips a {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 9999px;
  background: var(--secondary); color: var(--secondary-foreground);
  font-size: 0.875rem; transition: background 0.2s;
}
.chips a:hover { background: hsl(180 25% 96% / 0.7); }

/* Steps */
.steps { display: grid; gap: 2rem; }
.step { position: relative; text-align: center; }
.step-icon {
  position: relative; z-index: 10; width: 5rem; height: 5rem; margin: 0 auto;
  border-radius: calc(var(--radius) + 8px); background: var(--card); color: var(--primary);
  box-shadow: var(--shadow-soft); display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.step-icon .icon { width: 2rem; height: 2rem; }
.step:hover .step-icon { box-shadow: var(--shadow-card); transform: scale(1.05); }
.step-num {
  position: absolute; top: -0.5rem; left: calc(50% + 1.5rem); z-index: 20;
  width: 1.75rem; height: 1.75rem; border-radius: 9999px;
  background: var(--accent); color: var(--accent-foreground);
  font-size: 0.875rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-top: 1.5rem; font-size: 1.125rem; }
.step p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

/* Benefits */
.benefits { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.benefit {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1rem;
  border-radius: calc(var(--radius) + 4px); background: hsl(180 25% 96% / 0.5); transition: background 0.2s;
}
.benefit:hover { background: var(--secondary); }
.benefit-icon {
  width: 3rem; height: 3rem; flex-shrink: 0; border-radius: calc(var(--radius) + 4px);
  background: hsl(174 58% 45% / 0.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.benefit h3 { font-size: 1rem; letter-spacing: normal; }
.benefit p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* FAQ */
.faq { margin-top: 2.5rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; font-weight: 500; cursor: pointer; list-style: none; text-align: left;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 0.6rem; height: 0.6rem; flex-shrink: 0; margin-right: 0.2rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { text-decoration: underline; }
.faq details p { padding-bottom: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Footer */
.site-footer { background: var(--foreground); color: var(--background); padding: 4rem 0; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand p { margin-top: 1rem; font-size: 0.875rem; line-height: 1.625; color: hsl(180 20% 99% / 0.7); }
.site-footer h4 { margin-bottom: 1rem; font-size: 1rem; letter-spacing: normal; }
.site-footer li { font-size: 0.875rem; color: hsl(180 20% 99% / 0.7); }
.site-footer li + li { margin-top: 0.75rem; }
.site-footer li a:hover { color: var(--background); }
.with-icon { display: flex; align-items: center; gap: 0.5rem; }
.with-icon .icon { width: 1rem; height: 1rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid hsl(180 20% 99% / 0.1);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.875rem; color: hsl(180 20% 99% / 0.5);
}

/* 404 */
.not-found { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: hsl(180 15% 95%); padding: 1.5rem; }
.not-found h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.not-found p { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.not-found a { color: var(--primary); text-decoration: underline; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: span 2; }
  .search-box { padding: 0.75rem; }
  .footer-bottom { flex-direction: row; }
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; align-items: center; gap: 2rem; }
  .btn-desktop { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .hero { padding: 10rem 0 8rem; }
  .hero h1 { font-size: 3rem; }
  .lead { font-size: 1.25rem; }
  .search-box { flex-direction: row; padding: 1rem; }
  .btn-hero { width: auto; }
  .section { padding: 7rem 0; }
  .section h2 { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; line-height: 1; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 2.5rem; left: 60%; width: 80%; height: 2px; background: var(--border);
  }
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .footer-brand { grid-column: auto; }
}
@media (max-width: 767px) {
  .btn-hero { width: 100%; }
}
