/* TDP (TheDigitalPlayers): one stylesheet, two looks.
   .tdp (home and games) = the TDP logo: cyan, blue, white, thick black outlines
   .t-erp                = warm paper, jade and saffron (matches the YourERP app) */

:root {
  --paper: #f3f1ea;
  --paper-2: #e9e6dc;
  --card: #fffdf8;
  --ink: #121614;
  --ink-2: #3c4540;
  --muted: #6b736d;
  --line: #dcd8cc;

  --jade: #0e7a5a;
  --jade-dark: #0a5c44;
  --jade-soft: #dcefe6;
  --saffron: #e0a032;
  --saffron-soft: #f8ebd2;

  --cyan: #0cc0dc;
  --cyan-2: #4fd3e8;
  --cyan-soft: #dff6fb;
  --sky: #eefafd;
  --blue: #0098d2;
  --blue-ink: #00709c;
  --black: #0a0a0a;
  --on-cyan: #05303a;
  --edge: 3px solid var(--black);
  --pop: 5px 5px 0 var(--black);
  /* black flecks, like the grunge texture in the logo */
  --specks:
    radial-gradient(circle at 23% 31%, rgba(0, 0, 0, 0.42) 0 1.3px, transparent 1.8px) 0 0 / 71px 83px,
    radial-gradient(circle at 71% 77%, rgba(0, 0, 0, 0.3) 0 1px, transparent 1.5px) 0 0 / 97px 61px,
    radial-gradient(circle at 47% 58%, rgba(0, 0, 0, 0.26) 0 2px, transparent 2.6px) 0 0 / 151px 127px;
  --outline:
    0.05em 0 var(--black), -0.05em 0 var(--black), 0 0.05em var(--black), 0 -0.05em var(--black),
    0.036em 0.036em var(--black), -0.036em 0.036em var(--black), 0.036em -0.036em var(--black), -0.036em -0.036em var(--black),
    0.046em 0.02em var(--black), -0.046em 0.02em var(--black), 0.046em -0.02em var(--black), -0.046em -0.02em var(--black),
    0.02em 0.046em var(--black), -0.02em 0.046em var(--black), 0.02em -0.046em var(--black), -0.02em -0.046em var(--black),
    0.07em 0.07em var(--black), 0.09em 0.09em var(--black);
  --outline-sm:
    2px 0 var(--black), -2px 0 var(--black), 0 2px var(--black), 0 -2px var(--black),
    1.5px 1.5px var(--black), -1.5px 1.5px var(--black), 1.5px -1.5px var(--black), -1.5px -1.5px var(--black),
    4px 4px var(--black);

  --display: 'Familjen Grotesk', 'Segoe UI', sans-serif;
  --comic: 'Lilita One', 'Familjen Grotesk', 'Segoe UI', sans-serif;
  --body: 'Atkinson Hyperlegible', 'Segoe UI', sans-serif;
  --radius: 18px;
  --wrap: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), 100% - 40px);
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
}

/* ------------------------------------------------------------ header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.brand b {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--muted);
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 14px;
  border-radius: 999px;
}

.nav a:hover {
  background: var(--paper-2);
}

.nav a[aria-current='page'] {
  background: var(--ink);
  color: var(--paper);
}

.nav .nav-cta {
  background: var(--jade);
  color: #fff;
}

.nav .nav-cta:hover {
  background: var(--jade-dark);
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s, background-color 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-jade {
  background: var(--jade);
  color: #fff;
}

.btn-jade:hover {
  background: var(--jade-dark);
}

.btn-wa {
  background: #1fa855;
  color: #fff;
}

.btn-wa:hover {
  background: #198f48;
}

.btn-line {
  border-color: currentColor;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ------------------------------------------------------------ home: split hero */
.t-home .split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - 71px);
  border-bottom: var(--edge);
}

.door {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 22px;
  padding: clamp(32px, 5vw, 72px);
  text-decoration: none;
  overflow: hidden;
}

.door > .eyebrow,
.door > h2,
.door > p,
.door > .go {
  position: relative;
  z-index: 1;
}

.door h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  max-width: 11ch;
}

.door p {
  max-width: 38ch;
  font-size: 1.08rem;
}

.door .go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
}

.door .go svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s;
}

.door:hover .go svg {
  transform: translateX(6px);
}

.door-biz {
  background: #fff;
  color: var(--black);
}

.door-biz .eyebrow,
.door-biz .go {
  color: var(--blue-ink);
}

.door-biz p {
  color: var(--ink-2);
}

.door-games {
  background: var(--specks), var(--cyan);
  color: var(--black);
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -9%;
  padding-left: calc(9% + clamp(32px, 5vw, 72px));
}

/* the black outline along the diagonal seam, like the logo's letter edges */
.door-games::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--black);
  clip-path: polygon(9% 0, calc(9% + 7px) 0, 7px 100%, 0 100%);
}

.door-games .eyebrow,
.door-games .go {
  color: var(--black);
}

.door-games p {
  color: var(--on-cyan);
}

/* decorative art behind each door */
.door-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.door-biz .door-art {
  background:
    repeating-linear-gradient(0deg, transparent 0 47px, #cdeef5 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, #cdeef5 47px 48px);
  mask-image: linear-gradient(160deg, #000 0%, transparent 65%);
  -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 65%);
}

.biz-bars {
  position: absolute;
  top: 12%;
  right: 14%;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 24%;
}

.biz-bars span {
  width: clamp(26px, 3vw, 44px);
  border: 3px solid var(--black);
  border-radius: 8px 8px 0 0;
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--black);
  transform-origin: bottom;
  animation: grow 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.biz-bars span:nth-child(1) {
  height: 45%;
  animation-delay: 0.15s;
}

.biz-bars span:nth-child(2) {
  height: 65%;
  animation-delay: 0.25s;
}

.biz-bars span:nth-child(3) {
  height: 55%;
  animation-delay: 0.35s;
}

.biz-bars span:nth-child(4) {
  height: 100%;
  background: var(--cyan);
  animation-delay: 0.45s;
}

.games-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, 0.2) 39px 41px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, 0.2) 39px 41px);
  mask-image: linear-gradient(200deg, #000 10%, transparent 70%);
  -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 70%);
}

.agents {
  position: absolute;
  top: 14%;
  right: 14%;
  width: 34%;
  aspect-ratio: 1;
}

.agents i {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
  animation: wander 7s ease-in-out infinite alternate;
}

.agents i:nth-child(1) { top: 10%; left: 20%; }
.agents i:nth-child(2) { top: 40%; left: 70%; animation-delay: -2s; background: var(--blue); }
.agents i:nth-child(3) { top: 75%; left: 35%; animation-delay: -4s; }
.agents i:nth-child(4) { top: 55%; left: 10%; animation-delay: -1s; width: 14px; height: 14px; }
.agents i:nth-child(5) { top: 20%; left: 85%; animation-delay: -3s; width: 14px; height: 14px; }
.agents i:nth-child(6) { top: 88%; left: 80%; animation-delay: -5s; width: 16px; height: 16px; background: var(--blue); }

.seam-badge {
  position: absolute;
  left: 50%;
  top: 34px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 7px;
  border-radius: 999px;
  background: #fff;
  border: var(--edge);
  box-shadow: var(--pop);
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  width: max-content;
}

.seam-badge img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--black);
}

@keyframes grow {
  from {
    transform: scaleY(0);
  }
}

@keyframes wander {
  to {
    transform: translate(28px, -22px);
  }
}

/* ------------------------------------------------------------ sections */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 760px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-head p {
  font-size: 1.1rem;
  color: var(--ink-2);
}

.t-erp .section-head .eyebrow {
  color: var(--jade);
}

/* shipped work */
.shipped {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.work {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: var(--edge);
  box-shadow: var(--pop);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.work:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--black);
}

.work .kind {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.work h3 {
  font-size: 1.8rem;
}

.work p {
  color: var(--ink-2);
}

.work .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--cyan-soft);
  border: 2px solid var(--black);
  color: var(--black);
}

.work.is-cyan {
  background: var(--specks), var(--cyan);
}

.work.is-cyan p,
.work.is-cyan .kind {
  color: var(--on-cyan);
}

.work.is-cyan .tag {
  background: #fff;
}

.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.about h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
}

.about .eyebrow {
  color: var(--blue-ink);
  margin-bottom: 14px;
}

.about p + p {
  margin-top: 14px;
}

.about .facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.fact {
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: var(--edge);
  box-shadow: var(--pop);
}

.fact:nth-child(2) {
  background: var(--specks), var(--cyan);
}

.fact b {
  display: block;
  font-family: var(--comic);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--blue);
}

.fact:nth-child(2) b {
  color: #fff;
  text-shadow: var(--outline-sm);
}

.fact span {
  color: var(--ink-2);
  font-size: 0.92rem;
}

.fact:nth-child(2) span {
  color: var(--on-cyan);
}

/* contact band */
.contact-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: clamp(32px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.contact-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-band p {
  color: #b9c2bc;
  margin-top: 12px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.98rem;
}

.contact-lines a {
  color: var(--paper);
}

.contact-band .actions {
  justify-content: flex-end;
}

.contact-band .btn-line {
  color: var(--paper);
}

/* footer */
.site-foot {
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.site-foot a {
  color: inherit;
}

/* ------------------------------------------------------------ ERP page */
.erp-hero {
  padding: clamp(40px, 7vw, 96px) 0 0;
  overflow: hidden;
}

.erp-hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.erp-hero .wrap > *,
.feature > *,
.about > *,
.contact-band > *,
.custom-band > *,
.price > * {
  min-width: 0; /* let wide screenshots shrink instead of stretching the grid */
}

.erp-hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  margin: 16px 0 20px;
}

.erp-hero h1 em {
  font-style: normal;
  color: var(--jade);
}

.erp-hero .lead {
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 28px;
}

.erp-hero .eyebrow {
  color: var(--jade);
}

.small-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.shots {
  position: relative;
  padding-bottom: 60px;
}

.browser {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(18, 22, 20, 0.18);
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--paper-2);
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfcabd;
}

.phone {
  border-radius: 34px;
  overflow: hidden;
  border: 8px solid var(--ink);
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(18, 22, 20, 0.28);
}

.phone img {
  border-radius: 26px;
}

.shots .phone {
  position: absolute;
  width: 34%;
  right: -4%;
  bottom: -12%;
  transform: rotate(3deg);
}

.industries {
  margin-top: clamp(60px, 9vw, 110px);
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.industries .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
}

.industries .eyebrow {
  color: var(--muted);
}

.pains {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pain {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.pain b {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.pain p {
  color: var(--ink-2);
  font-size: 0.97rem;
}

.pain .num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--saffron-soft);
  color: #8a5810;
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 16px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
}

.feature + .feature {
  border-top: 1px solid var(--line);
}

.feature.flip {
  grid-template-columns: 0.8fr 1fr;
}

.feature.flip .feature-text {
  order: 2;
}

.feature h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  margin: 12px 0 16px;
}

.feature .eyebrow {
  color: var(--jade);
}

.feature p {
  color: var(--ink-2);
  font-size: 1.08rem;
}

.feature ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.feature li {
  position: relative;
  padding-left: 30px;
}

.feature li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--jade-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7a5a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.feature .phone {
  width: min(320px, 100%);
  margin-inline: auto;
}

.extras {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.extra {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--jade-soft);
}

.extra b {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.extra p {
  font-size: 0.95rem;
  color: var(--ink-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 22px 24px;
  border-top: 4px solid var(--jade);
  background: var(--card);
  border-radius: 0 0 var(--radius) var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--jade);
  margin-bottom: 12px;
}

.step b {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.95rem;
  color: var(--ink-2);
}

.price {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}

.price-main {
  padding: clamp(28px, 5vw, 52px);
}

.price-main .eyebrow {
  color: var(--jade);
}

.price-main h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 12px 0 6px;
}

.price-main .from {
  color: var(--muted);
}

.price-main ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 8px;
}

.price-main li::before {
  content: '+ ';
  color: var(--jade);
  font-weight: 700;
}

.price-side {
  padding: clamp(28px, 5vw, 52px);
  background: var(--saffron-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.price-side h3 {
  font-size: 1.7rem;
}

.price-side p {
  color: var(--ink-2);
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--jade);
  font-size: 1.4rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq details p {
  padding-bottom: 18px;
  color: var(--ink-2);
}

/* ------------------------------------------------------------ games page */
.games-hero {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
  background: var(--specks), var(--cyan);
  border-bottom: var(--edge);
}

.games-hero .games-grid {
  mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
}

.games-hero .wrap {
  position: relative;
}

.games-hero .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
  color: var(--black);
}

.games-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  max-width: 13ch;
  margin: 22px 0 26px;
}

.games-hero .lead {
  font-size: 1.15rem;
  color: var(--on-cyan);
  max-width: 50ch;
  margin-bottom: 30px;
}

.hero-sticker {
  position: absolute;
  right: 0;
  top: 50%;
  width: clamp(220px, 24vw, 300px);
  border: 4px solid var(--black);
  border-radius: 32px;
  box-shadow: 10px 10px 0 var(--black);
  transform: translateY(-50%) rotate(6deg);
  animation: sticker 0.8s 0.2s cubic-bezier(0.3, 1.5, 0.5, 1) both;
}

@keyframes sticker {
  from {
    opacity: 0;
    transform: translateY(-50%) rotate(-8deg) scale(0.6);
  }
}

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.product {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: var(--edge);
  box-shadow: var(--pop);
  transition: transform 0.15s, box-shadow 0.15s;
}

.product:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--black);
}

.product-img {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--cyan-soft);
  border-bottom: var(--edge);
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-img .rating {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
  color: var(--black);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  flex: 1;
}

.product .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #fff;
  border: 2px solid var(--black);
  color: var(--black);
}

.chip.is-cyan {
  background: var(--cyan);
}

.product h3 {
  font-size: 1.9rem;
}

.product p {
  color: var(--ink-2);
}

.product ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
}

.product li::before {
  content: '\25B8  ';
  color: var(--blue);
}

.product .links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.product .links a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 10px;
  background: #fff;
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
  transition: transform 0.15s, box-shadow 0.15s;
}

.product .links a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--black);
}

.product .links a.primary {
  background: var(--cyan);
}

.custom-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 6vw, 60px);
  border-radius: 28px;
  background: var(--black);
  color: #fff;
  border: var(--edge);
  box-shadow: 10px 10px 0 var(--cyan);
}

.custom-band h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  color: var(--cyan);
}

.custom-band p {
  color: #c4d3d8;
  margin-top: 12px;
}

.custom-band .actions {
  justify-content: flex-end;
}

.tdp .custom-band .btn {
  border-color: #fff;
  box-shadow: 4px 4px 0 #fff;
}

.tdp .custom-band .btn:hover {
  box-shadow: 6px 6px 0 #fff;
}

.tdp .custom-band .btn:active {
  box-shadow: 2px 2px 0 #fff;
}

/* ------------------------------------------------------------ TDP brand (home and games)
   Matches the TDP logo: cyan, blue, white and thick black outlines.
   The ERP page keeps the YourERP look above. */
.tdp {
  background: var(--sky);
  color: var(--black);
}

.tdp h1,
.tdp h2,
.tdp h3 {
  font-family: var(--comic);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.005em;
  line-height: 1.02;
}

/* white letters with a black outline and drop, like the logo */
.door-games h2,
.games-hero h1,
.tdp .contact-band h2 {
  color: #fff;
  text-shadow: var(--outline);
}

.games-hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.tdp :focus-visible {
  outline-color: var(--blue);
}

.tdp .site-head {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: var(--edge);
}

.tdp .brand img {
  border: 2px solid var(--black);
  border-radius: 10px;
}

.tdp .brand b {
  font-family: var(--comic);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
}

.tdp .brand span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--blue-ink);
}

.tdp .nav a {
  font-family: var(--display);
  border: 2px solid transparent;
}

.tdp .nav a:hover {
  background: var(--cyan-soft);
}

.tdp .nav a[aria-current='page'],
.tdp .nav .nav-cta {
  background: var(--cyan);
  color: var(--black);
  border-color: var(--black);
  box-shadow: 3px 3px 0 var(--black);
}

.tdp .nav a[aria-current='page']:hover,
.tdp .nav .nav-cta:hover {
  background: var(--cyan-2);
}

.tdp .section-head .eyebrow {
  color: var(--blue-ink);
}

.tdp .btn {
  border: 3px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.tdp .btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}

.tdp .btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--black);
}

.btn-cyan {
  background: var(--cyan);
  color: var(--black);
}

.btn-cyan:hover {
  background: var(--cyan-2);
}

.tdp .btn-line {
  background: #fff;
  color: var(--black);
}

.tdp .contact-band {
  background: var(--specks), var(--cyan);
  color: var(--black);
  border: var(--edge);
  box-shadow: 10px 10px 0 var(--black);
}

.tdp .contact-band h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
}

.tdp .contact-band p {
  color: var(--on-cyan);
}

.tdp .contact-lines a {
  color: var(--black);
  font-weight: 700;
}

.tdp .site-foot {
  color: var(--ink-2);
}

/* ------------------------------------------------------------ load-in motion */
.rise {
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.rise-2 {
  animation-delay: 0.08s;
}

.rise-3 {
  animation-delay: 0.16s;
}

.rise-4 {
  animation-delay: 0.24s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .shipped,
  .pains,
  .extras,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about,
  .contact-band,
  .erp-hero .wrap,
  .feature,
  .feature.flip,
  .price,
  .custom-band {
    grid-template-columns: 1fr;
  }

  .feature.flip .feature-text {
    order: 0;
  }

  .contact-band .actions,
  .custom-band .actions {
    justify-content: flex-start;
  }

  .shots {
    max-width: 640px;
  }

  .hero-sticker {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .t-home .split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .door {
    min-height: 62svh;
    padding: 96px 22px 44px;
  }

  .door-games {
    clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%);
    margin: -7svh 0 0;
    padding: calc(7svh + 60px) 22px 44px;
  }

  .door-games::before {
    clip-path: polygon(0 7%, 100% 0, 100% 6px, 0 calc(7% + 6px));
  }

  .seam-badge {
    top: 18px;
    gap: 8px;
    padding: 5px 14px 5px 5px;
    font-size: 0.76rem;
  }

  .seam-badge img {
    width: 26px;
    height: 26px;
  }

  .door-biz {
    padding-top: 190px;
  }

  .biz-bars {
    top: 78px;
    right: 22px;
    height: 84px;
    gap: 8px;
  }

  .biz-bars span {
    width: 20px;
    border-width: 2px;
    box-shadow: 3px 3px 0 var(--black);
  }

  .door-games {
    padding-top: calc(7svh + 150px);
  }

  .agents {
    top: calc(7svh + 24px);
    right: 22px;
    width: 120px;
    height: 100px;
    aspect-ratio: auto;
  }

  .nav .hide-sm {
    display: none;
  }

  .nav a {
    padding: 8px 11px;
  }

  .brand span {
    display: none;
  }

  .shipped,
  .pains,
  .extras,
  .steps,
  .products,
  .about .facts {
    grid-template-columns: 1fr;
  }

  .shots .phone {
    width: 40%;
    right: -2%;
  }

  .btn {
    width: 100%;
  }

  .industries .wrap {
    justify-content: flex-start;
    font-size: 1rem;
  }
}
