/* DeliverDocHub — design rotate
   pageId codefa-st · hero moxion-technology-hero · header conductor-build-header-0
   features superbilling-io-feature-4 · path viewport-before-after · about Juho
   pricing pricing-opl-screenshot-1 · cta greetinghr-cta-2 · contact pear
   faq cap-so-faq-6 · footer footer-10clouds-cta
   No box-shadow, no gradient fills. */

:root {
  --primary: #5647e1;
  --primary-dark: #2e257e;
  --primary-tint: #eeecfc;
  --ink: #16132b;
  --muted: #5c5772;
  --line: #e4e0f4;
  --surface: #fffefc;
  --radius: 18px;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --font-display: "Syne", "Outfit", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --header-h: 4.75rem;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
}
h1, h2, h3, .font-display { font-family: var(--font-display); letter-spacing: -0.03em; }

.primary-btn,
.btn--primary,
.auth-submit,
.signup-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--primary);
  color: #fff !important;
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 0.72rem 1.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
}
.primary-btn:hover,
.btn--primary:hover,
.auth-submit:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn--light {
  background: #fff;
  color: var(--primary-dark) !important;
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

/* Header — conductor-build-header-0 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #14121c;
  border-bottom: 0;
  box-shadow: none;
}
.site-header__inner { min-height: var(--header-h); }
.site-header__brand {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
}
.site-header__brand img {
  height: 56px;
  width: auto;
  max-width: min(280px, 68vw);
  object-fit: contain;
  background: transparent;
}
.site-header__nav a {
  color: #f4f2ff;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-header__nav a.is-active,
.site-header__nav a:hover { color: #fff; }
.site-header__toggle span { background: #fff; }
.profile-auth__toggle {
  background: #fff;
  border: 0;
  border-radius: 999px;
  width: auto;
  height: 42px;
  padding: 0 0.7rem 0 0.75rem;
  gap: 0.35rem;
  overflow: visible;
  flex-shrink: 0;
}
.profile-auth__caret {
  width: 14px;
  height: 9px;
  flex-shrink: 0;
  overflow: visible;
}
.profile-auth__menu {
  background: #1c1930;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}
.profile-auth__menu a { color: #fff; }
.site-header,
.site-header__inner,
.site-header__tools {
  overflow: visible;
}
.site-header__tools {
  flex-shrink: 0;
}

/* Hero — moxion-technology-hero */
.moxion-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  color: #fff;
  background: #5647e1;
  overflow: hidden;
}
.moxion-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.moxion-hero__stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem 0;
}
.moxion-hero__frame {
  width: min(920px, 92%);
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28);
}
.moxion-hero__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.moxion-hero__bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3.5rem) 2.25rem;
}
.moxion-hero__bar h1 {
  margin: 0;
  max-width: 12ch;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 0.95;
}
.moxion-hero__bar p {
  margin: 0;
  max-width: 28rem;
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.5;
}
.moxion-hero__cue {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
}

/* Features — superbilling accordion */
.sb-features { background: #12101a; color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 1.25rem; }
.sb-features__head { max-width: 46rem; margin: 0 auto 2rem; }
.sb-features h2 { margin: 0 0 0.75rem; font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; }
.sb-features__head p { margin: 0; color: rgba(255,255,255,0.82); font-size: 1.05rem; line-height: 1.55; }
.sb-features__grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .sb-features__grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
}
.sb-tab {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
  color: #fff;
  cursor: pointer;
  font: inherit;
  margin-bottom: 0.7rem;
}
.sb-tab h3 { margin: 0; font-size: 1.15rem; color: #fff; }
.sb-tab p { display: none; margin: 0.55rem 0 0; line-height: 1.5; color: rgba(255,255,255,0.9); }
.sb-tab.is-on { border-color: rgba(255,255,255,0.7); }
.sb-tab.is-on p { display: block; }
.sb-tab--1 { background: #5647e1; }
.sb-tab--2 { background: #2e257e; }
.sb-tab--3 { background: #3d348f; }
.sb-tab--4 { background: #6d62e6; }
.sb-preview {
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: #1c1930;
}
.sb-preview img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 360px; }

/* How it works — viewport before/after */
.path-band { padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem 6rem; background: #fff; text-align: center; }
.path-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.path-band h2 { margin: 0 auto 0.75rem; max-width: 18ch; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.path-band > p { margin: 0 auto 1.25rem; max-width: 38rem; color: var(--muted); }
.path-stack { position: relative; max-width: 52rem; margin: 2rem auto 0; min-height: 28rem; }
.path-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.path-card img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.path-card span {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.path-card--after {
  position: absolute;
  right: 0;
  top: 7.5rem;
  width: min(52%, 26rem);
  background: #fff;
}
.path-card--after span { left: auto; right: 0.8rem; background: var(--primary); color: #fff; }
@media (max-width: 700px) {
  .path-stack { min-height: 0; }
  .path-card--after { position: relative; width: 88%; margin: -2.5rem 0 0 auto; top: auto; }
}

/* About — Juho */
.juho { padding: clamp(3rem, 6vw, 5rem) 1.25rem; background: #fff; }
.juho__grid {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .juho__grid { grid-template-columns: 0.72fr 1.28fr; gap: 4rem; align-items: center; }
}
.juho__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--primary-tint); }
.juho__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.juho__kicker { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #999; }
.juho h2 { margin: 0.6rem 0 1rem; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.25; }
.juho p { color: var(--muted); line-height: 1.65; }

/* Pricing — pricing-opl-screenshot-1 */
.opl-pricing { background: #3a3270; padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem; color: #fff; }
.opl-pricing h2 {
  margin: 0 0 0.4rem;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 560;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0;
  color: #fff;
}
.opl-pricing .opl-sub { text-align: center; color: #c9c2e4; margin: 0 0 1.75rem; }
.opl-card {
  max-width: 58rem;
  margin: 0 auto;
  background: #241f3d;
  border-radius: 18px;
  display: grid;
}
@media (min-width: 800px) { .opl-card { grid-template-columns: 1fr 1fr 1fr; } }
.opl-col { padding: 1.8rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.45rem; }
.opl-col + .opl-col { border-top: 1px solid rgba(255,255,255,0.12); }
@media (min-width: 800px) {
  .opl-col + .opl-col { border-top: 0; border-left: 1px solid rgba(255,255,255,0.12); }
}
.opl-col h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: 0;
}
.opl-col p { margin: 0; color: #c9c2e4; font-size: 0.92rem; line-height: 1.5; }
.opl-price { font-size: 2rem; font-weight: 700; color: #fff; margin-top: auto; }
.opl-col .btn { margin-top: 0.8rem; align-self: flex-start; }
.opl-included { text-align: center; margin-top: 1.4rem; color: #ddd7f5; font-size: 0.92rem; }
.opl-included strong { display: block; color: #fff; margin-bottom: 0.35rem; }

/* CTA — greetinghr-cta-2 */
.ghr-cta { padding: 1.5rem 1.25rem 0; }
.ghr-cta__band {
  max-width: 72rem;
  margin: 0 auto;
  background: var(--primary);
  border-radius: 22px;
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
}
@media (min-width: 860px) { .ghr-cta__band { grid-template-columns: 1.2fr 0.8fr; align-items: center; } }
.ghr-cta__eyebrow { margin: 0; color: #e6e2ff; font-weight: 500; }
.ghr-cta h2 { margin: 0.4rem 0; color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.ghr-cta p { margin: 0 0 1rem; color: #ece9ff; }
.ghr-cta__art {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.12);
  min-height: 180px;
}
.ghr-cta__art img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 180px; }

/* Contact — pear */
.pear { padding: clamp(3rem, 6vw, 5rem) 1.25rem; background: #f6f3ee; }
.pear__grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
@media (min-width: 860px) { .pear__grid { grid-template-columns: 0.9fr 1.1fr; } }
.pear__media { min-height: 280px; background: var(--primary-tint); }
.pear__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }
.pear__copy { padding: clamp(1.4rem, 3vw, 2.4rem); }
.pear__copy .form-stack button[type="submit"] { margin-bottom: 0.4rem; }
.pear__copy .contact-aside { margin-top: 2.25rem; }
.pear h2 { margin: 0 0 0.6rem; }
.pear p { color: var(--muted); }

/* FAQ — cap-so-faq-6 */
.cap-faq { padding: clamp(3rem, 6vw, 5rem) 1.25rem; background: #fff; }
.cap-faq h2, .cap-faq h1 { text-align: center; margin: 0 0 0.4rem; }
.cap-faq > p, .cap-faq .cap-lead { text-align: center; color: var(--muted); margin: 0 auto 1.6rem; max-width: 36rem; }
.cap-faq__list { max-width: 44rem; margin: 0 auto; }
.cap-faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}
.cap-faq summary {
  cursor: pointer;
  font-weight: 650;
  font-family: var(--font-display);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.cap-faq summary::-webkit-details-marker { display: none; }
.cap-faq summary::after { content: "+"; color: var(--primary); font-weight: 500; }
.cap-faq details[open] summary::after { content: "–"; }
.cap-faq .answer { color: var(--muted); padding-top: 0.55rem; line-height: 1.6; }
.faq-price-table, .cap-faq table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.8rem 0;
  font-size: 0.95rem;
}
.faq-price-table th, .faq-price-table td,
.cap-faq table th, .cap-faq table td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
}
.faq-price-table th, .cap-faq table th { background: var(--primary-tint); }

/* Footer — footer-10clouds-cta */
.site-footer { background: #12101c; color: #efeaff; box-shadow: none; }
.site-footer__cta {
  text-align: center;
  padding: 2.4rem 1.25rem 0.4rem;
}
.site-footer__cta h2 { color: #fff; margin: 0 0 0.5rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.site-footer__cta p { margin: 0 auto 1rem; max-width: 34rem; color: #d5cff0; }
.footer-logo-link {
  display: inline-flex;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.footer-logo-link img { height: 52px; width: auto; background: transparent; }
.site-footer h3 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer a { color: #efeaff; }
.site-footer__copy { border-top: 1px solid rgba(255,255,255,0.12); color: #c8c0e6; }

/* Inner pages */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 3.2rem 0 2.4rem;
  border-radius: 0 0 48% 48% / 18%;
}
.page-hero h1, .page-hero p { color: #fff; }
.page-panel, .page-grid-2 .page-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: none;
  background: #fff;
}

/* Policy curve hero */
.policy-hero--curve {
  position: relative;
  min-height: 16rem;
  text-align: center;
  color: #fff;
  background: #2e257e url("../images/deliverdochub-letter.jpg") center / cover no-repeat;
  border-radius: 0 0 50% 50% / 18%;
  overflow: hidden;
}
.policy-hero__overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: clamp(2.6rem, 6vw, 4.2rem) 1.25rem 4.2rem;
  background: color-mix(in srgb, var(--primary) 82%, #1a1640);
}
.policy-hero--curve h1 { margin: 0; color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.policy-hero__lead,
.pear .policy-hero__lead {
  margin: 0;
  max-width: 36rem;
  color: #fff;
}
.policy-main { padding: 2.2rem 1.25rem 3.5rem; }
.policy-content, .wrap {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  overflow-x: visible;
}
.policy-content a:not([class*="btn"]),
.wrap a:not([class*="btn"]) {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
}
.wrap table, .policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 15px;
  border: 1px solid var(--line);
  table-layout: fixed;
}
.wrap table th, .wrap table td,
.policy-content table th, .policy-content table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.wrap table th, .policy-content table th { background: var(--primary-tint); }

/* Auth photo split */
.auth-stage--photo-split {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem 2.5rem;
  background: var(--primary-tint);
}
.auth-split {
  display: grid;
  width: min(100%, 68rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
@media (min-width: 1024px) { .auth-split { grid-template-columns: 1fr 1fr; } }
.auth-split__media {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  min-height: 16rem;
  padding: 1.5rem;
  color: #fff;
  background: #2e257e url("../images/deliverdochub-path.jpg") center / cover no-repeat;
}
.auth-split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, #1a1640 68%, transparent);
}
.auth-split__media > * { position: relative; z-index: 1; }
.auth-split__media::before { content: none; }
.auth-split__shade {
  display: contents;
}
.auth-split__logo {
  height: 56px;
  width: auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
  justify-self: center;
}
.auth-split__copy { text-align: center; align-self: center; text-shadow: none; }
.auth-split__eyebrow { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; margin: 0 0 0.4rem; }
.auth-split__title { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; }
.auth-split__title span { display: block; margin-top: 0.45rem; font-size: 1rem; font-weight: 400; font-family: var(--font-sans); letter-spacing: 0; }
.auth-split__policies { text-align: center; font-size: 0.85rem; margin: 0; }
.auth-split__policies a { color: #fff; }
.auth-split__panel { padding: 1.5rem; }
.auth-split__form .user-input,
#loginModal .user-input,
#forgotModal .user-input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--line);
  background: transparent;
  padding: 0.55rem 0;
  font: inherit;
  color: var(--ink);
  border-radius: 0;
}
.auth-split__form .user-input:focus,
#loginModal .user-input:focus,
#forgotModal .user-input:focus { outline: none; border-bottom-color: var(--primary); }
.auth-split__actions { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 1.1rem; }
.auth-text-btn { border: 0; background: none; text-decoration: underline; cursor: pointer; font: inherit; color: var(--ink); }
.signup-pricing-box {
  background: var(--primary-tint);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}
#loginModal.modal-overlay.open,
#forgotModal.modal-overlay.open,
#welcomeModal.modal-overlay.open {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  z-index: 10000;
}
#loginModal .modal,
#forgotModal .modal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: none;
  max-width: 28rem;
  width: min(28rem, 100%);
  padding: 1.5rem;
}
#loginModal h3, #forgotModal h3 { font-family: var(--font-display); }

/* Welcome compact icon */
#welcomeModal .welcome-card--compact {
  width: min(20rem, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.4rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: none;
}
#welcomeModal .welcome-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background: var(--primary-tint);
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
  color: var(--primary);
}
#welcomeModal .welcome-card--compact h3 { margin: 0 0 0.5rem; }
#welcomeModal .welcome-card--compact .content { color: var(--muted); font-size: 0.95rem; }
#welcomeModal .welcome-consent { text-align: left; font-size: 0.84rem; }
#welcomeModal .welcome-card a { color: var(--primary); }
#welcomeModal .welcome-actions { width: 100%; }
#welcomeModal .welcome-actions .btn { width: 100%; }

/* Support body */
.docs-support {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 3rem;
}
@media (min-width: 800px) { .docs-support { grid-template-columns: 1fr 1fr; } }
.membership-sec, .support-sec {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
  background: #fff;
}
.support-sec { background: var(--primary-tint); }

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