/* digiPeeps — brand stylesheet
   Palette: clean, friendly, minimalist — a "Peep" mascot brand for
   Australian small-business marketing. No stock/hand-drawn art here;
   any illustration slot is a NerveArt placeholder (see HTML comments). */

:root {
  --dp-ink: #0f1c28;
  --dp-ink-soft: #3c5060;
  --dp-bg: #ffffff;
  --dp-bg-soft: #f1fbf7;
  --dp-primary: #12b0d8;          /* cyan mid of the mint ramp */
  --dp-primary-dark: #0f93b6;
  --dp-accent: #ff5c8a;           /* peep pink */
  --dp-accent-soft: #ffe3ec;
  --dp-mint: #3ee3b0;
  --dp-blue: #4d8bd4;
  --dp-grad: linear-gradient(120deg, #3ee3b0 0%, #1cc6ec 40%, #4d8bd4 72%, #1ec990 100%);
  --dp-hero-soft: linear-gradient(155deg, #e2fbef 0%, #dff5ff 46%, #eef1ff 100%);
  --dp-line: #d9efe8;
  --dp-radius: 18px;
  --dp-max: 1120px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--dp-ink);
  background: var(--dp-bg);
  line-height: 1.55;
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; color: var(--dp-ink-soft); }
a { color: var(--dp-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.dp-wrap {
  max-width: var(--dp-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */
.dp-header {
  border-bottom: 1px solid var(--dp-line);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  z-index: 50;
}
.dp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.dp-logo { display: flex; align-items: center; gap: 10px; }
.dp-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--dp-primary), var(--dp-accent));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.dp-logo__text { color: var(--dp-ink); font-weight: 600; font-size: 19px; }
.dp-logo__text strong { font-weight: 800; }
.dp-logo__text sup { font-size: 10px; color: var(--dp-ink-soft); }

.dp-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.dp-nav a { color: var(--dp-ink-soft); font-weight: 600; font-size: 15px; }
.dp-nav a:hover, .dp-nav a.is-active { color: var(--dp-primary); text-decoration: none; }
.dp-nav a:last-child {
  background: var(--dp-primary);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
}
.dp-nav a:last-child:hover { background: var(--dp-primary-dark); }

.dp-nav-toggle { display: none; }
.dp-nav-burger { display: none; }

@media (max-width: 860px) {
  .dp-nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .dp-nav-burger span { width: 24px; height: 2px; background: var(--dp-ink); }
  .dp-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--dp-line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
  }
  .dp-nav-toggle:checked ~ .dp-nav { display: flex; }
}

/* ---------- buttons ---------- */
.dp-btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.dp-btn:hover { text-decoration: none; }
.dp-btn--primary { background: var(--dp-grad); color: #06202b; box-shadow: 0 10px 24px -10px rgba(18,176,216,.7); }
.dp-btn--primary:hover { filter: brightness(1.05); }
.dp-btn--ghost { background: transparent; color: var(--dp-ink); border: 1.5px solid var(--dp-line); }
.dp-btn--ghost:hover { border-color: var(--dp-primary); color: var(--dp-primary); }

/* ---------- sections ---------- */
.dp-section { padding: 72px 0; }
.dp-section--soft { background: var(--dp-bg-soft); }
.dp-section__head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.dp-eyebrow {
  display: inline-block;
  font-family: "Fira Code", ui-monospace, SFMono-Regular, monospace;
  color: var(--dp-primary);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- hero ---------- */
.dp-hero { padding: 64px 0 56px; }
.dp-hero__inner { display: flex; align-items: center; gap: 48px; }
.dp-hero__copy { flex: 1 1 480px; }
.dp-hero__copy h1 { font-size: 44px; }
.dp-hero__copy .dp-lede { font-size: 19px; color: var(--dp-ink-soft); margin-bottom: 28px; }
.dp-hero__art {
  flex: 1 1 340px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.dp-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- grids ---------- */
.dp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.dp-card {
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
  padding: 26px;
}
.dp-card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--dp-bg-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--dp-primary);
  font-size: 12px;
  text-align: center;
}
.dp-card h3 { font-size: 18px; margin-bottom: 8px; }
.dp-card p { margin-bottom: 0; font-size: 14.5px; }

/* why / steps */
.dp-steps { counter-reset: step; }
.dp-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--dp-line);
}
.dp-step:last-child { border-bottom: none; }
.dp-step__num {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--dp-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.dp-step h3 { margin-bottom: 4px; font-size: 17px; }
.dp-step p { margin-bottom: 0; }

/* logo strip */
.dp-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.dp-logo-slot {
  width: 140px; height: 56px;
  border: 1px dashed var(--dp-line);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--dp-ink-soft);
  font-size: 11px;
  text-align: center;
}

/* generic content page */
.dp-page-head { padding: 56px 0 24px; text-align: center; }
.dp-page-head h1 { font-size: 38px; }
.dp-content { padding: 12px 0 64px; }
.dp-content .dp-wrap { max-width: 760px; }
.dp-content h2 { margin-top: 1.4em; }

/* contact page */
.dp-contact { display: flex; gap: 48px; flex-wrap: wrap; }
.dp-contact__form { flex: 1 1 420px; }
.dp-contact__details { flex: 1 1 280px; }
.dp-field { margin-bottom: 16px; }
.dp-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.dp-field input, .dp-field textarea, .dp-field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--dp-line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}
.dp-field textarea { min-height: 120px; }
.dp-contact__details h4 { margin-top: 22px; }

/* stub page */
.dp-stub {
  text-align: center;
  padding: 96px 0;
}
.dp-stub__badge {
  display: inline-block;
  background: var(--dp-accent-soft);
  color: #b3421f;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* footer */
.dp-footer { background: var(--dp-ink); color: #cfcbe6; margin-top: 40px; }
.dp-footer a { color: #cfcbe6; }
.dp-footer a:hover { color: #fff; }
.dp-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 56px 0 32px;
}
.dp-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.dp-footer p { color: #a9a5c9; font-size: 14px; margin-bottom: 8px; }
.dp-footer__brand p { max-width: 220px; }
.dp-footer__legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
}
.dp-footer__legal p { margin: 0; font-size: 12.5px; color: #8a86ab; }

@media (max-width: 760px) {
  .dp-hero__inner { flex-direction: column; }
  .dp-footer__inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   THE ART LAYER — the pkmark mascot (hero star). Everything
   else stays plain on purpose (GRACE: least sufficient).
   ============================================================ */
.dp-hero { background: var(--dp-hero-soft); border-radius: 0 0 40px 40px; }
.dp-logo__mark { background: var(--dp-grad); }
.dp-card__icon { background: var(--dp-bg-soft); color: var(--dp-primary); font-weight: 700; }

.dp-mascot {
  width: min(340px, 74vw);
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(6,150,190,.28));
  animation: pk-in .9s cubic-bezier(.2,.8,.2,1) both;
  will-change: transform;
}
.dp-mascot .pk-all  { transform-box: fill-box; transform-origin: 60px 60px; animation: pk-float 5s ease-in-out infinite; }
.dp-mascot .pk-eyes { transform-box: fill-box; transform-origin: center;    animation: pk-blink 4.8s infinite; }
.dp-mascot .pk-hearts { opacity: 0; animation: pk-love 6.4s infinite; }
.dp-mascot .pk-ant  { transform-box: fill-box; transform-origin: 60px 14px; animation: pk-antwave 3.6s ease-in-out infinite; }

/* a second, smaller peep for the playbook slot */
.dp-peep { width: min(180px, 52vw); height: auto; filter: drop-shadow(0 16px 30px rgba(200,60,120,.22)); animation: pk-float 6s ease-in-out infinite; }
.dp-peep .pf-eyes { transform-box: fill-box; transform-origin: center; animation: pk-blink 5.2s infinite; }

@keyframes pk-in     { from { opacity: 0; transform: scale(.92) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pk-float  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pk-blink  { 0%,92%,100% { transform: scaleY(1); } 96% { transform: scaleY(.12); } }
@keyframes pk-love   { 0%,78%,100% { opacity: 0; } 86%,94% { opacity: 1; } }
@keyframes pk-antwave{ 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

@media (prefers-reduced-motion: reduce) {
  .dp-mascot, .dp-mascot *, .dp-peep, .dp-peep * { animation: none !important; }
}
