/* Done-for-you page: the selling order, the example builds and the buy bar. */
/* No pills on this page: square-shouldered buttons, plain labels. */
.btn { border-radius: 8px; }
.eyebrow { background: none; border: 0; border-radius: 0; padding: 0; letter-spacing: .1em; }
.dfy-games span, .price-flag, .hero-chip, .live-flag { border-radius: 6px; }
.hero-games { border-radius: 8px; }
.hero-games button { border-radius: 6px; }

/* Device mockups, drawn in CSS around the real screenshots. */
.dfy-dev { display: block; position: relative; padding: 0 9% 0 3%; }
.dfy-dev-laptop { display: block; position: relative; }
.dfy-dev-laptop > .dfy-dev-screen { aspect-ratio: 16 / 10; border: solid #101114; border-width: 7px 7px 0; border-radius: 12px 12px 0 0; outline: 1px solid #4a4e57; }
.dfy-dev-laptop::after { content: ""; display: block; height: 11px; margin: 0 -5%; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #e3e5ea 0%, #a9adb6 55%, #6d7079 100%); box-shadow: 0 16px 26px -8px rgba(0,0,0,.8); }
.dfy-dev-laptop::before { content: ""; position: absolute; left: 50%; bottom: 7px; z-index: 1; width: 15%; height: 4px; transform: translateX(-50%); border-radius: 0 0 5px 5px; background: #8b8f98; }
.dfy-dev-phone { display: block; position: absolute; right: 0; bottom: -6px; z-index: 2; width: 23%; padding: 4px; border: 1px solid #5a5e68; border-radius: 16px; background: #101114; box-shadow: -10px 14px 26px -8px rgba(0,0,0,.85); }
.dfy-dev-phone > .dfy-dev-screen { aspect-ratio: 9 / 19.5; border-radius: 12px; }
.dfy-dev-screen { display: block; position: relative; overflow: hidden; background: #0c0c0e; }
.dfy-dev-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Hero: one laptop and phone stepping through every example build. */
.page-hero-media.dfy-heroshow { aspect-ratio: auto; background: none; border: 0; border-radius: 0; box-shadow: none; max-height: none; overflow: visible; }
.dfy-heroshow .dfy-dev-screen img { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.dfy-heroshow .dfy-dev-screen img.is-on { opacity: 1; }
.dfy-heroshow-name { margin: 24px 0 0; color: var(--text-soft); font-size: .88rem; text-align: center; }
.dfy-heroshow-name strong { color: var(--text); }
.dfy-heroshow-name a { margin-left: 8px; color: var(--blue-bright); font-weight: 700; text-decoration: underline; white-space: nowrap; }

/* Example builds: the mockup is the way in. */
.dfy-look-grid.dfy-look-grid--six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.dfy-look-stage { display: block; padding: 26px 18px 24px; border: 1px solid var(--stroke); border-radius: 8px; background: radial-gradient(80% 85% at 50% 40%, color-mix(in srgb, var(--look) 26%, transparent) 0%, transparent 100%), #0b0d12; transition: border-color .2s ease; }
.dfy-look-stage:hover, .dfy-look-stage:focus-visible { border-color: var(--look); }
.dfy-look-card .eyebrow { color: var(--look); align-self: flex-start; }
.dfy-look-live { margin-top: auto; width: 100%; justify-content: center; }
.dfy-look-meta { font-size: .9rem; line-height: 1.6; margin: 0 0 18px; }
.dfy-looks-more, .dfy-nextstep { margin: 28px auto 0; max-width: 680px; text-align: center; }
.dfy-looks-more a { color: var(--blue-bright); text-decoration: underline; }
.dfy-reelrow { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; margin-top: 36px; }
.dfy-reelcopy h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 12px; }
.dfy-reelcopy p { color: var(--text-soft); font-size: 1.05rem; margin: 0; }
.dfy-gamewall { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; }
.dfy-gamewall figure { margin: 0; background: #0d0d0d; border: 1px solid var(--stroke); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; }
.dfy-gamewall img { aspect-ratio: 3 / 4; display: block; height: auto; object-fit: cover; object-position: top; width: 100%; }
.dfy-gamewall .is-wide { grid-column: span 2; }
.dfy-gamewall .is-wide img { aspect-ratio: auto; flex: 1 1 0; height: 0; min-height: 0; object-fit: cover; object-position: center 60%; }
.dfy-gamewall figure:nth-child(4) img { object-position: left top; }
.dfy-gamewall figcaption { font-size: .85rem; padding: 10px 12px; }
#games .dfy-games { justify-content: center; margin-top: 28px; }
.dfy-gameticks { margin: 24px auto 0; max-width: 720px; }
.dfy-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 16px; background: rgba(8,8,8,.94); border-top: 1px solid var(--stroke-strong); }
.dfy-buybar[hidden] { display: none; }
.dfy-buybar p { margin: 0; }
.dfy-buybar strong { color: #fff; font-size: 1.1rem; }
.dfy-buybar span { margin-left: 10px; }
@media (max-width: 980px) {
  .dfy-look-grid.dfy-look-grid--six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Stacked: the devices come first, then the headline. */
  .dfy-hero2 { padding-top: 22px; }
  .dfy-hero2 .page-hero-grid { gap: 18px; }
  .dfy-hero2 .page-hero-media { order: -1; width: 100%; max-width: 620px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .dfy-gamewall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dfy-reelrow { grid-template-columns: minmax(0, 1fr); gap: 20px; text-align: center; }
  .dfy-gamewall .is-wide img { aspect-ratio: 5 / 4; flex: none; height: auto; }
  .dfy-buybar { justify-content: space-between; }
  .dfy-buybar span { display: block; font-size: .8rem; margin-left: 0; }
}
@media (max-width: 620px) {
  .dfy-look-grid.dfy-look-grid--six { grid-template-columns: minmax(0, 1fr); }
  .dfy-hero2 .eyebrow { display: none; }
  .dfy-hero2 h1 { margin-top: 0; }
  .dfy-heroshow-name { font-size: .8rem; }
  .dfy-hero2 .dfy-facts { display: grid; gap: 6px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; }
  .dfy-hero2 .dfy-facts li { font-size: .84rem; }
}
.dfy-nextstep a { color: var(--blue-bright); text-decoration: underline; }
@media (max-width: 620px) {
  #compare .compare-table { font-size: .82rem; min-width: 0; table-layout: fixed; width: 100%; }
  #compare .compare-table th, #compare .compare-table td { overflow-wrap: anywhere; padding: 10px 6px; white-space: normal; }
  #compare .compare-table td:not(:first-child), #compare .compare-table thead th:not(:first-child) { width: 33%; }
}
.dfy-footer-logo img { height: 96px; width: auto; }

/* ----- Start-your-build enquiry form (5 Nov 2026) ----- */
.dfy-form { max-width: 680px; margin: 6px auto 0; text-align: left; }
.dfy-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.dfy-form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: .92rem; color: var(--text); }
.dfy-form label small { font-weight: 400; color: var(--text-dim); }
.dfy-form .dfy-form-wide { grid-column: 1 / -1; }
.dfy-form input, .dfy-form select, .dfy-form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; width: 100%; min-width: 0;
  padding: 12px 14px; border-radius: 10px; color: var(--text);
  border: 1px solid var(--stroke-strong); background: rgba(255, 255, 255, .06);
}
.dfy-form select { appearance: none; cursor: pointer; padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.dfy-form select option { background: #111; color: var(--text); }
.dfy-form textarea { resize: vertical; min-height: 110px; }
.dfy-form input:focus, .dfy-form select:focus, .dfy-form textarea:focus {
  outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(0, 145, 255, .22); }
.dfy-form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dfy-form-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.dfy-form-actions[hidden], .dfy-form-grid[hidden] { display: none; }
.cta-banner .dfy-form-status { margin: 16px auto 0; text-align: center; font-size: 1rem; max-width: 560px; }
.cta-banner .dfy-form-status:empty { display: none; }
.cta-banner .dfy-form-status.is-ok { color: var(--win); font-weight: 600; font-size: 1.1rem; }
.cta-banner .dfy-form-status.is-error { color: var(--lose); }
.cta-banner .dfy-form-alt { margin: 14px auto 0; text-align: center; font-size: .9rem; color: var(--text-dim); }
.dfy-form-alt a { color: var(--blue-bright); text-decoration: underline; }
@media (max-width: 620px) {
  .dfy-form-grid { grid-template-columns: minmax(0, 1fr); }
  .dfy-form-actions .btn { width: 100%; justify-content: center; }
}

/* What's inside: the three CompKit products every build is made from. */
.dfy-inside-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.dfy-inside-card { background: var(--panel); border: 1px solid var(--stroke); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.dfy-inside-card h3 { margin: 0; font-size: 1.15rem; }
.dfy-inside-card p { margin: 0; color: var(--text-soft); }
.dfy-inside-card a { margin-top: auto; padding-top: 6px; font-weight: 600; }
.dfy-inside-tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--win); }
@media (max-width: 820px) { .dfy-inside-grid { grid-template-columns: 1fr; } }

/* The reviews are of the engine, not of a build: say so on every card. */
#testimonials .testimonial figcaption::after { content: "CompKit Game Engine customer"; display: block; width: 100%; margin-top: 4px; font-size: .8rem; color: var(--text-dim); }
.dfy-inside-logo { height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.dfy-inside-logo img { max-height: 100%; width: auto; max-width: 100%; }
.dfy-inside-logo--icon img { height: 96px; border-radius: 22px; }
.dfy-inside-card { text-align: center; }
.dfy-inside-tag { align-self: center; }
.dfy-inside-card a { align-self: center; }
@media (max-width: 820px) { .dfy-inside-logo { height: 120px; } .dfy-inside-logo--icon img { height: 80px; } }

/* Switching over: Flintop and WPGenie side by side. */
.dfy-switch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; max-width: 960px; margin-inline: auto; }
.dfy-switch-card { background: var(--panel); border: 1px solid var(--stroke); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.dfy-switch-card h3 { margin: 0; font-size: 1.2rem; }
.dfy-switch-card p { margin: 0; color: var(--text-soft); }
.dfy-switch-card .dfy-inside-tag { align-self: flex-start; }
.dfy-switch-card .bullet-list { margin: 4px 0 0; }
.dfy-switch-note { max-width: 760px; margin: 22px auto 0; text-align: center; color: var(--text-soft); }
@media (max-width: 820px) { .dfy-switch-grid { grid-template-columns: 1fr; } }

/* Header/footer wordmark (5 Nov 2026). It is about 3:1, three times wider than the
   old stacked logo, so it runs shorter than the sitewide 104px/52px header logo or
   it would push the menu off the edge. */
.site-header .brand--wordmark img { height: 60px; }
.site-header.is-scrolled .brand--wordmark img { height: 42px; }
@media (max-width: 760px) {
  .site-header .brand--wordmark img { height: 46px; }
  .site-header.is-scrolled .brand--wordmark img { height: 38px; }
}
.dfy-footer-logo.brand--wordmark img { height: 64px; }
/* The Themes logo is squarer than the other two, so at the same height it read smaller. */
.dfy-inside-logo--tall img { max-height: none; height: 112%; }
