:root {
  --bg: #f5f7f1;
  --surface: #ffffff;
  --ink: #1d2a1e;
  --muted: #5e6d60;
  --brand: #1f7a4d;
  --brand-strong: #155b39;
  --accent: #d89b2b;
  --line: #dde5dc;
  --shadow: 0 16px 40px rgba(21, 44, 28, 0.12);
  --radius: 18px;
}

:root[data-theme='dark'] {
  --bg: #0f1720;
  --surface: #182532;
  --ink: #e8f2ed;
  --muted: #b3c3bb;
  --brand: #6ad39a;
  --brand-strong: #8be0ad;
  --accent: #f7bf61;
  --line: #304352;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 0%, #eaf5df 0%, var(--bg) 35%, #f8f8f5 100%);
  line-height: 1.55;
}

:root[data-theme='dark'] body {
  background: radial-gradient(circle at 15% 0%, #18302a 0%, var(--bg) 35%, #0f1720 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}

.bg-orb--one {
  width: 360px;
  height: 360px;
  top: -110px;
  left: -120px;
  background: #91d0a2;
}

.bg-orb--two {
  width: 320px;
  height: 320px;
  right: -100px;
  top: 120px;
  background: #ffd58e;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(221, 229, 220, 0.85);
  background: rgba(245, 247, 241, 0.9);
  backdrop-filter: blur(8px);
}

:root[data-theme='dark'] .topbar {
  background: rgba(15, 23, 32, 0.9);
  border-bottom-color: rgba(48, 67, 82, 0.85);
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.topnav a,
.topnav button {
  font-weight: 600;
  color: #344437;
}

.topnav .nav-link {
  position: relative;
  padding-bottom: 0.2rem;
}

.topnav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.topnav .nav-link:hover::after,
.topnav .nav-link.is-active::after {
  transform: scaleX(1);
}

:root[data-theme='dark'] .topnav a,
:root[data-theme='dark'] .topnav button {
  color: #dcebe2;
}

main,
.footer {
  width: min(1150px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: clamp(2.5rem, 8vw, 5.2rem) 0 clamp(2.2rem, 7vw, 4rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-strong);
  background: rgba(31, 122, 77, 0.14);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.08;
}

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

.lead--strong {
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--brand-strong);
}

.hero__actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  background: linear-gradient(140deg, #1f7a4d 0%, #2f925f 100%);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--small {
  padding: 0.55rem 0.8rem;
  font-size: 0.92rem;
  box-shadow: none;
}

.btn--ghost {
  background: transparent;
  color: var(--brand-strong);
  border-color: #b7cbbd;
  box-shadow: none;
}

:root[data-theme='dark'] .btn--ghost {
  border-color: #4a6a59;
}

.hero__card,
.card,
.price-box,
.support-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__card {
  padding: 1.3rem 1.3rem 1.2rem;
  align-self: center;
}

.hero__card h2 {
  margin: 0;
  font-size: 1.08rem;
}

.hero__card ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: #415244;
}

:root[data-theme='dark'] .hero__card ul {
  color: #c7d9cf;
}

.hero__card li {
  margin-bottom: 0.45rem;
}

.section {
  padding: clamp(1.7rem, 6vw, 3.6rem) 0;
}

.app-slider {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  gap: 0.8rem;
  align-items: center;
}

.app-slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.app-slider__viewport::-webkit-scrollbar {
  display: none;
}

.app-slider__track {
  display: flex;
  gap: 1rem;
  align-items: center;
  width: max-content;
}

.app-slide {
  margin: 0;
  flex: 0 0 clamp(220px, 30vw, 380px);
  scroll-snap-align: center;
  border-radius: 22px;
  overflow: hidden;
  opacity: 0.52;
  transform: scale(0.93);
  transition: opacity 300ms ease, transform 300ms ease;
  box-shadow: 0 14px 32px rgba(20, 35, 26, 0.2);
}

.app-slide.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 18px 42px rgba(20, 35, 26, 0.28);
}

.app-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  display: block;
}

.app-slide figcaption {
  display: none;
}

.app-slider__nav {
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-strong);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.app-slider__nav:hover {
  transform: translateY(-1px);
}

.app-slider__dots {
  margin-top: 0.85rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.app-slider__dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #b0bcb2;
  cursor: pointer;
}

.app-slider__dot.is-active {
  width: 22px;
  background: var(--brand-strong);
}

.section--muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(238, 242, 232, 0.82));
  border-radius: 24px;
  padding-left: 1rem;
  padding-right: 1rem;
}

:root[data-theme='dark'] .section--muted {
  background: linear-gradient(180deg, rgba(29, 43, 58, 0.6), rgba(22, 34, 46, 0.82));
}

.section__head h2 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.sub {
  margin: 0;
  color: var(--muted);
}

.grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.95rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  padding: 1rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: #4f5f52;
}

:root[data-theme='dark'] .card p {
  color: #c0d1c8;
}

.card--module {
  border-left: 6px solid var(--accent);
}

.pill {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7c4d00;
  background: #ffe7b9;
}

.price-line {
  margin-top: 0.75rem !important;
  font-weight: 700;
  color: var(--brand-strong) !important;
}

.price-box {
  padding: 1.2rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.price-box h2 {
  margin: 0.2rem 0 0.55rem;
}

.price-box p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.price-box__actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
}

.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

.list--compact li {
  margin-bottom: 0.35rem;
}

.footer {
  margin-top: 2rem;
  margin-bottom: 1.4rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #1f2c21;
  color: #eaf2e8;
  display: grid;
  gap: 1rem;
}

.footer__left p {
  margin: 0.35rem 0 0;
  color: rgba(234, 242, 232, 0.82);
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.footer__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer__links,
.footer__meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer__links a,
.footer__meta a {
  color: #eaf2e8;
  text-decoration: underline;
  text-decoration-color: rgba(234, 242, 232, 0.35);
}

.support-main {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
}

.support-card {
  padding: 1.4rem;
  margin-bottom: 1rem;
}

.support-card--alt {
  border-left: 6px solid var(--brand);
}

.support-label {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.support-number {
  display: inline-block;
  margin: 0.3rem 0 0.8rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--brand-strong);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  display: flex;
  gap: 0.9rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

.cookie-banner a {
  text-decoration: underline;
}

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

  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }

  .price-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-box__actions {
    justify-content: flex-start;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-slider {
    grid-template-columns: 1fr;
  }

  .app-slide {
    flex-basis: 72vw;
    max-width: 340px;
  }

  .app-slider__nav {
    display: none;
  }
}
