/* VidSupreme site: the paper-cut look of the app (cream paper, ink outlines, hard offset shadows, one yellow accent). */
:root {
  --paper: #f6f1e4;
  --card: #fffcf3;
  --ink: #17140f;
  --heading: #0d0b07;
  --body: #2c271e;
  --muted: #6a6354;
  --line: #17140f;
  --soft: #e9e2cf;
  --accent: #f2c230;
  --shadow: 4px 4px 0 var(--ink);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14110c; --card: #1f1b14; --ink: #f3eee1; --heading: #fffaf0; --body: #ddd5c3; --muted: #b3ab97;
    --line: #5f5846; --soft: #2a251b; --shadow: 4px 4px 0 #000; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #14110c; --card: #1f1b14; --ink: #f3eee1; --heading: #fffaf0; --body: #ddd5c3; --muted: #b3ab97;
  --line: #5f5846; --soft: #2a251b; --shadow: 4px 4px 0 #000; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--heading); }
:focus-visible { outline: 3px solid #e8590c; outline-offset: 2px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { border-bottom: 2px solid var(--line); background: var(--card); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: var(--heading); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; font-size: 15px; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); }

/* headings: darker and heavier than the text under them */
h1, h2, h3 { color: var(--heading); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 900; letter-spacing: -0.035em; }
h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 900; margin-top: 8px; }
h3 { font-size: 19px; font-weight: 850; }
.mark { background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 90%, transparent 90%); padding: 0 2px; }
.lead { font-size: 19px; color: var(--body); max-width: 680px; }
.muted { color: var(--muted); }

/* hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(260px, 70vw); height: auto; filter: drop-shadow(6px 6px 0 rgba(0,0,0,.18)); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; padding: 0; list-style: none; }
.chips li { border: 2px solid var(--line); background: var(--card); border-radius: 99px; padding: 4px 12px; font-size: 14px; font-weight: 650; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 2px solid #17140f; background: var(--accent); color: #17140f; font-weight: 800; padding: 12px 20px; border-radius: 8px; box-shadow: var(--shadow); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.btn.ghost { background: var(--card); color: var(--heading); border-color: var(--line); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* sections */
section { padding: 40px 0; }
section.alt { background: var(--soft); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 20px; }
.card { background: var(--card); border: 2px solid var(--line); border-radius: 10px; padding: 18px; box-shadow: var(--shadow); }
.card h3 { display: flex; align-items: center; gap: 9px; }
.card h3::before { content: ""; flex: none; width: 5px; height: 1.05em; border-radius: 3px; background: var(--accent); box-shadow: 1px 1px 0 var(--line); }
.card p { margin: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 20px; }
.steps li { counter-increment: step; background: var(--card); border: 2px solid var(--line); border-radius: 10px; padding: 18px 18px 18px 64px; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #17140f; border: 2px solid #17140f; display: grid; place-items: center; font-weight: 900; }
.steps strong { color: var(--heading); display: block; }
.note { border: 2px solid var(--line); border-left: 8px solid var(--accent); background: var(--card); border-radius: 10px; padding: 16px 18px; }
.note strong { color: var(--heading); }
.straight { padding-left: 20px; }
.straight li { margin: 6px 0; }

/* legal pages */
.doc { padding: 40px 0 56px; }
.doc .wrap { max-width: 800px; }
.doc h2 { font-size: 24px; margin-top: 34px; padding-top: 8px; border-top: 2px solid var(--soft); }
.doc h3 { font-size: 18px; margin-top: 22px; }
.doc p, .doc li { max-width: 72ch; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { border: 2px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--soft); color: var(--heading); }
.toc { background: var(--card); border: 2px solid var(--line); border-radius: 10px; padding: 14px 18px 14px 34px; box-shadow: var(--shadow); }

/* footer */
footer { border-top: 2px solid var(--line); background: var(--card); padding: 22px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: 150px; }
  .hero { padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.doc .note, .doc .toc { margin: 18px 0; }
