/* The site wears the app's own colours (src/pickapicka/web/style.css) and its
   name's typeface, so the page and the thing it offers look like one thing. */
@font-face { font-family: "Pickapicka Brand"; src: url("fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --canvas: #0d0d10;
  --panel: #15151a;
  --raised: #1e1e25;
  --line: #26262f;
  --line-strong: #35353f;
  --ink: #e9e9ee;
  --ink-dim: #a3a3b2;
  --ink-faint: #74747f;
  --accent: #5b8def;
  --accent-hover: #6f9cf2;
  --pick: #46a758;
  --review: #d4a02c;
  --reject: #e05252;
  --brand: conic-gradient(from 210deg, var(--pick), var(--review), var(--reject), var(--accent), var(--pick));
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Pickapicka Brand", var(--font);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --wide: 1120px;
  --gutter: 24px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin: 0; }
kbd { display: inline-block; min-width: 1.5em; padding: 0 0.35em; border: 1px solid var(--line-strong);
  border-bottom-width: 2px; border-radius: 4px; background: var(--raised); color: var(--ink);
  font: 600 0.8em/1.5 var(--font); text-align: center; }
code, pre { font-family: var(--mono); font-size: 0.86em; }
.ico { width: 18px; height: 18px; flex: none; }

/* ----- the bar along the top ----- */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px max(var(--gutter), calc((100% - var(--wide)) / 2));
  background: rgba(13, 13, 16, 0.82); backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 18px; }
.brand-mark { position: relative; flex: none; width: 28px; height: 28px; border-radius: 22.5%; background: var(--brand); }
.brand-mark svg { position: absolute; inset: 0; width: 100%; height: 100%;
  filter: drop-shadow(0 0.6px 0.8px rgba(0, 0, 0, 0.3)); }
.brand-mark.small { width: 20px; height: 20px; }
.top-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.top-nav a { color: var(--ink-dim); }
.top-nav a:hover { color: var(--ink); text-decoration: none; }
.top-nav .gh { display: inline-flex; }
.top-nav .gh .ico { width: 20px; height: 20px; }
@media (max-width: 560px) { .top-nav a:not(.gh):not([href="#download"]) { display: none; } }

main { padding: 0 var(--gutter); }
section { max-width: var(--wide); margin: 0 auto; }

/* ----- hero ----- */
.hero { padding: 88px 0 40px; text-align: center; }
.eyebrow { margin: 0 0 18px; color: var(--ink-faint); font-size: 14px; letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(36px, 6.2vw, 64px); max-width: 20ch; margin: 0 auto; text-wrap: balance; }
.lead { max-width: 640px; margin: 22px auto 0; color: var(--ink-dim); font-size: clamp(17px, 2vw, 19px); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px;
  padding: 0 20px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--raised);
  color: var(--ink); font-weight: 600; font-size: 15px; transition: background 0.15s, border-color 0.15s; }
.btn:hover { text-decoration: none; background: #262630; border-color: #45454f; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:focus-visible, .guide-video:focus-visible { outline: 3px solid rgba(91, 141, 239, 0.55); outline-offset: 2px; }
.cta-meta { margin: 14px 0 0; color: var(--ink-faint); font-size: 14px; }
@media (max-width: 560px) {
  .hero { padding-top: 56px; }
  .cta .btn { width: 100%; max-width: 340px; }
}

.showcase { position: relative; margin: 56px auto 0; max-width: 1040px; }
.showcase video { position: relative; width: 100%; border-radius: 14px; border: 1px solid var(--line-strong);
  background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
/* The brand gradient as light behind the video, faint enough to stay behind. */
.glow { position: absolute; inset: 8% 6% -4%; border-radius: 40%; background: var(--brand);
  filter: blur(90px); opacity: 0.22; }

/* ----- three short points ----- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 72px 0 32px; }
.pillar { padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.pillar h2 { font-size: 19px; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--ink-dim); font-size: 15px; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* ----- culling and editing ----- */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding: 64px 0; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .feature-text { order: 2; }
.kicker { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.kicker.pick { color: var(--pick); }
.kicker.review { color: var(--review); }
.feature h2 { font-size: clamp(28px, 3.6vw, 38px); }
.feature-text > p { color: var(--ink-dim); margin: 16px 0 0; }
.feature ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { position: relative; padding-left: 22px; color: var(--ink-dim); font-size: 15px; }
.feature li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px;
  border-radius: 2px; background: var(--brand); }
.shot { margin: 0; }
.shot img { border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .feature.flip .feature-text { order: 0; }
}

/* ----- the video guide (its thumbnail carries its own play button) ----- */
.guide { padding: 56px 0; text-align: center; }
.guide h2 { font-size: clamp(26px, 3.4vw, 34px); }
.guide > p { margin: 10px 0 28px; color: var(--ink-dim); }
.guide-video, .guide iframe { position: relative; display: block; width: 100%; max-width: 880px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: 12px; border: 1px solid var(--line-strong); overflow: hidden; }
.guide-video { padding: 0; background: #000; cursor: pointer; }
.guide-video img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.15s; }
.guide-video:hover img { opacity: 0.88; }

/* ----- download ----- */
.download { padding: 64px 0 88px; }
.download h2 { font-size: clamp(28px, 3.6vw, 38px); text-align: center; }
.download-lead { max-width: 620px; margin: 12px auto 36px; text-align: center; color: var(--ink-dim); }
/* minmax(0, …): a long command in a card scrolls inside it, not the page. */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--panel); }
.card h3 { display: flex; align-items: center; gap: 9px; font-size: 20px; }
.card h3 .ico { width: 20px; height: 20px; }
.card-sub { margin: -4px 0 0; color: var(--ink-faint); font-size: 14px; }
.card .btn { align-self: flex-start; }
.note { margin: 0; color: var(--ink-dim); font-size: 14px; }
.note b { color: var(--ink); font-weight: 600; }
.card pre { margin: 0; padding: 12px 14px; overflow-x: auto; border-radius: 8px; background: var(--canvas);
  border: 1px solid var(--line); color: var(--ink); line-height: 1.55; }
.note code { padding: 1px 5px; border-radius: 4px; background: var(--raised); color: var(--ink); }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* ----- footer ----- */
.bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 28px max(var(--gutter), calc((100% - var(--wide)) / 2)); border-top: 1px solid var(--line);
  color: var(--ink-faint); font-size: 14px; }
.bottom nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.bottom nav a { color: var(--ink-dim); }
