/* Conqraft studio site. Palette taken from the logo: deep navy, mint-to-emerald gradient, teal glow; Manrope only. */

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #070f20;
  --text: #eaf3f9;
  --muted: #9db2c4;
  --green: #1fb57a;
  --green-shine: #6ee9be;
  --mint: #8ff0cc;
  --on-green: #04241a;
  --gold: #f0a93b;
  --line: rgba(130, 220, 205, 0.14);
  --panel: rgba(255, 255, 255, 0.04);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
  color: var(--text);
  font: 16px/1.65 var(--font);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 36rem at 88% -6%, rgba(24, 72, 120, 0.5), transparent 70%),
    radial-gradient(56rem 36rem at 4% 4%, rgba(18, 118, 92, 0.38), transparent 70%),
    radial-gradient(44rem 28rem at 70% 105%, rgba(14, 90, 100, 0.25), transparent 70%), var(--ink);
}

a {
  color: var(--green-shine);
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--green-shine);
  outline-offset: 3px;
  border-radius: 0.5rem;
}

.wrap {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */

header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 2.6rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
}

nav a.lang {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
}

/* Hero */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3.5rem;
  padding-top: 4.5rem;
  padding-bottom: 6rem;
}

.hero-text {
  flex: 1 1 32rem;
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(31, 168, 98, 0.18);
  color: var(--green-shine);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* "Coming soon" badge: solid gold so it stands out from the green chips. */
.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe9b8, var(--gold));
  color: #2a1a05;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 0 1.75rem rgba(240, 169, 59, 0.4);
}

.soon::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #2a1a05;
}

.hero-text .eyebrow + .soon {
  margin-left: 0.5rem;
}

.game-body h3 .soon {
  margin-left: 0.7rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  vertical-align: middle;
}

h1 {
  margin: 1.4rem 0 1.25rem;
  font-size: clamp(2.4rem, 6.4vw, 4rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 .hl {
  background: linear-gradient(100deg, var(--mint), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 35rem;
  margin: 0 0 2.25rem;
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--mint), var(--green));
  color: var(--on-green);
  box-shadow: 0 0 1.6rem rgba(31, 181, 122, 0.28);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.btn.outline {
  border: 1px solid rgba(110, 233, 190, 0.5);
  color: var(--green-shine);
}

.btn.light {
  min-height: 3.25rem;
  padding: 0 1.9rem;
  background: var(--text);
  color: var(--on-green);
}

.hero-art {
  flex: 1 1 18rem;
  display: flex;
  justify-content: center;
}

/* Hero art: the mark sits dead centre; sonar-style ripples spread from it and a light sweep crosses the logo. */
.orbit {
  position: relative;
  width: min(21rem, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orbit .ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(110, 233, 190, 0.45);
  opacity: 0;
  transform: scale(0.48);
  animation: ripple 7.5s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}

.orbit .ripple:nth-child(2) {
  animation-delay: 2.5s;
}

.orbit .ripple:nth-child(3) {
  animation-delay: 5s;
}

/* Soft emerald glow behind the mark (no solid disc: the logo sits straight on the night background). */
.orbit .disc {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 181, 122, 0.24) 0%, rgba(16, 110, 116, 0.12) 45%, transparent 72%);
}

/* The ripples are concentric with the letter C (the tail is ignored on purpose): its outer arc is a circle centred at
   (43.4%, 49.8%) of the artwork box with a radius of 41.4% of the box width, so the box is shifted by the difference
   to put that centre on the centre of the ripples. */
.orbit .hero-mark {
  position: relative;
  display: block;
  width: 58%;
  aspect-ratio: 404 / 353;
  transform: translate(6.6%, 0.2%);
}

/* The intro animation (pieces assemble, one light sweep) has the same artwork box as the static mark. */
.orbit .hero-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

/* The looping sweep is clipped to the logo's own shape by masking with the same artwork; it starts after the intro. */
.orbit .hero-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.85) 50%, transparent 62%) 140% 0 / 250% 100% no-repeat;
  -webkit-mask: url('/img/mark.svg') center / contain no-repeat;
  mask: url('/img/mark.svg') center / contain no-repeat;
  animation: sweep 5.5s ease-in-out 3.4s infinite;
}

/* Rings start on the outer edge of the C (scale .48 of the stage: .414 x 58% of the width / .5) and spread outwards. */
@keyframes ripple {
  0% {
    opacity: 0;
    transform: scale(0.48);
  }

  15% {
    opacity: 0.55;
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes sweep {
  0%,
  45% {
    background-position: 140% 0;
  }

  80%,
  100% {
    background-position: -40% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit .ripple {
    animation: none;
    opacity: 0.25;
    transform: scale(0.8);
  }

  .orbit .hero-mark::after {
    animation: none;
    opacity: 0;
  }
}

/* Sections */

.section {
  padding-bottom: 6rem;
}

.kicker {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head .kicker {
  margin-bottom: 0.75rem;
}

/* Game card */

.game {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.game-mark {
  --s: 8.25rem;
  flex: none;
  display: grid;
  place-items: center;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  /* FootMind's own look (turf disc, yellow ring), not the studio's green. */
  border: 3px solid #ffd60a;
  background: radial-gradient(circle at 30% 22%, #1f5039 0%, #0f2a1e 48%, #06130d 100%);
  box-shadow:
    0 0 0 3px rgba(255, 214, 10, 0.22),
    0 0 3rem rgba(255, 214, 10, 0.2);
}

.game-mark i {
  display: block;
  width: 70%;
  height: 70%;
  background: linear-gradient(to bottom, #fff 0%, #f3f1e7 38%, #ffd60a 100%);
  -webkit-mask: url('/img/footmind-icon.png') center / contain no-repeat;
  mask: url('/img/footmind-icon.png') center / contain no-repeat;
}

.game-body {
  flex: 1 1 24rem;
  min-width: 0;
}

.game-body h3 {
  margin: 0 0 0.35rem;
  font-size: 2.1rem;
  letter-spacing: -0.01em;
}

.tagline {
  margin: 0 0 0.9rem;
  color: #ffd60a;
  font-weight: 700;
}

.game-body p {
  max-width: 35rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(31, 168, 98, 0.2);
  color: var(--green-shine);
  font-size: 0.82rem;
  font-weight: 700;
}

/* Principles */

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cards li {
  flex: 1 1 18rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--panel);
}

.cards .icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.1rem;
  border-radius: 0.75rem;
  background: rgba(110, 233, 190, 0.14);
}

.cards svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: var(--green-shine);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Contact */

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.75rem;
  border: 1px solid rgba(110, 233, 190, 0.3);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(31, 181, 122, 0.3), rgba(24, 88, 150, 0.34));
}

.contact > div {
  flex: 1 1 22rem;
  min-width: 0;
}

.contact h2 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.contact p {
  margin: 0;
  color: #cfd3e6;
}

/* Footer */

footer.site {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: rgba(7, 15, 32, 0.7);
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.75rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

footer.site .copy {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

footer.site .copy img {
  width: 1.6rem;
  height: 1.6rem;
}

footer.site nav {
  gap: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

footer.site a {
  color: var(--muted);
}

footer.site a:hover {
  color: var(--text);
}

@media (max-width: 40rem) {
  .wrap {
    padding: 0 1.25rem;
  }

  .hero {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .game,
  .contact {
    padding: 1.5rem;
  }

  .section {
    padding-bottom: 4rem;
  }
}
