/* Flashback product page.
   Layered on style.css with data-theme="tech" supplying the palette.
   Everything here is prefixed .fb- so it can't leak into other pages. */

/* A cold light from above the fold, fading to the flat page colour by the time
   the first feature row arrives. Fixed, so it doesn't travel with the scroll. */
body {
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(111, 168, 255, 0.10), transparent 68%),
    linear-gradient(180deg, #161b24 0%, #12151b 26%, var(--bg) 60%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.fb-eyebrow {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

/* Screenshots are dark macOS windows on a dark page. Without a well to sit in
   they dissolve into the background, so every shot gets a sunken frame one
   step darker than the page plus a hairline. The shots carry their own
   drop shadow in the capture, which is why there's no box-shadow here. */
.fb-shot {
  background: #0b0d11;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: clamp(0.5rem, 1.4vw, 1rem);
}
.fb-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
/* Every shot opens full size. The button carries no styling of its own so the
   image still fills the well; it exists to make the target focusable and
   announceable rather than a click handler bolted to an <img>. */
.fb-shot__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 8px;
}
.fb-shot__open:hover img { opacity: 0.88; }
.fb-shot__open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.fb-shot__open img { transition: opacity 0.15s ease; }

/* ---- Lightbox ---- */

.fb-lightbox {
  border: 0;
  padding: 0;
  background: none;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
}
.fb-lightbox::backdrop { background: rgba(6, 8, 11, 0.94); }
.fb-lightbox img {
  display: block;
  margin: auto;
  max-width: min(1600px, 96vw);
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: zoom-out;
}
.fb-lightbox__inner {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2.5rem);
}
.fb-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: rgba(15, 17, 21, 0.85);
  color: var(--ink-soft);
  font-family: var(--font-ui);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.fb-lightbox__close:hover { color: var(--ink); border-color: var(--ink-faint); }
.fb-shot__caption {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-faint);
  margin: 0.85rem 0 0;
}

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

.fb-hero {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.75rem, 7vw, 5rem) 0;
}
/* The art column is deliberately greedier than the prose — these are dense
   interface shots and the words in them have to stay readable at rest. */
.fb-hero__text { flex: 1 1 18rem; min-width: 0; }
.fb-hero__art  { flex: 1.6 1 28rem; min-width: 0; }

.fb-hero__head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}
.fb-hero__icon { width: 68px; height: 68px; flex: none; }
.fb-hero__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
}
.fb-hero__tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0.4rem 0 0;
}
.fb-hero__pitch {
  font-size: clamp(1.1rem, 2.4vw, 1.32rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 30rem;
  margin: 0 0 1.5rem;
  text-wrap: pretty;
}
.fb-hero__note {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 28rem;
  margin: 0;
}

/* Only used if Flashback is ever notarised and shipped — see the commented-out
   block in the hero. Kept here so enabling it is a one-line change. */
.fb-download { margin-top: 1.5rem; }
.fb-download__btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  border-radius: 8px;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
a.fb-download__btn:hover { background: var(--accent-soft); }
/* Not a link — an outlined placeholder, so nothing invites a click that
   would 404. Reads as a status rather than a disabled button. */
.fb-download__btn--soon {
  background: none;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
  cursor: default;
}
/* Trial label sits beside the button, not under it: the price question is the
   one a visitor has before they click, and the line below is already spoken for
   by the system requirement. */
.fb-download__row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.fb-download__terms {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.fb-download__trial {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.fb-download__price {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.fb-download p {
  margin: 0.6rem 0 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
}

/* ---- Specs strip ---- */

.fb-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.fb-strip > div {
  flex: 1 1 14rem;
  background: #14171d;
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
}
.fb-strip dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.fb-strip dd {
  font-family: var(--font-ui);
  font-size: 0.91rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ---- Alternating feature rows ---- */

.fb-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-top: clamp(3.5rem, 8vw, 6.5rem);
}
/* wrap-reverse keeps the image above the prose when the row folds, so the
   narrow layout reads image-then-text in both directions. */
.fb-row--flip { flex-wrap: wrap-reverse; }
.fb-row__text { flex: 1 1 17rem; min-width: 0; }
.fb-row__art  { flex: 1.7 1 30rem; min-width: 0; }

.fb-row h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
.fb-row p {
  font-family: var(--font-ui);
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1em;
  text-wrap: pretty;
}
.fb-row p:last-child { margin-bottom: 0; }

/* ---- Privacy band ---- */

.fb-band {
  background: var(--bg-sunk);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
  padding-block: clamp(3rem, 7vw, 5.75rem);
}
.fb-band h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(1.1rem, 2.4vw, 1.6rem);
  max-width: 30rem;
}
.fb-band p {
  font-family: var(--font-ui);
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 1em;
  text-wrap: pretty;
}
.fb-band__prose { max-width: var(--measure); margin-bottom: clamp(2rem, 4vw, 3rem); }

.fb-points {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  max-width: 44rem;
  font-family: var(--font-ui);
}
.fb-points li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.85rem;
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.fb-points li:last-child { margin-bottom: 0; }
.fb-points li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.fb-points strong { color: var(--ink); font-weight: 600; }

.fb-pair {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2rem);
}
.fb-pair > div { flex: 1 1 19rem; min-width: 0; }

/* ---- Limitations ---- */

.fb-limits {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.fb-limits > div {
  flex: 1 1 20rem;
  min-width: 0;
  background: #14171d;
  padding: clamp(1.4rem, 3vw, 2rem);
}
.fb-limits h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.16rem;
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.fb-limits p {
  font-family: var(--font-ui);
  font-size: 0.91rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}
/* The DRM card gets the black rectangle it's describing. */
.fb-blackbar {
  width: 26px;
  height: 14px;
  flex: none;
  border-radius: 2px;
  background: #05070a;
  border: 1px solid var(--rule);
}

/* ---- Closing call to action ---- */

.fb-cta {
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #14171d;
  padding: clamp(1.6rem, 4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  justify-content: space-between;
}
.fb-cta__text { flex: 1 1 20rem; min-width: 0; }
.fb-cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
.fb-cta p {
  font-family: var(--font-ui);
  font-size: 0.91rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 30rem;
  text-wrap: pretty;
}
/* The button block carries its own top margin in the hero, which this
   layout centres instead. */
.fb-cta .fb-download { margin-top: 0; flex: none; }

/* ---- Closing note ---- */

.fb-colophon {
  border-top: 1px solid var(--rule);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  max-width: var(--measure);
}
.fb-colophon p {
  font-family: var(--font-ui);
  font-size: 0.91rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1em;
  text-wrap: pretty;
}
.fb-colophon a { color: var(--accent); }

.fb-back {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--ink-faint);
  text-decoration: none;
}
.fb-back:hover { color: var(--accent); }

.fb-section { padding-top: clamp(3.5rem, 8vw, 6.5rem); }
.fb-section > h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
.fb-section > .fb-lede {
  font-family: var(--font-ui);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: 0 0 clamp(1.75rem, 3.5vw, 2.5rem);
  text-wrap: pretty;
}

/* Wider than the site default of 62rem, purely to give the screenshots room.
   Prose inside still runs at var(--measure), so nothing reads long. */
main .wrap { max-width: 76rem; }

main { padding-bottom: clamp(3rem, 7vw, 5rem); }
