/* Sloppr's public pages for search and ads: /remix, /characters, /merch,
   /faceless, /pricing and /help (src/views/landing-pages.js). The landing's
   look, mobile first. The pages run no script. */
:root {
  --ink: #171714;
  --cyc: #f4f1e7;
  --panel: #fffdf5;
  --accent: #f4ff38;
  --mute: #5b5b4f;
  --line: #c8c6b8;
  --focus: #ff5b2e;
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cyc); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: -0.015em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 10; padding: 10px 14px; border: 2px solid var(--ink); background: var(--panel); font-weight: 700; }
.skip:focus { top: 12px; }

/* Header: the wordmark, prices, help, log in and the sign-up button. */
.bar { border-bottom: 2px solid var(--ink); }
.bar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.wordmark { display: inline-flex; align-items: flex-start; padding-right: 4px; font: italic 900 34px/1 var(--body); letter-spacing: -0.075em; text-decoration: none; }
.wordmark img { width: 0.95em; height: 0.95em; margin: -0.14em 0 -0.1em 0.04em; mix-blend-mode: multiply; }
.bar-nav { display: flex; align-items: center; gap: 14px; }
.bar-nav a:not(.btn) { padding: 14px 2px; font-size: 13px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; }
.bar-nav a:not(.btn):hover, .bar-nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.bar-nav .wide { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 2px solid var(--ink); border-radius: 2px;
  background: var(--accent); color: var(--ink); font: 800 15px/1.1 var(--body); letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink); transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { background: #e7f321; transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.small { min-height: 40px; padding: 8px 12px; font-size: 12px; box-shadow: 3px 3px 0 var(--ink); }
.btn.big { min-height: 56px; padding: 16px 24px; font-size: 16px; }

/* First screen: the headline, what it does, the sign-up button with what is
   free beside it, and the sample pictures. */
.hero { display: grid; gap: 32px; padding: 28px 0 44px; }
.hero h1 { font-weight: 900; font-size: clamp(42px, 11.5vw, 76px); line-height: 0.92; letter-spacing: -0.03em; overflow-wrap: break-word; }
.lede { max-width: 36ch; margin: 16px 0 24px; font-size: 19px; line-height: 1.45; }
.fine { max-width: 52ch; margin: 16px 0 0; color: var(--mute); font-size: 14px; }
.fine + .fine { margin-top: 6px; }
.hero-plain { padding-bottom: 20px; }

.samples { min-width: 0; }
.sample-row { display: flex; align-items: flex-end; gap: 14px; }
.sample { flex: 1 1 0; min-width: 0; margin: 0; }
.sample.square { flex-grow: 0.8; }
.count-1 .sample { flex: 0 1 280px; }
.frame { position: relative; overflow: hidden; border: 2px solid var(--ink); background: #1d1d1a; box-shadow: 5px 5px 0 var(--ink); }
.clip .frame { aspect-ratio: 9 / 16; border-radius: 14px; }
.square .frame { aspect-ratio: 1; border-radius: 2px; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.ai-label { position: absolute; left: 6px; top: 6px; padding: 2px 6px; border-radius: 2px; background: rgba(23, 23, 20, 0.82); color: #fff; font: 700 10px/1.3 var(--body); white-space: nowrap; }
.sample figcaption { margin-top: 10px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.samples-note { margin: 16px 0 0; color: var(--mute); font-size: 13px; }

/* Sections below the first screen. */
.block { padding: 40px 0; }
.block h2 { margin-bottom: 22px; font-weight: 900; font-size: clamp(36px, 8vw, 60px); line-height: 0.95; }
.block-link { margin: 18px 0 0; font-weight: 700; }
/* Prices and the rules side by side on wide screens. */
.duo { display: grid; }

.steps { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: step; background: var(--panel); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.steps li { padding: 22px 20px; border-top: 2px solid var(--ink); counter-increment: step; }
.steps li:first-child { border-top: 0; }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 14px; font: 800 32px/1 var(--display); }
.steps h3 { margin-bottom: 8px; font-weight: 800; font-size: 28px; line-height: 1; }
.steps p { margin: 0; color: #45453b; }

.points { display: grid; gap: 14px; max-width: 760px; margin: 0; padding: 0; list-style: none; }
.points li { position: relative; padding-left: 36px; font-size: 17px; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 22px; height: 22px; border: 2px solid var(--ink); background: var(--accent); }
.points li::after { content: ""; position: absolute; left: 8px; top: calc(0.15em + 4px); width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.sheet { max-width: 820px; padding: 22px 20px; background: var(--panel); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.sheet-lead { margin: 0; font-size: 18px; font-weight: 700; }
.price-list { margin: 14px 0; }
.price-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.price-list dt, .price-list dd { margin: 0; }
.price-list dd { font-weight: 800; white-space: nowrap; }
.price-makes { margin: 14px 0; }
.fine-list { margin: 14px 0 0; padding-left: 20px; color: var(--mute); font-size: 14px; }
.fine-list li + li { margin-top: 6px; }
.sheet-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 12px 0 0; font-weight: 700; }
.sheet-links a { padding: 8px 0; }

.rules { display: grid; gap: 10px; max-width: 760px; margin: 0; padding-left: 22px; font-size: 17px; }

.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 640px; margin: 0 0 18px; padding: 0; list-style: none; }
.packs li { padding: 16px 10px; text-align: center; background: var(--panel); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.packs b { display: block; font: 900 44px/1 var(--display); }
.packs span { display: block; margin-top: 6px; color: var(--mute); font-size: 13px; }

.prose { max-width: 760px; font-size: 17px; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose .price-list { max-width: 560px; font-size: 16px; }

.toc ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 9px 12px; border: 2px solid var(--ink); background: var(--panel); font-size: 14px; font-weight: 700; text-decoration: none; }
.toc a:hover { background: var(--accent); }
.faq { padding: 28px 0 40px; }
.faq section { padding: 26px 0; border-top: 2px solid var(--ink); scroll-margin-top: 16px; }
.faq h2 { margin-bottom: 14px; font-weight: 900; font-size: clamp(30px, 6.5vw, 44px); line-height: 0.95; }

.closing { margin-top: 24px; padding: 56px 0 60px; background: var(--ink); color: var(--panel); }
.closing h2 { max-width: 14ch; margin-bottom: 28px; font-weight: 900; font-size: clamp(42px, 10vw, 96px); line-height: 0.88; letter-spacing: -0.025em; }
.closing .btn { border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent); }
.closing .btn:hover { box-shadow: 2px 2px 0 var(--accent); }
.closing .fine { color: #c9c8bb; }

/* Footer: every page, the legal pages, and who runs Sloppr. */
.foot { padding: 28px 0 40px; font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot nav a { padding: 10px 0; font-weight: 700; text-decoration: none; }
.foot nav a:hover, .foot nav a[aria-current] { text-decoration: underline; }
.biz { max-width: 70ch; margin: 14px 0 0; color: var(--mute); }

@media (max-width: 359px) {
  .wordmark { font-size: 29px; }
  .bar-nav { gap: 10px; }
}
@media (min-width: 720px) {
  .wrap { width: min(1180px, 100% - 64px); }
  .bar-row { min-height: 84px; }
  .wordmark { font-size: 48px; }
  .bar-nav { gap: 22px; }
  .bar-nav .wide { display: inline; }
  .btn.small { padding: 10px 16px; }
  .block { padding: 56px 0; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { border-top: 0; border-left: 2px solid var(--ink); }
  .steps li:first-child { border-left: 0; }
  .sheet { padding: 28px 30px; }
  .ai-label { left: 8px; top: 8px; padding: 3px 7px; font-size: 11px; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 56px; padding: 56px 0 72px; }
  .hero-plain { grid-template-columns: minmax(0, 1fr); padding-bottom: 28px; }
  .lede { font-size: 21px; }
  .duo { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
