:root {
  --bg: #f7f8fc;
  --text: #151824;
  --muted: #5f6778;
  --soft: #e5e7ef;
  --soft-strong: #d8ddea;
  --purple: #5b2cff;
  --purple-dark: #32158f;
  --panel: #ffffff;
  --max: 1160px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 122px;
}

body {
  margin: 0;
  padding-top: 112px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page main {
  flex: 1;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 14px max(22px, calc((100vw - var(--max)) / 2 + 22px));
  background: var(--bg);
  border-bottom: 1px solid #e2e5ee;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 315px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 315px;
  max-height: 76px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
}

.nav a.small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav a.small:hover,
.footer-links a:hover {
  color: var(--purple-dark);
}

section {
  padding: 44px 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid #ddd8ff;
  border-radius: 999px;
  background: #f4f0ff;
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 850;
}

.sub {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.9vw, 22px);
}

.micro,
.products-note,
.leadmagnet-note,
.subscribe-note {
  color: var(--muted);
  font-size: 14px;
}

.micro,
.leadmagnet-note {
  margin: 10px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition: transform .14s ease, filter .14s ease, background .14s ease, border-color .14s ease;
}

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

.btn:active,
.btn.is-pressed {
  transform: translateY(2px) scale(.99);
}

.btn-primary {
  background: linear-gradient(180deg, #8c6aff 0%, #6738ff 52%, #4d22d7 100%);
  color: #fff;
  border-color: #4d22d7;
}

.btn-primary:hover {
  filter: brightness(1.05) saturate(1.05);
}

.btn-secondary {
  background: linear-gradient(180deg, #fff 0%, #f4f6fb 100%);
  color: var(--text);
  border-color: var(--soft-strong);
}

.hero {
  padding: 30px 0 22px;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .76fr);
  gap: 30px;
  align-items: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 24px 0 0;
}

.hero-card,
.leadmagnet-image {
  overflow: hidden;
  border: 1px solid var(--soft);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .78);
}

.hero-card {
  justify-self: end;
  max-width: 560px;
  margin-top: 6px;
  padding: 14px;
}

.hero-card img,
.leadmagnet-image img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  background: #fff;
}

.hero-card picture,
.leadmagnet-image picture {
  display: block;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 26px auto 0;
}

.trust,
.feature,
.file-card,
.faq-item,
.note-card,
.mini-card,
.price-card,
.product-card,
.line-card,
.legal-card,
.contact-box {
  border: 1px solid var(--soft);
  background: var(--panel);
}

.trust {
  border-radius: 18px;
  padding: 16px;
  color: var(--muted);
  font-size: 14px;
}

.trust strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 15px;
}

.leadmagnet-section {
  padding-top: 28px;
  padding-bottom: 28px;
}

.leadmagnet-card {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, .78fr);
  gap: 26px;
  align-items: center;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #ddd7ff;
  border-radius: 32px;
  background: linear-gradient(135deg, #fff 0%, #f4f1ff 48%, #eef3ff 100%);
}

.leadmagnet-copy h2 {
  font-size: clamp(28px, 3.4vw, 46px);
}

.leadmagnet-copy p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.leadmagnet-list,
.checklist,
.mini-card ul {
  list-style: none;
  padding: 0;
}

.leadmagnet-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  max-width: 720px;
  margin: 18px 0 0;
}

.leadmagnet-list li,
.checklist li,
.mini-card li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.leadmagnet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.products-section {
  padding-top: 28px;
  padding-bottom: 24px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-head-tight {
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 20px;
  border-radius: 24px;
}

.product-card.featured {
  border-color: #d7ceff;
}

.product-tag {
  display: inline-flex;
  width: max-content;
  padding: 6px 10px;
  border: 1px solid #ded8ff;
  border-radius: 999px;
  background: #f4f0ff;
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 850;
}

.product-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.1;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.product-meta {
  margin-top: auto;
  color: #1f2937;
  font-size: 13px;
  font-weight: 800;
}

.product-card .btn {
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 0 16px;
  font-size: 14px;
}

#ordyva-line {
  padding-top: 12px;
  padding-bottom: 26px;
}

#ordyva-line + #featured {
  padding-top: 34px;
}

.brand-panel {
  padding: 24px 26px;
  border: 1px solid #e1dcff;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff, #f3f0ff);
}

.brand-panel h2 {
  max-width: 1100px;
}

.brand-panel p,
.line-card p {
  color: var(--muted);
}

.brand-panel p {
  max-width: 860px;
  margin: 12px 0 0;
  font-size: 17px;
}

.line-grid,
.grid-3,
.comparison-grid,
.faq,
.files-grid {
  display: grid;
  gap: 18px;
}

.line-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.line-card,
.feature,
.file-card,
.faq-item,
.mini-card {
  border-radius: 22px;
  padding: 18px;
}

.line-card h3,
.feature h3,
.file-card h3,
.faq-item h3,
.mini-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.feature p,
.file-card p,
.faq-item p,
.mini-card li {
  margin: 0;
  color: var(--muted);
}

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

.icon,
.file-number,
.check,
.mini-check {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-weight: 900;
}

.icon {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
}

#inside {
  padding-top: 10px;
}

#inside .section-head,
#faq .section-head {
  margin-bottom: 18px;
}

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

.file-card {
  display: flex;
  gap: 14px;
}

.file-number {
  width: 44px;
  height: 32px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.buy-section {
  padding-top: 28px;
  padding-bottom: 36px;
}

.comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.mini-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
}

.mini-check,
.check {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  font-size: 12px;
}

.price-card {
  position: sticky;
  top: 132px;
  align-self: start;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.price {
  margin: 8px 0 10px;
  font-size: clamp(44px, 5vw, 62px);
  font-weight: 900;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

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

.checklist {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.price-card-cta {
  width: 100%;
  margin-top: 18px;
}

.yellow {
  padding: 14px;
  border: 1px solid #f5dc99;
  border-radius: 18px;
  background: #fff8db;
  color: #614700;
  font-size: 14px;
}

.yellow-note {
  margin-top: 14px;
}

#faq {
  padding-top: 8px;
  padding-bottom: 16px;
}

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

.final-section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.final-cta {
  padding: 46px 26px;
  border-radius: 32px;
  background: linear-gradient(135deg, #24105f, #5b2cff);
  color: #fff;
  text-align: center;
}

.final-cta h2 {
  color: #fff;
}

.final-cta p {
  max-width: 720px;
  margin: 16px auto 0;
  color: #e8e5ff;
  font-size: 18px;
}

.final-cta .btn {
  margin-top: 26px;
  background: #fff;
  color: var(--purple-dark);
}

.subscribe-section {
  padding-top: 24px;
  padding-bottom: 34px;
}

.subscribe-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: 30px;
  background: #1e1556;
  color: #fff;
}

.subscribe-card .eyebrow {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.subscribe-card h2 {
  color: #fff;
}

.subscribe-card p {
  color: rgba(255, 255, 255, .78);
}

.subscribe-form label {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 800;
}

.subscribe-row {
  display: flex;
  gap: 10px;
}

.subscribe-row input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.subscribe-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.legal-page {
  padding: 58px 0 86px;
}

.legal-hero {
  margin-bottom: 26px;
  padding: 38px;
  border: 1px solid var(--soft);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(91, 44, 255, .08), rgba(255, 255, 255, .94));
}

.legal-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
}

.legal-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.legal-card {
  margin-bottom: 18px;
  padding: 30px;
  border-radius: 24px;
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.legal-card h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

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

.contact-box {
  padding: 22px;
  border-radius: var(--radius-md);
  background: #f8fafc;
}

.contact-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px 26px;
  border: 1px solid var(--soft);
  border-radius: 24px;
  background: #fff;
}

.footer-brand .brand-mark {
  width: 300px;
  max-height: 72px;
}

.legal {
  max-width: none;
  color: #5e6678;
  line-height: 1.55;
}

.legal p {
  margin: 0 0 6px;
}

.legal p:last-child {
  margin-bottom: 0;
}

.footer-links a {
  color: #4b5563;
  font-weight: 650;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 106px;
  }

  body {
    padding-top: 96px;
  }

  .wrap {
    width: min(var(--max), calc(100% - 36px));
  }

  .nav {
    padding: 14px 18px;
  }

  .brand {
    min-width: 250px;
  }

  .brand-mark {
    width: 250px;
    max-height: 62px;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 38px 0;
  }

  .hero-grid,
  .split,
  .grid-3,
  .product-grid,
  .line-grid,
  .files-grid,
  .faq,
  .comparison-grid,
  .leadmagnet-card,
  .subscribe-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
  }

  .price-card {
    position: static;
  }

  .leadmagnet-card,
  .subscribe-card,
  .legal-hero,
  .legal-card {
    padding: 22px;
  }

  .leadmagnet-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .footer-brand .brand-mark {
    width: 248px;
    max-height: 60px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 96px;
  }

  body {
    padding-top: 86px;
  }

  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav {
    padding: 12px 16px;
  }

  .brand {
    min-width: 205px;
  }

  .brand-mark,
  .footer-brand .brand-mark {
    width: 205px;
    max-height: 52px;
  }

  h1 {
    font-size: clamp(32px, 9vw, 48px);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero-actions,
  .subscribe-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .subscribe-row .btn {
    width: 100%;
  }

  .legal-page {
    padding: 34px 0 64px;
  }

  .legal-hero h1 {
    font-size: clamp(34px, 11vw, 44px);
  }

  .legal-hero p,
  .legal-card p,
  .legal-card li {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
