/* FlashRAW site. The app's own identity: its dark grey, the flash yellow,
   Space Grotesk for words and JetBrains Mono for data (file names, counts). */
@font-face { font-family: "Space Grotesk"; src: url(fonts/SpaceGrotesk.ttf) format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/JetBrainsMono.ttf) format("truetype"); font-weight: 100 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #171717;      /* the app window */
  --panel: #1f1f1f;
  --line: #2e2e2e;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --flash: #ffd400;   /* the accent, as in the app */
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--flash); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--flash); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.mono { font-family: var(--mono); font-size: 14px; letter-spacing: 0.01em; }
.muted { color: var(--muted); }

/* Top bar: the wordmark as in the app's title row. */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.wordmark { font-weight: 700; font-size: 22px; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.wordmark span, .flash { color: var(--flash); }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }
@media (max-width: 560px) { .top nav a[href^="#"] { display: none; } } /* phones: wordmark and language only */

/* Buttons */
.button { display: inline-block; font: 600 16px var(--sans); border-radius: 8px; padding: 13px 20px; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.button.primary { background: var(--flash); color: #111; }
.button.primary:hover { filter: brightness(1.08); }
.button.ghost { background: transparent; color: var(--text); border-color: #555; }
.button.ghost:hover { background: #262626; }

/* Hero */
.hero { padding: 56px 0 24px; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 20px; max-width: 14ch; font-weight: 700; }
.hero p.lead { font-size: 20px; color: #cfcfcf; max-width: 46ch; margin: 0 0 28px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.meta { margin-top: 18px; }

/* Signature: a grease-pencil circle around the pick, as on a contact sheet. */
.sheet { position: relative; margin: 44px 0 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.sheet svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pencil { fill: none; stroke: var(--flash); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1300; stroke-dashoffset: 1300; animation: draw 1.1s 0.6s cubic-bezier(.6, .1, .3, 1) forwards; filter: drop-shadow(0 1px 1px rgba(0,0,0,.5)); }
.pencil-star { fill: var(--flash); opacity: 0; animation: appear .25s 1.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pencil { animation: none; stroke-dashoffset: 0; } .pencil-star { animation: none; opacity: 1; } }
.caption { margin: 10px 0 0; }

/* Sections */
section { padding: 72px 0 8px; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 12px; }
h2 + p { color: var(--muted); max-width: 60ch; margin: 0 0 32px; }

/* The thesis, right under the hero: bigger, brighter text than other sections. */
.manifesto p { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5; color: var(--text); max-width: 56ch; margin: 0; }
.manifesto h2 { color: var(--flash); }

.facts { color: #cfcfcf; margin: 0 0 12px; line-height: 1.9; }
.facts b { color: var(--flash); font-weight: 600; }
.author p:first-of-type { font-size: 19px; color: #d6d6d6; max-width: 60ch; margin: 0 0 12px; }

/* The workflow really is a sequence: card → marks → delivery. */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { border-top: 2px solid var(--flash); padding-top: 14px; counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--mono); color: var(--flash); font-size: 14px; }
.steps h3, .features h3 { font-size: 20px; margin: 4px 0 6px; letter-spacing: -0.01em; }
.steps p, .features p { margin: 0; color: var(--muted); font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 32px; margin-top: 8px; }
.features div { border-left: 1px solid var(--line); padding-left: 16px; }
.features img { width: 100%; border: 1px solid var(--line); border-radius: 8px; margin: 10px 0 12px; background: #111; }
/* Phones: one feature per row, each clearly apart (a rule above, more room between). */
@media (max-width: 640px) {
  .features { gap: 36px; }
  .features div { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
}
/* FAQ: questions people search for, answered in a line or two. */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px 32px; }
.faq h3 { font-size: 18px; margin: 0 0 6px; letter-spacing: -0.01em; }
.faq p { margin: 0; color: var(--muted); font-size: 16px; }
.shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 40px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.plan.best { border-color: var(--flash); }
.plans.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 760px; }
.plan h3 { margin: 0; font-size: 18px; }
.price { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan p { color: var(--muted); margin: 0; flex: 1; font-size: 15px; }
.plan .button { margin-top: 10px; text-align: center; }
#done { background: var(--panel); border: 1px solid var(--flash); border-radius: 12px; padding: 18px 20px; margin-bottom: 20px; }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.download { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-decoration: none; color: var(--text); display: block; }
.download:hover { border-color: var(--flash); }
.download b { display: block; font-size: 18px; }
.download span { display: block; margin-top: 4px; }
.first-run { margin-top: 24px; background: var(--panel); border-radius: 12px; padding: 18px 20px; font-size: 15px; color: #cfcfcf; }
.first-run p { margin: 6px 0 0; }

/* Footer and text pages */
footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
footer a { color: var(--text); }
.doc { max-width: 72ch; padding: 32px 0; }
.doc h1 { font-size: 40px; letter-spacing: -0.03em; margin: 0 0 4px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: #d6d6d6; }
.draft { border: 1px dashed var(--flash); border-radius: 8px; padding: 10px 14px; color: var(--flash); font-size: 14px; }
