/* SmutSEO — CSS parity with Next.js / Tailwind */
:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 0%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 0%;
  --primary: 217 90% 60%;
  --primary-hex: #3c83f6;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;
  --secondary: 0 0% 96%;
  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 198 94% 37%;
  --radius: 0.5rem;
  --font: "Poppins", sans-serif;
}

html.dark {
  --background: 0 0% 0%;
  --foreground: 0 0% 100%;
  --card: 0 0% 10%;
  --card-foreground: 0 0% 100%;
  --muted: 0 0% 15%;
  --muted-foreground: 0 0% 65%;
  --secondary: 0 0% 15%;
  --border: 0 0% 20%;
  --input: 0 0% 20%;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1rem; }
.site-main { flex: 1; }

/* Global utilities (Tailwind parity — use in templates, no page-specific CSS) */
.text-center { text-align: center; }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-gray-400 { color: #9ca3af; }
.text-white { color: #fff; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; }
.pt-28 { padding-top: 7rem; }
.pb-20 { padding-bottom: 5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-6 p { margin-bottom: 1em; }
/* Main: text-[1.32em] */
.text-body-132 { font-size: 1.32em; line-height: 1em; font-weight: 400; }
.transition-colors { transition: color 0.2s ease; }

/* Header */
.site-header {
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.site-logo svg { width: 2rem; height: 2rem; }
.nav-desktop { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } .menu-toggle { display: none !important; } }
.nav-link {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: transparent;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.nav-link:hover { background: hsl(var(--muted)); }
.nav-link-outline { border: 1px solid currentColor; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: hsl(var(--background));
  padding: 2rem;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu.is-open { display: flex; }

/* Footer */
.site-footer {
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  padding: 1.5rem 0;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  font-size: 0.875rem;
}
.footer-links a:hover { color: hsl(var(--foreground)); }
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    text-align: left;
  }
}
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.transition-colors { transition: color 0.2s ease; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--primary-hex);
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 20px 25px -5px rgb(60 131 246 / 0.25); }
.btn-shadow {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.btn-outline {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  font-weight: 500;
}
.btn-outline:hover {
  background: rgb(60 131 246 / 0.1);
  color: var(--primary-hex);
}
.btn-lg { padding: 0.75rem 2rem; font-size: 1.125rem; }
.btn-ghost { background: transparent; }
.w-full { width: 100%; }

/* Cards */
.card {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
}
.card-hover {
  transition: all 0.3s;
}
.card-hover:hover {
  box-shadow: 0 10px 15px -3px rgb(60 131 246 / 0.2);
  transform: translateY(-4px);
}
.bg-zinc-800 { background: hsl(var(--card)); }
html.dark .bg-zinc-800 { background: #27272a; }
.border-zinc-700 { border-color: hsl(var(--border)); }
html.dark .border-zinc-700 { border-color: #3f3f46; }
.text-gray-300 { color: hsl(var(--muted-foreground)); }
.text-gray-400 { color: hsl(var(--muted-foreground)); }
.text-white { color: #fff; }

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; }
.sm-input,
.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: inherit;
}
.radio-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: var(--radius);
}
.radio-row:hover { background: hsl(var(--muted)); }

/* Homepage sections — colors follow html.dark CSS variables */
.hero-section {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--muted)));
}
@media (min-width: 640px) {
  .hero-section { padding: 5rem 1rem; }
}
.hero-section h1 {
  font-size: clamp(1.875rem, 4vw + 1rem, 3.75rem);
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0 0 1.5rem;
  line-height: 1.1;
}
.text-primary-gradient {
  background: var(--primary-hex);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.6;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto 3rem;
}
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: repeat(3, 1fr); }
}
.hero-card { padding: 1.5rem; text-align: left; }
.hero-card h3 { font-size: 1.25rem; font-weight: 600; margin: 0 0 0.5rem; color: hsl(var(--foreground)); }
.hero-card p { margin: 0 0 1rem; }
.hero-card-2 { animation-delay: 0.2s; }
.hero-card-3 { animation-delay: 0.4s; }

.section { padding: 5rem 1rem; }
.section-black { background: hsl(var(--background)); }
.section-zinc { background: hsl(var(--muted)); }
.section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 4rem;
  color: hsl(var(--foreground));
  line-height: 1.2;
}

.why-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}
@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-center { text-align: center; }
.feature-center h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: hsl(var(--foreground));
}
.feature-center-2 { animation-delay: 0.2s; }
.feature-center-3 { animation-delay: 0.4s; }
.icon-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--primary-hex);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.how-works-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 640px) {
  .how-works-grid {
    gap: 3rem;
    grid-template-columns: 1fr 1fr;
  }
}
.how-steps { display: flex; flex-direction: column; gap: 3rem; }
.how-step { display: flex; gap: 1.5rem; align-items: flex-start; }
.how-step-2 { animation-delay: 0.2s; }
.how-step-3 { animation-delay: 0.4s; }
.how-step-num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary-hex);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.how-step h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: hsl(var(--foreground));
}

.boost-grid {
  display: grid;
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 768px) {
  .boost-grid { grid-template-columns: 1fr 1fr; }
}
.boost-content { display: flex; flex-direction: column; gap: 2rem; }
.boost-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
  line-height: 1.2;
}
.boost-items { display: flex; flex-direction: column; gap: 1.5rem; }
.boost-item { display: flex; gap: 1rem; align-items: flex-start; }
.boost-check { margin-top: 0.25rem; }
.boost-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: hsl(var(--foreground));
}
.boost-item:last-child { margin-bottom: 0; }

.media-card {
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.media-card video,
.media-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.media-card img { margin-bottom: 1.5rem; }

.pricing-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-card { padding: 2rem; position: relative; }
.pricing-card-2 { animation-delay: 0.2s; }
.pricing-card-3 { animation-delay: 0.4s; }
.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: hsl(var(--foreground));
}
.pricing-badge {
  position: absolute;
  top: -1rem;
  right: 1rem;
  background: var(--primary-hex);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.pricing-intro {
  max-width: 72rem;
  margin: 0 auto 3rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}
.pricing-intro-last {
  font-style: italic;
  margin-bottom: 4rem;
}
.pricing-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0 0 1rem;
}
.pricing-price span {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  font-weight: 400;
}
.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.pricing-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: hsl(var(--muted-foreground));
}
.icon-pricing { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

.testimonials-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card { padding: 2rem; }
.testimonial-card-2 { animation-delay: 0.2s; }
.testimonial-card-3 { animation-delay: 0.4s; }
.testimonial-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.testimonial-head img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-head h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: hsl(var(--foreground));
}
.testimonial-quote { font-style: italic; margin: 0; }
.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #facc15;
}
.stars svg { width: 1.5rem; height: 1.5rem; }

.faq-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .faq-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.faq-card { padding: 1.5rem; }
.faq-card-2 { animation-delay: 0.2s; }
.faq-card-3 { animation-delay: 0.4s; }
.faq-card-4 { animation-delay: 0.6s; }
.faq-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: hsl(var(--foreground));
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: hsl(var(--muted-foreground));
}
.check-list li:last-child { margin-bottom: 0; }

.cta-section {
  padding: 5rem 1rem;
  background: linear-gradient(to bottom, hsl(var(--muted)), hsl(var(--background)));
  text-align: center;
}
.cta-inner {
  max-width: 56rem;
  margin: 0 auto;
}
.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0 0 1.5rem;
  text-align: center;
}
.cta-section p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin: 0 0 2rem;
  line-height: 1.6;
}
.cta-btn {
  width: 100%;
}
@media (min-width: 640px) {
  .cta-btn { width: auto; }
}

/* Animations */
.animate-fade-in { animation: fadeIn 0.5s ease-out both; }
.animate-slide-up { animation: slideUp 0.5s ease-out both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Submit page — dark mode card override (parity app/globals.css) */
html.dark .submit-guest-post-page .card {
  --card: 0 0% 0%;
  background: #000 !important;
}
.submit-page-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 1rem;
}
.submit-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .submit-layout { grid-template-columns: 2fr 1fr; }
}
.submit-sidebar-head { margin-bottom: 1.5rem; }
.submit-sidebar-title {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.25rem;
  color: hsl(var(--foreground));
}
.submit-sidebar-desc {
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin: 0;
  font-size: 1rem;
}
.submit-order-form { display: flex; flex-direction: column; gap: 1rem; }
.submit-order-form .form-group { margin: 0; }
.submit-order-form .form-group > label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.submit-order-form .form-section-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  color: hsl(var(--foreground));
}
.submit-order-form .radio-group {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.submit-order-form .radio-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: calc(var(--radius) - 2px);
  transition: background-color 0.2s ease;
}
.submit-order-form .radio-row:hover {
  background: #f3f4f6;
}
html.dark .submit-order-form .radio-row:hover {
  background: #374151;
}
.submit-order-form .radio-row input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  max-width: 1rem;
  min-height: 1rem;
  max-height: 1rem;
  aspect-ratio: 1 / 1;
  padding: 0;
  margin: 0;
  flex: 0 0 1rem;
  border: 1px solid var(--primary-hex);
  border-radius: 50%;
  background: hsl(var(--background));
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.submit-guest-post-page .submit-order-form .radio-row input[type="radio"] {
  background: hsl(var(--background));
}
html.dark .submit-guest-post-page .submit-order-form .radio-row input[type="radio"] {
  background: #000;
}
.submit-order-form .radio-row input[type="radio"]::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--primary-hex);
  transform: scale(0);
  transition: transform 0.15s ease;
}
.submit-order-form .radio-row input[type="radio"]:checked::before {
  transform: scale(1);
}
.submit-order-form .radio-row input[type="radio"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring) / 0.35);
}
.submit-order-form .radio-row label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  color: hsl(var(--foreground));
  cursor: pointer;
}
.submit-order-form [type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.category-filter { margin-bottom: 2rem; }
.category-filter-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
}

/* Blog */
.blog-page {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.blog-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border-color: hsl(var(--border));
}
.blog-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}
.blog-card-body h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: hsl(var(--foreground));
}
.blog-card-date {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 1rem;
}
.blog-card-excerpt {
  margin: 0 0 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: hsl(var(--foreground));
}
.blog-read-more {
  color: var(--primary-hex);
  margin-top: auto;
}
.blog-read-more:hover { text-decoration: underline; }

/* Blog pagination */
.blog-pagination {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}
.blog-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-pagination .page-numbers li {
  margin: 0;
  padding: 0;
}
.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.blog-pagination .page-numbers a:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted));
}
.blog-pagination .page-numbers .current {
  color: var(--primary-hex);
  border-color: hsl(var(--border));
  background: hsl(var(--background));
  cursor: default;
}
.blog-pagination .page-numbers .dots {
  min-width: auto;
  padding: 0 0.25rem;
  color: hsl(var(--muted-foreground));
}
.blog-pagination .page-numbers .prev,
.blog-pagination .page-numbers .next {
  min-width: auto;
  padding: 0 0.75rem;
}

.blog-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}
.blog-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prose { max-width: 48rem; margin: 0 auto; padding: 5rem 1rem; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; }
.prose p { margin-bottom: 1rem; }
.prose img { border-radius: var(--radius); margin: 1rem 0; }
.prose ul { padding-left: 1.5rem; }

/* Modal */
.smutseo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgb(0 0 0 / 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.smutseo-modal.is-open {
  display: flex;
  animation: modalOverlayIn 0.3s ease-out;
}
.smutseo-modal-content {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 28rem;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  animation: modalContentIn 0.3s ease-out;
}
.sm-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-right: 2rem;
}
.sm-modal-desc {
  color: hsl(var(--muted-foreground));
  margin: 0 0 1.5rem;
  line-height: 1.6;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .is-readonly {
  background: #f3f4f6;
  cursor: not-allowed;
}
html.dark .contact-form .is-readonly {
  background: #1f2937;
}
.contact-form .is-invalid {
  border-color: #ef4444 !important;
}
.field-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
}
.smutseo-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  color: hsl(var(--foreground));
}
.smutseo-modal-close:hover {
  background: hsl(var(--muted));
}
@keyframes modalOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalContentIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Toast */
.smutseo-toast {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 9999;
  max-width: 24rem;
  width: calc(100% - 2rem);
  animation: toastIn 0.3s ease-out;
}
.smutseo-toast-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid;
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
}
.smutseo-toast.is-success .smutseo-toast-inner {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}
html.dark .smutseo-toast.is-success .smutseo-toast-inner {
  background: #052e16;
  border-color: #166534;
  color: #bbf7d0;
}
.smutseo-toast.is-error .smutseo-toast-inner {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
html.dark .smutseo-toast.is-error .smutseo-toast-inner {
  background: #450a0a;
  border-color: #991b1b;
  color: #fecaca;
}
.smutseo-toast-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.smutseo-toast.is-success .smutseo-toast-icon::before { content: "✓"; font-weight: 700; }
.smutseo-toast.is-error .smutseo-toast-icon::before { content: "!"; font-weight: 700; }
.smutseo-toast-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.smutseo-toast-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}
.smutseo-toast-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
  opacity: 0.7;
}
.smutseo-toast-close:hover { opacity: 1; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* GDPR */
.smutseo-gdpr {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  padding: 1rem;
}
.smutseo-gdpr.hidden { display: none; }
.smutseo-gdpr-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.smutseo-gdpr-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }

/* Layout helpers */
.is-hidden { display: none !important; }
.icon-sm { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-md { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.icon-lg { width: 2.5rem; height: 2.5rem; }
.icon-primary { color: var(--primary-hex); }
.btn-icon { width: 2.5rem; height: 2.5rem; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.btn-sm { padding: 0.25rem 0.75rem; font-size: 0.75rem; }
.btn-ghost-sm { background: none; border: none; font-size: 0.75rem; color: hsl(var(--muted-foreground)); cursor: pointer; font-family: inherit; }
.btn-ghost-sm:hover { color: hsl(var(--foreground)); }
.nav-link-block { display: block; width: 100%; text-align: left; }

/* Theme toggle (parity: components/theme-toggle.tsx) */
.theme-toggle.btn {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 0.375rem;
  flex-shrink: 0;
}
.theme-toggle .theme-icon {
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.theme-toggle .theme-icon-sun {
  transform: rotate(0deg) scale(1);
}
.theme-toggle .theme-icon-moon {
  position: absolute;
  inset: 0;
  margin: auto;
  transform: rotate(90deg) scale(0);
}
html.dark .theme-toggle .theme-icon-sun {
  transform: rotate(-90deg) scale(0);
}
html.dark .theme-toggle .theme-icon-moon {
  transform: rotate(0deg) scale(1);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgb(0 0 0 / 0.5);
}
.mobile-menu-overlay.is-open { display: block; }
.mobile-menu-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: 100%;
  max-width: 24rem;
  background: #1a1a1a;
  box-shadow: -4px 0 24px rgb(0 0 0 / 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}
html:not(.dark) .mobile-menu-panel { background: #fff; }
.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
  border-bottom: 1px solid #27272a;
}
.mobile-menu-nav { flex: 1; padding: 1rem; }
.mobile-menu-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }

/* Static pages (structure only — layout/spacing via global utilities above) */
.page-narrow { max-width: 48rem; margin: 0 auto; padding: 5rem 1rem; text-align: center; }
.page-steps {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.page-steps section p {
  font-size: 1.32em;
  line-height: 1.5;
  margin: 0;
}
.page-steps section h2 {
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.page-steps section:first-child h2 { font-size: 1.9164em; }
.page-steps section:not(:first-child) h2 { font-size: 1.7424em; }
.page-steps section p {
  font-size: 1.32em;
  margin: 0;
  line-height: 1.6;
  color: hsl(var(--foreground));
}
.page-steps .step-accent {
  background: linear-gradient(to right, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-steps .step-num { color: hsl(var(--foreground)); }
html.dark .page-steps .step-num { color: #fff; }
.page-cta { margin-top: 3rem; text-align: center; }

.page-seller {
  max-width: 42rem;
  margin: 0 auto;
  padding: 5rem 1rem;
}
.page-seller h1 {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 1.5rem;
  color: hsl(var(--foreground));
}
.page-seller-intro {
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin: 0 0 2rem;
  line-height: 1.6;
}
.legal-prose { max-width: 56rem; margin: 0 auto; padding: 5rem 1rem; }
.legal-prose h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.legal-prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; }
.legal-prose h3 { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 0.75rem; }
.legal-prose p, .legal-prose li { color: hsl(var(--muted-foreground)); line-height: 1.75; }
.legal-prose ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-prose a { color: var(--primary-hex); }
.legal-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.legal-box { background: hsl(var(--muted)); padding: 1rem; border-radius: var(--radius); margin: 1rem 0; }
.legal-box h4 { margin: 0 0 0.5rem; font-size: 1rem; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.legal-table th, .legal-table td { text-align: left; padding: 0.5rem; border-bottom: 1px solid hsl(var(--border)); }
.alert-info {
  border: 1px solid #93c5fd; background: #eff6ff; color: #1e40af;
  border-radius: var(--radius); padding: 1rem; margin-bottom: 1.5rem; font-size: 0.75rem; text-align: center;
}
html.dark .alert-info {
  border-color: #1e3a8a; background: #172554; color: #bfdbfe;
}
.seller-form { max-width: 28rem; margin: 0 auto; }
.seller-form .form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.seller-form .form-group { margin-bottom: 1rem; }

/* Blog */
.blog-page-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 2.5rem;
  color: hsl(var(--foreground));
}
.post-meta { color: #6b7280; margin-bottom: 1.5rem; }
.post-tags { margin-top: 2rem; }
.post-tags h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.tag-pill { background: #e5e7eb; padding: 0.25rem 0.5rem; border-radius: var(--radius); font-size: 0.875rem; display: inline-block; margin: 0.25rem; }
html.dark .tag-pill { background: #374151; }

/* GDPR (minimal banner + modal) */
.gdpr-banner {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 150;
  max-width: 24rem;
  margin: 0 auto;
}
.gdpr-banner.is-visible { display: block; }
.gdpr-banner-inner {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 10px 25px rgb(0 0 0 / 0.15);
}
.gdpr-banner-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.gdpr-settings-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgb(0 0 0 / 0.5);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.gdpr-settings-overlay.is-open { display: flex; }
.gdpr-settings-panel {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  max-width: 28rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
}
.gdpr-pref-row { border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 0.75rem; margin-bottom: 1rem; }
.gdpr-pref-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.gdpr-badge { background: #dcfce7; color: #166534; padding: 0.125rem 0.5rem; border-radius: 0.25rem; font-size: 0.75rem; }
.gdpr-settings-actions { display: flex; gap: 0.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.gdpr-settings-actions .btn { flex: 1; min-width: 0; font-size: 0.875rem; }
.toggle-switch { position: relative; width: 2.25rem; height: 1.25rem; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; cursor: pointer; inset: 0; background: #d1d5db; border-radius: 9999px; transition: 0.2s;
}
.toggle-slider::before {
  content: ""; position: absolute; height: 1rem; width: 1rem; left: 2px; bottom: 2px;
  background: #fff; border-radius: 50%; transition: 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary-hex); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(1rem); }

html:not(.dark) .site-logo,
html:not(.dark) .nav-link { color: #18181b; }
html:not(.dark) .site-header { border-color: #e5e7eb; }
