:root {
  --bg: #fff7fb;
  --paper: #fffdf8;
  --paper-tint: #f5edff;
  --wash: #fff3e5;
  --cream: #fff0b8;
  --ink: #372733;
  --muted: #78626f;
  --line: #372733;
  --violet: #9a80ff;
  --lavender: #eadfff;
  --mint: #4edfa6;
  --sun: #ffd45f;
  --peach: #ff9f82;
  --sky: #79dfff;
  --pink: #ff8fca;
  --lime: #c8ef73;
  --soft: #f7dfe9;
  --radius: 22px;
  --shadow: 6px 6px 0 rgba(55, 39, 51, 0.14);
  --shadow-strong: 8px 9px 0 rgba(55, 39, 51, 0.18);
  --shadow-soft: 0 24px 50px rgba(95, 62, 91, 0.13);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --bounce: cubic-bezier(0.2, 1.35, 0.47, 0.96);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--bg);
  overflow-x: hidden;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.24;
  background:
    linear-gradient(135deg, rgba(255, 212, 95, 0.18) 0 12%, transparent 12% 100%),
    linear-gradient(45deg, transparent 0 48%, rgba(154, 128, 255, 0.16) 48% 52%, transparent 52% 100%),
    radial-gradient(var(--line) 0.8px, transparent 1px);
  background-size: 220px 220px, 54px 54px, 24px 24px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.68;
  background:
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(255, 143, 202, 0.08) 70px 72px),
    repeating-linear-gradient(0deg, transparent 0 80px, rgba(78, 223, 166, 0.08) 80px 82px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

a {
  color: inherit;
}

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

.container.narrow {
  width: min(880px, calc(100% - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 10px 0 0;
  background: transparent;
}

.site-header .container {
  position: relative;
}

.site-header .container::before {
  content: "";
  position: absolute;
  inset: 8px -2px 4px;
  z-index: -1;
  border: 1.5px solid rgba(55, 39, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.56);
  box-shadow: 0 8px 22px rgba(55, 39, 51, 0.045);
  backdrop-filter: blur(14px);
}

.navbar {
  padding: 10px 0 8px;
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: 0;
  text-decoration: none;
}

.navbar-brand {
  transition: transform 0.28s var(--bounce);
}

.navbar-brand:hover {
  color: var(--ink);
  transform: rotate(-1.5deg) translateY(-1px);
}

.navbar-brand img,
.footer-brand img {
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--paper);
  box-shadow: 3px 3px 0 rgba(55, 39, 51, 0.16);
}

.navbar .nav-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  padding: 9px 15px;
  margin: 0 3px;
  border: 2px solid rgba(55, 39, 51, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 2px 2px 0 rgba(55, 39, 51, 0.1);
  transition: transform 0.25s var(--bounce), box-shadow 0.25s var(--bounce), background-color 0.18s ease, border-color 0.18s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--ink);
  border-color: var(--line);
  background: var(--cream);
  transform: translate(-2px, -2px) rotate(-1.5deg);
  box-shadow: 4px 4px 0 rgba(55, 39, 51, 0.14);
}

.navbar-nav .nav-item:nth-child(2) .nav-link:hover {
  background: var(--lavender);
}

.navbar-nav .nav-item:nth-child(3) .nav-link:hover {
  background: var(--mint);
}

.navbar-nav .nav-item:nth-child(4) .nav-link:hover {
  background: var(--pink);
}

.navbar-toggler {
  min-width: 46px;
  min-height: 46px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 3px 3px 0 rgba(55, 39, 51, 0.14);
}

.navbar-toggler-icon {
  filter: none;
}

.btn {
  min-height: 48px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2.4px solid var(--line);
  border-radius: 18px;
  padding: 12px 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0;
  text-decoration: none;
  white-space: normal;
  box-shadow: 6px 6px 0 rgba(55, 39, 51, 0.16);
  transition: transform 0.25s var(--bounce), box-shadow 0.25s var(--bounce), background 0.18s ease, color 0.18s ease;
}

.btn:hover,
.btn:focus {
  transform: translate(-2px, -4px) rotate(-1deg);
  box-shadow: 9px 10px 0 rgba(55, 39, 51, 0.16);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 rgba(55, 39, 51, 0.16);
}

.btn-primary,
.btn-primary:focus {
  background: var(--ink);
  border-color: var(--line);
  color: #fffdf8;
}

.btn-primary:hover {
  background: var(--violet);
  color: #fffdf8;
}

.btn-primary-soft {
  min-height: 40px;
  padding: 8px 14px;
  background: var(--mint);
  color: #10281c;
  box-shadow: 3px 3px 0 rgba(55, 39, 51, 0.13);
}

.btn-outline-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline-light:hover {
  background: var(--sun);
  color: var(--ink);
}

.language-dropdown {
  position: relative;
  z-index: 60;
}

.language-btn {
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid rgba(55, 39, 51, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
  box-shadow: 2px 2px 0 rgba(55, 39, 51, 0.1);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.language-btn:hover,
.language-btn:focus,
.language-btn.show {
  border-color: var(--line);
  background: var(--cream);
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(55, 39, 51, 0.16);
}

.language-btn .fa-globe {
  color: var(--ink);
}

.language-dropdown .dropdown-menu {
  min-width: 174px;
  margin-top: 8px;
  padding: 6px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.language-dropdown .dropdown-item {
  padding: 10px 12px;
  border: 1.5px solid transparent;
  border-radius: 11px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.language-dropdown .dropdown-item:hover,
.language-dropdown .dropdown-item:focus {
  background: var(--wash);
  color: var(--ink);
}

.language-dropdown .dropdown-item.active,
.language-dropdown .dropdown-item:active {
  border-color: var(--line);
  background: var(--cream);
  color: var(--ink);
}

.hero,
.subhero {
  position: relative;
  padding: 72px 0 38px;
}

.subhero {
  text-align: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(400px, 1.04fr);
  gap: 38px;
  align-items: center;
}

.hero-copy,
.subhero .container {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 13px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  box-shadow: 3px 3px 0 var(--line);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 9px;
  height: 9px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--sun);
}

.eyebrow::after {
  background: var(--pink);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  font-weight: 950;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 4px 4px 0 #fff, 8px 8px 0 rgba(55, 39, 51, 0.1);
}

h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 950;
  line-height: 1.12;
  text-wrap: balance;
}

h3 {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 950;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
  font-weight: 650;
  line-height: 1.65;
}

.subhero .lead {
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 16px;
}

.hero-actions.center {
  justify-content: center;
}

.source-note {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 850;
  margin: 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 2px 2px 0 rgba(55, 39, 51, 0.16);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 950;
}

.trust-row span:nth-child(1) {
  background: var(--sun);
}

.trust-row span:nth-child(2) {
  background: var(--mint);
}

.trust-row span:nth-child(3) {
  background: var(--lavender);
}

.hero-media {
  position: relative;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #e8f8ff, #fff8e8 52%, #f0e8ff);
  box-shadow: var(--shadow-strong);
}

.hero-media::before {
  content: "";
  display: block;
  height: 28px;
  margin: -2px -2px 12px;
  border-bottom: 2px solid var(--line);
  border-radius: 26px 26px 0 0;
  background:
    radial-gradient(circle at 18px 14px, var(--pink) 0 5px, transparent 5.5px),
    radial-gradient(circle at 38px 14px, var(--sun) 0 5px, transparent 5.5px),
    radial-gradient(circle at 58px 14px, var(--mint) 0 5px, transparent 5.5px),
    var(--wash);
}

.hero-media img,
.feature-aside img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.download-strip,
.facts-section,
.benefits-section,
.content-section,
.use-case-section,
.faq-section,
.page-section,
.final-cta {
  padding: 54px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading.compact {
  margin-bottom: 20px;
}

.section-heading p,
.content-section p,
.page-section p,
.legal-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.75;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.download-card,
.benefit-card,
.use-case-card,
.package-card,
.facts-card,
.aside-card,
.point-card,
.download-panel {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.download-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 98px;
  padding: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s var(--bounce), box-shadow 0.25s var(--bounce), background 0.18s ease;
}

.download-card:nth-child(1) {
  background: var(--cream);
}

.download-card:nth-child(2) {
  background: var(--lavender);
}

.download-card:nth-child(3) {
  background: var(--paper-tint);
}

.download-card:nth-child(4) {
  background: #eafff6;
}

.download-card:nth-child(5) {
  background: var(--wash);
}

.download-card:hover,
.use-case-card:hover,
.benefit-card:hover,
.package-card:hover,
.point-card:hover {
  color: var(--ink);
  transform: translate(-2px, -5px);
  box-shadow: 8px 9px 0 rgba(55, 39, 51, 0.16);
}

.download-card i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 2px 2px 0 rgba(55, 39, 51, 0.16);
  font-size: 1.22rem;
  flex: 0 0 38px;
}

.download-card strong,
.download-card small {
  display: block;
}

.download-card strong {
  font-weight: 950;
}

.download-card small {
  color: var(--muted);
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 850;
}

.facts-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 32px;
  padding: 28px;
  background: linear-gradient(135deg, #fffdf8, #fff3e5 55%, #f5edff);
}

.facts-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.facts-table div {
  padding: 14px 16px;
  border-bottom: 2px solid rgba(55, 39, 51, 0.14);
}

.facts-table div:nth-child(odd) {
  border-right: 2px solid rgba(55, 39, 51, 0.14);
}

.facts-table dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 950;
}

.facts-table dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 950;
}

.benefit-grid,
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit-card,
.use-case-card {
  padding: 22px;
}

.benefit-card:nth-child(1),
.use-case-card:nth-child(3n+1) {
  background: var(--lavender);
}

.benefit-card:nth-child(2),
.use-case-card:nth-child(3n+2) {
  background: #eafff6;
}

.benefit-card:nth-child(3),
.use-case-card:nth-child(3n) {
  background: var(--wash);
}

.benefit-card i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 2px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(55, 39, 51, 0.16);
  font-size: 1.35rem;
}

.benefit-card p,
.use-case-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.content-section:nth-of-type(even),
.page-section.muted {
  background: rgba(255, 253, 248, 0.54);
  border-block: 2px dashed rgba(55, 39, 51, 0.12);
}

.content-section h2 {
  margin-bottom: 18px;
}

.use-case-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s var(--bounce), box-shadow 0.25s var(--bounce), background 0.18s ease;
}

.use-case-card span {
  margin-top: auto;
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 950;
}

.faq-item {
  padding: 0;
  margin-bottom: 12px;
  border: 2px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 4px 4px 0 rgba(55, 39, 51, 0.1);
  transition: transform 0.22s var(--bounce), box-shadow 0.22s var(--bounce), background 0.18s ease;
}

.faq-item:hover {
  transform: translate(-2px, -3px);
  box-shadow: 6px 6px 0 rgba(55, 39, 51, 0.12);
}

.faq-item[open] {
  background: var(--paper-tint);
  transform: none;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 2px 2px 0 rgba(55, 39, 51, 0.15);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 950;
}

.faq-item[open] summary::after {
  content: "-";
  background: var(--violet);
  color: white;
}

.faq-item p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  padding: 0 20px 18px;
}

.final-cta {
  text-align: center;
}

.final-cta .container {
  padding: 30px;
  border: 2px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff2cf, #efe9ff 58%, #e9fff6);
  box-shadow: var(--shadow-strong);
}

.final-cta p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 22px;
  font-weight: 650;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  gap: 28px;
  padding: 28px;
  background: linear-gradient(135deg, #e8f8ff, #fff8e8 52%, #f0e8ff);
}

.download-panel-copy {
  align-self: center;
}

.download-list {
  display: grid;
  gap: 12px;
}

.package-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  transition: transform 0.25s var(--bounce), box-shadow 0.25s var(--bounce);
}

.package-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--line);
  border-radius: 15px;
  background: var(--mint);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(55, 39, 51, 0.16);
  font-size: 1.25rem;
}

.package-card h3,
.package-card p {
  margin: 0;
}

.package-card p,
.package-card span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 850;
}

.all-releases {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 950;
  text-decoration: none;
  padding: 14px;
}

.all-releases:hover {
  color: var(--violet);
}

.check-list,
.number-list {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.78;
  padding-left: 1.2rem;
}

.two-column,
.feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.feature-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.point-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 34px;
}

.point-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  transition: transform 0.25s var(--bounce), box-shadow 0.25s var(--bounce);
}

.point-card i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--mint);
  color: var(--ink);
  margin-top: 2px;
  font-size: 0.9rem;
}

.point-card p {
  margin: 0;
}

.feature-aside {
  display: grid;
  align-content: start;
  gap: 16px;
}

.aside-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--wash);
}

.aside-card h2 {
  font-size: 1.15rem;
  margin: 0 0 4px;
}

.aside-card a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--mono);
  font-weight: 950;
}

.aside-card a:hover {
  color: var(--violet);
}

.site-footer {
  padding: 44px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 34px;
  padding-top: 26px;
  border-top: 2px dashed rgba(55, 39, 51, 0.22);
}

.footer-copy,
.footer-note,
.footer-bottom,
.site-footer a {
  color: var(--muted);
}

.footer-copy {
  max-width: 460px;
  margin: 14px 0 8px;
  line-height: 1.7;
  font-weight: 650;
}

.footer-note {
  font-size: 0.92rem;
  font-weight: 650;
  margin: 0;
}

.site-footer h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  text-decoration: none;
  font-weight: 750;
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  margin-top: 22px;
  border-top: 2px dashed rgba(55, 39, 51, 0.14);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 900;
}

.download-countdown-modal .modal-content {
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-strong);
}

.download-countdown-modal .modal-title,
.download-countdown-modal p {
  color: var(--ink);
}

.countdown-number {
  color: var(--violet);
  font-size: 3rem;
  font-weight: 950;
}

.countdown-circle {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 5px 5px 0 rgba(55, 39, 51, 0.16);
}

@media (max-width: 980px) {
  .hero-grid,
  .facts-card,
  .download-panel,
  .two-column,
  .feature-layout {
    grid-template-columns: 1fr;
  }

  .download-grid,
  .benefit-grid,
  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 52px;
  }

  .navbar-collapse {
    margin-top: 12px;
    padding: 12px;
    border: 2px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .navbar .nav-link {
    margin: 4px 0;
  }

  .language-dropdown {
    margin-top: 8px;
    width: 100%;
  }

  .language-btn {
    min-height: 46px;
    width: 100%;
  }

  .language-dropdown .dropdown-menu {
    position: static;
    transform: none !important;
    margin-top: 8px;
    width: 100%;
    max-width: calc(100vw - 2rem);
    overflow-x: hidden;
  }

  .language-dropdown .dropdown-item {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .container,
  .container.narrow {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .site-header {
    position: relative;
  }

  .site-header .container::before {
    inset-inline: -4px;
  }

  .navbar-brand span {
    font-size: 0.95rem;
  }

  .hero-copy,
  .hero-media,
  .hero-grid,
  .download-panel,
  .feature-layout,
  .two-column,
  .download-card,
  .package-card,
  .facts-card,
  .benefit-card,
  .use-case-card {
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy,
  .hero-media,
  .hero-actions,
  .lead {
    width: 100%;
  }

  .lead,
  .source-note,
  .section-heading,
  .hero-actions .btn,
  .hero-media,
  .download-card,
  .package-card {
    width: min(100%, 280px);
    max-width: min(100%, 280px);
  }

  .facts-card,
  .download-panel,
  .final-cta .container {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
  }

  .hero-actions .btn,
  .hero-media,
  .download-card,
  .package-card,
  .facts-card,
  .download-panel,
  .final-cta .container {
    margin-inline: auto;
  }

  .lead,
  .download-card small,
  .package-card p,
  .package-card span,
  h1,
  h2,
  h3,
  p {
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.72rem);
    line-height: 1.06;
    text-wrap: wrap;
    word-break: normal;
  }

  .hero,
  .subhero {
    padding-top: 36px;
  }

  .download-strip,
  .facts-section,
  .benefits-section,
  .content-section,
  .use-case-section,
  .faq-section,
  .page-section,
  .final-cta {
    padding: 40px 0;
  }

  .download-grid,
  .benefit-grid,
  .use-case-grid,
  .facts-table {
    grid-template-columns: 1fr;
  }

  .facts-table div:nth-child(odd) {
    border-right: 0;
  }

  .package-card {
    grid-template-columns: 42px 1fr;
  }

  .package-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .package-card .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-actions,
  .hero-actions.center {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: min(100%, 280px);
    max-width: min(100%, 280px);
    margin-inline: auto;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
