:root {
  --fw-bg: #f3faf7;
  --fw-bg-soft: #eaf5f0;
  --fw-surface: #ffffff;
  --fw-surface-strong: #f8fcfa;
  --fw-primary: #247d72;
  --fw-primary-deep: #123f3a;
  --fw-accent: #c89244;
  --fw-text: #142320;
  --fw-muted: #526662;
  --fw-line: rgba(23, 90, 78, 0.15);
  --fw-shadow: 0 14px 34px rgba(22, 70, 60, 0.12);
  --fw-shadow-soft: 0 8px 22px rgba(22, 70, 60, 0.08);
  --fw-radius: 8px;
  --fw-max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--fw-bg);
  scroll-behavior: smooth;
}

body {
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--fw-text) !important;
  background:
    linear-gradient(180deg, rgba(36, 125, 114, 0.12) 0, rgba(36, 125, 114, 0) 270px),
    linear-gradient(180deg, var(--fw-bg) 0, var(--fw-bg-soft) 100%) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

img,
iframe,
video {
  max-width: 100%;
}

a {
  color: var(--fw-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--fw-primary-deep);
}

h1,
h2,
h3,
h4,
.brand h1 {
  color: var(--fw-primary-deep) !important;
  font-family: Rubik, Inter, ui-sans-serif, system-ui, sans-serif !important;
  letter-spacing: 0 !important;
  line-height: 1.2;
}

p,
li,
td,
th,
small,
span,
summary,
button,
a {
  overflow-wrap: anywhere;
  letter-spacing: 0 !important;
}

body > h1,
body > h2,
body > h3,
body > p,
body > .updated,
body > .lang-wrap {
  width: min(calc(100% - 32px), var(--fw-max));
  margin-left: auto !important;
  margin-right: auto !important;
}

body > h1 {
  margin-top: 42px !important;
  margin-bottom: 18px !important;
  font-size: 34px !important;
  text-align: center;
}

nav,
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  color: var(--fw-text) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--fw-line);
  box-shadow: 0 10px 28px rgba(22, 70, 60, 0.08) !important;
  backdrop-filter: blur(16px);
}

nav,
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px 24px !important;
}

.topbar .nav {
  width: min(calc(100% - 32px), var(--fw-max));
  margin: 0 auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

nav a.logo,
.brand {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  flex: 0 0 auto;
  overflow: visible;
  color: var(--fw-text) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

nav a.logo {
  font-size: 22px !important;
}

nav a.logo img {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 auto;
  margin: 0 !important;
  border-radius: var(--fw-radius);
  object-fit: cover;
  box-shadow: var(--fw-shadow-soft);
}

nav a.logo img.brand-wordmark {
  width: clamp(75px, 10vw, 105px) !important;
  height: auto !important;
  max-height: 29px;
  flex: 0 0 auto;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.topbar .logo {
  width: 44px !important;
  height: 44px !important;
  border-radius: var(--fw-radius) !important;
  background: linear-gradient(135deg, var(--fw-primary), #61d6c4) !important;
  color: #ffffff !important;
  box-shadow: var(--fw-shadow-soft) !important;
}

.brand p,
.muted,
.updated,
.tagline,
.plan-copy {
  color: var(--fw-muted) !important;
}

.dropdown,
.menu summary {
  color: var(--fw-muted) !important;
  font-weight: 600;
  user-select: none;
}

.dropdown-content,
.dropdown-menu {
  min-width: 270px !important;
  max-width: calc(100vw - 32px);
  padding: 8px !important;
  color: var(--fw-text) !important;
  background: var(--fw-surface) !important;
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius) !important;
  box-shadow: var(--fw-shadow) !important;
}

.dropdown-content a,
.dropdown-menu a {
  color: var(--fw-text) !important;
  border-radius: 6px;
  padding: 11px 12px !important;
  text-decoration: none !important;
}

.dropdown-content a:hover,
.dropdown-menu a:hover,
.menu a:hover,
.menu summary:hover {
  color: var(--fw-primary-deep) !important;
  background: rgba(36, 125, 114, 0.08) !important;
}

.menu a,
.menu summary {
  border-radius: var(--fw-radius) !important;
}

.hero {
  min-height: auto;
  padding: 50px 20px 34px !important;
  color: var(--fw-text) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(232, 248, 241, 0.84)),
    url("https://images.unsplash.com/photo-1581090700227-1e8e839f24d5?auto=format&fit=crop&w=1950&q=80") center/cover no-repeat !important;
}

.hero-content {
  width: min(100%, 920px);
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 18px 0 !important;
  color: var(--fw-text) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.hero-card,
.glass {
  width: min(100%, 920px);
  margin-left: auto !important;
  margin-right: auto !important;
  color: var(--fw-text) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid var(--fw-line) !important;
  border-radius: var(--fw-radius) !important;
  box-shadow: var(--fw-shadow) !important;
  backdrop-filter: blur(12px);
}

.hero-card {
  padding: 34px !important;
}

.hero h1,
.hero h2,
.hero p,
.hero .lead {
  color: var(--fw-text) !important;
}

.hero h1 {
  font-size: 40px !important;
  margin-bottom: 16px !important;
}

.hero h2,
.hero .lead {
  color: var(--fw-muted) !important;
}

.hero .lead,
.hero p.lead {
  font-size: 18px !important;
}

.eyebrow,
.chip,
.badge {
  border-radius: var(--fw-radius) !important;
  border: 1px solid rgba(36, 125, 114, 0.20) !important;
  color: var(--fw-primary-deep) !important;
  background: rgba(36, 125, 114, 0.10) !important;
}

.store-buttons,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.store-btn,
.btn,
.lang-toggle button {
  min-height: 48px;
  border: 1px solid var(--fw-line) !important;
  border-radius: var(--fw-radius) !important;
  color: var(--fw-text) !important;
  background: var(--fw-surface) !important;
  box-shadow: var(--fw-shadow-soft) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary,
.store-btn:hover,
.lang-toggle button.active,
.lang-toggle button[aria-pressed="true"] {
  color: #ffffff !important;
  background: linear-gradient(90deg, var(--fw-primary), var(--fw-primary-deep)) !important;
  border-color: transparent !important;
}

.store-btn:hover,
.btn:hover,
.lang-toggle button:hover {
  transform: translateY(-2px);
  box-shadow: var(--fw-shadow) !important;
  text-decoration: none !important;
}

.features {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px !important;
  width: min(calc(100% - 32px), var(--fw-max));
  margin: 34px auto !important;
  padding: 0 !important;
  background: transparent !important;
}

.feature-card,
.card,
.section,
main,
.info-card,
.callout,
.mini,
.anchor-nav,
.timeline,
.step,
body > section:not(.features) {
  color: var(--fw-text) !important;
  background: var(--fw-surface) !important;
  border: 1px solid var(--fw-line) !important;
  border-radius: var(--fw-radius) !important;
  box-shadow: var(--fw-shadow-soft) !important;
}

.feature-card {
  width: auto !important;
  min-height: 188px;
  padding: 24px !important;
  cursor: pointer;
}

.feature-card:hover,
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--fw-shadow) !important;
}

.feature-card img {
  width: 62px !important;
  height: 62px !important;
  object-fit: contain;
  margin: 0 auto 16px !important;
}

.description,
.section-title,
main,
.section,
section.info-card,
body > section:not(.features),
.lang-wrap {
  width: min(calc(100% - 32px), var(--fw-max));
  margin-left: auto !important;
  margin-right: auto !important;
}

main,
.section,
section.info-card,
body > section:not(.features) {
  padding: 30px !important;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

.description {
  padding: 30px !important;
  margin-top: 28px !important;
  margin-bottom: 28px !important;
  color: var(--fw-text) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius);
  box-shadow: var(--fw-shadow-soft);
}

.section-title {
  margin-top: 42px !important;
  margin-bottom: 20px !important;
}

.section-title h2 {
  font-size: 28px !important;
}

main h1,
.section h1,
.info-card h1 {
  font-size: 32px !important;
}

main h2,
.section h2,
.info-card h2,
section h2 {
  margin-top: 28px !important;
  margin-bottom: 12px !important;
  font-size: 23px !important;
}

p {
  margin: 12px 0;
}

ul,
ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 7px;
}

strong {
  color: var(--fw-primary-deep) !important;
}

table {
  display: block;
  width: 100% !important;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--fw-line) !important;
  border-radius: var(--fw-radius);
  border-spacing: 0;
  border-collapse: separate !important;
  background: var(--fw-surface);
}

thead,
tbody,
tr {
  width: 100%;
}

table th,
table td {
  border: 0 !important;
  border-bottom: 1px solid var(--fw-line) !important;
  padding: 12px 14px !important;
  vertical-align: top;
}

table th {
  color: var(--fw-primary-deep) !important;
  background: rgba(36, 125, 114, 0.09) !important;
}

table tr:last-child td {
  border-bottom: 0 !important;
}

.responsive-video {
  width: min(100%, 760px);
  margin: 20px auto 0 !important;
  background: #0e1f1c;
  border-radius: var(--fw-radius) !important;
  border: 1px solid var(--fw-line);
  box-shadow: var(--fw-shadow-soft);
}

.grid-2,
.grid-3,
.grid-4,
.trust-strip {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px !important;
}

.hero-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 18px !important;
  align-items: stretch;
}

.hero-side {
  display: grid;
  gap: 18px;
}

.price strong {
  color: var(--fw-primary) !important;
}

.lang-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px !important;
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius);
  background: var(--fw-surface);
  box-shadow: var(--fw-shadow-soft);
}

.note {
  border-left: 4px solid var(--fw-primary);
  background: rgba(36, 125, 114, 0.08) !important;
  padding: 12px 14px;
  border-radius: var(--fw-radius);
}

.warn {
  border-left: 4px solid #d99632 !important;
  background: rgba(200, 146, 68, 0.12) !important;
}

footer,
.site-footer {
  width: 100%;
  margin-top: 52px !important;
  padding: 0 !important;
  color: #eaf6f2 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 46px),
    linear-gradient(135deg, #123f3a 0%, #247d72 58%, #15524b 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 -18px 38px rgba(18, 63, 58, 0.10);
  text-align: center;
}

.footer-shell {
  width: min(calc(100% - 32px), var(--fw-max));
  margin: 0 auto;
  padding: 24px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #ffffff !important;
  text-align: left;
  text-decoration: none !important;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(4, 28, 25, 0.22);
}

.footer-brand strong {
  display: block;
  color: #ffffff !important;
  font-size: 18px;
  line-height: 1.1;
}

.footer-brand small {
  display: block;
  margin-top: 3px;
  color: rgba(234, 246, 242, 0.78) !important;
  font-size: 12px;
  line-height: 1.25;
}

.footer-social-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(4, 28, 25, 0.22);
}

.footer-social-card p {
  margin: 0;
  color: var(--fw-primary-deep);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.footer-social-links {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.social-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 16px rgba(11, 35, 32, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-link.facebook {
  background: linear-gradient(135deg, #1877f2, #0e57bd);
}

.social-link.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
}

.social-link.youtube {
  background: linear-gradient(135deg, #ff1f1f, #c90000);
}

.social-link:hover {
  color: #ffffff !important;
  transform: translateY(-3px);
  filter: saturate(1.08);
  box-shadow: 0 12px 22px rgba(11, 35, 32, 0.24);
}

.footer-bottom {
  padding: 16px 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0 !important;
  background: rgba(8, 42, 38, 0.30);
}

@media (max-width: 900px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .menu {
    gap: 6px !important;
  }
}

@media (max-width: 768px) {
  nav,
  .nav {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    min-height: auto;
    gap: 10px;
    padding: 8px 14px !important;
  }

  .topbar .nav {
    width: min(calc(100% - 24px), var(--fw-max));
  }

  nav a.logo {
    font-size: 20px !important;
  }

  nav a.logo img.brand-wordmark {
    width: clamp(69px, 24vw, 89px) !important;
    max-height: 26px;
  }

  .dropdown {
    width: auto;
    max-width: calc(100vw - 174px);
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid var(--fw-line);
    border-radius: var(--fw-radius);
    background: rgba(36, 125, 114, 0.07);
    font-size: 14px;
    white-space: nowrap;
  }

  .dropdown-content,
  .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 8px);
    right: 0;
    width: min(280px, calc(100vw - 28px)) !important;
    max-width: calc(100vw - 28px);
    margin-top: 0;
  }

  .menu {
    width: 100%;
    justify-content: flex-start !important;
  }

  .hero {
    padding: 42px 12px 30px !important;
  }

  .hero-card,
  .glass,
  main,
  .section,
  section.info-card,
  body > section:not(.features),
  .description {
    width: min(calc(100% - 24px), var(--fw-max));
    padding: 20px !important;
  }

  .hero-content {
    width: min(calc(100% - 24px), var(--fw-max));
    padding: 0 !important;
  }

  .hero h1,
  body > h1,
  main h1 {
    font-size: 28px !important;
  }

  .hero h2,
  main h2,
  .section h2,
  .info-card h2,
  section h2 {
    font-size: 20px !important;
  }

  .features,
  .grid-2,
  .grid-3,
  .grid-4,
  .trust-strip {
    grid-template-columns: 1fr !important;
    width: min(calc(100% - 24px), var(--fw-max));
  }

  .store-btn,
  .btn,
  .lang-toggle button {
    width: 100%;
    justify-content: center;
  }

  table {
    font-size: 14px !important;
  }

  .footer-shell {
    width: min(calc(100% - 24px), var(--fw-max));
    flex-direction: column;
    align-items: stretch;
    padding-top: 22px;
  }

  .footer-brand {
    justify-content: center;
    text-align: center;
  }

  .footer-social-card {
    width: min(100%, 310px);
    margin: 0 auto;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .hero h1,
  body > h1,
  main h1 {
    font-size: 24px !important;
  }

  .feature-card,
  main,
  .section,
  section.info-card,
  body > section:not(.features),
  .description {
    padding: 16px !important;
  }

  table th,
  table td {
    padding: 10px 12px !important;
  }

  .footer-social-card {
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom {
    font-size: 14px;
  }
}
