@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap");

:root {
  --so-ink: #161616;
  --so-muted: #8a847c;
  --so-line: #e6e1da;
  --so-peach: #f3e6d8;
  --so-paper: #fffdf9;
  --so-green: #3d7a52;
  --so-green-deep: #2f5f3f;
}

body[data-theme="light"],
body[data-theme-mode-panel-active] {
  font-family: "DM Sans", system-ui, sans-serif !important;
  color: var(--so-ink) !important;
  background: var(--so-paper) !important;
}

body[data-theme="light"] .site-wrapper {
  overflow-x: hidden;
  background: var(--so-paper) !important;
}

/* Hide leftover Metro chrome when new landing is present */
body:has(.so-hero) .hero-area-l1,
body:has(.so-hero) .feature-area-l1,
body:has(.so-hero) .content-are-l1-1,
body:has(.so-hero) .content-area-2-l1,
body:has(.so-hero) .testimonial-area-l1 {
  display: none !important;
}

/* Header */
.site-header.landing-1-menu {
  position: sticky !important;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.92) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--so-line);
  padding: 12px 0 !important;
  box-shadow: none !important;
}

.site-header .site-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header .brand-logo img {
  height: 40px !important;
  width: auto;
}

.site-header .nav-link-item,
.site-header .site-menu-main a {
  color: var(--so-ink) !important;
  font-weight: 600;
  font-size: 15px;
}

.site-header .btn-style-02,
.site-header .log-in-btn {
  background: var(--so-green) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  font-weight: 600 !important;
}

.site-header .mobile-menu-trigger span,
.site-header .mobile-menu-trigger span:before,
.site-header .mobile-menu-trigger span:after {
  background: var(--so-ink) !important;
}

/* Landing */
.so-hero {
  display: grid;
  grid-template-columns: minmax(240px, 42%) 1fr;
  min-height: calc(100dvh - 72px);
  background: #fff;
}

.so-hero-art {
  background: var(--so-peach);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.so-hero-art .so-auth-art {
  background: transparent;
  padding: 0;
  overflow: visible;
}

.so-hero-art .so-auth-art-kicker,
.so-hero-art .so-auth-art-title {
  display: none;
}

.so-hero-art .so-auth-frame {
  width: min(300px, 80%);
  position: relative;
  z-index: 1;
}

.so-hero-art .so-mascot {
  width: 100%;
  height: auto;
  display: block;
}

.so-hero-art .so-auth-glow {
  display: none;
}

.so-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 8vw 48px 56px;
}

.so-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8d7460;
}

.so-hero h1,
.so-section h2,
.so-cta h2 {
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--so-ink);
}

.so-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.so-lead,
.so-section p,
.so-cta p {
  color: #5c5852;
  font-size: 17px;
  line-height: 1.6;
}

.so-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.so-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--so-green);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  border: 0;
}

.so-btn:hover {
  background: var(--so-green-deep);
}

.so-btn-ghost {
  background: transparent;
  color: var(--so-ink) !important;
  border: 1.5px solid var(--so-line);
}

.so-section {
  padding: 72px 0;
  background: #fff;
}

.so-section-peach {
  background: var(--so-peach);
}

.so-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.so-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.so-card {
  background: #fff;
  border: 1.5px solid var(--so-line);
  border-radius: 16px;
  padding: 24px;
}

.so-section-peach .so-card {
  border-color: transparent;
}

.so-card h2,
.so-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.so-card p {
  margin: 0;
  font-size: 15px;
}

.so-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.so-stat-grid {
  display: grid;
  gap: 14px;
}

.so-stat {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
}

.so-stat strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.so-center {
  text-align: center;
  margin-bottom: 28px;
}

.so-faq-item {
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

.so-faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.so-faq-item div {
  margin-top: 10px;
  color: #5c5852;
}

.so-cta {
  text-align: center;
  max-width: 720px;
}

/* Blog */
.so-blog-hero,
.so-post-hero {
  background: var(--so-peach);
  padding: 56px 0 40px;
}

.so-blog-hero h1,
.so-post-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
}

.so-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 40px 0 64px;
}

.so-blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--so-line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
}

.so-blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--so-peach);
}

.so-blog-card div {
  padding: 16px 18px 20px;
}

.so-blog-card time {
  font-size: 12px;
  color: var(--so-muted);
}

.so-blog-card h2 {
  margin: 6px 0 0;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.so-post {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 72px;
  font-size: 17px;
  line-height: 1.7;
}

.so-post h2,
.so-post h3 {
  margin: 28px 0 12px;
  letter-spacing: -0.03em;
}

.so-post p {
  margin: 0 0 16px;
}

.so-post ul,
.so-post ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.so-post h3 {
  font-size: 1.15rem;
}

.so-post img {
  max-width: 100%;
  border-radius: 12px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination a,
.pagination span,
.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--so-line) !important;
  background: #fff !important;
  color: var(--so-ink) !important;
  text-decoration: none !important;
  font-weight: 600;
}

.pagination .page-item.active .page-link,
.pagination .active > a {
  background: var(--so-green) !important;
  border-color: var(--so-green) !important;
  color: #fff !important;
}

.so-meta {
  color: var(--so-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

/* Footer */
body[data-theme="light"] .footer-area,
footer.footer-area {
  background: #fff !important;
  color: var(--so-muted) !important;
  padding: 36px 0 20px !important;
  border-top: 1px solid var(--so-line);
}

footer.footer-area h6 {
  color: var(--so-ink) !important;
}

footer.footer-area a {
  color: #5c5852 !important;
}

@media (max-width: 860px) {
  .so-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .so-hero-art {
    padding: 20px 16px 8px;
  }

  .so-hero-art .so-auth-frame {
    width: 120px;
  }

  .so-hero-copy {
    padding: 12px 20px 36px;
  }

  .so-hero h1 {
    font-size: 1.85rem;
  }

  .so-grid-3,
  .so-split,
  .so-blog-grid {
    grid-template-columns: 1fr;
  }

  .so-section {
    padding: 40px 0;
  }

  .site-header .header-btn {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .so-hero-art .so-auth-art-kicker,
  .so-hero-art .so-auth-art-title {
    display: none;
  }
}

@media (max-height: 620px) and (max-width: 860px) {
  .so-hero-art {
    display: none;
  }
}
