/* ===========================================================
   ROZER — product page layout
   Requires /site.css (tokens, reset, nav, buttons, footer) to be loaded first.
   This file only holds what's specific to a product page.
   =========================================================== */

/* ---------- HERO ---------- */
.hero {
  padding-top: 4.5rem;
  border-bottom: 1px solid var(--rule);
}
.hero__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--pad) 3.5rem;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2rem;
}
.hero__eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 200px;
}
.hero__top {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.hero__icon {
  flex-shrink: 0;
  width: 68px; height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule-2);
  border-radius: 12px;
  background: var(--bg-raised);
  overflow: hidden;
}
.hero__icon img { width: 44px; height: 44px; object-fit: contain; }
.hero__heading { min-width: 0; }
.hero__name {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 0.65rem;
}
.hero__tagline {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 56ch;
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.4em 0.7em;
  border-radius: var(--r-sm);
  vertical-align: middle;
  margin-inline-start: 0.6rem;
  white-space: nowrap;
}
.badge--sub  { color: var(--accent); background: var(--accent-soft); }
.badge--free { color: var(--ok); background: var(--ok-soft); }

.hero__cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero__notes { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.55rem; }
.hero__note { font-size: 0.85rem; color: var(--text-2); max-width: 68ch; }
.hero__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hero__note--trial { color: var(--accent); }

.hero__specs {
  border-top: 1px solid var(--rule);
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero__spec {
  padding: 1.3rem 1.5rem 1.3rem 0;
  border-inline-start: 1px solid var(--rule);
  padding-inline-start: 1.5rem;
  min-width: 0;
}
.hero__spec:first-child { border-inline-start: none; padding-inline-start: 0; }
.hero__spec dt {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.4rem;
}
.hero__spec dd { font-size: 0.9rem; color: var(--text); font-weight: 500; }

/* ---------- SECTIONS ---------- */
.section { border-bottom: 1px solid var(--rule); }
.section__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 4rem var(--pad);
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}
.section-copy {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 62ch;
}

/* ---------- FEATURES ---------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}
.feature-card {
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--rule);
  padding: 1.75rem;
  transition: background var(--fast);
}
.feature-card:hover { background: var(--surface); }
.feature-card__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.feature-card__desc { font-size: 0.9rem; line-height: 1.6; color: var(--text-2); }

/* ---------- KEY/VALUE LIST (requirements, sources) ---------- */
.req-list { list-style: none; border-top: 1px solid var(--rule); }
.req-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
}
.req-list .req-key {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 0.2em;
}
.req-list .req-val { color: var(--text-2); }

/* ---------- CTA FOOTER ---------- */
.cta-footer { border-bottom: 1px solid var(--rule); }
.cta-footer__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 5rem var(--pad);
}
.cta-footer h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
  max-width: 20ch;
  margin-bottom: 1.1rem;
}
.cta-footer p {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 56ch;
  margin-bottom: 2.25rem;
}
.cta-footer__group { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-footer__legal {
  margin-top: 2rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 68ch;
}
.cta-footer__legal a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.cta-footer__legal a:hover { color: var(--accent); }

/* The product pages carry their own footer rule already. */
.site-foot__inner { border-top: none; }

/* ---------- OS PICKER (Download Pro) ---------- */
.os-picker {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
}
.os-picker.is-open { display: flex; }
.os-picker__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.86);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.os-picker__panel {
  position: relative;
  width: min(460px, 100%);
  background: var(--bg);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-md);
  padding: 2rem;
}
.os-picker__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.os-picker__subtitle { font-size: 0.9rem; color: var(--text-2); margin-bottom: 1.75rem; }
.os-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  margin-bottom: 0.6rem;
  transition: border-color var(--fast), background var(--fast);
}
.os-option:hover { border-color: var(--accent-line); background: var(--surface); }
.os-option--disabled { opacity: 0.45; pointer-events: none; }
.os-option__icon { flex-shrink: 0; display: flex; align-items: center; }
.os-option__text { min-width: 0; }
.os-option__name { display: block; font-weight: 600; font-size: 0.95rem; }
.os-option__meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-3);
  margin-top: 2px;
}
.os-picker__close {
  position: absolute;
  top: 0.85rem;
  inset-inline-end: 0.85rem;
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-sm);
  color: var(--text-2);
  transition: color var(--fast), border-color var(--fast);
}
.os-picker__close:hover { color: var(--text); border-color: var(--rule-3); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 800px) {
  .features__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding-top: 3rem; }
  .hero__inner { padding-bottom: 2.5rem; }
  .hero__top { flex-direction: column; gap: 1.15rem; }
  .hero__specs { grid-template-columns: 1fr; }
  .hero__spec {
    border-inline-start: none;
    border-top: 1px solid var(--rule);
    padding: 1rem 0;
  }
  .hero__spec:first-child { border-top: none; }
  .hero__eyebrow::after { display: none; }
  .section__inner { padding-block: 3rem; }
  .cta-footer__inner { padding-block: 3.5rem; }
  .req-list li { grid-template-columns: 1fr; gap: 0.35rem; }
  .badge { margin-inline-start: 0; margin-top: 0.6rem; }
  .hero__name .badge { display: block; }
}

/* ---------- SCREENSHOTS (real ones only — never placeholders) ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}
.shot {
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--rule);
  padding: 1.25rem;
  margin: 0;
}
.shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  display: block;
}
.shot figcaption {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-3);
  margin-top: 0.85rem;
}

/* ---------- NUMBERED STEPS (install instructions) ---------- */
.steps { list-style: none; counter-reset: step; border-top: 1px solid var(--rule); }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-2);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 0.35em;
}
.steps b { color: var(--text); font-weight: 600; }

@media (max-width: 800px) {
  .shots { grid-template-columns: 1fr; }
}

/* ── Walkthrough video ───────────────────────────────────────────────────────
   Served from dl.getrozer.com, not embedded from a video host. YouTube retired
   modestbranding/showinfo, so an iframe embed always restores their logo, gear,
   title and share buttons on hover — the video reads as theirs, not ours. Serving
   the file directly and using the native player keeps the page our own. */
.vid { max-width: 880px; margin: 0 auto; }
.vid__note { font-size: 15px; line-height: 1.9; color: var(--text-2); margin: 0 0 18px; text-align: right; }
.vid__by { display: block; margin-top: 4px; font-size: 13px; color: var(--text-3); }
.vid__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line);
              border-radius: 10px; overflow: hidden; background: #0d0d10; }
.vid__player { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #0d0d10; }
