/* ideas.css: "Steal these ideas" pages. Sits on top of home.css and uses its tokens. */

/* nav: the homepage sets this padding from JS */
.ideas-nav .nav-inner { padding: 11px clamp(14px, 7vw, 132px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
@media (max-width: 700px) { .ideas-nav .nav-inner { padding: 15px clamp(14px, 3.5vw, 22px); } }
.ideas-nav .nav-bg { opacity: 1; }
.ideas-nav .nav-link[aria-current="page"] { color: var(--c-primary-solid); }
.menu-panel[hidden] { display: none; }

.idea { max-width: 1180px; margin: 0 auto; padding: clamp(96px, 11vw, 140px) 0 clamp(40px, 5vw, 72px); }
.crumbs { margin: 0 0 18px; font-family: var(--f-body); font-size: 14px; color: var(--mute-72); }
.crumbs a { color: inherit; }
.idea-hero { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.idea-hero .eyebrow { margin: 0; }
.idea-hero .h-lg { margin: 0; }
.idea-intro p { font-family: var(--f-body); font-size: 18px; line-height: 1.6; color: var(--mute-78); max-width: 62ch; margin: 0 0 12px; }
.idea-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

/* demo slot: laid out at 1100 x 660 and scaled to fit (ideas.js sets --demo-scale) */
.idea-demo { margin: clamp(36px, 5vw, 64px) 0; }
.idea-demo-frame { position: relative; width: 100%; aspect-ratio: 1100 / 660; overflow: hidden; border: 2px solid var(--c-line); border-radius: 7px; background: var(--c-bg); box-shadow: 6px 6px 0 var(--c-line); }
.idea-demo-frame iframe { position: absolute; top: 0; left: 0; width: 1100px; height: 660px; border: 0; transform: scale(var(--demo-scale, 1)); transform-origin: 0 0; }
.idea-demo-note { margin: 14px 0 0; font-family: var(--f-body); font-size: 13px; color: var(--mute-72); }

/* long-form copy from Markdown */
.idea-body .notes-col { max-width: 860px; }
.prose { font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--mute-84); }
.prose p { margin: 0 0 14px; max-width: 68ch; }
.prose strong { color: var(--c-ink); }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; max-width: 68ch; }
.prose blockquote { margin: 8px 0 0; padding: 16px 20px; border: 2px solid var(--c-line); border-radius: 4px; background: color-mix(in srgb, var(--c-accent) 22%, var(--c-bg)); }
.prose blockquote p:last-child { margin: 0; }
.prose-steps ol { list-style: none; padding: 0; counter-reset: step; gap: 18px; }
.prose-steps li { counter-increment: step; position: relative; padding-left: 44px; }
.prose-steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--c-line); border-radius: 4px; background: var(--c-primary); color: #fff; font-weight: 700; font-size: 14px; }
.table-wrap { overflow-x: auto; }
.table-wrap .compare-table th { font-weight: 600; }

/* try it (mock) */
.try-q { display: flex; flex-direction: column; gap: 12px; padding: 18px 0; border-top: 1.5px solid var(--rule); }
.try-q h3 { margin: 0; font-family: var(--f-body); font-size: 17px; font-weight: 600; line-height: 1.35; }
.try-scale { display: flex; flex-wrap: wrap; gap: 8px; }
.try-scale button { min-width: 44px; min-height: 44px; padding: 0 12px; border: 2px solid var(--c-line); border-radius: 4px; background: #fff; font: 600 15px var(--f-body); cursor: pointer; }
.try-scale button:hover { background: color-mix(in srgb, var(--c-primary) 14%, #fff); }
.try-scale button[aria-pressed="true"] { background: var(--c-primary-solid); color: #fff; }
.try-shift { margin: 0; padding: 16px 20px; border: 2px dashed var(--c-line); border-radius: 4px; font-family: var(--f-body); font-size: 15px; }

/* steal block */
.steal { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: clamp(26px, 3.4vw, 52px); padding: clamp(24px, 3vw, 40px); border: 2px solid var(--c-line); border-radius: 7px; background: color-mix(in srgb, var(--c-cta) 16%, var(--c-bg)); }
.steal .h-sm, .steal .body, .steal .closer-small { margin: 0; }
.steal .body { max-width: 60ch; }

/* cards (hub and related) */
.idea-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 18px; }
.idea-card { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 18px; border: 2px solid var(--c-line); border-radius: 7px; background: #fff; color: var(--c-ink); text-decoration: none; box-shadow: 4px 4px 0 var(--c-line); transition: transform .15s; }
.idea-card:hover { color: var(--c-ink); transform: translate(-2px, -2px); }
.idea-card h3 { margin: 6px 0 0; font-family: 'Poppins', sans-serif; font-size: 20px; line-height: 1.2; }
.idea-card p { margin: 0; font-family: var(--f-body); font-size: 14px; line-height: 1.45; color: var(--mute-78); }
.idea-thumb { aspect-ratio: 16 / 9; display: grid; place-items: end start; padding: 10px; border: 2px solid var(--c-line); border-radius: 4px;
  background: linear-gradient(135deg, var(--c-shape-1) 0 33%, var(--c-shape-3) 33% 66%, var(--c-shape-2) 66%); }
.idea-thumb span { padding: 3px 8px; background: var(--c-bg); border: 2px solid var(--c-line); font: 600 11px var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.hub-group { margin-top: clamp(40px, 5vw, 72px); }
.hub-group .h-sm, .hub-group .body { margin: 0 0 6px; }

@media (max-width: 700px) {
  .idea-demo-frame { box-shadow: 3px 3px 0 var(--c-line); }
  .idea-ctas .big-btn { width: 100%; justify-content: center; }
}

/* Daily Drops: the featured drop, the filterable feed and the per-drop page */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.drop-feature, .drop-hero { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(22px, 4vw, 56px); align-items: center; }
.drop-feature { margin-top: clamp(32px, 4vw, 56px); padding: clamp(18px, 2.4vw, 32px); border: 2px solid var(--c-line); border-radius: 7px; background: color-mix(in srgb, var(--c-accent) 18%, var(--c-bg)); box-shadow: 6px 6px 0 var(--c-line); }
.drop-feature .h-lg, .drop-hero .h-lg { margin: 0; }
.drop-copy { display: flex; flex-direction: column; gap: 14px; }
.drop-copy .eyebrow, .drop-copy .closer-small { margin: 0; }
.drop-lead { margin: 0; font-family: var(--f-body); font-size: 18px; line-height: 1.55; color: var(--mute-78); max-width: 52ch; }
.drop-video { aspect-ratio: 9 / 16; max-height: 78vh; border: 2px solid var(--c-line); border-radius: 7px; overflow: hidden; background: #000; }
.drop-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.drop-tools { display: flex; flex-direction: column; gap: 12px; margin: 14px 0 4px; }
.drop-search input { width: 100%; max-width: 460px; min-height: 46px; padding: 0 14px; border: 2px solid var(--c-line); border-radius: 4px; background: #fff; font: 15px var(--f-body); }
.drop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.drop-chips button { min-height: 38px; padding: 0 14px; border: 2px solid var(--c-line); border-radius: 999px; background: #fff; font: 600 14px var(--f-body); cursor: pointer; }
.drop-chips button[aria-pressed="true"] { background: var(--c-primary-solid); color: #fff; }
.drop-thumb { position: relative; border: 2px solid var(--c-line); border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 9; }
.drop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drop-play { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--c-line); border-radius: 50%; background: var(--c-cta); font-size: 13px; }
.drop-meta { font-size: 12px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-72) !important; margin-top: 4px !important; }
.drop-card[hidden], .drop-feature[hidden] { display: none; }
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: var(--c-primary-solid); text-decoration: underline; cursor: pointer; }
.drop .crumbs { margin-bottom: 22px; }

@media (max-width: 700px) {
  .idea { padding-left: 16px; padding-right: 16px; }
  .drop-feature, .drop-hero { grid-template-columns: 1fr; }
  .drop-video { max-width: 320px; width: 100%; margin: 0 auto; }
  .drop-feature { box-shadow: 3px 3px 0 var(--c-line); }
}
