/* mfischer.app theme: dark, red / black / grey. Layered on top of styles.css (the starter base). */
:root {
  color-scheme: dark;
  --brand: #dc2626;        /* buttons and fills (white text passes AA) */
  --brand-ink: #ffffff;
  --red-text: #f87171;     /* red used as text on dark backgrounds */
  --accent: #ef4444;
  --ink: #ececee;
  --muted: #a1a1aa;
  --bg: #0b0b0c;
  --surface: #121214;      /* alternating sections */
  --card: #18181b;
  --card-2: #202024;
  --line: #2a2a2f;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 28px rgb(0 0 0 / .35);
  --wrap: 1080px;
}
body { background: var(--bg); color: var(--ink); }
a { color: var(--red-text); }
::selection { background: #7f1d1d; color: #fff; }
.eyebrow { color: var(--red-text); }
summary::after { color: var(--red-text); }

.site-header { background: rgb(11 11 12 / .88); border-bottom-color: var(--line); }
.nav { background: var(--bg); }
.nav a { color: #d4d4d8; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: var(--red-text); }
.logo { letter-spacing: -.02em; color: #fff; }
.logo span { color: var(--accent); }
.nav-toggle { color: #fff; }

.btn-primary:hover { background: #b91c1c; border-color: #b91c1c; }
.btn-ghost { color: #f4f4f5; border-color: #3f3f46; }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }

.card, .section.alt .card { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
input, textarea, select { background: #0f0f11; border-color: #34343a; color: var(--ink); }
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgb(239 68 68 / .25); }
.form-status.ok { color: #4ade80; }
.form-status.err { color: var(--red-text); }
.call-bar { background: rgb(11 11 12 / .95); border-top-color: var(--line); }
.call-bar .btn { background: var(--brand); }
.site-footer { border-top-color: var(--line); }
code { background: var(--card-2); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

/* Hero */
.hero { padding: 64px 0 72px; background: radial-gradient(ellipse 70% 60% at 85% 0%, rgb(220 38 38 / .22), transparent 70%), radial-gradient(ellipse 50% 50% at 0% 100%, rgb(127 29 29 / .18), transparent 70%); }
.hero h1 { font-size: clamp(2.3rem, 7.5vw, 4.2rem); letter-spacing: -.035em; max-width: 16ch; color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.hero-facts li::before { content: "✓"; color: var(--accent); margin-right: 8px; font-weight: 800; }
h2 { color: #fff; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 20px; left: 22px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem;
}
.step .when { color: var(--red-text); font-weight: 700; font-size: .9rem; }

/* Included list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px 28px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
@media (min-width: 720px) { .checks { grid-template-columns: repeat(2, 1fr); } }

/* Pricing */
.price-card { display: flex; flex-direction: column; gap: 4px; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 0 0 1px rgb(220 38 38 / .15), 0 12px 40px rgb(220 38 38 / .12); }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .checks { grid-template-columns: 1fr; margin: 12px 0 20px; }
.price-card .btn { margin-top: auto; }
.addons { margin-top: 28px; }
.addons table { width: 100%; border-collapse: collapse; }
.addons td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.addons td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 16px; }

/* Projects and tools */
.project { display: flex; flex-direction: column; gap: 6px; }
.project .tag, .project-tag { align-self: flex-start; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--card-2); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; color: #d4d4d8; }
.project-tag { display: inline-block; margin-bottom: 10px; }
.project h3 { margin: 6px 0 0; color: #fff; }
.project .icon, .tool .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: rgb(220 38 38 / .14); border: 1px solid rgb(220 38 38 / .3); }
.tool .icon { margin-bottom: 10px; }
.tools-how { margin-top: 28px; }
.tools-how ol { padding-left: 1.3em; margin: 0 0 12px; display: grid; gap: 8px; }
a.card.project { color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
a.card.project:hover { border-color: var(--accent); transform: translateY(-2px); }
.project .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--red-text); }
.see-all { margin: 28px 0 0; text-align: center; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #2a0b0e 0%, #18181b 70%); border: 1px solid #3b1518; color: #f4f4f5; border-radius: var(--radius); padding: 36px 24px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9c9cf; }

/* Example sites links under How it works */
.examples { margin-top: 32px; text-align: center; }
.examples .btn-row { justify-content: center; }

/* Work pages */
.page-hero { padding: 48px 0 32px; background: radial-gradient(ellipse 60% 80% at 90% 0%, rgb(220 38 38 / .16), transparent 70%); }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -.03em; color: #fff; }
.crumbs { font-size: .9rem; margin-bottom: 12px; }
.crumbs a { text-decoration: none; font-weight: 600; }
.work-group + .work-group { margin-top: 56px; }
.work-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.work-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.thumb { aspect-ratio: 16 / 10; background: #111113; border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.thumb .ph { font-size: 2.6rem; }
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #111113; }
.shot img, .shot video { width: 100%; height: auto; display: block; }
.shot.narrow img { width: auto; max-width: 100%; margin: 0 auto; padding: 16px 0; }
.shot .frame { aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; color: var(--muted); font-weight: 600; padding: 16px;
  background: repeating-linear-gradient(45deg, #141416 0 14px, #1a1a1d 14px 28px); }
.shot figcaption { padding: 10px 14px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--card); }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.gallery { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .project-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; } .project-layout aside { position: sticky; top: 88px; } }
@media (prefers-reduced-motion: reduce) { a.card.project { transition: none; } a.card.project:hover { transform: none; } }
