/* PokerOnCrypto landing. Typography-led, no decorative iconography.
 *
 * Mobile-first. Base styles target ~360px viewport. min-width media
 * queries (600px tablet, 900px desktop, 1200px wide) layer on the
 * larger type scale and multi-column variants.
 */

:root {
  --bg: #0a1f12;
  --bg-elev: #0e2a1a;
  --bg-elev-2: #143824;
  --fg: #ecf5ef;
  --fg-strong: #ffffff;
  --fg-muted: #94b3a4;
  --fg-faint: #5b7a6c;
  --accent: #4ade80;
  --accent-dim: #2f8a4f;
  --danger: #f87171;
  --hairline: rgba(236, 245, 239, 0.08);
  --hairline-strong: rgba(236, 245, 239, 0.16);
  --max-width: 1180px;
  --narrow-width: 720px;
  --tap-min: 44px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: #042312; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: var(--narrow-width);
}

/* Header ------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px 10px;
  background: rgba(10, 31, 18, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand:hover { text-decoration: none; color: var(--fg); }

.brand-mark {
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 16px;
  font-size: 13px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
  padding: 2px 4px;
}
.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  color: var(--fg-muted);
  white-space: nowrap;
  padding: 6px 4px;
  letter-spacing: 0;
}
.site-nav a:hover { color: var(--fg); text-decoration: none; }

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

.hero {
  position: relative;
  padding: 64px 20px 56px;
  text-align: left;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-weight: 700;
  color: var(--fg-strong);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--fg-muted);
  margin: 0 0 32px;
  max-width: 560px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  max-width: 520px;
}

.hero-secondary {
  font-size: 14px;
  color: var(--fg-muted);
  align-self: flex-start;
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline-strong);
  transition: color 0.15s, border-color 0.15s;
}
.hero-secondary:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.hero-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--fg-faint);
}

/* Hero figure (custom spade SVG) ----------------------------------------- */

.hero-figure {
  /* Hidden on small phones to keep the focus on type. Appears as an
   * atmospheric accent from tablet up. */
  display: none;
}

/* Waitlist forms (hero + cta) --------------------------------------------- */

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 520px;
}

.waitlist-form--cta { margin: 0 auto; }

.waitlist-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elev);
  color: var(--fg);
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  min-height: var(--tap-min);
  transition: border-color 0.15s, background 0.15s;
}
.waitlist-form input[type="email"]:focus {
  border-color: var(--accent);
  background: var(--bg-elev-2);
}

.waitlist-form button {
  width: 100%;
  min-height: var(--tap-min);
  padding: 14px 22px;
  background: var(--accent);
  color: #052b13;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: filter 0.12s;
}
.waitlist-form button:hover { filter: brightness(1.05); }
.waitlist-form button:active { filter: brightness(0.98); }
.waitlist-form button:disabled { opacity: 0.6; cursor: not-allowed; filter: none; }

.waitlist-form .form-message {
  width: 100%;
  margin: 6px 0 0;
  font-size: 13px;
  text-align: left;
}
.waitlist-form .form-message.success { color: var(--accent); }
.waitlist-form .form-message.error { color: var(--danger); }

/* Generic section ---------------------------------------------------------- */

.section {
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
}

.section--ops {
  background: var(--bg-elev);
}
.section--manifesto {
  background: var(--bg);
}
.section--rake {
  background: var(--bg);
}

.section-head {
  margin-bottom: 36px;
  max-width: 760px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 0 0 14px;
}
.section-eyebrow--accent { color: var(--accent); }

.section-title {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--fg-strong);
}

.section-lede {
  font-size: 16px;
  color: var(--fg-muted);
  margin: 0;
  max-width: 620px;
  line-height: 1.55;
}

/* Feature list (player USPs) ---------------------------------------------- */

.feat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.feat-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}

.feat-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 6px;
}

.feat-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg-strong);
}

.feat-body p {
  margin: 0;
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* How it works ------------------------------------------------------------- */

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.how-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 6px;
}

.how-steps h4 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
}

.how-steps p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Operators ---------------------------------------------------------------- */

.ops-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
  margin-bottom: 48px;
}

.ops-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}

.ops-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
}

.ops-item p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Operator inquiry CTA */
.ops-cta {
  border-top: 1px solid var(--hairline-strong);
  padding-top: 36px;
  margin-top: 8px;
}

.ops-cta-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg-strong);
}

.ops-cta-lede {
  margin: 0 0 24px;
  color: var(--fg-muted);
  font-size: 14px;
}

.operator-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.op-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.operator-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.operator-form input {
  background: var(--bg);
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  outline: none;
  min-height: var(--tap-min);
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.15s;
}
.operator-form input:focus {
  border-color: var(--accent);
}

.operator-form button {
  width: 100%;
  background: var(--accent);
  color: #052b13;
  border: none;
  border-radius: 10px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  min-height: var(--tap-min);
  margin-top: 4px;
  transition: filter 0.12s;
}
.operator-form button:hover { filter: brightness(1.05); }
.operator-form button:disabled { opacity: 0.6; cursor: not-allowed; }

.op-form-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--fg-faint);
  line-height: 1.5;
}

.operator-form .form-message {
  margin: 6px 0 0;
  font-size: 13px;
}
.operator-form .form-message.success { color: var(--accent); }
.operator-form .form-message.error { color: var(--danger); }

/* Pull quote (full-width breakout between sections) ---------------------- */

.pull-quote {
  padding: 72px 20px;
  border-top: 1px solid var(--hairline);
  background: var(--bg);
  text-align: left;
}

.pull-quote blockquote {
  margin: 0 auto;
  max-width: var(--max-width);
}

.pull-quote-text {
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--fg-strong);
  margin: 0;
  /* Pulled left, off the center axis */
  max-width: 12ch;
}

.pull-quote-attr {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  max-width: 36ch;
}

/* Manifesto: asymmetric editorial layout --------------------------------- */

.section--manifesto {
  padding: 72px 0;
  background: var(--bg);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.manifesto-side {
  /* On mobile: marker + title stacked, full width */
}

.manifesto-marker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin: 0 0 16px;
  padding-left: 4px;
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 10px;
  display: inline-block;
}

.manifesto-title {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0;
  color: var(--fg-strong);
}

.manifesto-body p {
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.manifesto-body p:last-child { margin-bottom: 0; }

.manifesto-body strong {
  color: var(--fg-strong);
  font-weight: 600;
}

/* Rake --------------------------------------------------------------------- */

.section--rake .container { max-width: 980px; }

.rake-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
}

.rake-card {
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}
.rake-grid > .rake-card:last-child { border-bottom: none; }

.rake-card--ours { }

.rake-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 0 0 12px;
}
.rake-card--ours .rake-label { color: var(--accent); }

.rake-headline {
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.rake-pct {
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

.rake-detail {
  font-size: 13px;
  color: var(--fg-muted);
}

.rake-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.65;
}
.rake-card li { margin-bottom: 6px; }
.rake-card li strong { color: var(--fg-strong); font-weight: 600; }

.rake-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px 12px;
}

.rake-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: var(--fg-muted);
}

.rake-table th,
.rake-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--hairline);
  white-space: nowrap;
}

.rake-table th {
  color: var(--fg-strong);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.rake-table tbody tr:last-child td { border-bottom: none; }

.rake-cite {
  margin: 0;
  font-size: 11px;
  color: var(--fg-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.rake-honest {
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--hairline-strong);
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.rake-honest strong { color: var(--fg-strong); font-weight: 600; }

/* CTA --------------------------------------------------------------------- */

.section--cta {
  padding: 72px 0 84px;
  text-align: center;
}

.cta-title {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--fg-strong);
}

.cta-small {
  margin-top: 14px;
  font-size: 12px;
  color: var(--fg-faint);
  line-height: 1.5;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

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

.site-footer {
  padding: 28px 16px 36px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--fg-faint);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.footer-brand { margin: 0; }
.footer-brand .brand-mark { font-size: 14px; margin-right: 4px; }

.footer-links { margin: 0; }
.footer-links a { color: var(--fg-muted); }
.footer-links a:hover { color: var(--accent); }
.footer-links .dot { margin: 0 8px; opacity: 0.5; }

/* ========================================================================
 * Tablet (>= 600px)
 * ====================================================================== */

@media (min-width: 600px) {
  .container { padding: 0 28px; }

  .site-header {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 32px;
    gap: 24px;
  }

  .site-nav { gap: 22px; font-size: 14px; overflow-x: visible; }

  /* Hero scaled. Add right-padding to make room for the spade figure
   * and let the .hero be a positioning context for it. */
  .hero {
    padding: 92px 28px 72px;
    position: relative;
  }
  .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 580px;
    margin-left: 0;
  }
  .hero h1 { font-size: 56px; letter-spacing: -0.04em; }
  .hero-subtitle { font-size: 18px; margin-bottom: 36px; }

  /* Spade figure: anchored to the .hero-stage (capped at --max-width)
   * so as the viewport widens the spade does NOT slide to the right
   * edge of the screen. It stays inside the composition next to the
   * text. */
  .hero-figure {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 240px;
    height: 300px;
    z-index: 1;
    pointer-events: none;
  }
  .hero-figure svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  /* Hero form back to row */
  .waitlist-form {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .waitlist-form input[type="email"] {
    flex: 1 1 260px;
    min-width: 220px;
    width: auto;
  }
  .waitlist-form button {
    width: auto;
    flex: 0 0 auto;
    padding: 14px 24px;
  }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .section-title { font-size: 36px; }
  .section-lede { font-size: 17px; }

  /* Feature + step lists: more breathing room */
  .feat-list li,
  .how-steps li {
    grid-template-columns: 72px 1fr;
    gap: 24px;
    padding: 30px 0;
  }
  .feat-num, .step-num { padding-top: 8px; font-size: 13px; }
  .feat-body h3 { font-size: 20px; }
  .feat-body p { font-size: 16px; }
  .how-steps h4 { font-size: 18px; }

  /* Ops list: 2 columns */
  .ops-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .ops-item { padding: 26px 0; }
  .ops-item h3 { font-size: 18px; }

  .ops-cta-title { font-size: 24px; }

  /* Operator form rows */
  .op-form-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .operator-form button {
    width: auto;
    align-self: flex-start;
    padding: 14px 28px;
  }

  /* Pull quote scaled */
  .pull-quote { padding: 96px 28px; }
  .pull-quote-text { font-size: 64px; max-width: 14ch; }
  .pull-quote-attr { margin-top: 24px; font-size: 13px; }

  /* Asymmetric manifesto: marker + title on the left, body on the right */
  .manifesto-grid {
    grid-template-columns: 5fr 7fr;
    column-gap: 40px;
    row-gap: 32px;
  }
  .manifesto-title { font-size: 42px; }
  .manifesto-body p { font-size: 17px; }

  /* Rake side-by-side */
  .rake-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    column-gap: 48px;
  }
  .rake-card { padding: 0 0 8px; border-bottom: none; }
  .rake-grid > .rake-card { border-bottom: none; }
  .rake-pct { font-size: 64px; }

  .cta-title { font-size: 32px; }

  .site-footer { padding: 36px 28px; }
  .site-footer .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ========================================================================
 * Desktop (>= 900px)
 * ====================================================================== */

@media (min-width: 900px) {
  .container { padding: 0 32px; }

  .hero { padding: 120px 32px 96px; }
  .hero-eyebrow { margin-bottom: 22px; }
  .hero-inner { max-width: 680px; }
  .hero h1 { font-size: 76px; line-height: 0.98; }
  .hero-subtitle { font-size: 19px; margin-bottom: 40px; }

  /* Spade figure larger but still anchored to the .hero-stage right
   * edge, not the viewport. Tucked slightly inset (right: 24px) so it
   * sits inside the container with a comfortable margin. */
  .hero-figure {
    width: 320px;
    height: 400px;
    right: 24px;
    /* Push slightly higher than vertical center so the stem aligns with
     * the baseline of the headline */
    top: 46%;
  }

  .section { padding: 100px 0; }
  .section-head { margin-bottom: 56px; }
  .section-title { font-size: 44px; }

  .feat-list li,
  .how-steps li {
    grid-template-columns: 88px 1fr;
    gap: 32px;
    padding: 36px 0;
  }
  .feat-body h3 { font-size: 22px; }
  .how-steps h4 { font-size: 20px; }

  .ops-list { column-gap: 56px; }
  .ops-item { padding: 30px 0; }
  .ops-item h3 { font-size: 19px; }

  .pull-quote { padding: 120px 32px; }
  .pull-quote-text { font-size: 88px; max-width: 13ch; }
  .pull-quote-attr { font-size: 13px; }

  .manifesto-grid {
    grid-template-columns: 5fr 7fr;
    column-gap: 64px;
  }
  .manifesto-title { font-size: 56px; }
  .manifesto-body p { font-size: 18px; }

  .rake-pct { font-size: 76px; }

  .cta-title { font-size: 40px; }
}

/* ========================================================================
 * Wide (>= 1200px)
 * ====================================================================== */

@media (min-width: 1200px) {
  .hero h1 { font-size: 88px; }
  /* On very wide screens the stage maxes out at 1180px. Spade can grow
   * a bit and sit closer to the right edge of the stage, still inside
   * the composition. */
  .hero-figure {
    width: 380px;
    height: 460px;
    right: 32px;
  }
  .pull-quote-text { font-size: 104px; }
  .manifesto-title { font-size: 64px; }
}

/* Reduced motion -------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}
