/* =========================================================
   Boring Collector — product page
   White, Inter, light-gray cards, one large dark app frame.
   Layout follows the distill.id reference: 1024px content,
   48px headline, 16/24px cards, wide tinted demo panels.
   ========================================================= */

:root {
  --bg:      #ffffff;
  --ink:     rgba(0, 0, 0, 0.87);
  --muted:   #626262;
  --muted-2: #737373;
  --faint:   #b3b3b3;
  --line:    #ececec;
  --card:    #ececec;
  --card-hi: #e5e5e5;
  --dark:    #262626;

  --radius:    16px;
  --radius-lg: 24px;
  --max:       1024px;
  --max-wide:  1200px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, figure, figcaption, ul {
  margin: 0;
}

h1, h2 { text-wrap: balance; }

ul {
  padding: 0;
  list-style: none;
}

img { max-width: 100%; }

a { color: inherit; }

button { font: inherit; }

::selection {
  background: rgba(0, 0, 0, 0.87);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-pad { padding-inline: 24px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- nav ---------- */

.nav {
  position: relative;
  z-index: 10;
  height: 48px;
  background: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img { border-radius: 6px; }

.nav-links {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:not(.nav-pill) {
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--muted-2);
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:not(.nav-pill):hover { color: var(--ink); }

.nav-pill {
  margin-left: 12px;
  padding: 5px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
  color: var(--ink);
  line-height: 20px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-pill:hover { background: rgba(0, 0, 0, 0.22); }

main { padding-top: 0; }

/* ---------- hero ---------- */

.hero { padding-top: 80px; }

.hero h1 {
  max-width: 820px;
  font-size: 48px;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.hero-sub {
  max-width: 576px;
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}

.hero-buy {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 4px 28px 4px 4px;
  border-radius: 999px;
  background: var(--card);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-dark:hover { background: #000; }
.btn-dark .icon { width: 18px; height: 18px; }

.buy-meta {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 1;
}
.buy-meta a {
  display: block;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
}
.buy-meta a:hover { color: var(--ink); }
.buy-meta div {
  margin-top: 4px;
  opacity: 0.8;
}

.watch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.2s;
}
.watch:hover { color: var(--ink); }

.watch-circle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card);
  flex: none;
}
.watch-circle .icon { width: 16px; height: 16px; }

.hero-frame {
  margin-top: 40px;
  padding: 24px 0 0 24px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--dark);
}

.hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid #525252;
  border-left: 1px solid #525252;
  border-radius: var(--radius) 0 0 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 16px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}
.hero-points .icon {
  width: 20px;
  height: 20px;
}

/* ---------- intro & feature cards ---------- */

.intro { margin-top: 60px; }

.lead {
  max-width: 512px;
  font-size: 36px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.025em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: background 0.2s;
}
.feature-card:hover { background: var(--card-hi); }

.feature-card > .icon {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin-top: 80px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.feature-card p {
  max-width: 80%;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

/* ---------- band: statement + three views ---------- */

.band {
  margin: 80px 24px 0;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.band-kicker {
  max-width: 448px;
  color: var(--faint);
  font-size: 14px;
  line-height: 1.4;
}

.band-line {
  max-width: 384px;
  margin-top: 8px;
  color: var(--faint);
  font-size: 20px;
  line-height: 28px;
}

.btn-band {
  height: 40px;
  padding: 0 20px;
  font-size: 16px;
}
.btn-band .icon { width: 20px; height: 20px; }

.three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin-inline: auto;
  text-align: center;
}

.shot-sm {
  padding: 6px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease);
}
.three-up figure:hover .shot-sm { transform: translateY(-2px); }

.shot-sm img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
}

.three-up h3 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.three-up p {
  max-width: 320px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

/* ---------- capture / demo panels ---------- */

.capture {
  padding: 64px 24px 40px;
  margin: 0;
}

.capture-inner {
  max-width: var(--max-wide);
  margin-inline: auto;
}

.capture-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px 4px 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.pill .icon { width: 20px; height: 20px; }

.capture h2 {
  max-width: 576px;
  margin-top: 12px;
  font-size: 36px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.025em;
}

.capture-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.capture-link:hover { background: var(--card-hi); }
.capture-link .icon { width: 16px; height: 16px; }

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.demo {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
}

.panel {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 20px;
  border-radius: var(--radius-lg);
}

.panel-orange {
  background: rgb(253 186 116 / 0.7);
  color: #431407;
}
.panel-blue {
  background: rgb(96 165 250 / 0.7);
  color: #172554;
}
.panel-pink {
  background: rgb(244 114 182 / 0.7);
  color: #500724;
}

.panel-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0.7;
}
.panel-kicker .icon { width: 20px; height: 20px; }

.panel h3 {
  margin-top: 16px;
  font-size: 30px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -0.025em;
}

.panel-caption {
  max-width: 32ch;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font-size: 14px;
  line-height: 18px;
  opacity: 0.7;
}

.response-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--card-hi);
  border-radius: var(--radius);
  background: #fff;
}

.response-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}

.response-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--card-hi);
  border-radius: 50%;
  color: var(--muted);
  flex: none;
}
.response-icon .icon { width: 14px; height: 14px; }

.response-letter {
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.response-swatch {
  border-color: #e8642c;
  background: #e8642c;
}

.response-head > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.response-head strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.response-head span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
}

.response-body {
  flex: 1;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.mini-item {
  display: grid;
  grid-template-columns: 56px 1fr 16px;
  gap: 10px;
  align-items: center;
}

.mini-thumb {
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 8px;
}
.mini-thumb svg { display: block; width: 56px; height: 56px; }

.mini-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.mini-item-text b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}
.mini-item-text span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.mini-heart {
  width: 15px;
  height: 15px;
  color: #b3b3b3;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.response-copy {
  font-size: 15px;
  line-height: 1.45;
}

.response-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #969696;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.response-source .icon { width: 14px; height: 14px; color: var(--ink); }

.swatch-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.swatch-row span {
  height: 34px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: var(--c);
}

.byline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.byline-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
}
.byline-icon .icon { width: 13px; height: 13px; }

/* ---------- get started / tiles ---------- */

.getstarted { padding-top: 48px; }

.getstarted h2 {
  max-width: 672px;
  margin-top: 12px;
  font-size: 48px;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: -0.05em;
}

.getstarted-sub {
  max-width: 512px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 80px;
}

.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 200px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--card);
  transition: background 0.2s;
}
.tile:hover { background: var(--card-hi); }

.tile h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.tile p {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

/* ---------- resources & footer ---------- */

.resources {
  padding-top: 8px;
  padding-bottom: 8px;
}

.resources-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
}

.resources-label {
  margin-bottom: 12px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.resource-links {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 12px 40px;
  justify-content: start;
}

.resource-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s;
}
.resource-links a:hover { color: var(--ink); }
.resource-links .icon { width: 16px; height: 16px; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
}

.footer-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 760px;
}
.footer-left img {
  border-radius: 6px;
  flex: none;
}
.footer-left p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 1.5;
}
.footer-left a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-left a:hover { color: var(--ink); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

/* ---------- entrance ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.hero h1         { animation: rise 0.65s var(--ease) both; }
.hero-sub        { animation: rise 0.65s 0.06s var(--ease) both; }
.cta-row         { animation: rise 0.65s 0.12s var(--ease) both; }
.hero-frame      { animation: rise 0.75s 0.18s var(--ease) both; }
.hero-points     { animation: rise 0.75s 0.24s var(--ease) both; }

/* ---------- responsive ---------- */

@media (max-width: 1023px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .panel-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    max-width: 480px;
    margin-inline: auto;
  }
  .capture-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .three-up {
    max-width: 460px;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .band-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 800px) {
  .nav-links a:not(.nav-pill) { display: none; }
}

@media (max-width: 640px) {
  .page-pad { padding-inline: 20px; }

  .hero { padding-top: 56px; }
  .hero h1 {
    font-size: 40px;
    line-height: 44px;
    letter-spacing: -0.045em;
  }
  .hero-sub {
    font-size: 20px;
    line-height: 28px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buy {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    height: auto;
    padding: 4px 16px 16px;
    border-radius: var(--radius-lg);
  }
  .hero-buy .btn-dark { width: 100%; }
  .buy-meta {
    padding: 0 8px;
    text-align: center;
  }
  .watch {
    justify-content: space-between;
    width: 100%;
  }

  .hero-frame {
    padding: 16px 0 0 16px;
    border-radius: 20px;
  }
  .hero-frame img { border-radius: 12px 0 0 0; }

  .hero-points { gap: 10px 20px; }
  .hero-points li { font-size: 16px; }

  .intro { margin-top: 48px; }
  .lead {
    font-size: 30px;
    line-height: 34px;
  }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-card h3 { margin-top: 40px; }

  .band {
    margin: 60px 20px 0;
    padding: 48px 0;
  }
  .band-line { font-size: 18px; line-height: 24px; }

  .capture { padding: 48px 20px; }
  .capture h2 {
    font-size: 30px;
    line-height: 34px;
  }

  .getstarted { padding-top: 56px; }
  .getstarted h2 {
    font-size: 40px;
    line-height: 44px;
    letter-spacing: -0.045em;
  }
  .getstarted-sub {
    font-size: 20px;
    line-height: 28px;
  }
  .tile-grid {
    grid-template-columns: 1fr;
    margin-bottom: 56px;
  }
  .tile { min-height: 0; }

  .resource-links {
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 10px;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
