:root {
  --bg: #f4f6f2;
  --surface: #ffffff;
  --surface-soft: #eef2eb;
  --ink: #0f1d1a;
  --ink-muted: #44514d;
  --line: #d3ddd6;
  --brand: #005a48;
  --brand-strong: #003a31;
  --brand-soft: #d6efe7;
  --accent: #a56b29;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 20px 45px rgba(9, 35, 28, 0.08);
  --shadow-card: 0 10px 30px rgba(9, 35, 28, 0.06);
  --container: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, #deece4 0%, transparent 42%),
    radial-gradient(circle at 85% 0%, #f4dcc2 0%, transparent 34%),
    var(--bg);
  background-size: 130% 130%, 140% 140%, auto;
  line-height: 1.5;
  animation: bodyBackdropDrift 22s ease-in-out infinite alternate;
}

main section[id] {
  scroll-margin-top: 6.5rem;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  opacity: 0.36;
  filter: blur(1px);
  will-change: transform;
}

.ambient-orb-1 {
  width: 360px;
  height: 360px;
  top: 2%;
  left: -90px;
  background: radial-gradient(circle, rgba(42, 133, 108, 0.42) 0%, rgba(42, 133, 108, 0.04) 74%);
  animation: ambientDriftA 16s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  width: 300px;
  height: 300px;
  top: 18%;
  right: -80px;
  background: radial-gradient(circle, rgba(165, 107, 41, 0.34) 0%, rgba(165, 107, 41, 0.04) 72%);
  animation: ambientDriftB 18s ease-in-out infinite alternate;
}

.ambient-orb-3 {
  width: 420px;
  height: 420px;
  bottom: 6%;
  left: 6%;
  background: radial-gradient(circle, rgba(0, 90, 72, 0.32) 0%, rgba(0, 90, 72, 0.04) 76%);
  animation: ambientDriftC 21s ease-in-out infinite alternate;
}

.ambient-orb-4 {
  width: 320px;
  height: 320px;
  bottom: -70px;
  right: 10%;
  background: radial-gradient(circle, rgba(102, 147, 130, 0.3) 0%, rgba(102, 147, 130, 0.04) 75%);
  animation: ambientDriftD 17s ease-in-out infinite alternate;
}

h1,
h2,
h3,
.brand {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.site-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 1rem 0 4rem;
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  z-index: 20;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  background: rgba(244, 246, 242, 0.82);
}

.brand {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 360px;
  flex-shrink: 0;
}

.brand-logo img {
  width: auto;
  max-width: 100%;
  height: 70px;
  object-fit: contain;
  display: block;
}

.topbar nav {
  display: flex;
  gap: 1rem;
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar nav a {
  text-decoration: none;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.topbar nav a:hover,
.topbar nav a:focus-visible {
  color: var(--ink);
}

.language-switcher {
  position: relative;
}

.language-switcher summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(0, 58, 49, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher[open] summary {
  box-shadow: var(--shadow-card);
}

.language-switcher-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 180px;
  display: grid;
  gap: 0.2rem;
  padding: 0.4rem;
  border: 1px solid rgba(0, 58, 49, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(9, 35, 28, 0.12);
  backdrop-filter: blur(14px);
}

.language-switcher-menu a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  color: var(--ink-muted);
  text-decoration: none;
  white-space: nowrap;
}

.language-switcher-menu a:hover,
.language-switcher-menu a:focus-visible,
.language-switcher-menu a.is-active {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.btn {
  border: 1px solid var(--brand);
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  color: #f5fbf8;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-small {
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  color: var(--brand-strong);
  border-color: rgba(0, 58, 49, 0.3);
}

.hero {
  margin-top: 2rem;
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.95), rgba(238, 242, 235, 0.86)),
    linear-gradient(40deg, #d6efe7, #f5debe);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 5.8vw, 4rem);
  line-height: 1.05;
  max-width: 14ch;
}

.lead {
  margin-top: 1rem;
  max-width: 62ch;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-points {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-points li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.8rem 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.section {
  margin-top: 1.4rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.section-head h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  margin-bottom: 1.1rem;
  max-width: 24ch;
}

.steps-grid,
.service-grid,
.value-grid,
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.steps-grid article,
.card,
.price-card,
.quality-chart {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

h3 {
  font-size: 1.07rem;
  margin-bottom: 0.45rem;
}

.steps-grid p,
.card p,
.price-card p,
.quality-chart p {
  color: var(--ink-muted);
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.9rem;
}

.integration-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.integration-grid span {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.48rem 0.8rem;
  font-size: 0.9rem;
}

.pricing-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.simple-page .section {
  margin-top: 2rem;
}

.simple-page .topbar {
  margin-bottom: 1.4rem;
}

.simple-page main {
  padding-top: 0.35rem;
}

.simple-page h1 {
  max-width: 18ch;
}

.subscription-title {
  max-width: none;
  font-size: clamp(1.85rem, 3.45vw, 2.95rem);
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.price-banner {
  display: inline-flex;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
  border: 1px solid rgba(0, 90, 72, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
}

.order-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.68rem 0.8rem;
  font: inherit;
}

.order-form input:focus-visible,
.order-form select:focus-visible,
.order-form textarea:focus-visible {
  outline: 2px solid rgba(0, 90, 72, 0.3);
  outline-offset: 0;
}

.consent-row {
  display: grid;
  grid-template-columns: 1.05rem minmax(0, 1fr);
  align-items: start;
  column-gap: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

.consent-row input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  margin: 0.18rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--brand);
}

.consent-row span {
  display: block;
}

.consent-row a {
  color: var(--brand-strong);
}

.form-feedback {
  min-height: 1.2rem;
  color: #d7f3e7;
}

.simple-page .form-feedback {
  color: var(--ink-muted);
}

.policy-page ul {
  margin: 0.6rem 0 1rem;
  padding-left: 1.2rem;
}

.policy-page h3 {
  margin-top: 1rem;
}

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

.portal-grid ul {
  margin: 0.75rem 0;
  padding-left: 1.05rem;
}

.price-tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  padding: 0.35rem 0.75rem;
  font-weight: 700;
}

.price-card ul {
  margin: 0.75rem 0;
  padding-left: 1.1rem;
}

.subtle {
  font-size: 0.92rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.bar {
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f7f69, #69af98);
}

.bar-high {
  width: 100%;
}

.bar-mid {
  width: 70%;
}

.bar-low {
  width: 30%;
}

.cta {
  text-align: center;
  background: linear-gradient(140deg, #0f2922, #0b1e1a);
  color: #eff8f4;
}

.cta .eyebrow {
  color: #9ad3c1;
}

.cta p {
  color: #c9dfd7;
  max-width: 60ch;
  margin: 0 auto;
}

.cta h2 {
  margin: 0 auto 1rem;
}

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

.cta-subtle {
  margin-top: 0.9rem;
}

.cta-subtle a {
  color: #9ad3c1;
}

.cta-subtle a:hover,
.cta-subtle a:focus-visible {
  color: #c9f2e5;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ambientDriftA {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(120px, 70px, 0) scale(1.12);
  }
}

@keyframes ambientDriftB {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-110px, 78px, 0) scale(1.15);
  }
}

@keyframes ambientDriftC {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(95px, -90px, 0) scale(1.13);
  }
}

@keyframes ambientDriftD {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-95px, -85px, 0) scale(1.14);
  }
}

@keyframes bodyBackdropDrift {
  0% {
    background-position: 8% 10%, 92% 5%, 0 0;
  }
  100% {
    background-position: 20% 18%, 78% 14%, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .ambient-orb {
    animation: none;
  }
}

@media (max-width: 960px) {
  .topbar nav {
    display: none;
  }

  .topbar-tools {
    width: 100%;
    justify-content: space-between;
  }

  .hero-points,
  .steps-grid,
  .service-grid,
  .value-grid,
  .faq-list,
  .audience-list,
  .portal-grid,
  .pricing-wrap,
  .form-grid.two-col {
    grid-template-columns: 1fr;
  }

  .subscription-title {
    white-space: normal;
  }

  .bar-row {
    grid-template-columns: 6.2rem 1fr auto;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 7.8rem;
  }

  .site-shell {
    width: min(1120px, 95vw);
    padding-bottom: 2rem;
  }

  .topbar {
    top: 0.4rem;
    border-radius: 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo img {
    height: 52px;
  }

  .hero {
    margin-top: 1rem;
  }
}
