/*
 Theme Name: Starscream Child
 Theme URI: https://thebeartraxs.com/
 Description: Permanent child theme for the Starscream parent theme.
 Author: Eric Kowalewski
 Author URI: https://thebeartraxs.com
 Version: 1.0.0
 Template: starscream
 Text Domain: starscream-child
 Tags: child-theme, woocommerce, responsive
*/

/*
  You can put your overrides below. This file is versioned with filemtime in functions.php, 
  so updates bust cache automatically.
*/

:root {
  --ap-black: #020406;
  --ap-ink: #0d1820;
  --ap-panel: #f4f8fa;
  --ap-cyan: #10a6d8;
  --ap-cyan-dark: #087da8;
  --ap-white: #ffffff;
  --ap-muted: #5c6870;
  --ap-line: rgba(13, 24, 32, .14);
  --ap-radius: 8px;
  --ap-shadow: 0 18px 50px rgba(2, 4, 6, .12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ap-ink);
  background: var(--ap-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.home,
body.page {
  background: var(--ap-white);
}

.wp-site-blocks:empty,
.wp-site-blocks > nav:empty {
  display: none;
}

a {
  color: inherit;
}

.ap-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--ap-line);
  backdrop-filter: blur(16px);
}

.ap-brand,
.ap-footer-brand {
  text-decoration: none;
}

.ap-brand__image {
  width: 210px;
  max-height: 64px;
  object-fit: contain;
}

.ap-brand__mark {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: end;
  padding: 8px 12px 6px;
  color: var(--ap-white);
  background: var(--ap-black);
  border: 3px solid var(--ap-cyan);
  border-radius: 16px;
  font-weight: 900;
  font-style: italic;
  line-height: .86;
  text-transform: lowercase;
  box-shadow: 0 8px 24px rgba(16, 166, 216, .2);
}

.ap-brand__auto,
.ap-brand__pilot {
  font-size: 28px;
}

.ap-brand__auto {
  color: var(--ap-white);
}

.ap-brand__pilot {
  color: var(--ap-cyan);
}

.ap-brand__prints {
  grid-column: 2;
  color: var(--ap-white);
  font-size: 11px;
  font-style: normal;
  letter-spacing: .42em;
  text-transform: uppercase;
}

.ap-main-nav {
  justify-self: center;
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.ap-main-nav a,
.ap-menu a {
  text-decoration: none;
}

.ap-menu {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ap-header-cta,
.ap-button,
.wp-block-button__link,
.nf-form-content input[type=button] {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--ap-white) !important;
  background: var(--ap-black) !important;
  border: 1px solid var(--ap-black) !important;
  border-radius: 999px !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.ap-header-cta:hover,
.ap-button:hover,
.wp-block-button__link:hover,
.nf-form-content input[type=button]:hover {
  background: var(--ap-cyan) !important;
  border-color: var(--ap-cyan) !important;
  transform: translateY(-1px);
}

.ap-page {
  overflow: hidden;
}

.ap-section {
  padding: clamp(56px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.ap-section--dark {
  color: var(--ap-white);
  background: var(--ap-black);
}

.ap-section--panel {
  background: var(--ap-panel);
}

.ap-container {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.ap-kicker {
  margin: 0 0 14px;
  color: var(--ap-cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ap-hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 42px;
}

.ap-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.ap-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ap-white);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ap-eyebrow:before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--ap-cyan);
}

.ap-hero h1,
.ap-section h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: .96;
  letter-spacing: 0;
}

.ap-section h2 {
  font-size: clamp(34px, 5.5vw, 72px);
}

.ap-lede,
.ap-section-lede {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.45;
}

.ap-section:not(.ap-section--dark) .ap-section-lede,
.ap-section:not(.ap-section--dark) .ap-lede {
  color: var(--ap-muted);
}

.ap-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ap-button--light {
  color: var(--ap-black) !important;
  background: var(--ap-white) !important;
  border-color: var(--ap-white) !important;
}

.ap-button--ghost {
  color: var(--ap-white) !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, .35) !important;
}

.ap-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
}

.ap-stat {
  padding: 18px;
  background: var(--ap-black);
}

.ap-stat strong {
  display: block;
  color: var(--ap-cyan);
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1;
}

.ap-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.35;
}

.ap-visual {
  position: relative;
  min-height: 600px;
}

.ap-visual__panel {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(470px, 100%);
  padding: 22px;
  background: var(--ap-white);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--ap-radius);
  box-shadow: var(--ap-shadow);
}

.ap-dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ap-line);
  color: var(--ap-ink);
  font-weight: 900;
}

.ap-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ap-cyan-dark);
  font-size: 12px;
  text-transform: uppercase;
}

.ap-live-dot:before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ap-cyan);
}

.ap-order-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.ap-order-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  color: var(--ap-ink);
  background: #f7fbfd;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
}

.ap-product-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ap-white);
  background: var(--ap-black);
  border-radius: var(--ap-radius);
  font-weight: 900;
}

.ap-order-row strong,
.ap-order-row span {
  display: block;
}

.ap-order-row span {
  color: var(--ap-muted);
  font-size: 13px;
}

.ap-order-row em {
  color: var(--ap-cyan-dark);
  font-style: normal;
  font-weight: 900;
}

.ap-product-stack {
  position: absolute;
  left: 0;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 14px;
  width: min(380px, 88%);
}

.ap-product-card {
  min-height: 150px;
  padding: 16px;
  color: var(--ap-white);
  background: #101820;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--ap-radius);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
}

.ap-product-card:before {
  content: "";
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--ap-cyan), var(--ap-white));
  border-radius: 50% 50% 46% 54%;
}

.ap-product-card:nth-child(2):before {
  border-radius: 12px 12px 28px 28px;
}

.ap-product-card:nth-child(3):before {
  width: 74px;
  border-radius: 999px;
}

.ap-product-card:nth-child(4):before {
  border-radius: 10px;
}

.ap-product-card strong {
  display: block;
  font-size: 18px;
}

.ap-product-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.ap-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ap-line);
  border-bottom: 1px solid var(--ap-line);
}

.ap-proof-strip div {
  padding: 24px;
  border-right: 1px solid var(--ap-line);
  font-weight: 900;
  text-align: center;
}

.ap-proof-strip div:last-child {
  border-right: 0;
}

.ap-split {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}

.ap-feature-grid,
.ap-package-grid,
.ap-step-grid {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

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

.ap-feature,
.ap-package,
.ap-step,
.ap-apply-panel,
.ap-form-panel {
  padding: 24px;
  background: var(--ap-white);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
}

.ap-section--dark .ap-feature,
.ap-section--dark .ap-package,
.ap-section--dark .ap-step {
  color: var(--ap-white);
  background: #0b1014;
  border-color: rgba(255, 255, 255, .16);
}

.ap-feature h3,
.ap-package h3,
.ap-step h3,
.ap-apply-panel h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.08;
}

.ap-feature p,
.ap-package p,
.ap-step p,
.ap-apply-panel p,
.ap-form-panel p {
  margin: 0;
  color: var(--ap-muted);
  line-height: 1.6;
}

.ap-section--dark .ap-feature p,
.ap-section--dark .ap-package p,
.ap-section--dark .ap-step p {
  color: rgba(255, 255, 255, .72);
}

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

.ap-package {
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.ap-package--featured {
  border-color: var(--ap-cyan);
  box-shadow: 0 0 0 3px rgba(16, 166, 216, .13);
}

.ap-price {
  margin: 18px 0 4px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.ap-price small {
  color: var(--ap-muted);
  font-size: 15px;
}

.ap-package ul {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ap-package li {
  position: relative;
  padding-left: 23px;
  line-height: 1.45;
}

.ap-package li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 9px;
  height: 9px;
  background: var(--ap-cyan);
  border-radius: 50%;
}

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

.ap-step__number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  color: var(--ap-black);
  background: var(--ap-cyan);
  border-radius: 50%;
  font-weight: 900;
}

.ap-application {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, 1.14fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.ap-apply-panel {
  color: var(--ap-white);
  background: var(--ap-black);
  border-color: var(--ap-black);
}

.ap-apply-panel p {
  color: rgba(255, 255, 255, .72);
}

.ap-form-panel {
  box-shadow: var(--ap-shadow);
}

.nf-form-fields-required,
.nf-before-form-content,
.nf-after-form-content {
  color: var(--ap-muted);
  font-size: 14px;
}

.nf-form-content {
  max-width: none !important;
  padding: 0 !important;
}

.nf-form-content label {
  color: var(--ap-ink);
  font-weight: 800 !important;
}

.nf-form-content input:not([type=button]),
.nf-form-content textarea,
.nf-form-content select {
  min-height: 48px !important;
  color: var(--ap-ink) !important;
  background: #f7fbfd !important;
  border: 1px solid var(--ap-line) !important;
  border-radius: var(--ap-radius) !important;
}

.ap-site-footer {
  padding: 44px clamp(18px, 4vw, 56px);
  color: var(--ap-white);
  background: var(--ap-black);
}

.ap-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.ap-footer-brand {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--ap-white);
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
}

.ap-footer-brand .ap-brand__pilot {
  color: var(--ap-cyan);
}

.ap-footer-inner p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, .66);
  line-height: 1.55;
}

.ap-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  font-weight: 800;
}

.ap-footer-links a {
  color: var(--ap-white);
  text-decoration: none;
}

.ap-footer-copy {
  grid-column: 1 / -1;
  font-size: 13px;
}

@media (max-width: 920px) {
  .ap-site-header {
    grid-template-columns: 1fr auto;
  }

  .ap-main-nav {
    display: none;
  }

  .ap-hero__grid,
  .ap-split,
  .ap-application,
  .ap-feature-grid,
  .ap-package-grid,
  .ap-step-grid {
    grid-template-columns: 1fr;
  }

  .ap-visual {
    min-height: 560px;
  }

  .ap-proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .ap-footer-inner {
    grid-template-columns: 1fr;
  }

  .ap-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .ap-site-header {
    padding: 12px 14px;
  }

  .ap-brand__auto,
  .ap-brand__pilot {
    font-size: 22px;
  }

  .ap-brand__prints {
    font-size: 9px;
  }

  .ap-header-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .ap-hero {
    min-height: auto;
  }

  .ap-hero__stats,
  .ap-proof-strip,
  .ap-product-stack {
    grid-template-columns: 1fr;
  }

  .ap-visual {
    min-height: auto;
  }

  .ap-visual__panel,
  .ap-product-stack {
    position: static;
    width: auto;
  }

  .ap-product-stack {
    margin-top: 14px;
  }
}
