/* rejectedlogo.com: one stylesheet for every page. Monochrome; follows the system's
   light or dark setting. No inline styles anywhere: the CSP forbids them. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f6f4;
  --fg: #111111;
  --muted: #5d6066;
  --line: #d8d8d3;
  --panel: #ffffff;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --fg: #f2f2ef;
    --muted: #a0a3a8;
    --line: #2f3033;
    --panel: #1a1a1b;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

.skip, .visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; margin: 0;
  clip: auto; padding: 8px 12px; background: var(--fg); color: var(--bg); z-index: 10; }

/* ---------- the mark ---------- */
.mark { display: block; width: 100%; height: auto; }
.mark path { fill: currentColor; }

/* ---------- hero ---------- */
.hero { text-align: center; padding-top: clamp(56px, 12vh, 128px); }
.hero .mark { width: min(520px, 84%); margin: 0 auto; }
h1 { margin: 44px 0 0; line-height: 1.15; }
h1 .tagline { display: block; font-size: clamp(30px, 6.2vw, 46px); font-weight: 700;
  letter-spacing: -0.02em; }
h1 .sub { display: block; margin-top: 10px; font-size: clamp(17px, 2.6vw, 21px);
  font-weight: 500; color: var(--muted); letter-spacing: 0; }
.intro { max-width: 34em; margin: 22px auto 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 30px 0 0; }

.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border: 1.5px solid var(--fg); border-radius: 8px;
  background: transparent; color: var(--fg);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--panel); }
.button.primary { background: var(--fg); color: var(--bg); }
.button.primary:hover { opacity: 0.88; }
.button .meta { font-weight: 400; opacity: 0.75; font-size: 15px; }
.button:disabled { opacity: 0.5; cursor: progress; }

/* ---------- sections ---------- */
section { margin-top: 96px; }
h2 { font-size: 26px; line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 14px; }
h3 { font-size: 20px; margin: 56px 0 8px; }
p { margin: 0 0 14px; }
.small { font-size: 15px; color: var(--muted); }

.drawing { margin: 26px 0 0; }
.construction { display: block; width: 100%; height: auto; color: var(--fg); }
.construction .grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.construction .band line { stroke: var(--muted); stroke-width: 1.25; stroke-dasharray: 6 5;
  vector-effect: non-scaling-stroke; }
.construction .ink { fill: currentColor; }

/* ---------- download table ---------- */
.files { overflow-x: auto; margin: 22px 0 0; }
.files table { width: 100%; border-collapse: collapse; font-size: 15px; }
.files th, .files td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0;
  border-top: 1px solid var(--line); }
.files thead th { border-top: 0; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.files tbody th { font-weight: 600; white-space: nowrap; }
.files tbody th span { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.files .sizes a { display: inline-block; margin: 0 10px 4px 0; }

/* ---------- make your own ---------- */
.maker { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 18px; }
@media (min-width: 700px) { .maker { grid-template-columns: minmax(0, 1fr) 250px; } }
.preview { background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px; display: flex; align-items: center; justify-content: center; min-height: 220px; }
.preview canvas { display: block; width: 100%; height: auto; max-height: 360px; object-fit: contain; }
.field { display: block; font-weight: 600; font-size: 15px; margin: 0 0 12px; }
.field input:not([type="checkbox"]):not([type="range"]), .field select, .contact input,
.contact textarea {
  display: block; width: 100%; margin-top: 4px; padding: 9px 10px;
  font: inherit; font-weight: 400; color: var(--fg); background: var(--panel);
  border: 1px solid var(--line); border-radius: 6px;
}
.field input[type="color"] { padding: 2px; height: 40px; }
.field > span { font-weight: 600; }
.size input[type="range"] { display: block; width: 100%; margin: 8px 0 6px; accent-color: var(--fg); }
.dims { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; }
.field .dims input[type="number"] { width: 6.5em; flex: 0 0 auto; margin-top: 0; }
.note { font-size: 14px; color: var(--muted); min-height: 1.2em; margin: 0 0 10px; }

/* ---------- contact and 404 ---------- */
.narrow { max-width: 560px; padding-top: 48px; }
.center { text-align: center; padding-top: 18vh; }
.home { margin: 0 0 32px; }
.home a { display: inline-block; text-decoration: none; }
.home .mark { width: 110px; }
.center .home .mark { width: 220px; margin: 0 auto; }
.narrow h1 { font-size: 32px; margin: 0 0 12px; letter-spacing: -0.01em; }
.contact { margin-top: 24px; }
.contact .field { margin: 16px 0 0; }
.contact textarea { resize: vertical; min-height: 140px; }
.contact .button { margin-top: 20px; }
.status { min-height: 1.6em; margin: 14px 0 0; font-weight: 500; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { max-width: 760px; margin: 120px auto 0; padding: 28px 16px 48px;
  border-top: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 0 0 8px; }
.aws { display: inline-block; margin-top: 10px; line-height: 0; }
.aws img { width: 83px; height: 30px; }
