/* PDF Document Import for Confluence pages */
body.page-template-template-pdf-import-tool .seocrawler-page-title-wrap,
body.page-template-template-pdf-import-tool .seocrawler-header-transparent-substitute {
  display: none !important;
}

:root {
  --pit-navy-deep: #051b28;
  --pit-navy: #072432;
  --pit-navy-mid: #0e3347;
  --pit-teal: #0d7f92;
  --pit-cyan: #2ee1ff;
  --pit-orange: #ffad24;
  --pit-orange-hover: #ffc252;
  --pit-ice: #f4fdfe;
  --pit-body: #2a4a5a;
  --pit-muted: #5a7a8a;
  --pit-white: #ffffff;
  --pit-border: rgba(13, 127, 146, 0.14);
  --pit-font-body: 'DM Sans', sans-serif;
  --pit-font-mono: 'JetBrains Mono', monospace;
  --pit-shadow: 0 18px 50px rgba(5, 27, 40, 0.09);
}

[class^="pit-"] *,
[class^="pit-"] *::before,
[class^="pit-"] *::after {
  box-sizing: border-box;
}

[class^="pit-"] {
  font-family: var(--pit-font-body);
  color: var(--pit-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.page-template-template-pdf-import-tool .seocrawler-body-outer-wrapper {
  overflow: visible;
}

.pit-subnav {
  --pit-sticky-top: 0px;
  position: -webkit-sticky;
  position: sticky;
  top: var(--pit-sticky-top);
  z-index: 98;
  background: rgba(5, 27, 40, 0.97);
  border-bottom: 1px solid rgba(46, 225, 255, 0.14);
  backdrop-filter: blur(12px);
  transition: top 120ms ease-out;
}

.admin-bar .pit-subnav {
  --pit-sticky-top: 32px;
}

.pit-subnav-inner {
  display: flex;
  width: max-content;
  min-width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  justify-content: center;
}

.pit-subnav a {
  position: relative;
  display: block;
  padding: 1rem 1.35rem;
  color: rgba(220, 252, 252, 0.68);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.pit-subnav a:hover,
.pit-subnav a:focus-visible {
  color: var(--pit-white);
  background: rgba(46, 225, 255, 0.05);
}

.pit-subnav a.active {
  color: var(--pit-cyan);
}

.pit-subnav a.active::after {
  content: '';
  position: absolute;
  right: 1.35rem;
  bottom: 0;
  left: 1.35rem;
  height: 3px;
  background: var(--pit-orange);
}

.pit-hero {
  position: relative;
  overflow: hidden;
  padding: 4.75rem 2rem;
  background: var(--pit-navy-deep);
}

.pit-hero::before {
  content: '';
  position: absolute;
  top: -75%;
  right: -15%;
  width: 65%;
  height: 200%;
  background: radial-gradient(circle, rgba(46, 225, 255, 0.1), transparent 62%);
  pointer-events: none;
}

.pit-grid {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(46, 225, 255, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 225, 255, 1) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

.pit-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 800px);
  gap: 2.25rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.pit-logo {
  display: block;
  width: 116px;
  height: 116px;
  border-radius: 22px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.24);
}

.pit-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--pit-teal);
  font-family: var(--pit-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pit-hero .pit-eyebrow {
  color: var(--pit-cyan);
  text-transform: none;
}

.pit-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--pit-white);
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.pit-hero p:last-child {
  max-width: 700px;
  margin: 1rem 0 0;
  color: rgba(220, 252, 252, 0.7);
  font-size: 1.05rem;
}

.pit-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

.pit-support-main {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 5rem;
  align-items: start;
}

.pit-support-intro h2,
.pit-form-panel h2,
.pit-legal-content h2 {
  margin: 0;
  color: var(--pit-navy);
  font-weight: 700;
  letter-spacing: 0;
}

.pit-support-intro h2 {
  font-size: 2.3rem;
  line-height: 1.2;
}

.pit-support-intro > p:not(.pit-eyebrow) {
  margin: 1rem 0 0;
  color: var(--pit-muted);
  font-size: 1rem;
}

.pit-response-note {
  margin: 2rem 0;
  padding: 1.35rem 1.5rem;
  background: var(--pit-navy-deep);
  border-left: 4px solid var(--pit-orange);
  border-radius: 0 8px 8px 0;
}

.pit-response-note p {
  margin: 0;
  color: rgba(220, 252, 252, 0.76);
  font-size: 0.92rem;
}

.pit-contact-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--pit-border);
}

.pit-contact-list > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--pit-border);
}

.pit-contact-list span {
  color: var(--pit-navy);
  font-weight: 700;
}

.pit-contact-list a,
.pit-legal-content a,
.pit-docs a,
.pit-form-privacy a {
  color: var(--pit-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.pit-contact-list a:hover,
.pit-legal-content a:hover,
.pit-docs a:hover,
.pit-form-privacy a:hover {
  color: var(--pit-navy);
}

.pit-form-panel {
  padding: 2.25rem;
  background: var(--pit-white);
  border: 1px solid var(--pit-border);
  border-radius: 8px;
  box-shadow: var(--pit-shadow);
}

.pit-form-panel h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.pit-support-form,
.pit-support-form label {
  display: grid;
  gap: 0.55rem;
}

.pit-support-form {
  gap: 1.2rem;
}

.pit-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pit-support-form label {
  color: var(--pit-navy);
  font-size: 0.85rem;
  font-weight: 700;
}

.pit-field-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
}

.pit-support-form .pit-field-label span {
  color: #bd4f36;
}

.pit-support-form input,
.pit-support-form textarea {
  width: 100%;
  border: 1px solid rgba(13, 127, 146, 0.22);
  border-radius: 5px;
  background: #fbffff;
  color: var(--pit-body);
  font-family: var(--pit-font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.pit-support-form input {
  height: 48px;
  padding: 0 0.85rem;
}

.pit-support-form textarea {
  min-height: 170px;
  padding: 0.8rem 0.85rem;
  resize: vertical;
}

.pit-support-form input:focus,
.pit-support-form textarea:focus {
  border-color: var(--pit-teal);
  box-shadow: 0 0 0 3px rgba(13, 127, 146, 0.12);
}

.pit-support-form button {
  min-height: 50px;
  padding: 0.8rem 1.5rem;
  border: 0;
  border-radius: 5px;
  background: var(--pit-orange);
  color: var(--pit-navy-deep);
  font-family: var(--pit-font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.pit-support-form button:hover {
  background: var(--pit-orange-hover);
  transform: translateY(-1px);
}

.pit-form-privacy {
  margin: -0.15rem 0 0;
  color: var(--pit-muted);
  font-size: 0.78rem;
}

.pit-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.pit-form-message {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
}

.pit-form-message.success {
  background: #e5f7ee;
  color: #1a6741;
}

.pit-form-message.error {
  background: #fff0ec;
  color: #8d3422;
}

.pit-legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 5rem;
  justify-content: center;
  align-items: start;
}

.pit-legal-aside {
  position: sticky;
  top: 90px;
  padding: 1.4rem 0;
  border-top: 3px solid var(--pit-orange);
  border-bottom: 1px solid var(--pit-border);
}

.pit-legal-aside p:last-child {
  margin: 0;
  color: var(--pit-muted);
  font-size: 0.9rem;
}

.pit-legal-content section {
  padding: 0 0 2.25rem;
  margin: 0 0 2.25rem;
  border-bottom: 1px solid var(--pit-border);
}

.pit-legal-content section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.pit-legal-content h2 {
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.pit-legal-content p {
  margin: 0.7rem 0 0;
  color: var(--pit-body);
  font-size: 0.98rem;
}

/* Documentation sections on the support page */

.pit-docs-jump {
  margin: 0 0 2.75rem;
  padding: 0.85rem 1.15rem;
  background: var(--pit-ice);
  border: 1px solid var(--pit-border);
  border-radius: 8px;
  color: var(--pit-muted);
  font-size: 0.92rem;
}

.pit-docs-jump a {
  font-weight: 600;
}

.pit-doc-section {
  padding: 0 0 2.75rem;
  margin: 0 0 2.75rem;
  border-bottom: 1px solid var(--pit-border);
}

.pit-doc-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.pit-doc-section h2 {
  margin: 0 0 0.85rem;
  color: var(--pit-navy);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.pit-doc-section > p:not(.pit-eyebrow) {
  max-width: 780px;
  margin: 0.85rem 0 0;
  color: var(--pit-body);
  font-size: 0.98rem;
}

.pit-steps,
.pit-feature-list {
  max-width: 780px;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.pit-steps {
  counter-reset: pit-step;
}

.pit-steps > li {
  position: relative;
  counter-increment: pit-step;
  margin: 0 0 1rem;
  padding-left: 2.9rem;
  color: var(--pit-body);
  font-size: 0.98rem;
}

.pit-steps > li::before {
  content: counter(pit-step);
  position: absolute;
  top: 0.1rem;
  left: 0;
  display: flex;
  width: 1.9rem;
  height: 1.9rem;
  align-items: center;
  justify-content: center;
  background: var(--pit-navy-deep);
  color: var(--pit-cyan);
  border-radius: 50%;
  font-family: var(--pit-font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}

.pit-feature-list > li {
  position: relative;
  margin: 0 0 0.85rem;
  padding-left: 1.6rem;
  color: var(--pit-body);
  font-size: 0.98rem;
}

.pit-feature-list > li::before {
  content: '';
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--pit-orange);
  border-radius: 2px;
}

.pit-steps > li:last-child,
.pit-feature-list > li:last-child {
  margin-bottom: 0;
}

.pit-steps strong,
.pit-feature-list strong {
  color: var(--pit-navy);
  font-weight: 600;
}

.pit-figure {
  margin: 2rem 0 0;
}

.pit-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--pit-border);
  border-radius: 10px;
  box-shadow: var(--pit-shadow);
}

.pit-figure figcaption {
  margin-top: 0.85rem;
  color: var(--pit-muted);
  font-size: 0.88rem;
}

.pit-figure figcaption strong {
  color: var(--pit-body);
  font-weight: 600;
}

.pit-docs + .pit-support-main {
  margin-top: 4.5rem;
  padding-top: 4rem;
  border-top: 3px solid var(--pit-orange);
  scroll-margin-top: 120px;
}

@media (max-width: 1320px) and (min-width: 1181px) {
  body.page-template-template-pdf-import-tool .seocrawler-navigation .sf-menu > li {
    padding-right: 8px;
  }

  body.page-template-template-pdf-import-tool .seocrawler-main-menu-right-wrap {
    margin-right: 8px;
    margin-left: 8px;
  }
}

@media (max-width: 1180px) and (min-width: 1000px) {
  body.page-template-template-pdf-import-tool .seocrawler-header-wrap,
  body.page-template-template-pdf-import-tool .seocrawler-sticky-navigation {
    display: none !important;
  }

  body.page-template-template-pdf-import-tool .seocrawler-mobile-header-wrap,
  body.page-template-template-pdf-import-tool .seocrawler-mobile-header.seocrawler-fixed-navigation {
    display: block;
  }

  body.page-template-template-pdf-import-tool .seocrawler-mobile-header .seocrawler-logo-inner {
    max-width: 150px;
  }

  body.page-template-template-pdf-import-tool .seocrawler-mobile-header .seocrawler-logo-inner img {
    width: auto;
    max-width: 100%;
    max-height: 45px;
  }

  body.page-template-template-pdf-import-tool .seocrawler-sticky-menu-placeholder {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .pit-support-main,
  .pit-legal-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pit-legal-aside {
    position: static;
  }
}

@media (max-width: 782px) {
  .admin-bar .pit-subnav {
    --pit-sticky-top: 46px;
  }
}

@media (max-width: 700px) {
  .pit-subnav {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .pit-subnav-inner {
    justify-content: flex-start;
    padding: 0 0.75rem;
  }

  .pit-subnav a {
    padding: 0.9rem 0.8rem;
    font-size: 0.7rem;
  }

  .pit-subnav a.active::after {
    right: 0.8rem;
    left: 0.8rem;
  }

  .pit-hero {
    padding: 3.5rem 1.25rem;
  }

  .pit-hero-inner {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 1.25rem;
  }

  .pit-logo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }

  .pit-hero h1 {
    font-size: 1.75rem;
  }

  .pit-hero p:last-child {
    font-size: 0.92rem;
  }

  .pit-main {
    padding: 3.5rem 1.25rem 4.5rem;
  }

  .pit-form-panel {
    padding: 1.5rem;
  }

  .pit-form-row {
    grid-template-columns: 1fr;
  }

  .pit-contact-list > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

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

  .pit-logo {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 700px) {
  .pit-doc-section h2 {
    font-size: 1.45rem;
  }

  .pit-steps > li {
    padding-left: 2.4rem;
  }

  .pit-steps > li::before {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.72rem;
  }

  .pit-figure figcaption {
    font-size: 0.82rem;
  }

  .pit-docs + .pit-support-main {
    margin-top: 3rem;
    padding-top: 2.5rem;
  }
}
