/* MyDocDeliver design rotate — pageId cursor-com · hue 215
   Flat chrome only — no box-shadow, no gradients */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --primary: #4787e1;
  --primary-dark: #254a7e;
  --primary-tint: #e8f1fb;
  --ink: #0f1b2d;
  --muted: #5a6b7e;
  --line: #c5d4e8;
  --danger: #ff4c68;
  --surface: #ffffff;
  --btn-bg: #4787e1;
  --btn-fg: #fff;
  --btn-hover: #254a7e;
  --btn-muted-fg: var(--ink);
  --btn-border: var(--line);
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--primary-tint);
  color: var(--ink);
}

h1, h2, h3,
.page-hero h1 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.font-serif,
.kajabi-payment-hero h1 em,
.pricing-opl-big14 .plan-price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

/* —— Image masks —— */
.media-frame {
  overflow: hidden;
  display: block;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-mask-folded-rectangle-2 {
  clip-path: polygon(0% 8%, 92% 0%, 100% 92%, 8% 100%);
}
.img-mask-squircle {
  clip-path: inset(0 round 28%);
}
.img-mask-parallelogram {
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}
.img-mask-octagon {
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

/* —— Buttons —— */
.my-button,
.docs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-body);
  text-decoration: none;
  background-color: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 8px;
  box-shadow: none !important;
  background-image: none !important;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.my-button:hover:not(:disabled),
.docs-btn:hover:not(:disabled) {
  background-color: var(--btn-hover);
  border-color: var(--btn-hover);
  color: #fff;
}
.docs-btn.white,
.my-button.white {
  background-color: #fff;
  color: var(--ink);
  border-color: #fff;
}
.docs-btn.white:hover:not(:disabled),
.my-button.white:hover:not(:disabled) {
  background-color: var(--primary-tint);
  border-color: var(--primary-tint);
  color: var(--ink);
}
.docs-btn:focus-visible,
.my-button:focus-visible {
  outline: 2px solid var(--btn-hover);
  outline-offset: 3px;
}

.btn--primary,
.auth-submit,
#welcomeAgreeBtn {
  background: var(--btn-bg) !important;
  color: var(--btn-fg) !important;
  border-color: var(--btn-bg) !important;
  box-shadow: none !important;
}
.btn--primary:hover,
.auth-submit:hover,
#welcomeAgreeBtn:hover {
  background: var(--btn-hover) !important;
  color: #fff !important;
}

.starter-main {
  padding: 0;
}

/* —— Header: datafa-st-header —— */
.datafa-st-header.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: none !important;
}
.datafa-st-header .site-header__brand img {
  max-height: 40px;
  width: auto;
}
.datafa-st-header .site-header__nav a:hover,
.datafa-st-header .site-header__nav a.is-active {
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--primary-dark);
}
.profile-auth__menu {
  box-shadow: none !important;
  border: 1px solid var(--line);
}

/* —— Hero: kajabi-payment-hero split —— */
.kajabi-payment-hero {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--surface);
  overflow: hidden;
}
.kajabi-payment-hero .container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.kajabi-payment-hero .hero-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  line-height: 1.12;
  font-weight: 600;
}
.kajabi-payment-hero .hero-copy h1 .brand {
  display: block;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.kajabi-payment-hero .hero-copy h1 em {
  font-style: italic;
  color: var(--primary-dark);
}
.kajabi-payment-hero .hero-support {
  margin: 1.15rem 0 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 34rem;
}
.kajabi-payment-hero .hero-cta {
  margin-top: 1.65rem;
}
.kajabi-payment-hero .hero-media {
  position: relative;
  margin-right: calc(50% - 50vw);
  min-height: min(420px, 55vw);
}
.kajabi-payment-hero .hero-media .media-frame {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 1px solid var(--line);
}

/* —— Features: saaspo lattice bento —— */
.saaspo-feature-sections-lattice {
  padding: 4.5rem 0;
  background: var(--primary-tint);
}
.saaspo-feature-sections-lattice .container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.saaspo-feature-sections-lattice .sec-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}
.saaspo-feature-sections-lattice .sec-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}
.saaspo-feature-sections-lattice .sec-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.lattice-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.lattice-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.lattice-card.span-7 { grid-column: span 7; }
.lattice-card.span-5 { grid-column: span 5; }
.lattice-card.span-12 { grid-column: span 12; }
.lattice-card .media-frame {
  aspect-ratio: 16 / 10;
}
.lattice-card.span-5 .media-frame {
  aspect-ratio: 4 / 3;
}
.lattice-card .body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
}
.lattice-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}
.lattice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* —— How it works: conductor dark band —— */
.conductor-build-how-it-works-3 {
  padding: 4.5rem 0;
  background: var(--primary-dark);
  color: #fff;
}
.conductor-build-how-it-works-3 .container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.conductor-build-how-it-works-3 .sec-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}
.conductor-build-how-it-works-3 .sec-head h2 {
  color: #fff;
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}
.conductor-build-how-it-works-3 .sec-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.hiw-step {
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 1.5rem 1.35rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.hiw-step .step-num {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.hiw-step h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}
.hiw-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}
.hiw-visual {
  margin-top: 2.5rem;
  max-width: 720px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hiw-visual .media-frame {
  aspect-ratio: 16 / 9;
}

/* —— About: Metoda dark biography split —— */
.about-metoda-sec {
  padding: 4.5rem 0;
  background: var(--ink);
  color: #fff;
}
.about-metoda-sec .container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.about-metoda-sec .vertical-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding: 0.5rem 0;
}
.about-metoda-sec .about-media .media-frame {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.about-metoda-sec h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}
.about-metoda-sec p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

/* —— Pricing: OPL big14 single card —— */
.pricing-opl-big14 {
  padding: 4.5rem 0;
  background: var(--surface);
}
.pricing-opl-big14 .container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  text-align: center;
}
.pricing-opl-big14 .title {
  margin: 0 0 2rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}
.opl-plan-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
  padding: 2.25rem 2rem;
  background: var(--primary-tint);
  border: 2px solid var(--line);
  border-radius: 16px;
  box-shadow: none;
}
.opl-plan-card .plan-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.opl-plan-card .plan-price {
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  line-height: 1;
  color: var(--ink);
}
.opl-plan-card .plan-price small {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}
.opl-plan-card .plan-note {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.opl-plan-card ul {
  margin: 1.35rem 0 1.5rem;
  padding: 0;
  list-style: none;
}
.opl-plan-card li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.35rem;
  font-size: 0.95rem;
}
.opl-plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
}
.opl-plan-card .docs-btn,
.opl-plan-card .my-button {
  width: 100%;
}

/* —— CTA: superbilling dark full width —— */
.superbilling-io-cta-7 {
  padding: 4.5rem 0;
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
}
.superbilling-io-cta-7 .container {
  width: min(100% - 2rem, 680px);
  margin-inline: auto;
}
.superbilling-io-cta-7 .cta-media {
  width: min(240px, 70%);
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.superbilling-io-cta-7 .cta-media .media-frame {
  aspect-ratio: 1;
}
.superbilling-io-cta-7 h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}
.superbilling-io-cta-7 p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* —— Contact teaser on home —— */
.beauty-with-intuition-teaser {
  padding: 4rem 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.beauty-with-intuition-teaser .container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.beauty-with-intuition-teaser h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.beauty-with-intuition-teaser p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}

/* —— Contact page: beauty-with-intuition —— */
.beauty-with-intuition .page-grid-2 {
  align-items: start;
}
.beauty-with-intuition .contact-aside {
  background: var(--primary-tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem;
}
.beauty-with-intuition .contact-aside h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

/* —— FAQ: userband accordion chrome —— */
.userband-accordion.faq-page {
  padding-bottom: 3rem;
}
.userband-accordion ul.faq-items[data-amazpay-inhouse-faq] > li {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 0.65rem;
  background: var(--surface);
  overflow: hidden;
}
.userband-accordion ul.faq-items[data-amazpay-inhouse-faq] > li > h3 {
  padding: 1.1rem 1.25rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--surface);
}
.userband-accordion ul.faq-items[data-amazpay-inhouse-faq] > li.open > h3,
.userband-accordion ul.faq-items[data-amazpay-inhouse-faq] > li.active > h3 {
  background: var(--primary-tint);
  color: var(--primary-dark);
}
.userband-accordion ul.faq-items[data-amazpay-inhouse-faq] > li > .answer {
  padding: 0 1.25rem 1.15rem;
}

/* —— Footer: footer-superchat dark —— */
.footer-superchat.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-superchat .footer-logo-link img,
.footer-superchat .site-footer__brand img {
  /* Bright lockup (white wordmark + lighter icon) for dark footer */
  max-height: 44px;
  width: auto;
  filter: none;
}
.footer-superchat .site-footer__brand p,
.footer-superchat .site-footer__col a,
.footer-superchat .site-footer__col li {
  color: rgba(255, 255, 255, 0.78);
}
.footer-superchat .site-footer__col h3 {
  color: #fff;
}
.footer-superchat .site-footer__copy {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Back-to-top — bottom-right, aligned with LiveChat */
.back-to-top,
#factory-back-to-top {
  position: fixed !important;
  left: auto !important;
  right: 1.25rem !important;
  bottom: 1.35rem !important;
  z-index: 2147483000;
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

/*
  Mobile: copyright full-width/centered; padding-bottom clears widgets
  so chat (left) + back-to-top (right) sit below the copyright line.
*/
@media (max-width: 768px) {
  .back-to-top,
  #factory-back-to-top {
    right: 0.85rem !important;
    bottom: 1.15rem !important;
  }

  .site-footer__copy,
  .footer-superchat .site-footer__copy {
    padding: 1rem 1.25rem 5.75rem !important;
  }

  .site-footer__copy .container,
  .site-footer__copy p {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
    max-width: 100%;
  }

  #chat-widget-container,
  #chat-widget-minimized,
  div[id^="chat-widget"] {
    bottom: 0.85rem !important;
  }
}

@media (max-width: 480px) {
  .back-to-top,
  #factory-back-to-top {
    bottom: 1rem !important;
  }

  .site-footer__copy,
  .footer-superchat .site-footer__copy {
    padding: 1rem 1rem 6rem !important;
  }
}

/* —— Welcome: welcome-split-media —— */
body.welcome-split-media .welcome-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  max-width: 720px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none !important;
}
body.welcome-split-media .welcome-card .welcome-media {
  background: var(--primary-dark);
  min-height: 200px;
}
body.welcome-split-media .welcome-card .welcome-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
body.welcome-split-media .welcome-card .welcome-inner {
  padding: 1.75rem 1.5rem;
}
body.welcome-split-media .welcome-card h3 {
  margin-top: 0;
}

/* —— Auth: auth-photo-split —— */
body.auth-photo-split .starter-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-h));
}
body.auth-photo-split .auth-photo-panel {
  display: none;
}
body.auth-photo-split .auth-photo-panel {
  display: block;
  background: var(--primary-dark);
  border-left: 1px solid var(--line);
}
body.auth-photo-split .auth-photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}
body.auth-photo-split .auth-form-panel {
  padding: 2rem 0 3rem;
}
body.auth-photo-split .auth-form-panel .pricing-note a[data-open-login],
body.auth-photo-split .auth-form-panel a[data-open-login] {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
body.auth-photo-split .auth-form-panel .pricing-note a[data-open-login]:hover,
body.auth-photo-split .auth-form-panel a[data-open-login]:hover {
  color: var(--primary-dark);
}
@media (min-width: 900px) {
  body.auth-photo-split .starter-main > .auth-photo-panel {
    order: 2;
  }
  body.auth-photo-split .starter-main > .auth-form-panel {
    order: 1;
  }
}

/* —— Policy: policy-skew-band-hero —— */
body.policy-skew-band-hero .policy-hero-band {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  background: var(--primary-dark);
  color: #fff;
  margin-bottom: 2rem;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
body.policy-skew-band-hero .policy-hero-band h1 {
  color: #fff;
  margin: 0;
}
body.policy-skew-band-hero .policy-hero-band p {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.8);
}

/* Policy tables — full-width responsive (match privacy / terms mobile QA) */
.wrap,
.policy-content,
.policy-main,
.terms-content,
#pricingplans {
  overflow-x: visible;
  max-width: 100%;
}
.policy-content .wrap table,
.wrap table,
.policy-content table,
.policy-main table,
.terms-content table,
#pricingplans table,
table#customers {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
}

@media (max-width: 1023px) {
  .kajabi-payment-hero .container {
    grid-template-columns: 1fr;
  }
  .kajabi-payment-hero .hero-media {
    margin-right: 0;
    order: -1;
  }
  .lattice-card.span-7,
  .lattice-card.span-5,
  .lattice-card.span-12 {
    grid-column: span 12;
  }
  .hiw-steps {
    grid-template-columns: 1fr;
  }
  .about-metoda-sec .container {
    grid-template-columns: 1fr;
  }
  .about-metoda-sec .vertical-label {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .beauty-with-intuition-teaser .container {
    grid-template-columns: 1fr;
  }
  body.auth-photo-split .starter-main {
    grid-template-columns: 1fr;
  }
  body.auth-photo-split .auth-photo-panel {
    min-height: 220px;
    order: -1;
  }
  body.welcome-split-media .welcome-card {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
