/* ------------------------------------------------------------------
   norm1e69 — the Polymarket BTC 5-minute page
   Loaded after norm1e69.css. The page is built from the landing's own
   parts (nav, tags, buttons, facts, steps, proofs, checks, FAQ, forest
   CTA, footer); this file adds the centred hero, the fee rows and the
   card with the window that is trading now.
------------------------------------------------------------------ */

/* ---------- hero ---------- */

.page-hero {
  padding: clamp(124px, 14vw, 184px) 0 0;
  text-align: center;
}
.page-hero .display {
  margin: 28px auto 0;
  max-width: 12em;
  font-size: clamp(2.45rem, 6.6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.058em;
}
.page-hero .lead {
  margin: 28px auto 0;
  max-width: 58ch;
}
.page-hero .facts {
  text-align: left;
}
.page-hero .note {
  text-align: left;
}

/* ---------- the market ---------- */

/* Below the four steps: what a trade costs, and the window trading now. */
.market-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(48px, 6vw, 88px);
}

.fees {
  padding: clamp(24px, 3.4vw, 44px);
}
.fees h3,
.now h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.fees-head p,
.now-sub {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.fee-rows {
  margin-top: 28px;
}
.fee-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.fee-row:last-child {
  border-bottom: 1px solid var(--line);
}
.fee-row > span:first-child {
  color: var(--ink-2);
}
.fee-row b {
  font-weight: 500;
  text-align: right;
}
.fee-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--tile);
  overflow: hidden;
}
.fee-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: var(--forest);
}
.fee-row.peak .fee-bar i {
  background: var(--emerald);
}
.fees-foot {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.fees-foot a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
}

/* The window trading now, counted from the clock: Polymarket opens one
   every five minutes on the minute. */
.now {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 44px);
  border: 0;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(42, 150, 104, 0.4), transparent 70%),
    var(--forest);
  color: var(--on-dark);
}
.now .tag {
  align-self: flex-start;
  border-color: var(--on-dark-line);
  color: var(--on-dark-2);
}
.now .tag::before {
  background: var(--lime);
}
.now h3 {
  margin-top: 28px;
}
.now-sub {
  color: var(--on-dark-2);
}
.now-clock {
  margin-top: auto;
  padding-top: 36px;
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-variant-numeric: tabular-nums;
}
.now-clock small {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--on-dark-2);
}
.now-bar {
  height: 6px;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--on-dark-line);
  overflow: hidden;
}
.now-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
}
.now .link {
  align-self: flex-start;
  margin-top: 24px;
  color: var(--on-dark);
  border-color: var(--on-dark-line);
}

/* ---------- the bot ---------- */

.bot-net {
  margin: clamp(40px, 5vw, 64px) 0 0;
  max-width: 62ch;
  font-size: clamp(1.06rem, 1.45vw, 1.2rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  text-wrap: pretty;
}
.bot-net b {
  font-weight: 500;
  color: var(--ink);
}
.bot-net a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
}

/* ---------- what you get ---------- */

/* The config line that keeps the bot to Bitcoin, on a light tile. */
.get .shot {
  box-shadow: 0 30px 60px -32px rgba(14, 21, 17, 0.45);
}
.get .term {
  white-space: pre-wrap;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .market-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  /* The landing keeps room for its sticky buy bar; this page has none. */
  body {
    padding-bottom: 0;
  }
}

@media (max-width: 560px) {
  /* Two even columns on a phone. The profit is the widest figure on the
     page, so the figures shrink with the screen instead of squeezing the
     column next to them. */
  .page-hero .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-hero .fact .num {
    font-size: min(2.4rem, 8.6vw);
  }
}
