:root {
  --bg: #ffffff;
  --bg-soft: #f7f8f7;
  --surface: #ffffff;
  --line: #e7ebe8;
  --text: #142117;
  --muted: #5f6b62;
  --accent: #004225;
  --accent-soft: #edf5ef;
  --shadow: 0 18px 50px rgba(10, 32, 17, 0.07);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(20, 33, 23, 0.06);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img,
.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.language-switcher select {
  min-height: 44px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.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;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:active {
  transform: translateY(1px) scale(0.985);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 66, 37, 0.16);
}

.button-secondary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--line);
}

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100dvh - 140px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.insights-copy h2,
.cta-panel h2 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 9ch;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.hero-text,
.section-heading p,
.feature-card p,
.style-copy p,
.insights-copy p,
.faq-item p,
.cta-panel p,
.footer p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.metric {
  min-width: 130px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.metric span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-media {
  position: relative;
  min-height: 620px;
}

.hero-image-wrap {
  height: 100%;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  right: -12px;
  bottom: 26px;
  width: 240px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-floating-card img {
  border-radius: 16px;
  height: 160px;
  width: 100%;
  object-fit: cover;
}

.mini-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: #ffffff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.insights-copy h2,
.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.comparison-card,
.style-card,
.faq-item,
.insights-panel,
.cta-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-card h3,
.style-copy h3,
.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comparison-card {
  overflow: hidden;
  padding: 16px;
  border-radius: var(--radius-xl);
}

.comparison-card img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 18px;
}

.comparison-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f5f3;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
}

.comparison-label-accent {
  background: var(--accent-soft);
  color: var(--accent);
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.style-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.style-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.style-copy {
  padding: 18px 18px 22px;
}

.insights-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius-xl);
}

.insights-copy {
  padding: 10px 8px 10px 10px;
}

.detail-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.insight-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.insight-stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.insight-stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.insight-stat span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.insights-media {
  overflow: hidden;
  border-radius: 22px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.landing-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.page-section {
  padding: 72px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.content-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.content-card h2,
.content-card h3 {
  margin: 0 0 12px;
  letter-spacing: -0.04em;
}

.content-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.content-card p,
.content-card li {
  color: var(--muted);
  line-height: 1.7;
}

.bullet-list {
  margin: 0;
  padding-left: 20px;
}

.bullet-list li + li {
  margin-top: 10px;
}

.mini-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-feature {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.mini-feature strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-links a {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  background: #ffffff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.article-main,
.article-sidebar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.article-main {
  padding: 34px;
}

.article-main h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.article-main h3 {
  margin: 32px 0 12px;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.article-main p,
.article-main li {
  color: var(--muted);
  line-height: 1.75;
}

.article-main ul {
  margin: 0;
  padding-left: 20px;
}

.article-main li + li {
  margin-top: 10px;
}

.article-lead {
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.article-image {
  overflow: hidden;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.article-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 96px;
}

.article-sidebar-card {
  padding: 22px;
}

.article-sidebar-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.article-sidebar-card p,
.article-sidebar-card li {
  color: var(--muted);
  line-height: 1.65;
}

.article-sidebar-card ul {
  margin: 0;
  padding-left: 18px;
}

.article-cta {
  margin-top: 18px;
}

.faq-stack {
  display: grid;
  gap: 14px;
}

.faq-row {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.faq-row h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.faq-item {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.cta-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
  text-align: left;
}

.footer {
  padding: 0 0 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

body.js-enhanced .fade-up,
body.js-enhanced .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

body.js-enhanced .fade-up.is-visible,
body.js-enhanced .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .feature-grid,
  .comparison-grid,
  .style-grid,
  .insights-panel,
  .faq-list,
  .insight-stats,
  .landing-grid,
  .content-grid,
  .mini-feature-grid,
  .related-links,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-media,
  .hero-image-wrap {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .topbar-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 10vw, 3.6rem);
    max-width: 11ch;
  }

  .hero-media,
  .hero-image-wrap {
    min-height: 420px;
  }

  .hero-floating-card {
    right: 12px;
    width: 190px;
  }

  .comparison-card img {
    height: auto;
  }

  .section {
    padding: 72px 0;
  }
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .topbar-inner,
html[dir="rtl"] .nav,
html[dir="rtl"] .nav-actions,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .hero-metrics,
html[dir="rtl"] .footer-inner {
  flex-direction: row-reverse;
}

html[dir="rtl"] .detail-list li {
  padding-left: 0;
  padding-right: 18px;
}

html[dir="rtl"] .detail-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .hero-floating-card {
  right: auto;
  left: -12px;
}
