/* Digital Capital Group: site styles.
   Recreates the Divi layout system: rows are 80% wide (max 1080px), columns use a 5.5% gutter,
   sections/rows pad 4%/2% of the viewport (capped at 54/27px), breakpoints at 980px and 767px. */

:root {
  --row-max: 1080px;
  --section-pad: min(54px, 4vw);
  --row-pad: min(27px, 2vw);
  --mod: min(29.7px, 2.2vw);     /* space between stacked modules */
  --gutter: 5.5%;
  --green: #0cf57e;
  --text: #666;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: #2ea3f2; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: top; border: 0; }
p { margin: 0; padding-bottom: 1em; }
p:last-of-type { padding-bottom: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding-bottom: 10px; color: #333; font-weight: 500; line-height: 1em; }
h1 { font-size: 30px; } h2 { font-size: 26px; } h3 { font-size: 22px; } h4 { font-size: 18px; }
strong, b { font-weight: 700; }
ul { list-style: disc; margin: 0; padding: 0 0 23px 1em; line-height: 26px; }
ol { list-style: decimal; list-style-position: inside; margin: 0; padding: 0 0 23px 0; line-height: 26px; }
li ul, li ol { padding: 2px 0 2px 20px; }
input, textarea, button, select { font-family: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Layout primitives ─────────────────────────────── */
.container { width: 80%; max-width: var(--row-max); margin: 0 auto; position: relative; }
.section { position: relative; padding: var(--section-pad) 0; background-color: #fff; background-repeat: no-repeat; background-position: center; }
.row { width: 80%; max-width: var(--row-max); margin: 0 auto; padding: var(--row-pad) 0; position: relative; }
.row-wide { width: 100%; }
.cols { display: flex; align-items: stretch; column-gap: var(--gutter); }
.col { min-width: 0; position: relative; }
.c-1-2 { width: 47.25%; } .c-1-3 { width: 29.6667%; } .c-2-3 { width: 64.833%; }
.c-1-4 { width: 20.875%; } .c-1-5 { width: 15.6%; } .c-3-5 { width: 57.8%; }

/* ── Header / footer ───────────────────────────────── */
.site-header { position: relative; z-index: 10; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .1); height: 75px; }
.site-header .container { height: 100%; display: flex; align-items: center; }
.site-header .logo { display: inline-block; padding-left: 4px; height: 80%; }
.site-header .logo img { height: 100%; width: auto; max-width: none; }
.site-footer { background: #222; }
.footer-bottom { background: rgba(0, 0, 0, .32); padding: 15px 0 5px; }
.footer-bottom .container { color: #666; font-size: 14px; line-height: 23.8px; padding-bottom: 10px; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-block; position: relative;
  font-family: Montserrat, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.7em;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 15px 30px; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}
.btn-dark { background: #000; color: #fff; }
.btn-light { background: #fff; color: #000; border: 1px solid #000; }
.btn:hover { background: #383838; color: #fff; }

/* ── Home ──────────────────────────────────────────── */
.home-hero .hero-title { margin-bottom: 31px; overflow: hidden; }
.home-hero .hero-title h1 { font-family: Montserrat, sans-serif; font-weight: 700; color: #000; font-size: 100px; line-height: .8em; }
.home-hero .hero-subtitle { font-size: 22px; line-height: 1em; }

.about-box { background: #f4f4f4; padding-left: 20px; padding-right: 20px; }
.about-title { font-size: 26px; font-weight: 700; color: #000; margin-bottom: calc(var(--mod) - 1px); }
.about-text { color: #000; }
.contact-form { display: flex; flex-wrap: wrap; column-gap: 3%; }
.contact-form .field { padding: 0; margin: 0 0 3%; width: 100%; }
.contact-form .field.half { width: 48.5%; }
.contact-form input, .contact-form textarea {
  width: 100%; display: block; border: 0; border-radius: 0; background: #eee; color: #999;
  font-size: 14px; font-weight: 400; padding: 16px; line-height: normal; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { color: #4e4e4e; }
.contact-form textarea { height: 150px; resize: vertical; }
.contact-form .form-submit { width: 100%; text-align: right; margin-top: -6px; }
.btn-submit { font-weight: 700; padding: .3em 1em; border: 2px solid #000; font-size: 16px; line-height: 1.7em; }
.btn-submit:hover { border-color: #383838; }
.form-message { width: 100%; padding: 0 0 12px; font-weight: 600; }
.form-message.is-error { color: #c00; }
.form-message.is-ok { color: #000; font-size: 16px; }

.features { border-bottom: 4px solid #333; }
.blurb { margin-bottom: var(--mod); }
.blurb:last-child { margin-bottom: 0; }
.blurb-icon { display: block; height: 40px; margin-bottom: 30px; }
.blurb-icon svg { height: 40px; width: auto; fill: #000; display: block; }
.blurb-title { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.2em; color: #333; }
.blurb-text { font-family: Montserrat, sans-serif; color: #666; }

.stats { background: #f4f4f4; padding-left: 10px; }
.counter-number { font-family: Montserrat, sans-serif; font-weight: 700; color: #000; font-size: 72px; line-height: 72px; margin-bottom: 20px; }
.counter-title { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 18px; line-height: 1em; color: #333; }
.big-title { font-family: Montserrat, sans-serif; font-weight: 700; color: #000; font-size: 50px; line-height: 1.2em; }
.stats .big-title + .big-title { margin-top: var(--mod); }

.brand-body { padding-bottom: 40px; border-bottom: 4px solid #000; z-index: 10; }
.brand-name { text-align: center; }
.brand-name-mobile { display: none; }
.brand-text { font-family: Montserrat, sans-serif; color: #000; font-size: 16px; line-height: 1.8em; margin-bottom: var(--mod); }
.brand-text a { color: #000; text-decoration: underline; }

.cta-box { background: #f7f7f7; padding: 60px 0 0; margin-bottom: 30px; }
.cta-image img { width: 100%; margin-left: 31px; margin-bottom: 35px; display: block; max-width: none; }
.cta-body { padding-right: 70px; padding-bottom: 70px; }
.cta-title { font-family: Montserrat, sans-serif; font-weight: 700; color: #000; font-size: 43px; line-height: 1.2em; }

/* ── Dark pages (promo / welcome / links / affiliates) ── */
.dark-page, .promo-logos, .promo-offer { background-color: #000; }
.dark-page .row-wide { padding-bottom: 58px; }
.page-title { font-family: Alata, sans-serif; font-size: 23px; line-height: 1em; color: #fff; text-transform: uppercase; letter-spacing: 2px; text-align: center; margin: 60px 0 44px; }
.banner { text-align: center; }
.banner img { width: 100%; }

.pill {
  display: block; background: #fff; margin: 0 10px var(--mod); padding: 10px 62px 0 0;
  color: #000; text-align: center; position: relative;
}
.pill-first { margin-bottom: 106px; }
/* Divi blurb: content max 550px centred; icon column 60px; text cell has 15px left padding. */
.pill .pill-text { display: block; max-width: 550px; margin: 0 auto; font-family: Abel, sans-serif; font-size: 41px; line-height: 1em; padding: 0 0 10px 15px; color: #000; }
.pill .pill-icon { position: absolute; width: 50px; height: 50px; top: 6px; left: max(10px, calc((100% - 62px - 550px) / 2 + 10px)); }
.pill.has-icon .pill-text { padding-left: 75px; }
.row-wide > :last-child { margin-bottom: 0; }

.links .links-logo { text-align: center; }
.links .links-logo img { width: 20%; }

/* promo */
.promo-logos { padding: var(--section-pad) 0 19px 64px; }
.promo-logos .row { padding-left: 0; }
.promo-logo { display: block; }
.promo-logo img { width: 100%; display: block; }
.promo-logo-1 img { transform: scale(1.26) translate(-9px, 11px); }
.promo-logo-2 { margin: 26px 0 6px; }
.promo-logo-2 img { transform: scale(1.18) translate(0, -18px); }
.promo-logo-3 img { transform: scale(1.1); }
.promo-logo-4 img { transform: scale(1.06) translate(-7px, 6px); }
.promo-offer { padding-top: 29px; background-size: contain; }
.promo-heading { font-size: 47px; line-height: 1em; font-weight: 700; color: #fff; text-align: center; text-shadow: 0 1.4px 1.4px rgba(0, 0, 0, .4); }
.promo-buy-wrap { text-align: center; margin-top: 30px; }
.btn-buy {
  display: inline-block; font-size: 20px; font-weight: 500; line-height: 1.7em; color: #fff;
  padding: .3em 1em; border: 2px solid #fff; border-radius: 3px; background: transparent;
  box-shadow: 0 2px 18px 0 #fff; cursor: pointer; transition: all .3s ease;
}
.btn-buy:hover { background: rgba(255, 255, 255, .2); border-color: transparent; padding: .3em 1.5em; }
.promo-items { text-align: center; color: #d6d6d6; font-size: 12px; line-height: 23.8px; }
.promo-items p { padding-bottom: 1em; }
.promo-items p:last-child { padding-bottom: 0; }
.promo-items a { color: #99cc00; }

/* welcome */
.welcome .welcome-title { margin-bottom: 41px; font-size: 32px; line-height: 23px; }
.divider { border: 0; border-top: 1px solid #fff; margin: 0 0 var(--mod); padding-top: 22px; height: 0; background: none; }
.welcome-title + .divider { margin-top: 0; }
.rich { color: #d6d6d6; font-weight: 400; margin-bottom: var(--mod); }
.rich h3 { color: #fff; font-weight: 700; font-size: 30px; line-height: 1em; padding: 0 0 10px; }
.rich ul, .rich ol { padding-bottom: 1em; }
.rich li ul, .rich ul ul { padding: 0 0 1em 1em; }
.rich a { color: #2ea3f2; }
.welcome .pill { margin-bottom: var(--mod); margin-top: 0; }

/* affiliates */
.aff-form-wrap { margin-top: 0; }
.aff-field { margin-bottom: 27px; }
.aff-field label { display: block; color: #666; font-size: 14px; line-height: 22px; }
.aff-field input, .aff-field textarea {
  width: 100%; font-size: 13.3333px; font-weight: 400; color: #4e4e4e; background: #fff;
  border: 1px solid #bbb; padding: 2px; border-radius: 0; line-height: normal;
}
.aff-field input[type=url] { border: 2px inset #767676; color: #000; padding: 1px 2px; }
.aff-input { position: relative; }
.aff-input.has-toggle input { padding-right: 40px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 0 4px; font-size: 12px; line-height: 1; cursor: pointer; color: #2ea3f2; }
.aff-submit { margin-top: 2px; font-size: 13.3333px; padding: 1px 6px; background: #f0f0f0; border: 2px outset #000; color: #000; cursor: pointer; }
.aff-notice { padding: 14px 16px; margin: 0 0 20px; font-size: 14px; }
.aff-notice p { padding: 0; }
.aff-error { background: #2a0000; border: 1px solid #660000; color: #ff8080; }
.aff-success { background: #062b12; border: 1px solid #1d6b35; color: #b5f5c8; }

.not-found { min-height: 50vh; }
.not-found h1 { color: #333; }

/* ── Checkout popup (from the checkout plugin) ─────── */
.dcg-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .85); z-index: 99999; display: flex; align-items: center; justify-content: center; }
.dcg-overlay[hidden] { display: none; }
.dcg-modal { background: #111; border: 1px solid #333; border-radius: 12px; padding: 40px; max-width: 460px; width: 90%; position: relative; font-family: sans-serif; color: #fff; max-height: 95vh; overflow-y: auto; }
.dcg-close { position: absolute; top: 14px; right: 18px; background: none; border: none; color: #888; font-size: 22px; cursor: pointer; }
.dcg-modal h2 { margin: 0 0 6px; padding: 0; font-size: 22px; text-align: center; color: #fff; font-weight: 700; line-height: 1.2; font-family: sans-serif; }
.dcg-lead { color: #888; font-size: 13px; text-align: center; margin: 0 0 28px; padding: 0; line-height: 1.5; }
.dcg-alert { background: #2a0000; border: 1px solid #660000; border-radius: 6px; padding: 12px 16px; margin-bottom: 20px; color: #ff6666; font-size: 13px; line-height: 1.5; }
.dcg-modal label { display: block; font-size: 13px; color: #aaa; margin-bottom: 6px; line-height: 1.5; }
.dcg-modal input { width: 100%; padding: 12px 14px; background: #1a1a1a; border: 1px solid #333; border-radius: 6px; color: #fff; font-size: 15px; margin-bottom: 8px; font-family: sans-serif; }
.dcg-field-error { color: #ff6666; font-size: 12px; margin: 0 0 16px; padding: 0; line-height: 1.5; }
.dcg-field-error[hidden] { display: none; }
#dcg-email-error:not([hidden]) + label, #dcg-tv-error:not([hidden]) + button { margin-top: 0; }
.dcg-discord { width: 100%; padding: 14px; margin-top: 8px; background: #5865F2; color: #fff; border: none; border-radius: 6px; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: sans-serif; }
.dcg-discord:disabled { opacity: .7; cursor: wait; }
.dcg-note { font-size: 11px; color: #555; text-align: center; margin-top: 14px; padding: 0; line-height: 1.5; }

/* ── Tablet & phone (Divi: ≤980px) ─────────────────── */
@media (max-width: 980px) {
  :root { --section-pad: 50px; --row-pad: 30px; --mod: 30px; }
  .site-header { height: 80px; }
  .site-header .logo { height: 39%; }
  .footer-bottom .container { text-align: center; }
  .cols { flex-wrap: wrap; }
  .col, .c-1-2, .c-1-3, .c-2-3, .c-1-5, .c-3-5 { width: 100%; margin-bottom: 30px; }
  .col:last-child { margin-bottom: 0; }
  .c-1-4 { width: 47.25%; }
  .c-1-5:empty { display: none; }
  .home-hero .hero-title h1 { font-size: 50px; }
  .big-title { font-size: 32px; }
  .cta-title { font-size: 32px; }
  .cta-body { padding: 0 30px 30px; }
  .about-box { padding-top: 30px; padding-bottom: 30px; }
  .brand-side .brand-name { display: block; }
}

/* ── Phone (Divi: ≤767px) ──────────────────────────── */
@media (max-width: 767px) {
  .c-1-4 { width: 100%; }
  .home-hero .hero-title h1 { font-size: 30px; }
  .home-hero .hero-subtitle { font-size: 18px; }
  .hero-buttons { padding-bottom: 60px; }
  .btn { font-size: 14px; padding: 10px 20px; line-height: 23.8px; }
  .btn-submit { font-size: 16px; padding: .3em 1em; line-height: 1.7em; }
  .about-title { font-size: 22px; }
  .blurb-title { font-size: 16px; }
  .blurb-text { font-size: 13px; }
  .counter-title { font-size: 15px; }
  .big-title { font-size: 18px; }
  .brand-text { font-size: 13px; }
  .brand-name-mobile { display: block; margin-bottom: 10px; }
  .brand-side { display: none; }
  .cta-title { font-size: 18px; }
  .cta-body { padding: 0 20px 30px; }

  .row-wide { width: 100%; }
  .page-title { margin: 42px 0 18px; }
  .pill { margin: 0 0 var(--mod) 10px; padding: 10px 70px 0 0; width: calc(100% - 20px); }
  .pill-first { margin-bottom: 106px; }
  .pill .pill-icon { left: 10px; }
  .links .links-logo img { width: 28%; }
  .affiliates .banner img, .welcome .banner img { width: 28%; }
  .welcome { padding-left: 5px; padding-right: 5px; }
  .contact-form .field.half { width: 100%; }
  .contact-form .form-submit { margin-top: -4px; }
  .rich h3 { font-size: 26px; }
  .welcome .welcome-title { margin-bottom: -5px; }

  .promo-logos { padding: 0 59px 19px 69px; }
  .promo-logo-1 img { transform: scale(1.26) translate(-18px, 11px); }
  .promo-offer { margin-top: -81px; }
}

/* ── Optional site-wide footer (switched on in the editor) ── */
.footer-main { padding: 50px 0 36px; font-size: 14px; line-height: 1.7em; }
.footer-dark { background: #222; color: #bbb; }
.footer-light { background: #f4f4f4; color: #555; }
.footer-cols { display: grid; grid-template-columns: repeat(var(--fc, 3), minmax(0, 1fr)); gap: 30px 5.5%; }
.footer-cols-1 { --fc: 1; } .footer-cols-2 { --fc: 2; } .footer-cols-3 { --fc: 3; } .footer-cols-4 { --fc: 4; }
.footer-title { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 14px; padding: 0; }
.footer-dark .footer-title { color: #fff; }
.footer-light .footer-title { color: #000; }
.footer-text p { padding-bottom: .8em; }
.footer-text p:last-child { padding-bottom: 0; }
.footer-text + .footer-links { margin-top: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; line-height: 1.6; }
.footer-links li { margin: 0 0 8px; }
.footer-main a { text-decoration: none; transition: color .2s; }
.footer-dark a { color: #ddd; }
.footer-dark a:hover { color: var(--green); }
.footer-light a { color: #222; }
.footer-light a:hover { color: #0a9d52; }
.footer-light + .footer-bottom { background: #e9e9e9; }
@media (max-width: 980px) { .footer-cols-3, .footer-cols-4 { --fc: 2; } }
@media (max-width: 767px) { .footer-cols { --fc: 1 !important; } .footer-main { padding: 36px 0 24px; } }
