/* ============================================================
   Plaik — static site stylesheet
   Brand accent #27BDCE (from logo01.svg), light theme
   ============================================================ */
:root {
  --teal: #27bdce;
  --teal-dark: #1a9aab;
  --teal-soft: #e6f8fa;
  --ink: #172226;
  --ink-soft: #4c5a60;
  --bg: #ffffff;
  --bg-alt: #f5fafb;
  --border: #dfecee;
  --radius: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.nav .logo img { height: 34px; width: auto; }
.nav .links { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.nav .links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav .links a:hover, .nav .links a[aria-current="page"] { color: var(--teal-dark); text-decoration: none; }

.btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px;
  background: var(--teal); color: #fff; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; transition: background .2s;
  white-space: nowrap; /* never wrap CTA labels onto two lines */
}
.btn:hover { background: var(--teal-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--teal-soft); }
.btn-lg { padding: 14px 30px; font-size: 17px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--teal-soft) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.eyebrow {
  display: inline-block; background: var(--teal-soft); color: var(--teal-dark);
  border: 1px solid #bfe9ee; border-radius: 999px; padding: 5px 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px;
}
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 18px; }
h1 .accent { color: var(--teal-dark); }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 560px; margin-bottom: 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.micro { font-size: 13px; color: var(--ink-soft); }

/* ---------- Email capture ---------- */
.waitlist { display: flex; gap: 10px; max-width: 480px; }
/* Inline success / error state shown after AJAX submit (no page leave) */
.wl-done { text-align: center; font-size: 17px; font-weight: 700; color: var(--teal-dark); padding: 10px 0; }
.waitlist input {
  flex: 1; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 999px;
  font-size: 15px; outline: none;
}
.waitlist input:focus { border-color: var(--teal); }
.waitlist .btn { white-space: nowrap; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.015em; margin-bottom: 14px; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 1px 3px rgba(23,34,38,.05);
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card .icon { font-size: 28px; margin-bottom: 12px; }
.card-img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 10px; margin-bottom: 14px;
}
/* Hero image (Game06): full picture, no cropping.
   Width/height attributes on the <img> prevent layout shift. */
.hero-img {
  width: 100%; height: auto;
  border-radius: 16px;
}
/* Tall infographic figure under the hero lede (how-it-works page) */
.hero-figure { margin: 40px auto 0; max-width: 420px; text-align: center; }
.hero-figure img { width: 100%; height: auto; border-radius: 16px; }
/* Colorful card subtitles (homepage value cards) */
.value-cards .card:nth-child(1) h3 { color: #1a9aab; }  /* teal    */
.value-cards .card:nth-child(2) h3 { color: #7b5cd6; }  /* purple  */
.value-cards .card:nth-child(3) h3 { color: #e07a3f; }  /* orange  */

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; max-width: 760px; }
.step {
  display: flex; gap: 18px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 26px;
}
.step::before {
  counter-increment: step; content: counter(step);
  flex: 0 0 40px; height: 40px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Comparison table ---------- */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(23,34,38,.06); font-size: 15px; }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.tbl thead th { background: var(--teal-soft); font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl .yes { color: #128a54; font-weight: 700; }
.tbl .no { color: #c0392b; font-weight: 700; }

/* ---------- Article / blog ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 40px; font-size: 27px; }
.article h3 { margin-top: 28px; font-size: 20px; }
.article p, .article li { color: #2c3a40; font-size: 17px; margin-bottom: 14px; }
.article ul, .article ol { padding-left: 24px; margin-bottom: 18px; }
.meta-line { color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }

/* ---------- FAQ ---------- */
details {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 12px;
}
details summary { cursor: pointer; font-weight: 700; font-size: 16px; }
details p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, #1a9aab 100%);
  color: #fff; border-radius: 20px; padding: 48px 40px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { opacity: .92; max-width: 560px; margin: 0 auto 24px; font-size: 17px; }
.cta-band .waitlist { margin: 0 auto; }
.cta-band .waitlist input { border: none; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--ink-soft); font-size: 14px; }
.foot-grid { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.foot-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); margin-bottom: 10px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (min-width: 861px) {
  /* Desktop: visual (FIFA demo) on the LEFT, headline copy on the RIGHT.
     DOM order is unchanged (text first) so the H1 stays early for SEO. */
  .hero-grid > div:first-child { order: 2; }
  .hero-grid > div:last-child  { order: 1; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* Mobile: image sits first — pull it up close to the nav */
  .hero { padding-top: 20px; }
  /* Mobile: visual (FIFA demo) stacked at the TOP.
     DOM order unchanged — text (H1) still first for SEO. */
  .hero-grid > div:last-child { order: -1; }
  .nav .links { display: none; }
  .waitlist { flex-direction: column; }
  .cta-band { padding: 36px 22px; }
}
