/* ============================================================
   11Tactics — landing page
   Same design tokens as the app (css/style.css) on purpose: someone
   who signs up here and lands in the board should not feel they have
   crossed into a different product.
   ============================================================ */

* { box-sizing: border-box; }

:root {
  --bg: #0d1013;
  --panel: #141a1f;
  --card: #1a2128;
  --card-hi: #212a32;
  --sunken: #10151a;

  --border: #26313a;
  --border-hi: #33414d;

  --text: #eaf0f4;
  --text-dim: #94a3b0;
  --text-faint: #6b7883;

  --accent: #2fbf62;
  --accent-hi: #3ad675;
  --accent-dim: #1e7d41;
  --accent-glow: rgba(47, 191, 98, 0.28);

  --warn: #ffd54f;
  --info: #4a9eff;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --r-pill: 999px;

  --sh: 0 2px 8px rgba(0, 0, 0, 0.35);
  --sh-lg: 0 10px 30px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --wrap: 1120px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s var(--ease), background 0.16s var(--ease),
              border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  border-color: var(--accent-hi);
  color: #06240f;
  box-shadow: 0 2px 16px var(--accent-glow);
}
.btn-primary:hover { background: linear-gradient(180deg, #47e383, var(--accent-hi)); }

.btn-ghost {
  background: var(--card);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--card-hi); border-color: var(--border-hi); }

.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 17px; }

/* ---------- header ---------- */
#siteHeader {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 16, 19, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
#siteHeader .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}
.brand .mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--accent-hi), var(--accent-dim));
  color: #06240f;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.04em;
  box-shadow: 0 2px 10px var(--accent-glow);
}

.navLinks {
  display: flex;
  gap: 26px;
  margin-left: 22px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.navLinks a { text-decoration: none; }
.navLinks a:hover { color: var(--text); }

.headerActions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.headerActions .btn { min-height: 40px; padding: 9px 18px; font-size: 14.5px; }

/* ---------- hero ---------- */
#hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 64px;
}
#hero::before {
  content: '';
  position: absolute;
  inset: -40% 20% auto -10%;
  height: 720px;
  background: radial-gradient(closest-side, rgba(47, 191, 98, 0.16), transparent);
  pointer-events: none;
}
#hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 20px;
  border: 1px solid var(--border-hi);
  border-radius: var(--r-pill);
  background: var(--card);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-hi);
  box-shadow: 0 0 8px var(--accent-glow);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
}
h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-hi), #7ee8a6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 30px;
  font-size: 18px;
  color: var(--text-dim);
  max-width: 34em;
}

.heroActions { display: flex; flex-wrap: wrap; gap: 12px; }
.heroNote { margin: 16px 0 0; font-size: 13.5px; color: var(--text-faint); }

/* ---------- the drawn pitch in the hero ---------- */
.heroArt {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--panel);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.heroArt .bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.heroArt .bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-hi);
}
.heroArt .bar span {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-faint);
}
.heroArt svg { display: block; width: 100%; height: auto; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.sectionHead { max-width: 640px; margin: 0 0 44px; }
.sectionHead h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 750;
}
.sectionHead p { margin: 0; color: var(--text-dim); font-size: 17px; }

#features { background: var(--panel); border-block: 1px solid var(--border); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.16s var(--ease), transform 0.16s var(--ease);
}
.card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.card .ico {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: rgba(47, 191, 98, 0.12);
  border: 1px solid rgba(47, 191, 98, 0.25);
  font-size: 19px;
}
.card h3 { margin: 0 0 7px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-dim); font-size: 14.8px; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step { position: relative; padding: 26px 24px 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-hi), var(--accent-dim));
  color: #06240f;
  font-weight: 800;
  font-size: 15px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.step p { margin: 0; color: var(--text-dim); font-size: 14.8px; }

/* ---------- screenshot slots ---------- */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.shot {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
}
.shot img { display: block; width: 100%; height: auto; }
.shot .cap { padding: 12px 16px; font-size: 13.5px; color: var(--text-dim); border-top: 1px solid var(--border); }
/* Shown until real screenshots are dropped in; see site/README-images.txt */
.shot .placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  aspect-ratio: 16 / 10;
  /* Light stripes over the card, not two near-black tones against each
     other -- the first attempt rendered as a solid dark rectangle and made
     the section look broken rather than unfinished. */
  background: repeating-linear-gradient(45deg,
    rgba(255, 255, 255, 0.02) 0 14px,
    rgba(255, 255, 255, 0.055) 14px 28px);
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
  padding: 20px;
}
.shot .placeholder small { display: block; margin-top: 6px; color: var(--text-faint); font-size: 12px; }

/* ---------- sign-up ---------- */
#signup { border-top: 1px solid var(--border); background: var(--panel); }
.signupBox {
  max-width: 460px;
  margin: 0 auto;
  padding: 34px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  text-align: center;
}
.signupBox h2 { margin: 0 0 8px; font-size: 25px; font-weight: 750; letter-spacing: -0.02em; }
.signupBox p { margin: 0 0 22px; color: var(--text-dim); font-size: 15px; }

.authBtns { display: grid; gap: 10px; }
.btn-google {
  background: #ffffff;
  border-color: #ffffff;
  color: #1f2328;
}
.btn-google:hover { background: #f1f3f5; }
.btn-google svg { width: 18px; height: 18px; }

.orRule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--text-faint);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.orRule::before, .orRule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.field { text-align: left; margin-bottom: 12px; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--text-dim); }
.field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  background: var(--sunken);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.signupBox .btn-primary { width: 100%; }
.smallprint { margin: 16px 0 0; font-size: 12.5px; color: var(--text-faint); }
.smallprint a { color: var(--text-dim); }

/* Until Supabase is wired in, the auth controls are visibly not-yet-live
   rather than silently broken -- a button that does nothing is worse than
   one that says why. */
.notLive {
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px dashed var(--border-hi);
  border-radius: var(--r-sm);
  background: var(--sunken);
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ---------- footer ---------- */
#siteFooter {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 13.5px;
}
#siteFooter .wrap { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
#siteFooter nav { display: flex; gap: 20px; margin-left: auto; }
#siteFooter a { text-decoration: none; }
#siteFooter a:hover { color: var(--text-dim); }

/* ---------- narrow screens ---------- */
@media (max-width: 900px) {
  #hero { padding: 52px 0 44px; }
  #hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .navLinks { display: none; }
  section { padding: 56px 0; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  #siteHeader .wrap { height: 60px; }
  .headerActions .btn { padding: 9px 14px; }
  .heroActions .btn { width: 100%; }
  .signupBox { padding: 26px 20px; }
}

/* Touch targets, same rule the app uses: keyed on the pointer, not the
   window width -- a small desktop window still has a mouse. */
@media (pointer: coarse) {
  .btn { min-height: 48px; }
  .navLinks a, #siteFooter a { padding: 6px 0; display: inline-block; }
}
