/* Playfwd sales site.
   Brand: cyan #1BFFF0, Montserrat, black and white, tier colours from the
   official 2022 brand guide. Dark-forward, matching the arcade direction
   Florent picked for the first Playfwd landing page. */

:root {
  --cyan: #1BFFF0;
  --cyan-dim: #0FD9CC;
  --ink: #0B0D0F;
  --ink-2: #14181B;
  --ink-3: #1D2226;
  --line: #2A3136;
  --text: #E9EDF0;
  --muted: #99A4AC;
  --white: #FFFFFF;

  --iron: #8A7A78;
  --bronze: #C57456;
  --silver: #A8ADC8;
  --gold: #F7BD2C;

  --wrap: 1180px;
  --r: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.9rem, 8vw, 5.6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); text-transform: uppercase; }
h3 { font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.accent { color: var(--cyan); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--cyan); color: #000; padding: 12px 18px; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ── nav ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(11, 13, 15, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; flex: 0 0 auto; }
.nav-brand img { width: 118px; height: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
}
.nav-links a:hover { color: var(--cyan); }
.nav-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-links + .nav-right { margin-left: 0; }

.market-pick { display: flex; align-items: center; gap: 8px; }
.market-pick-label {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted);
}
select, input, textarea {
  font-family: inherit; font-size: 0.9rem; color: var(--text);
  background: var(--ink-3); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 12px;
}
select:hover { border-color: var(--cyan); }
.market-select { min-width: 132px; }

/* ── buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; font-size: 0.86rem; text-transform: uppercase;
  letter-spacing: 0.05em; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--cyan); color: #000; }
.btn-primary:hover { background: var(--white); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-sm { padding: 10px 18px; font-size: 0.76rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ── hero ─────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.28;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 15% 40%, rgba(27, 255, 240, 0.14), transparent 60%),
    linear-gradient(to bottom, rgba(11,13,15,0.55), rgba(11,13,15,0.94) 78%, var(--ink));
}
.hero-inner {
  position: relative; width: 100%; max-width: var(--wrap);
  margin: 0 auto; padding: 96px clamp(16px, 4vw, 40px) 72px;
}
.eyebrow {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--cyan); margin-bottom: 18px;
}
.hero-lede { max-width: 52ch; margin-top: 26px; color: var(--muted); font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 72px);
  margin: 56px 0 0; padding-top: 30px; border-top: 1px solid var(--line);
}
.hero-stats div { margin: 0; }
.hero-stats dt {
  font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 900; color: var(--cyan);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.hero-stats dd {
  margin: 8px 0 0; font-size: 0.76rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); font-weight: 600;
}

/* ── strip ────────────────────────────────────────────────────────── */
.strip { background: var(--cyan); color: #000; }
.strip-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 26px clamp(16px, 4vw, 40px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px;
}
.strip-item b { display: block; font-size: 1.9rem; font-weight: 900; line-height: 1; }
.strip-item span {
  display: block; margin-top: 5px; font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
}

/* ── sections ─────────────────────────────────────────────────────── */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(72px, 10vw, 118px) clamp(16px, 4vw, 40px); }
.section-dark { max-width: none; background: var(--ink-2); border-block: 1px solid var(--line); }
.section-dark > * { max-width: var(--wrap); margin-inline: auto; }
.section-head { max-width: 62ch; margin-bottom: 52px; }
.lede { margin-top: 20px; color: var(--muted); font-size: 1.02rem; }
.foot { margin-top: 40px; color: var(--muted); font-size: 0.86rem; max-width: 76ch; }
.sub {
  margin: 76px 0 26px; font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--cyan);
}

/* ── steps ────────────────────────────────────────────────────────── */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.steps li { background: var(--ink); padding: 28px 22px; }
.step-n { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; color: var(--cyan); }
.steps h3 { margin: 14px 0 8px; }
.steps p { color: var(--muted); font-size: 0.88rem; }

/* ── markets ──────────────────────────────────────────────────────── */
.market-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.market-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  font: inherit; font-size: 0.83rem; font-weight: 600; cursor: pointer;
  transition: all 0.14s ease;
}
.market-tab:hover { border-color: var(--cyan); color: var(--text); }
.market-tab.is-active { background: var(--cyan); border-color: var(--cyan); color: #000; font-weight: 800; }
.market-tab .home-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.market-tab.is-active .home-dot { background: #000; }

.market-source {
  margin: -18px 0 26px; font-size: 0.8rem; color: var(--muted);
}
.market-source::before { content: '◈'; color: var(--cyan); margin-right: 7px; }

.market-panel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.mp-card { background: var(--ink); padding: 28px 24px; }
.mp-label {
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--muted);
}
.mp-big {
  margin-top: 10px; font-size: clamp(2.1rem, 4vw, 2.7rem); font-weight: 900;
  color: var(--cyan); line-height: 1; font-variant-numeric: tabular-nums;
}
.mp-note { margin-top: 10px; font-size: 0.82rem; color: var(--muted); }

.bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; margin-top: 16px; background: var(--ink-3); }
.bar > i { display: block; height: 100%; }
.bar-key { display: flex; justify-content: space-between; margin-top: 9px; font-size: 0.78rem; color: var(--muted); }
.bar-key b { color: var(--text); font-weight: 700; }

.seg-list { list-style: none; margin: 14px 0 0; padding: 0; }
.seg-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.85rem;
}
.seg-list li:last-child { border-bottom: 0; }
.seg-list span { color: var(--muted); }
.seg-list b { color: var(--cyan); font-weight: 800; font-variant-numeric: tabular-nums; }

.targeting { margin-top: 56px; }
.targeting h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--cyan); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.chips li {
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.8rem; color: var(--muted);
}

/* ── creative ─────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 8px; }
.tab {
  padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font: inherit;
  font-weight: 700; font-size: 0.84rem; cursor: pointer;
}
.tab.is-active { background: var(--cyan); border-color: var(--cyan); color: #000; }
.tab-count { opacity: 0.6; margin-left: 5px; font-weight: 600; }
.route-note { margin-top: 16px; color: var(--muted); font-size: 0.9rem; }

.mech-grid {
  margin-top: 26px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.mech { background: var(--ink); padding: 18px 20px; }
.mech b { display: block; font-size: 0.9rem; font-weight: 800; }
.mech span { display: block; margin-top: 5px; font-size: 0.8rem; color: var(--muted); line-height: 1.45; }

.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.ind {
  border: 1px solid var(--line); border-radius: var(--r); padding: 20px 20px 16px;
  background: var(--ink-2);
}
.ind h4 {
  margin: 0 0 12px; font-size: 0.76rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--cyan);
}
.ind ul { list-style: none; margin: 0; padding: 0; }
.ind li { padding: 5px 0; font-size: 0.85rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.ind li:last-child { border-bottom: 0; }

/* ── tiers ────────────────────────────────────────────────────────── */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 14px; }
.tier {
  border: 1px solid var(--line); border-top: 3px solid var(--t);
  border-radius: var(--r); padding: 26px 22px; background: var(--ink);
  display: flex; flex-direction: column;
}
.tier-name {
  font-size: 1.5rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.01em; color: var(--t);
}
.tier-exp { margin-top: 10px; font-size: 0.92rem; font-weight: 700; }
.tier-detail { margin-top: 6px; font-size: 0.82rem; color: var(--muted); flex: 1; }
.tier-rows { margin-top: 20px; border-top: 1px solid var(--line); }
.tier-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 0.84rem; }
.tier-row span { color: var(--muted); }
.tier-row b { font-weight: 800; font-variant-numeric: tabular-nums; }
.tier-badge {
  margin-top: 16px; display: inline-block; align-self: flex-start;
  padding: 5px 11px; border-radius: 999px; font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: rgba(247, 189, 44, 0.14); color: var(--gold);
}
.tier-badge.is-hidden { visibility: hidden; }

/* ── proof ────────────────────────────────────────────────────────── */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.case {
  border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px;
  background: var(--ink-2);
}
.case-logo { height: 30px; width: auto; max-width: 130px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.9; }
.case-metric { margin-top: 22px; font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 900; color: var(--cyan); line-height: 1; }
.case-metric-label { margin-top: 6px; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.case-detail { margin-top: 14px; font-size: 0.84rem; color: var(--muted); }

.logo-wall {
  margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 5vw, 56px);
}
.logo-wall img {
  height: 26px; width: auto; filter: brightness(0) invert(1);
  opacity: 0.45; transition: opacity 0.15s ease;
}
.logo-wall img:hover { opacity: 0.9; }

/* ── brief ────────────────────────────────────────────────────────── */
.section-cta { max-width: none; background: var(--ink-2); border-top: 1px solid var(--line); }
.brief-wrap {
  max-width: var(--wrap); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start;
}
.brief-alt { margin-top: 26px; font-size: 0.9rem; color: var(--muted); }
.brief-alt a { color: var(--cyan); }

.brief-form { background: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block; margin-bottom: 6px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 500; opacity: 0.7; }
.field input, .field select, .field textarea { width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); outline: none; }
.field.is-bad input, .field.is-bad select { border-color: #FF6B6B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin-top: 14px; font-size: 0.88rem; min-height: 1.2em; }
.form-msg.is-ok { color: var(--cyan); }
.form-msg.is-bad { color: #FF6B6B; }
.form-fine { margin-top: 14px; font-size: 0.74rem; color: var(--muted); }

/* ── footer ───────────────────────────────────────────────────────── */
.footer {
  max-width: var(--wrap); margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 40px) 64px;
  color: var(--muted); font-size: 0.84rem;
}
.footer img { width: 96px; margin-bottom: 16px; opacity: 0.8; }
.footer-fine { margin-top: 8px; font-size: 0.74rem; opacity: 0.7; max-width: 62ch; }

/* ── responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .brief-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .market-pick-label { display: none; }
  .hero-stats { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  .hero-video { display: none; }
}
