@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&display=swap");

:root {
  --color-bg: #f6faf7;
  --color-surface: #ffffff;
  --color-primary: #2fbf7a;
  --color-text: #2a2e33;
  --color-text-muted: #6b7480;
  --color-border: #e4e8e6;
  --color-shadow-soft: rgba(18, 43, 35, 0.08);
}

body,
button,
input,
textarea {
  font-family: "Nunito", sans-serif;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition:
    color 0.18s ease,
    opacity 0.18s ease;
}

a:hover {
  opacity: 0.9;
}

.oplestins-main > section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 20px;
}

.oplestins-legal__inner,
.oplestins-reach__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 6px 18px var(--color-shadow-soft);
}

/* Header */
.oplestins-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.oplestins-header__brand a.oplestins-header__brand-mark {
  display: flex;
  gap: 10px;
  align-items: center;
}

.oplestins-header img.oplestins-header__brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.oplestins-header__brand-text {
  font-weight: 700;
  color: var(--color-text);
}

.oplestins-header__nav-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.oplestins-header__nav-link {
  color: var(--color-text);
  padding: 8px 10px;
  border-radius: 8px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.oplestins-header__nav-link:hover {
  color: var(--color-primary);
  background: rgba(47, 191, 122, 0.08);
}

/* Hero */
.oplestins-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.oplestins-hero__tag {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.875rem;
}

.oplestins-hero__title {
  font-size: 2rem;
  line-height: 1.3;
  margin: 8px 0 14px;
  font-weight: 700;
}

.oplestins-hero__lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.oplestins-hero__cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.oplestins-hero__cta {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 8px 20px var(--color-shadow-soft);
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
}

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

/* Onboarding */
.oplestins-onboarding__title {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.oplestins-onboarding__stepper {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.oplestins-onboarding__step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 14px 16px;
}

.oplestins-onboarding__step-title {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.oplestins-onboarding__step-desc {
  color: var(--color-text-muted);
}

/* Levels */
.oplestins-levels__intro {
  margin-bottom: 12px;
}

.oplestins-levels__bullets {
  margin: 0 0 10px;
  padding-left: 18px;
}

.oplestins-levels__bullet {
  margin: 6px 0;
}

.oplestins-levels__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.oplestins-levels__tag {
  background: rgba(47, 191, 122, 0.08);
  color: var(--color-primary);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.875rem;
}

/* Mechanics */
.oplestins-mechanics__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: start;
}

.oplestins-mechanics__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--color-shadow-soft);
}

.oplestins-mechanics__subtitle {
  font-size: 1.3rem;
  margin: 0 0 8px;
}

.oplestins-mechanics__bullets {
  margin: 0;
  padding-left: 18px;
}

.oplestins-mechanics__bullet {
  margin: 6px 0;
}

/* Description */
.oplestins-description__title {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.oplestins-description__paragraph {
  margin: 10px 0;
  color: var(--color-text);
}

/* Features */
.oplestins-features__title {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.oplestins-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.oplestins-features__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.oplestins-features__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px var(--color-shadow-soft);
}

.oplestins-features__item-title {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.oplestins-features__item-desc {
  color: var(--color-text-muted);
}

/* Gallery */
.oplestins-gallery__title {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.oplestins-gallery__desc {
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.oplestins-gallery__images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.oplestins-gallery__figure {
  margin: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.oplestins-gallery__img {
  width: 100%;
  display: block;
}

.oplestins-gallery__caption {
  padding: 10px 12px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* FAQ */
.oplestins-faq__title {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.oplestins-faq__accordion {
  display: grid;
  gap: 10px;
}

.oplestins-faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.oplestins-faq__question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.oplestins-faq__question:hover {
  background: rgba(47, 191, 122, 0.06);
}

.oplestins-faq__answer {
  display: none;
  padding: 0 16px 14px;
  color: var(--color-text-muted);
}

.oplestins-faq__question[aria-expanded="true"] + .oplestins-faq__answer {
  display: block;
}

/* Testimonials */
.oplestins-testimonials__title {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.oplestins-testimonials__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.oplestins-testimonials__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 20px var(--color-shadow-soft);
}

.oplestins-testimonials__quote {
  font-style: italic;
  margin-bottom: 8px;
}

.oplestins-testimonials__persona {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Final CTA */
.oplestins-finalcta__wrap {
  background: linear-gradient(
    180deg,
    rgba(47, 191, 122, 0.12),
    rgba(47, 191, 122, 0.06)
  );
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.oplestins-finalcta__cta {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
}

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

.oplestins-finalcta__desc {
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* Footer */
.oplestins-footer {
  border-top: 1px solid var(--color-border);
  padding: 16px;
  background: var(--color-surface);
}

.oplestins-footer__nav-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.oplestins-footer__nav-link {
  color: var(--color-text-muted);
  transition: color 0.18s ease;
}

.oplestins-footer__nav-link:hover {
  color: var(--color-primary);
}

.oplestins-footer__copy {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Legal pages */
.oplestins-legal {
  padding: 48px 20px;
}

.oplestins-legal__title {
  font-size: 1.5rem;
  margin: 10px 0;
}

.oplestins-legal__subtitle {
  font-size: 1.2rem;
  margin: 10px 0 6px;
}

.oplestins-legal__text {
  margin: 8px 0;
  color: var(--color-text);
}

.oplestins-legal__list {
  margin: 6px 0 12px 18px;
}

.oplestins-legal__item {
  margin: 6px 0;
}

.oplestins-legal__link {
  color: var(--color-primary);
}

/* Contact page */
.oplestins-reach__intro {
  margin-bottom: 12px;
}

.oplestins-reach__title {
  font-size: 1.8rem;
  margin: 0 0 6px;
}

.oplestins-reach__lead {
  color: var(--color-text-muted);
}

.oplestins-reach__group {
  margin-top: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
}

.oplestins-reach__group-title {
  font-size: 1.2rem;
  margin: 0 0 4px;
}

.oplestins-reach__group-desc {
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.oplestins-reach__rows {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.oplestins-reach__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 8px;
}

.oplestins-reach__label {
  color: var(--color-text-muted);
}

.oplestins-reach__value a {
  color: var(--color-primary);
  font-weight: 600;
}

/* Cookie consent */
.privacy-pane {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 16px 32px var(--color-shadow-soft);
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
}

.privacy-pane__header,
.privacy-pane__body,
.privacy-pane__footer {
  padding: 14px 16px;
}

.privacy-pane__badge {
  display: inline-block;
  background: rgba(47, 191, 122, 0.12);
  color: var(--color-primary);
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.privacy-pane__title {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.privacy-pane__desc {
  margin: 0;
  color: var(--color-text-muted);
}

.privacy-pane__categories {
  background: rgba(47, 191, 122, 0.04);
  border: 1px dashed var(--color-border);
  border-radius: 10px;
  padding: 10px;
}

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

.privacy-pane__category {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px;
}

.privacy-pane__always-active {
  color: var(--color-text-muted);
  margin-left: 6px;
  font-size: 0.9rem;
}

.privacy-pane__switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
}

.privacy-pane__switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.privacy-pane__switch-indicator {
  width: 38px;
  height: 22px;
  background: #d9e4de;
  border-radius: 999px;
  position: relative;
  transition: background-color 0.18s ease;
}

.privacy-pane__switch-indicator::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px var(--color-shadow-soft);
  transition: transform 0.18s ease;
}

.privacy-pane__switch input:checked + .privacy-pane__switch-indicator {
  background: var(--color-primary);
}

.privacy-pane__switch input:checked + .privacy-pane__switch-indicator::after {
  transform: translateX(16px);
}

.privacy-pane__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--color-border);
}

.privacy-pane__privacy-link {
  color: var(--color-text-muted);
  text-decoration: underline;
}

.privacy-pane__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.privacy-pane__btn {
  border: 1px solid transparent;
  background: #f2f7f4;
  color: var(--color-text);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    border-color 0.18s ease;
}

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

.privacy-pane__btn--basic {
  background: #fff;
  border-color: var(--color-border);
  color: var(--color-text);
}

.privacy-pane__btn--save {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.privacy-pane__btn--accept {
  background: var(--color-primary);
  color: #fff;
}

.privacy-pane--hidden {
  display: none;
}

/* Responsive */
@media (max-width: 1199px) {
  .oplestins-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .oplestins-gallery__images {
    grid-template-columns: repeat(2, 1fr);
  }
  .oplestins-testimonials__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .oplestins-mechanics__layout {
    grid-template-columns: 1fr;
  }
  .oplestins-main > section {
    padding: 56px 18px;
  }
}

@media (max-width: 767px) {
  .oplestins-header {
    padding: 10px 12px;
  }
  .oplestins-header__nav-list {
    gap: 8px;
  }
  .oplestins-hero__title {
    font-size: 1.6rem;
  }
  .oplestins-hero__lead {
    font-size: 1rem;
  }
  .oplestins-hero__cta,
  .oplestins-finalcta__cta {
    width: 100%;
    text-align: center;
  }
  .oplestins-features__grid,
  .oplestins-gallery__images,
  .oplestins-testimonials__cards {
    grid-template-columns: 1fr;
  }
  .oplestins-reach__row {
    grid-template-columns: 1fr;
  }
  .oplestins-main > section {
    padding: 40px 16px;
  }
  .privacy-pane {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}
