/* ── Idea Board page ──────────────────────────────────────────────────
     Reuses the light/warm site theme and the supply-stories page format
     (statement hero band, raised cards, quiet prose), scoped to .ideas-page.
     The board itself is the single loud conversion region: a dark card that
     wraps the live Nolt widget. Cobalt is the only accent. ------------- */
  .ideas-page { font-family: var(--font-body); }

  /* Hero statement band */
  .ideas-page .idea-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-2xl);
    background: var(--color-bg-raised, #fbf5f3);
    border: 1px solid var(--color-border, #efe2dd);
    padding: var(--space-3xl) var(--space-2xl);
  }
  .ideas-page .idea-hero__content { position: relative; z-index: 2; max-width: 680px; }
  .ideas-page .idea-hero__eyebrow {
    font-family: var(--font-mono, monospace);
    font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--color-accent, #0e1fc1);
    margin: 0 0 var(--space-sm);
  }
  .ideas-page .idea-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.08;
    letter-spacing: -0.02em; color: var(--color-text-bright); margin: 0 0 var(--space-md);
    text-wrap: balance;
  }
  .ideas-page .idea-hero__title em { font-style: normal; color: var(--color-accent, #0e1fc1); }
  .ideas-page .idea-hero__sub {
    font-size: var(--text-md); color: var(--color-text-body);
    line-height: 1.6; margin: 0; max-width: 560px;
  }

  /* Hero two-column: callout + clickable board snapshot */
  .ideas-page .idea-hero__grid {
    display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); align-items: center;
  }
  @media (min-width: 880px) {
    .ideas-page .idea-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); }
  }
  .ideas-page .hero-board {
    display: block; text-decoration: none; color: inherit; background: #ffffff;
    border: 1px solid var(--color-border, #efe2dd); border-radius: 14px; overflow: hidden;
    box-shadow: var(--shadow-control);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }
  .ideas-page .hero-board:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
  .ideas-page .hero-board:focus-visible { outline: 2px solid var(--color-accent, #0e1fc1); outline-offset: 3px; }
  /* Real board screenshot (Exploring + Target dates + Completed), shown in full */
  .ideas-page .hero-board__shot { position: relative; display: block; background: #1b2336; }
  .ideas-page .hero-board__img { display: block; width: 100%; height: auto; }
  .ideas-page .hero-board__cta {
    display: block; padding: 12px 16px; background: #f3ece9; border-top: 1px solid var(--color-border, #efe2dd);
    font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--color-accent, #0e1fc1);
  }

  /* Prose story blocks */
  .ideas-page .idea-section { margin-bottom: var(--space-3xl); }
  .ideas-page .idea-section-eyebrow {
    font-family: var(--font-mono, monospace); font-size: var(--text-xs); font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent, #0e1fc1);
    margin: 0 0 var(--space-sm);
  }
  .ideas-page .idea-section-heading {
    font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700;
    color: var(--color-text-bright); line-height: 1.2; margin: 0 0 var(--space-md); text-wrap: balance;
  }
  .ideas-page .idea-prose { max-width: 68ch; }
  .ideas-page .idea-prose p { color: var(--color-text-body); line-height: 1.75; margin: 0 0 var(--space-md); }
  .ideas-page .idea-prose p:last-child { margin-bottom: 0; }

  /* Supporting figures: a row of stat tiles */
  .ideas-page .idea-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg);
    margin-top: var(--space-xl);
  }
  .ideas-page .idea-stat {
    background: var(--color-bg-raised, #fbf5f3); border: 1px solid var(--color-border, #efe2dd);
    border-radius: var(--radius-lg); padding: var(--space-xl);
  }
  .ideas-page .idea-stat__num {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800;
    letter-spacing: -0.02em; line-height: 1; color: var(--color-accent, #0e1fc1); margin: 0;
  }
  .ideas-page .idea-stat__label {
    color: var(--color-text-body); line-height: 1.5; font-size: var(--text-sm);
    margin: var(--space-sm) 0 0;
  }
  .ideas-page .idea-stats-note {
    font-family: var(--font-mono, monospace); font-size: var(--text-xs);
    color: var(--color-text-muted); margin: var(--space-md) 0 0;
  }
  @media (max-width: 767px) { .ideas-page .idea-stats { grid-template-columns: 1fr; } }

  /* Lead-in sentence sitting above the Submit → Vote → Track visual */
  .ideas-page .idea-flow-lead {
    font-family: var(--font-body); font-size: var(--text-base); font-weight: 400;
    color: var(--color-text-body); line-height: 1.55; margin: 0 0 var(--space-lg); max-width: 60ch;
  }

  /* How it works: three numbered steps */
  .ideas-page .idea-steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg);
    margin-top: var(--space-xl);
  }
  .ideas-page .idea-step {
    background: var(--color-bg-raised, #fbf5f3); border: 1px solid var(--color-border, #efe2dd);
    border-radius: var(--radius-lg); padding: var(--space-xl);
  }
  .ideas-page .idea-step__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 999px;
    background: var(--color-accent, #0e1fc1); color: #fff;
    font-family: var(--font-mono, monospace); font-size: var(--text-sm); font-weight: 700;
    margin: 0 0 var(--space-md);
  }
  .ideas-page .idea-step__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-text-bright); margin: 0 0 var(--space-xs); }
  .ideas-page .idea-step__body { color: var(--color-text-body); line-height: 1.6; font-size: var(--text-sm); margin: 0; }
  @media (max-width: 767px) { .ideas-page .idea-steps { grid-template-columns: 1fr; } }

  /* Status track: Submit-idea entry point + the Nolt board's roadmap statuses.
     Each chip carries its status color on a --c var, so a color is a one-line edit. */
  .ideas-page .idea-track {
    margin-top: var(--space-xl);
    background: var(--color-bg-raised, #fbf5f3); border: 1px solid var(--color-border, #efe2dd);
    border-radius: var(--radius-lg); padding: var(--space-lg) var(--space-xl);
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md);
  }
  .ideas-page .idea-track__submit {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    background: var(--color-accent, #0e1fc1); color: #fff; text-decoration: none;
    font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700;
    padding: 10px 18px; border-radius: 10px; transition: filter 0.15s ease;
  }
  .ideas-page .idea-track__submit:hover { filter: brightness(1.08); }
  .ideas-page .idea-track__arrow { color: var(--color-text-muted); font-size: var(--text-lg); line-height: 1; }
  .ideas-page .idea-track__chip {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    padding: 8px 14px; border-radius: 999px;
    font-family: var(--font-mono, monospace); font-size: var(--text-xs); font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--c); background: var(--c-bg); border: 1px solid var(--c-bd);
  }
  .ideas-page .idea-track__chip .idea-track__dot {
    width: 9px; height: 9px; border-radius: 999px; background: var(--c); flex: none;
  }
  @media (max-width: 639px) {
    .ideas-page .idea-track { gap: var(--space-sm); padding: var(--space-lg); }
    .ideas-page .idea-track__arrow { display: none; }
  }

  /* Submit → Vote → Track: connected icon stepper (round icon nodes joined by a
     line, label + short copy beneath each). Collapses to a stack on mobile. */
  .ideas-page .idea-flow {
    margin-top: var(--space-xl);
    background: var(--color-bg-raised, #fbf5f3); border: 1px solid var(--color-border, #efe2dd);
    border-radius: var(--radius-lg); padding: var(--space-2xl) var(--space-xl);
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg);
  }
  .ideas-page .idea-flow__step {
    position: relative; display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: var(--space-xs);
  }
  /* connector line running from this node toward the next */
  .ideas-page .idea-flow__step:not(:last-child)::after {
    content: ""; position: absolute; top: 32px; z-index: 0; height: 2px;
    left: calc(50% + 40px); right: calc(-50% + 40px);
    background: var(--color-accent, #0e1fc1); opacity: 0.3;
  }
  .ideas-page .idea-flow__node {
    position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 999px;
    background: var(--color-cobalt-50); color: var(--color-accent);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-sm); flex: none;
  }
  .ideas-page .idea-flow__node svg { width: 28px; height: 28px; display: block; }
  .ideas-page .idea-flow__label { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-text-bright); margin: 0; }
  .ideas-page .idea-flow__desc { color: var(--color-text-body); font-size: var(--text-sm); line-height: 1.55; margin: 0; max-width: 30ch; }
  .ideas-page .idea-flow__step .idea-ui-btn { margin-top: var(--space-sm); }
  @media (max-width: 767px) {
    .ideas-page .idea-flow { grid-template-columns: 1fr; gap: var(--space-xl); padding: var(--space-xl); }
    .ideas-page .idea-flow__step:not(:last-child)::after { display: none; }
  }

  /* Mock Nolt UI stickers — faithful previews of the real controls a store owner
     clicks on the live board below. */
  .ideas-page .idea-ui-btn {
    display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
    background: var(--color-accent, #0e1fc1); color: #fff;
    font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700;
    padding: 9px 16px; border-radius: 9px; box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  }
  .ideas-page .idea-ui-upvote__arrow { font-size: 0.8em; }
  .ideas-page .idea-ui-upvote__count {
    margin-left: 4px; padding-left: 9px; border-left: 1px solid rgba(255,255,255,0.35);
    font-variant-numeric: tabular-nums;
  }
  /* Status stickers above the track, styled like the dark Nolt board chips */
  .ideas-page .idea-ui-statuses {
    display: flex; flex-wrap: wrap; gap: var(--space-sm);
    margin-top: var(--space-xl); margin-bottom: calc(-1 * var(--space-sm));
  }
  .ideas-page .idea-ui-status {
    display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
    background: #15202e; color: #e7edf5; border: 1px solid #243344;
    font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500;
    padding: 7px 15px; border-radius: 999px;
  }
  .ideas-page .idea-ui-status__dot {
    width: 11px; height: 11px; border-radius: 999px; flex: none;
    border: 2px solid var(--ring); background: transparent;
  }

  /* Ideas come to life: quote cards */
  .ideas-page .idea-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); margin-top: var(--space-xl); }
  .ideas-page .idea-quote {
    background: var(--color-bg-raised, #fbf5f3); border: 1px solid var(--color-border, #efe2dd);
    border-radius: var(--radius-lg); padding: var(--space-xl); display: flex; flex-direction: column;
  }
  .ideas-page .idea-quote__mark { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--color-accent, #0e1fc1); margin: 0 0 var(--space-xs); }
  .ideas-page .idea-quote__text { font-family: var(--font-display); font-weight: 600; color: var(--color-text-bright); font-size: var(--text-md); line-height: 1.55; margin: 0 0 var(--space-md); }
  .ideas-page .idea-quote__by { margin-top: auto; }
  .ideas-page .idea-quote__name { display: block; font-weight: 600; font-size: 15px; color: var(--color-text-bright); }
  .ideas-page .idea-quote__co { display: block; font-family: var(--font-mono, monospace); font-size: 12px; color: var(--color-text-muted); }
  @media (max-width: 767px) { .ideas-page .idea-quotes { grid-template-columns: 1fr; } }

  /* "You are the expert" — quiet raised band, NOT a competing CTA */
  .ideas-page .idea-expert {
    background: var(--color-bg-raised, #fbf5f3); border: 1px solid var(--color-border, #efe2dd);
    border-radius: var(--radius-lg); padding: var(--space-2xl); margin-bottom: var(--space-3xl);
  }
  .ideas-page .idea-expert__heading { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; color: var(--color-text-bright); margin: 0 0 var(--space-sm); text-wrap: balance; }
  .ideas-page .idea-expert__body { color: var(--color-text-body); line-height: 1.7; margin: 0; max-width: 64ch; }

  /* Reinforcing CTA centered under the Submit → Vote → Track flow. */
  .ideas-page .idea-flow-cta { text-align: center; margin-top: var(--space-xl); }

  /* Hero CTA: the single primary action for the page (open the live board). */
  .ideas-page .idea-cta {
    display: inline-flex; align-items: center; gap: 9px; margin-top: var(--space-lg);
    background: var(--color-accent, #0e1fc1); color: #fff; text-decoration: none;
    font-family: var(--font-body); font-size: var(--text-md); font-weight: 700;
    padding: 13px 24px; border-radius: var(--radius-md);
    transition: filter 0.15s ease, transform 0.15s ease;
  }
  .ideas-page .idea-cta:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
  .ideas-page .idea-cta:focus-visible { outline: 2px solid var(--color-accent, #0e1fc1); outline-offset: 3px; }
  .ideas-page .idea-cta svg { width: 18px; height: 18px; }
