/* FindToWatch — dark, cinematic, "movie night" */
:root {
  --bg: #0e1014;
  --surface: #181b22;
  --surface-2: #20242e;
  --ink: #e7e9ee;
  --ink-soft: #9aa1ad;
  --gold: #f5b301;
  --gold-deep: #d99a00;
  --coral: #fb5d5d;
  --line: #2a2f3a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.45);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --disp: "Sora", var(--sans);
  --radius: 14px;
  --maxw: 1000px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3 { font-family: var(--disp); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin: 0 0 .3em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 1.6em 0 .5em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 1.8rem); }
.narrow { max-width: 760px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(14,16,20,.85); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .5rem; font-family: var(--disp); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 32px; height: 32px; border-radius: 9px; background: var(--gold); color: #1a1300; display: grid; place-items: center; font-size: 1rem; }
.nav { display: flex; gap: 1.2rem; font-size: .94rem; font-weight: 600; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); }
.nav a:hover { color: var(--gold); }

.hero { padding: clamp(2.6rem, 7vw, 4.6rem) 0 1rem; text-align: center; }
.hero p.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 620px; margin: .5em auto 1.5em; }
.btn { display: inline-block; font-family: var(--disp); font-weight: 700; font-size: 1rem; padding: .7rem 1.3rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer; }
.btn:hover { border-color: var(--gold); text-decoration: none; }
.btn-primary { background: var(--gold); color: #1a1300; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-deep); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 1.1rem; margin: 1.4rem 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); display: block; transition: transform .14s ease, border-color .14s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--gold); text-decoration: none; }
.card .cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }
.card h3 { margin: .3rem 0; color: var(--ink); font-family: var(--disp); }
.card p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.tool-cta { background: linear-gradient(135deg,#211d12,#1a1d26); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; margin: 1.5rem 0; }

.crumb { font-size: .85rem; color: var(--ink-soft); padding-top: 1.3rem; }
.crumb a { color: var(--ink-soft); }
.tool-head { text-align: center; padding: 1rem 0 .3rem; }
.tool-head .emoji { font-size: 2.6rem; }
.tool-head p.lede { color: var(--ink-soft); font-size: 1.1rem; }
.picker, .tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin: 1.2rem 0; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1rem; }
.fields label { display: flex; flex-direction: column; font-size: .85rem; font-weight: 600; color: var(--ink-soft); gap: .3rem; }
.fields select, .fields input { font-family: var(--sans); font-size: 1rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); color: var(--ink); }
#pk-go { width: 100%; margin-top: 1.1rem; }

.pk-card { text-align: center; padding: 1.2rem 0 .2rem; }
.pk-kind { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 700; }
.pk-title { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: .2rem 0 .4rem; }
.pk-why { color: var(--ink-soft); max-width: 520px; margin: 0 auto 1rem; }
.pk-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }

/* ROI */
.roi-head, .roi-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr .9fr auto; gap: .6rem; align-items: center; }
.roi-head { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); font-weight: 700; padding: 0 .2rem .4rem; }
.roi-row { margin-bottom: .5rem; }
.roi-row input { font-family: var(--sans); font-size: .95rem; padding: .45rem .55rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--ink); width: 100%; }
.roi-cph { font-family: var(--disp); font-weight: 700; color: var(--gold); text-align: center; }
.roi-del { background: none; border: none; color: var(--ink-soft); font-size: 1.3rem; cursor: pointer; line-height: 1; }
#roi-add { margin: .5rem 0 1rem; }
.roi-summary { display: flex; gap: 1rem; flex-wrap: wrap; }
.res { flex: 1; min-width: 150px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: .9rem; text-align: center; }
.res span { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); font-weight: 700; }
.res strong { font-size: 1.5rem; color: var(--gold); font-family: var(--disp); }
.roi-verdict { margin-top: 1rem; text-align: center; font-weight: 600; padding: .8rem; border-radius: 10px; }
.roi-verdict.bad { background: rgba(251,93,93,.12); color: #ff9b9b; }
.roi-verdict.ok { background: rgba(245,179,1,.1); color: var(--gold); }
.assumptions { font-size: .82rem; color: var(--ink-soft); margin-top: .8rem; }

/* list page */
.titlelist { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .8rem; }
.titlelist li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.titlelist .tl-top { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.titlelist h3 { margin: 0; font-size: 1.15rem; }
.titlelist .yr { color: var(--ink-soft); font-size: .85rem; white-space: nowrap; }
.titlelist p { margin: .3rem 0 .5rem; color: var(--ink-soft); font-size: .95rem; }
.titlelist a.where { font-size: .85rem; font-weight: 600; }
.prose { padding: 1rem 0 2rem; }
.disclaimer { font-size: .82rem; color: var(--ink-soft); border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; }
.ad-slot { margin: 2rem auto; max-width: 760px; min-height: 90px; display: grid; place-items: center; background: repeating-linear-gradient(135deg,#171a21,#171a21 12px,#1c2029 12px,#1c2029 24px); border: 1px dashed #313845; border-radius: 12px; color: #5c6573; font-size: .8rem; }

.site-footer { margin-top: 3.5rem; background: #0a0c0f; color: #9aa1ad; border-top: 1px solid var(--line); }
.site-footer .wrap { padding: 2.4rem 0 2rem; display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.site-footer a { color: var(--gold); }
.site-footer .brand { color: #fff; }
.site-footer h4 { text-transform: uppercase; letter-spacing: .07em; font-size: .72rem; color: #6b7280; margin: 0 0 .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; line-height: 1.9; font-size: .92rem; }
.copyright { width: 100%; border-top: 1px solid var(--line); padding-top: 1rem; font-size: .82rem; color: #5c6573; }
@media (max-width: 600px) { .roi-head { display: none; } .roi-row { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; } .roi-row .roi-cph { grid-column: 1 / -1; text-align: left; } }

/* ---- Trending this week ---- */
.trend-note { color: var(--ink-soft); font-size: .92rem; max-width: 62ch; margin: -.2rem 0 1rem; }
.card.trend h3 { margin: .3rem 0 .4rem; }
.card.trend p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* ---- Sharing (dark theme — findtowatch is a dark site; do not copy the light values
   from buydesmoines wholesale, the overlay and card need the dark surfaces) ---- */
.sharerow { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin: 1.3rem 0; }
.sharebtn {
  font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1.1rem; border-radius: 999px;
  background: var(--gold); color: #14161b; border: 1px solid var(--gold);
  transition: background .15s ease, transform .12s ease;
}
.sharebtn:hover { background: var(--gold-deep); }
.sharebtn:active { transform: translateY(1px); }
.sharebtn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sharehint { font-size: .86rem; color: var(--ink-soft); flex: 1 1 240px; min-width: 0; }

.bd-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--line);
  padding: .7rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  z-index: 60; max-width: 90vw; text-align: center;
}
.bd-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.bd-share-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.66);
  display: grid; place-items: center; z-index: 50; padding: 1rem;
}
.bd-share-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow);
  padding: 1.5rem; width: min(400px, 94vw); text-align: center; color: var(--ink);
}
.bd-share-card h3 { margin: 0 0 .9rem; font-size: 1.25rem; }
.bd-share-close {
  position: absolute; top: .4rem; right: .65rem; background: none; border: none;
  font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--ink-soft);
}
.bd-share-close:hover { color: var(--ink); }
.bd-share-preview {
  font-family: var(--sans); font-size: .85rem; line-height: 1.5; text-align: left;
  white-space: pre-wrap; word-break: break-word; color: var(--ink-soft);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: .7rem .8rem; margin: 0 0 1rem; max-height: 190px; overflow-y: auto;
}
.bd-share-preview:empty { display: none; }
.bd-share-links { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .7rem; }
.bd-share-link {
  padding: .55rem .6rem; border: 1px solid var(--line); border-radius: 9px;
  font-weight: 600; font-size: .92rem; color: var(--ink); background: var(--surface-2);
}
.bd-share-link:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.bd-share-copy { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.bd-btn {
  font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer;
  padding: .55rem .6rem; border-radius: 9px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--ink);
}
.bd-btn:hover { border-color: var(--gold); color: var(--gold); }
.bd-btn.primary { background: var(--gold); border-color: var(--gold); color: #14161b; }
.bd-btn.primary:hover { background: var(--gold-deep); color: #14161b; }
@media (prefers-reduced-motion: reduce) { .sharebtn, .bd-toast { transition: none; } }

/* "Where these numbers come from" under the ROI calculator. Collapsed by default: the tool
   should lead with an answer, not a methodology — but the numbers arrive pre-filled now, and a
   figure with no visible origin reads as invented. */
.roi-basis { margin: 1.1rem 0 0; border-top: 1px solid var(--line, #e6e6ea); padding-top: .8rem; font-size: .86rem; }
.roi-basis summary { cursor: pointer; color: var(--muted, #6b7280); font-weight: 600; }
.roi-basis summary:hover { color: inherit; }
.roi-basis p { margin: .7rem 0 0; color: var(--muted, #6b7280); line-height: 1.6; }
.roi-basis .roi-src { font-size: .8rem; }
.roi-basis .roi-src a { color: inherit; }
