html { scroll-behavior: smooth; }
main > div.min-h-screen { min-height: auto !important; }
[data-component-name="main"].pt-20 { padding-top: 4rem !important; }
header [data-component-name="div"].container.h-12 { height: 4rem !important; }
section[class*="min-h-[50vh]"] {
  min-height: clamp(220px, 34vh, 360px) !important;
  padding-top: 5rem !important;
  padding-bottom: 2.5rem !important;
}
section[class*="py-24"] {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}
footer[class*="py-20"] {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}
[class*="mb-24"] { margin-bottom: 3rem !important; }
[class*="mb-20"] { margin-bottom: 2.5rem !important; }
[class*="gap-16"] { gap: 2.5rem !important; }
[class*="pt-32"] { padding-top: 5rem !important; }
[class*="pb-16"] { padding-bottom: 2.5rem !important; }
[data-component-name="motion.div"][style*="opacity:0"] {
  opacity: 1 !important;
  transform: none !important;
}
[data-component-name="section"]:empty,
[data-component-name="div"]:empty {
  display: none;
}
.v5-lang-switcher { display:flex; align-items:center; gap:.5rem; }
.v5-lang-switcher a { display:inline-flex; align-items:center; justify-content:center; min-width:2.25rem; height:2rem; padding:0 .75rem; border:1px solid rgba(0,0,0,.08); border-radius:9999px; font-size:12px; font-weight:600; }
.v5-lang-switcher a.active { background:#0f172a; color:#fff; border-color:#0f172a; }
@media (max-width: 768px) {
  [data-component-name="main"].pt-20 { padding-top: 3.5rem !important; }
  section[class*="min-h-[50vh]"] {
    min-height: auto !important;
    padding-top: 4.5rem !important;
    padding-bottom: 2rem !important;
  }
  section[class*="py-24"] {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}


/* v5 final polish */
header [data-component-name="Link"] > span.w-5.h-5.bg-foreground.rounded-sm,
footer [data-component-name="Link"] > span.w-4.h-4.bg-foreground.rounded-sm,
header [data-component-name="Link"] > span.w-5.h-5.bg-foreground.rounded-full,
footer [data-component-name="Link"] > span.w-4.h-4.bg-foreground.rounded-full {
  border-radius: 9999px !important;
}
/* Remove oversize placeholder preview panel on home */
.home-preview-card {margin-top: 2.5rem !important; width:100%; max-width:720px; min-height:160px; border-radius:28px; border:1px solid rgba(0,0,0,.06); background:linear-gradient(135deg,#fff,#f5f5f5); box-shadow:0 20px 50px rgba(0,0,0,.08); display:flex; align-items:center; justify-content:center; padding:2rem;}
.home-preview-card .inner{display:flex; align-items:center; gap:1rem; text-align:left;}
.home-preview-card .mark{width:44px; height:44px; border-radius:9999px; background:#222; flex:0 0 44px;}
.home-preview-card .eyebrow{font-size:12px; text-transform:uppercase; letter-spacing:.18em; color:#6b7280; margin-bottom:.4rem;}
.home-preview-card .title{font-size:24px; font-weight:700; color:#111827; line-height:1.2;}
.home-preview-card .desc{font-size:14px; color:#6b7280; margin-top:.35rem;}
@media (max-width: 768px){ .home-preview-card{margin-top:2rem !important; min-height:132px; padding:1.25rem;} .home-preview-card .title{font-size:20px;} }

/* 2026 SEO + layout patch */
main[data-component-name="main"]{padding-top:3.5rem!important}
section[data-component-name="section"].relative.min-h-\[50vh\]{min-height:auto!important;padding-top:5.5rem!important;padding-bottom:2.5rem!important}
section[data-component-name="section"].relative.min-h-\[50vh\] .space-y-6{row-gap:1rem!important}
div[data-component-name="div"].max-w-6xl.mx-auto.bg-zinc-50,
div[data-component-name="div"].max-w-6xl.mx-auto.bg-zinc-900,
div[data-component-name="div"][class*="max-w-6xl mx-auto bg-zinc-50"],
div[data-component-name="div"][class*="max-w-6xl mx-auto bg-zinc-900"]{min-height:240px!important;height:auto!important;padding-top:2rem!important;padding-bottom:2rem!important}
section[data-component-name="section"] .text-5xl.md\:text-7xl{font-size:clamp(2.6rem,7vw,5.2rem)!important;line-height:.98!important;letter-spacing:-.04em!important}
section[data-component-name="section"] .text-xl.md\:text-2xl{font-size:clamp(1.05rem,2vw,1.5rem)!important;line-height:1.45!important}
img[loading="lazy"]{content-visibility:auto}
