/*
=========================================================
PAYMENTPROCESSOR.COM
GLOBAL DESIGN SYSTEM
=========================================================
*/


/* =====================================================
   BRAND VARIABLES
   ===================================================== */

:root {

  --pp-black: #020407;
  --pp-navy: #06111b;
  --pp-charcoal: #0e1012;

  --pp-gold: #e7a72f;
  --pp-gold-light: #ffc451;

  --pp-white: #f5f6f5;
  --pp-muted: #aeb4bc;

  --pp-border:
    rgba(231, 167, 47, 0.20);

  --pp-container: 1420px;

  --pp-radius: 18px;

  --pp-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25);

  --pp-surface:
    linear-gradient(
      135deg,
      rgba(14, 16, 18, 0.96),
      rgba(5, 7, 9, 0.97)
    );
}


/* =====================================================
   RESET
   ===================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  background:
    var(--pp-black);

  color:
    var(--pp-white);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  -webkit-font-smoothing:
    antialiased;

  text-rendering:
    optimizeLegibility;
}


img {
  max-width: 100%;
  height: auto;
}


/* =====================================================
   LINKS
   ===================================================== */

a {
  color: inherit;
  text-decoration: none;
}


/* =====================================================
   TYPOGRAPHY
   ===================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;

  color:
    var(--pp-white);

  font-weight: 700;

  letter-spacing:
    -0.03em;
}


p {
  color:
    var(--pp-muted);

  line-height:
    1.6;
}


/* =====================================================
   GLOBAL CONTAINER
   ===================================================== */

.pp-container {
  width:
    min(
      calc(100% - 48px),
      var(--pp-container)
    );

  margin-left:
    auto;

  margin-right:
    auto;

  padding-left:
    0;

  padding-right:
    0;
}


/* =====================================================
   PRIMARY BUTTON
   ===================================================== */

a.pp-button-primary {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  min-height: 52px;

  padding:
    0 28px;

  border:
    1px solid transparent;

  border-radius:
    10px;

  background:
    linear-gradient(
      135deg,
      var(--pp-gold-light),
      var(--pp-gold)
    );

  color:
    #101010;

  font-weight:
    700;

  line-height:
    1;

  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}


a.pp-button-primary:hover {
  filter:
    brightness(1.07);

  transform:
    translateY(-1px);
}


/* =====================================================
   OUTLINE BUTTON
   ===================================================== */

a.pp-button-outline {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  min-height: 52px;

  padding:
    0 28px;

  border:
    1px solid var(--pp-gold);

  border-radius:
    10px;

  background:
    rgba(0, 0, 0, 0.12);

  color:
    var(--pp-white);

  font-weight:
    500;

  line-height:
    1;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}


a.pp-button-outline:hover {
  background:
    rgba(231, 167, 47, 0.08);

  border-color:
    var(--pp-gold-light);
}


/* =====================================================
   EYEBROW / SECTION LABEL
   ===================================================== */

.pp-eyebrow {
  color:
    var(--pp-gold-light);

  font-size:
    13px;

  font-weight:
    700;

  line-height:
    1.3;

  letter-spacing:
    0.12em;

  text-transform:
    uppercase;
}


/* =====================================================
   WORDPRESS BLOCK THEME SPACING FIX
   ===================================================== */

/*
 * WordPress block themes automatically add a block gap
 * between major blocks inside .wp-site-blocks.
 *
 * That gap was creating the black strip between the
 * Header template part and the homepage hero.
 *
 * The hero itself was therefore starting BELOW the
 * header, and overflow:hidden prevented the globe from
 * ever entering that gap.
 */


/* Remove automatic spacing before our homepage hero. */

body .wp-site-blocks > .pp-home-hero {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}


/*
 * Covers installations where WordPress renders the
 * Header template part immediately before the hero.
 */

body
.wp-site-blocks
> .wp-block-template-part
+ .pp-home-hero {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}


/*
 * Make sure the Header template part itself isn't
 * contributing bottom spacing.
 */

body
.wp-site-blocks
> .wp-block-template-part:first-child {
  margin-bottom: 0 !important;
  margin-block-end: 0 !important;
}


/*
 * Extra safeguard against a theme-level blockGap
 * being applied specifically between the first two
 * major site blocks.
 */

body
.wp-site-blocks
> .wp-block-template-part:first-child
+ * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}


/* =====================================================
   RESPONSIVE CONTAINER
   ===================================================== */

@media (max-width: 820px) {

  .pp-container {
    width:
      calc(100% - 40px);
  }

}


@media (max-width: 480px) {

  .pp-container {
    width:
      calc(100% - 32px);
  }

}

html,
body {
    overflow-x: hidden;
}