/* home.konqua.com: Konqua's landing page. Chunky cards, hard offset shadows, red on black. */

:root {
  --red: #e22426;
  --red-hot: #ed0a41;
  --cream: #fef4d9;
  --gold: #f5b82e;
  --olive: #4b5d34;
  --black: #0b0b0b;

  --bg: #121214;
  --bg-2: #18181b;
  --surface: #1e1e22;
  --ink: #f6efdf;
  --muted: #aaa49a;
  --edge: #000;
  --shadow: #000;
  --dash: #3a3a40;
  --sub: var(--gold);

  --radius: 18px;
  --display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #fbf3df;
    --bg-2: #f4e9cd;
    --surface: #fffaf0;
    --ink: #0b0b0b;
    --muted: #5c564c;
    --edge: #0b0b0b;
    --shadow: #0b0b0b;
    --dash: #cdbf9c;
    --sub: #9a5f00;
    color-scheme: light;
  }
}
:root[data-theme='light'] {
  --bg: #fbf3df;
  --bg-2: #f4e9cd;
  --surface: #fffaf0;
  --ink: #0b0b0b;
  --muted: #5c564c;
  --edge: #0b0b0b;
  --shadow: #0b0b0b;
  --dash: #cdbf9c;
  --sub: #9a5f00;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 8px 14px;
  background: var(--gold);
  color: var(--black);
  border-radius: 10px;
  font-weight: 800;
}
.skip:focus {
  top: 12px;
}
.nowrap {
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  --b-bg: var(--surface);
  --b-ink: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 2.5px solid var(--edge);
  border-radius: 12px;
  background: var(--b-bg);
  color: var(--b-ink);
  font: 800 15px/1 var(--body);
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--shadow);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--shadow);
}
.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--shadow);
}
.btn-red {
  --b-bg: var(--red);
  --b-ink: var(--cream);
}
.btn-gold {
  --b-bg: var(--gold);
  --b-ink: var(--black);
}
.btn-cream {
  --b-bg: var(--cream);
  --b-ink: var(--black);
  border-color: var(--black);
  box-shadow: 4px 4px 0 var(--black);
}
.btn-ink {
  --b-bg: var(--black);
  --b-ink: var(--cream);
  border-color: var(--black);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}
.btn-line {
  --b-bg: transparent;
  --b-ink: var(--black);
  border-color: var(--black);
  box-shadow: none;
}
.btn-line-cream {
  --b-bg: transparent;
  --b-ink: var(--cream);
  border-color: var(--cream);
  box-shadow: none;
}
.btn-line:hover,
.btn-line-cream:hover {
  box-shadow: none;
}
.btn-ghost {
  --b-bg: var(--surface);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- Top bar ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  display: block;
  border-radius: 6px;
  border: 2px solid var(--edge);
  box-shadow: 2px 2px 0 var(--shadow);
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
}
.nav a:hover {
  border-color: var(--dash);
}
.nav a[aria-current='page'] {
  background: var(--red);
  color: var(--cream);
  border-color: var(--edge);
  box-shadow: 2px 2px 0 var(--shadow);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-open {
  display: none;
}
.theme {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 2px solid var(--edge);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--shadow);
  cursor: pointer;
}
.theme svg {
  width: 20px;
  height: 20px;
}
.theme .i-moon {
  display: none;
}
:root[data-theme='light'] .theme .i-sun {
  display: none;
}
:root[data-theme='light'] .theme .i-moon {
  display: block;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme .i-sun {
    display: none;
  }
  :root:not([data-theme]) .theme .i-moon {
    display: block;
  }
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 40px;
}
.pill {
  display: inline-block;
  padding: 5px 12px;
  border: 2px solid var(--edge);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 2px 2px 0 var(--shadow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(44px, 6.4vw, 76px);
}
.hero mark {
  display: inline-block;
  padding: 0 0.14em 0.06em;
  margin-top: 0.08em;
  background: var(--red);
  color: var(--cream);
  border: 3px solid var(--edge);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--shadow);
  transform: rotate(-2deg);
}
.lede {
  max-width: 34em;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 55%),
    var(--red);
  border: 3px solid var(--edge);
  border-radius: 26px;
  box-shadow: 10px 10px 0 var(--shadow);
  overflow: hidden;
}
.hero-art::after {
  /* the K, huge and faint, behind the phone */
  content: '';
  position: absolute;
  inset: -12%;
  background: url('/brand/konqua-k-logo.svg') center / 120% no-repeat;
  opacity: 0.12;
  mix-blend-mode: screen;
}
.device {
  position: relative;
  z-index: 1;
  width: 46%;
  padding: 7px;
  margin-top: 16%;
  background: var(--black);
  border: 3px solid var(--black);
  border-radius: 34px;
  box-shadow:
    0 0 0 2px #2a2a2e inset,
    8px 8px 0 rgba(0, 0, 0, 0.45);
  transform: rotate(4deg);
  animation: bob 6s ease-in-out infinite;
}
.device img {
  border-radius: 27px;
  width: 100%;
  height: auto;
}
.spark {
  position: absolute;
  z-index: 2;
  color: var(--cream);
  width: 40px;
  height: 40px;
  animation: twinkle 3.2s ease-in-out infinite;
}
.s1 {
  top: 12%;
  right: 12%;
  width: 54px;
  height: 54px;
}
.s2 {
  top: 26%;
  right: 6%;
  width: 26px;
  height: 26px;
  animation-delay: 0.8s;
}
.s3 {
  bottom: 18%;
  left: 10%;
  color: var(--gold);
  animation-delay: 1.6s;
}
@keyframes bob {
  50% {
    transform: rotate(3deg) translateY(-8px);
  }
}
@keyframes twinkle {
  50% {
    transform: scale(0.8) rotate(12deg);
  }
}

/* ---------- Sections ---------- */

.block {
  padding: 48px 0;
}
.block > h2,
.head-row h2 {
  font-size: clamp(30px, 3.6vw, 40px);
}
.block > h2 {
  margin-bottom: 26px;
}
.head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.more {
  font-weight: 800;
  text-decoration: none;
}
.more:hover {
  text-decoration: underline;
}
.head-note {
  color: var(--muted);
  font-weight: 600;
}

.card {
  padding: 24px 24px 26px;
  border: 3px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--shadow);
  color: var(--black);
}
.card h3 {
  font-size: 23px;
  margin: 6px 0 10px;
}
.card p:not(.num) {
  font-size: 15px;
  opacity: 0.85;
}
.num {
  font: 800 13px/1 var(--body);
  letter-spacing: 0.08em;
  opacity: 0.6;
}
.c-red {
  background: var(--red);
  color: var(--cream);
  transform: rotate(-1deg);
}
.c-gold {
  background: var(--gold);
}
.c-cream {
  background: var(--cream);
  transform: rotate(1deg);
}
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ---------- Game feature ---------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
  padding: 30px;
  background: var(--surface);
  border: 3px solid var(--edge);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--olive);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 3px solid var(--edge);
  box-shadow: 3px 3px 0 var(--shadow);
  margin-bottom: 16px;
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--olive);
  color: var(--cream);
  border: 2px solid var(--edge);
  font-size: 12px;
  font-weight: 800;
}
.tag-dark {
  background: var(--black);
  border-color: var(--black);
}
.feature h3 {
  font-size: clamp(32px, 3.8vw, 42px);
  margin: 12px 0 4px;
}
.sub {
  color: var(--sub);
  font-weight: 800;
  margin-bottom: 14px;
}
.feature-copy > p:not(.tag):not(.sub):not(.actions) {
  color: var(--muted);
  font-size: 15.5px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 24px;
  list-style: none;
}
.facts li {
  padding: 6px 12px;
  border: 2px dashed var(--dash);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.facts strong {
  font-family: var(--display);
  font-size: 17px;
}
.shot {
  margin: 0;
  border: 3px solid var(--edge);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--shadow);
  transform: rotate(1deg);
}
.shot img {
  width: 100%;
  height: auto;
}

/* ---------- Apps ---------- */

.apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.app {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: var(--surface);
  border: 3px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--shadow);
  transition: transform 0.15s ease;
}
.app:hover {
  transform: translateY(-3px) rotate(-0.5deg);
}
.app img {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  border: 2px solid var(--edge);
}
.app h3 {
  font-size: 19px;
  margin: 2px 0 4px;
}
.app p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}
.fine {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Story ---------- */

.story {
  position: relative;
  padding: 44px 40px;
  background: var(--black);
  color: var(--cream);
  border: 3px solid var(--edge);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--red);
  overflow: hidden;
}
.story::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  background: url('/brand/konqua-rounded-k-logo.svg') center / contain no-repeat;
  opacity: 0.5;
  transform: rotate(-12deg);
}
.story-kicker {
  color: var(--red-hot);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.story-line {
  position: relative;
  z-index: 1;
  max-width: 15em;
  margin: 12px 0 16px;
  font: 800 clamp(30px, 4.4vw, 52px)/1.05 var(--display);
  letter-spacing: -0.02em;
}
.story-line span {
  color: var(--red-hot);
}
.story-body {
  position: relative;
  z-index: 1;
  max-width: 34em;
  color: #bdb6a6;
  font-size: 17px;
}

/* ---------- Ads ---------- */

.ads {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 34px;
  background: var(--gold);
  color: var(--black);
  border: 3px solid var(--edge);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--shadow);
}
.ads h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 12px 0 12px;
}
.ads > div > p:not(.tag):not(.actions) {
  max-width: 36em;
  margin-bottom: 22px;
  font-size: 16px;
}
.ad-spots {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.ad-spots li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--cream);
  border: 2.5px solid var(--black);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--black);
  font-weight: 800;
}
.ad-spots li:nth-child(2) {
  transform: translateX(14px);
}
.dot {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--black);
}
.d1 {
  background: var(--red);
}
.d2 {
  background: var(--olive);
}
.d3 {
  background: #2f7bf6;
}

/* ---------- Contact ---------- */

.cta {
  padding: 56px 28px;
  text-align: center;
  background: var(--red);
  color: var(--cream);
  border: 3px solid var(--edge);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--shadow);
}
.cta h2 {
  max-width: 14em;
  margin: 0 auto 10px;
  font-size: clamp(28px, 3.6vw, 40px);
}
.cta > p:not(.actions) {
  margin-bottom: 26px;
  font-size: 17px;
  opacity: 0.9;
}
.cta .actions {
  justify-content: center;
}

/* ---------- Footer ---------- */

.foot {
  margin-top: 48px;
  padding: 48px 0 28px;
  background: var(--bg-2);
  border-top: 3px solid var(--edge);
}
.foot-in {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 28px;
}
.foot-brand p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-col h2 {
  margin-bottom: 4px;
  font: 800 12px/1 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-col a {
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.foot-col a:hover {
  text-decoration: underline;
}
.foot-base {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 2px dashed var(--dash);
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Narrow screens ---------- */

@media (max-width: 960px) {
  .nav {
    display: none;
  }
  .top-actions {
    margin-left: auto;
  }
  .top-open {
    display: inline-flex;
  }
  .hero,
  .feature,
  .ads {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 32px;
    gap: 36px;
  }
  .hero-art {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }
  .apps {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-in {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 680px) {
  .trio,
  .apps {
    grid-template-columns: 1fr;
  }
  .c-red,
  .c-cream {
    transform: none;
  }
  .feature,
  .ads,
  .story {
    padding: 22px;
  }
  .block {
    padding: 36px 0;
  }
  .lede {
    font-size: 16.5px;
  }
  .hero-art {
    box-shadow: 7px 7px 0 var(--shadow);
  }
  .feature,
  .ads,
  .story,
  .cta {
    box-shadow: 6px 6px 0 var(--shadow);
  }
  .feature {
    box-shadow: 6px 6px 0 var(--olive);
  }
  .story {
    box-shadow: 6px 6px 0 var(--red);
  }
  .ad-spots li:nth-child(2) {
    transform: none;
  }
  .cta {
    padding: 40px 20px;
  }
}
