/*
 * DriveDiggers — Precision Lab public theme
 * Deliberately scoped to .public-site so it cannot affect authentication or
 * portal screens. Keep this file after style.css.
 */

.public-site {
  --ink: #07151c;
  --ink-2: #0b232c;
  --navy: #0a2731;
  --blue: #2d68d8;
  --blue-2: #79a7ff;
  --cyan: #2abfb0;
  --paper: #f3f6f6;
  --white: #ffffff;
  --text: #40545b;
  --muted: #65777c;
  --line: #d7e2e3;
  --success: #168c69;
  --danger: #c94455;
  --radius-sm: 7px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 10px 28px rgba(9, 31, 39, .055);
  --shadow: 0 24px 60px rgba(9, 31, 39, .11);
  --shadow-blue: 0 16px 38px rgba(45, 104, 216, .22);
  --drive-ink: #07151c;
  --drive-navy: #0a2731;
  --drive-blue: #2d68d8;
  --drive-blue-bright: #4c86ff;
  --drive-cyan: #74e0d5;
  --drive-mint: #38d6c7;
  --drive-amber: #ffb547;
  --drive-paper: #f3f6f6;
  --drive-line: #d7e2e3;
  --drive-white: #ffffff;
  --drive-muted: #65777c;
  --drive-ease: cubic-bezier(.22, 1, .36, 1);
  background: #fff;
  color: var(--text);
  font-family: "Segoe UI Variable", "Aptos", "Segoe UI", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

.public-site h1,
.public-site h2,
.public-site h3,
.public-site h4 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Segoe UI", system-ui, sans-serif;
}

.public-site .container { width: min(1200px, calc(100% - 48px)); }

/* The client asked for a header that does not follow the page while scrolling. */
.public-site .site-header,
.public-site .site-header.scrolled,
.public-site .site-header.is-scrolled {
  position: relative;
  top: auto;
  height: 92px;
  border-bottom: 1px solid rgba(211, 228, 230, .16);
  background: #071820;
  box-shadow: none;
  backdrop-filter: none;
}

.public-site .site-header::after {
  opacity: .45;
  background: linear-gradient(90deg, transparent, rgba(56,214,199,.42), rgba(255,181,71,.32), transparent);
}

.public-site .brand { gap: 13px; }
.public-site .brand-mark {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  border: 0;
  border-radius: 11px;
  background: rgba(255,255,255,.96) url("../images/brand/drive-diggers-mark.png") center / contain no-repeat;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
}
.public-site .brand-mark::before,
.public-site .brand-mark::after,
.public-site .brand-mark > span { display: none; }
.public-site .brand:hover .brand-mark { transform: translateY(-1px); }
.public-site .brand-copy strong { font-size: 1.05rem; letter-spacing: -.025em; }
.public-site .brand-copy small { color: #8fa4a8; font-size: .57rem; letter-spacing: .14em; }
.public-site .desktop-nav a { color: #bfccce; font-size: .79rem; }
.public-site .desktop-nav a:hover,
.public-site .desktop-nav a.active { color: #fff; }
.public-site .desktop-nav a::after { background: #ffb547; }
.public-site .header-phone small { color: #81979b; }
.public-site .header-phone strong { color: #eef5f5; }
.public-site .header-phone-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(56,214,199,.2);
  border-radius: 8px;
  background: rgba(56,214,199,.07);
}
.public-site .header-phone-icon::before {
  width: 16px;
  height: 16px;
  background: #38d6c7;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.6A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.7a2 2 0 0 1-.5 2.1L8 9.7a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.7.5 2.6.6a2 2 0 0 1 2 2.3Z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.6A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.7a2 2 0 0 1-.5 2.1L8 9.7a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.7.5 2.6.6a2 2 0 0 1 2 2.3Z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.public-site .btn { border-radius: 7px; }
.public-site .btn-primary {
  border-color: #ffb547;
  background: #ffb547;
  color: #132129;
  box-shadow: 0 12px 30px rgba(255, 181, 71, .17);
}
.public-site .btn-primary:hover {
  border-color: #ffc66f;
  background: #ffc05e;
  color: #101b21;
  box-shadow: 0 18px 38px rgba(255, 181, 71, .25);
}

.public-site .hero,
.public-site .service-hero,
.public-site .pricing-hero,
.public-site .industries-hero {
  min-height: 720px;
  padding: 82px 0 76px;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(255,255,255,.03) 100%) 0 0 / 84px 84px,
    linear-gradient(transparent calc(100% - 1px), rgba(255,255,255,.03) 100%) 0 0 / 84px 84px,
    radial-gradient(circle at 78% 38%, rgba(56,214,199,.09), transparent 27%),
    linear-gradient(135deg, #061219 0%, #081b23 62%, #0a2630 100%);
}
.public-site .hero::before,
.public-site .service-hero::before { background: none; }
.public-site .hero-grid-pattern { opacity: 0; }
.public-site .hero-orb-one { background: radial-gradient(circle, rgba(56,214,199,.12), transparent 68%); }
.public-site .hero-orb-two { background: radial-gradient(circle, rgba(76,134,255,.11), transparent 68%); }
.public-site .hero-container { gap: clamp(55px, 7vw, 110px); }
.public-site .eyebrow,
.public-site .section-label {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .13em;
}
.public-site .eyebrow { color: #bfd0d2; }
.public-site .eyebrow-dot { background: #ffb547; box-shadow: 0 0 0 5px rgba(255,181,71,.08); }
.public-site .hero h1,
.public-site .service-hero h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3.7rem, 6.7vw, 6.6rem);
  font-weight: 720;
  letter-spacing: -.075em;
  line-height: .92;
}
.public-site .hero h1 span,
.public-site .service-hero h1 span {
  color: #dce8e9;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.public-site .hero-description,
.public-site .service-hero-content > p { color: #adc0c3; line-height: 1.75; }
.public-site .btn-outline-light { border-color: rgba(218,235,236,.26); background: transparent; color: #e3eeee; }
.public-site .btn-outline-light:hover { border-color: #d9e9e9; background: #edf5f5; color: #07151c; }
.public-site .hero-proof { border-top: 1px solid rgba(211,228,230,.14); border-bottom: 1px solid rgba(211,228,230,.14); }
.public-site .hero-proof article { padding: 18px 24px; border-left: 0; border-right: 1px solid rgba(211,228,230,.14); }
.public-site .hero-proof article:first-child { padding-left: 0; }
.public-site .hero-proof article:last-child { border-right: 0; }
.public-site .hero-proof strong { font-size: 1rem; }
.public-site .hero-proof span,
.public-site .hero-mini-trust { color: #8fa5a8; }
.public-site .hero-mini-trust span::before { color: #38d6c7; }

.public-site .recovery-system {
  border: 1px solid rgba(211,228,230,.16);
  border-radius: 13px;
  background: rgba(5, 17, 23, .72);
  box-shadow: 0 50px 105px rgba(0,0,0,.34);
  transition: transform .45s var(--drive-ease);
}
.public-site .system-core { border-color: rgba(211,228,230,.18); background: linear-gradient(145deg, rgba(24,60,69,.72), rgba(5,17,23,.94)); }
.public-site .system-ring { border-color: rgba(56,214,199,.14); }
.public-site .system-status-dot,
.public-site .status-dot { background: #38d6c7; box-shadow: 0 0 16px rgba(56,214,199,.7); }
.public-site .progress-track span,
.public-site .progress-fill { background: linear-gradient(90deg, #4c86ff, #38d6c7); }
.public-site .floating-status { border-radius: 7px; background: rgba(7,24,32,.94); }
.public-site .hero-trust-strip { background: rgba(3,13,18,.55); }

.public-site .section { padding-block: clamp(76px, 8.5vw, 118px); }
.public-site .section-heading h2,
.public-site .section-heading-split h2,
.public-site .why-content h2,
.public-site .final-cta h2 { font-weight: 710; letter-spacing: -.055em; }
.public-site .section-label { color: #2d68d8; }
.public-site .section-label::before { background: #ffb547; }
.public-site .section-label-light { color: #83ded5; }

.public-site .service-card,
.public-site .capability-card,
.public-site .pricing-card,
.public-site .brand-card,
.public-site .industry-card,
.public-site .process-card,
.public-site .contact-card,
.public-site .contact-method-card {
  border-radius: 9px;
  box-shadow: 0 10px 28px rgba(9,31,39,.055);
}
.public-site .service-card:hover,
.public-site .capability-card:hover,
.public-site .pricing-card:hover,
.public-site .industry-card:hover,
.public-site .process-card:hover {
  transform: translateY(-5px);
  border-color: #aec7ca;
  box-shadow: 0 22px 50px rgba(9,31,39,.11);
}
.public-site .service-card-featured,
.public-site .pricing-card-featured { background: linear-gradient(145deg, #071820, #0b2b35); }
.public-site .service-card-featured .card-link,
.public-site .pricing-card-featured .pricing-badge { color: #ffbf5c; }
.public-site .service-icon {
  border-color: #cbdcdc;
  border-radius: 8px;
  background: #eef5f5;
}
.public-site .service-icon-img { background: none; }
.public-site .service-card-featured .service-icon { background: rgba(56,214,199,.1); }

.public-site .why-section { background: #f3f6f6; }
.public-site .why-section::after { display: none; }
.public-site .enterprise-section,
.public-site .evaluation-section { background: linear-gradient(135deg, #071820, #0a2a34); }
.public-site .drive-standards-section { background: #eef3f3; }
.public-site .drive-standard-card { border-radius: 8px; }

.public-site .footer { background: #041016; }
.public-site .footer .brand-mark { box-shadow: none; }

.public-site [data-drive-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--drive-ease), transform .65s var(--drive-ease);
  transition-delay: var(--drive-delay, 0ms);
}
.public-site [data-drive-reveal].is-visible { opacity: 1; transform: none; }
.public-site .drive-scanline {
  position: absolute;
  z-index: 5;
  right: 10%;
  left: 10%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,181,71,.9), transparent);
  box-shadow: 0 0 16px rgba(255,181,71,.45);
  animation: driveThemeScan 4.4s ease-in-out infinite;
}
@keyframes driveThemeScan {
  0%, 100% { opacity: .15; transform: translateY(-110px); }
  50% { opacity: .9; transform: translateY(110px); }
}

/* Recovery-service detail pages share the same theme without global leakage. */
.public-site.drive-service-page .service-hero { min-height: 700px; padding: 94px 0 88px; }
.public-site.drive-service-page .drive-service-frame { border-radius: 12px; background: rgba(5,17,23,.78); }
.public-site.drive-service-page .drive-device-icon { border-radius: 18px; background: linear-gradient(145deg, rgba(45,104,216,.26), rgba(5,24,32,.96)); }
.public-site.drive-service-page .drive-evidence-grid,
.public-site.drive-service-page .drive-signal-list,
.public-site.drive-service-page .drive-protocol { border-radius: 9px; }
.public-site.drive-service-page .drive-capability-band {
  background:
    radial-gradient(circle at 82% 18%, rgba(56,214,199,.09), transparent 28%),
    linear-gradient(135deg, #06141b 0%, #071820 58%, #0a2932 100%) !important;
  color: #fff;
}
.public-site.drive-service-page .drive-capability-band .section-heading h2,
.public-site.drive-service-page .drive-capability-band .drive-capability h3 { color: #fff; }
.public-site.drive-service-page .drive-capability-band .section-heading p,
.public-site.drive-service-page .drive-capability-band .drive-capability p { color: #aec2c7; }
.public-site.drive-service-page .drive-capability-band .drive-capability {
  border-color: rgba(218,235,236,.14);
  background: rgba(255,255,255,.04);
}
.public-site .final-cta .btn-outline-light {
  border-color: #9eb2b7;
  background: #fff;
  color: #10242c;
  box-shadow: 0 10px 26px rgba(9,31,39,.08);
}
.public-site .final-cta .btn-outline-light:hover {
  border-color: #071820;
  background: #071820;
  color: #fff;
  box-shadow: 0 16px 34px rgba(7,24,32,.2);
}
.public-site.drive-service-page .drive-protocol-panel { background: linear-gradient(145deg, #09232d, #104754); }

@media (max-width: 900px) {
  .public-site .container { width: min(100% - 30px, 1200px); }
  .public-site .site-header,
  .public-site .site-header.scrolled,
  .public-site .site-header.is-scrolled { height: 76px; }
  .public-site .hero,
  .public-site .service-hero,
  .public-site .pricing-hero,
  .public-site .industries-hero { min-height: auto; padding: 70px 0; }
  .public-site .hero h1,
  .public-site .service-hero h1 { font-size: clamp(3rem, 12vw, 5rem); }
  .public-site .hero-container,
  .public-site .service-hero-container { grid-template-columns: minmax(0, 1fr); }
  .public-site .hero-content,
  .public-site .service-hero-content { margin-inline: auto; text-align: center; }
  .public-site .hero-description,
  .public-site .service-hero-content > p { margin-inline: auto; }
  .public-site .hero-actions,
  .public-site .hero-proof,
  .public-site .hero-mini-trust { justify-content: center; }
}
@media (max-width: 620px) {
  .public-site .hero-proof { display: grid; grid-template-columns: 1fr; border-bottom: 0; }
  .public-site .hero-proof article,
  .public-site .hero-proof article:first-child { padding: 13px 0; border-right: 0; border-bottom: 1px solid rgba(211,228,230,.12); }
  .public-site .hero-actions .btn { width: 100%; }
  .public-site.drive-service-page .service-hero { padding-top: 65px; }
}
@media (prefers-reduced-motion: reduce) {
  .public-site *,
  .public-site *::before,
  .public-site *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .public-site [data-drive-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   Production UI polish
   Clean, static laptop presentation with resilient wrapping.
========================================================= */

html { overflow-x: clip; }

.public-site .header-container,
.public-site .hero-container,
.public-site .footer-top,
.public-site .footer-bottom { min-width: 0; }

.public-site .desktop-nav ul { gap: 2px; }
.public-site .desktop-nav a { padding-inline: 13px; white-space: nowrap; }

.public-site .hero h1,
.public-site .service-hero h1,
.public-site .pricing-hero h1,
.public-site .industries-hero h1 {
  text-wrap: balance;
}

.public-site .hero-description,
.public-site .section-heading p,
.public-site .section-heading-split p { text-wrap: pretty; }

.public-site .recovery-system,
.public-site .drive-service-visual {
  transform: none !important;
  transition: none;
}

.public-site .drive-scanline { display: none; }

.public-site .service-card,
.public-site .capability-card,
.public-site .pricing-card,
.public-site .process-card { min-width: 0; }

.public-site .service-card:hover,
.public-site .capability-card:hover,
.public-site .pricing-card:hover,
.public-site .industry-card:hover,
.public-site .process-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(9,31,39,.1);
}

.public-site .faq-icon {
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.public-site .mobile-menu[inert] { visibility: hidden; }
.public-site .mobile-menu.open { visibility: visible; }

.public-site .site-footer,
.public-site .footer {
  overflow: hidden;
  background: #041016;
}

.public-site .footer-top {
  grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(135px, 1fr));
  gap: clamp(28px, 4vw, 58px);
}

.public-site .footer-top > *,
.public-site .footer-contact,
.public-site .footer-contact a { min-width: 0; max-width: 100%; }

.public-site .footer-contact span,
.public-site .footer-column a { overflow-wrap: anywhere; }

.public-site .footer-column,
.public-site .footer-brand {
  padding: 0;
  border-radius: 0;
}

.public-site .footer-column:hover,
.public-site .footer-brand:hover {
  transform: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

@media (min-width: 901px) {
  .public-site .hero,
  .public-site .service-hero,
  .public-site .pricing-hero,
  .public-site .industries-hero {
    min-height: 650px;
    padding: 68px 0 72px;
  }

  .public-site .hero h1,
  .public-site .service-hero h1 {
    font-size: clamp(3.4rem, 5.1vw, 5.45rem);
    line-height: .98;
  }

  .public-site .hero-container { gap: clamp(44px, 5vw, 78px); }
  .public-site .hero-visual,
  .public-site .service-hero-visual { min-height: 460px; }
  .public-site .recovery-system { height: 460px; }
}

@media (max-width: 1180px) {
  .public-site .desktop-nav,
  .public-site .header-phone { display: none; }
  .public-site .menu-toggle { display: block; }
  .public-site .header-actions { margin-left: auto; }
}

@media (max-width: 1020px) {
  .public-site .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 56px;
  }
}

@media (max-width: 680px) {
  .public-site .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    text-align: left;
  }

  .public-site .brand-footer,
  .public-site .footer-contact { justify-content: flex-start; align-items: flex-start; }
  .public-site .footer-contact a { justify-content: flex-start; }
  .public-site .footer-column h3 { justify-content: flex-start; }
  .public-site .footer-column h3::after { left: 0; transform: none; }
}
