/* Award Brief v4: monochrome, document-like. One accent (dark blue) for the action only. Wordmark is monochrome (logo A). */
:root {
  --ink: #111111;
  --ink-2: #2b2b2b;
  --muted: #555555;
  --rule: #111111;
  --hair: #d6d6d6;
  --paper: #ffffff;
  --tint: #f6f6f4;
  --accent: #173a6e;
  --accent-dark: #0f2a52;
  --accent-tint: #eaf0f8;
  --focus: #0b57d0;
  --max: 66rem;
  --narrow: 42rem;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: #fff; color: var(--ink); padding: 0.55rem 0.85rem; z-index: 20;
  border: 1px solid var(--ink);
}
.skip:focus { top: 0.75rem; }
.wrap { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }
.narrow { max-width: var(--narrow); margin-left: max(1.5rem, calc((100% - var(--max)) / 2)); }
.wrap.narrow { width: min(var(--narrow), calc(100% - 3rem)); margin-inline: max(1.5rem, calc((100% - var(--max)) / 2)) auto; }
.read { width: min(var(--narrow), 100%); }

/* Header and wordmark */
header.site { background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem 2rem; padding: 1.35rem 0; flex-wrap: wrap;
}
.wordmark, header.site a.wordmark[href] {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0 0 0.5rem;
  border-bottom: 1px solid var(--ink);
}
.wordmark span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.6rem; }
nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
nav a:hover { color: var(--accent); text-decoration: underline; }
nav a.nav-cta {
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.45rem 0.8rem;
  font-weight: 600;
}
nav a.nav-cta:hover { background: var(--accent); color: #fff; text-decoration: none; }

/* Type */
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); font-weight: 600; margin: 0 0 1.4rem; max-width: 16ch; }
h2 { font-size: clamp(1.55rem, 2.4vw, 1.95rem); font-weight: 600; margin: 0 0 1.25rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; }
section { padding: 4.75rem 0; border-top: 1px solid var(--hair); }

/* Hero */
.hero { padding: 4.5rem 0 5rem; border-top: 0; }
.hero-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 4rem; } }
.ref {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 1.6rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--hair);
  max-width: 34rem;
}
.ref span { font-weight: 700; margin-right: 0.4rem; }
.lede { font-size: 1.24rem; line-height: 1.55; max-width: 34rem; margin: 0 0 2.2rem; color: var(--ink-2); }

/* Primary action: the only coloured element */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 1rem 1.6rem;
  border: 0;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.assure { font-size: 1rem; margin: 0.85rem 0 0.35rem; color: var(--ink); }
.or { font-size: 0.98rem; color: var(--muted); margin: 0; }
a.addr {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  background: var(--accent-tint);
  padding: 0;
  box-shadow: 0.2em 0 0 var(--accent-tint), -0.2em 0 0 var(--accent-tint);
}
a.addr:hover { color: var(--accent-dark); }

/* Specimen: what a brief entry looks like (field labels only, no invented data) */
.specimen { border: 1px solid var(--ink); background: var(--paper); font-family: var(--sans); font-size: 0.9rem; }
.specimen-head {
  display: flex; justify-content: space-between; gap: 1rem;
  margin: 0; padding: 0.75rem 1.1rem;
  border-bottom: 2px solid var(--ink);
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem;
}
.specimen-head span:first-child { font-weight: 700; }
.specimen-head span:last-child { color: var(--muted); }
.specimen dl { margin: 0; padding: 0.35rem 1.1rem 0.6rem; }
.specimen dl div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--hair); }
.specimen dl div:last-child { border-bottom: 0; }
.specimen dt { font-weight: 600; color: var(--ink); }
.specimen dd { margin: 0; color: var(--muted); }

/* Problem */
.problem { background: var(--tint); }
.problem p { font-size: 1.15rem; color: var(--ink-2); }
.problem p.strong { font-weight: 600; color: var(--ink); margin-bottom: 0; }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 2rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.6rem;
}
.steps p { color: var(--ink-2); margin: 0; font-size: 1.05rem; }

/* Buyers (text only) */
.buyers h2 { font-size: 0.82rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; color: var(--muted); }
.buyer-names { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.55rem 0; max-width: 60rem; }
.buyer-names li { font-size: 1.15rem; color: var(--ink); }
.buyer-names li:not(:last-child)::after { content: "\00B7"; color: var(--muted); margin: 0 0.8rem; }
.sectors { margin: 0; color: var(--muted); font-size: 1rem; }

/* Prices */
.note { color: var(--ink-2); max-width: 44rem; }
.note.small { font-size: 0.95rem; color: var(--muted); margin-top: 1.4rem; }
.fees { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); margin-top: 1.5rem; }
.fees th, .fees td { text-align: left; vertical-align: top; padding: 1.15rem 1rem 1.15rem 0; border-bottom: 1px solid var(--hair); }
.fees tr:last-child th, .fees tr:last-child td { border-bottom: 0; }
.fees th { font-weight: 600; width: 34%; font-size: 1.1rem; }
.fees th span { display: block; font-weight: 400; font-size: 0.92rem; color: var(--muted); margin-top: 0.2rem; }
.fees td.amt { font-size: 1.6rem; font-weight: 600; white-space: nowrap; width: 18%; line-height: 1.2; }
.fees td.terms { font-size: 1rem; color: var(--ink-2); }
.fees tr.first td.terms strong { color: var(--ink); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--hair); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 2rem 1.05rem 0; position: relative;
  font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.95rem; font-family: var(--sans); font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1.2rem; color: var(--ink-2); font-size: 1.05rem; }
/* legacy FAQ markup on other pages */
details summary { cursor: pointer; }

/* Offer stack */
.offer { background: var(--tint); }
.includes { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 2px solid var(--ink); }
.includes li { padding: 0.95rem 0 0.95rem 2rem; border-bottom: 1px solid var(--hair); position: relative; color: var(--ink-2); }
.includes li::before { content: ""; position: absolute; left: 0.2rem; top: 1.55rem; width: 0.85rem; height: 0.45rem; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.includes strong { color: var(--ink); }
.fees td.amt-text { font-size: 1.15rem; padding-top: 1.45rem; }
.specimen dd a { color: var(--ink); }

/* Closing action */
.close { border-top: 1px solid var(--ink); }
.close p { color: var(--ink-2); }
.big-addr { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: 0.2rem 0 0.35rem; padding-left: 0.2em; }
.reply { font-size: 1rem; color: var(--ink-2); margin: 0 0 1.6rem; }

/* Footer */
footer.site { border-top: 1px solid var(--ink); padding: 2rem 0 2.4rem; font-family: var(--sans); font-size: 0.85rem; color: var(--muted); background: var(--paper); }
footer.site p { margin: 0 0 0.25rem; }
.foot-mark { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600; color: var(--ink); font-size: 0.95rem; margin-bottom: 0.6rem !important; display: inline-block; padding-bottom: 0.3rem; border-bottom: 1px solid var(--ink); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; }
footer.site nav { gap: 0; }
footer.site nav a { color: var(--ink-2); font-size: 0.85rem; }
footer.site nav a + a::before { content: "|"; color: var(--hair); margin: 0 0.7rem; }

/* Sub-pages: terms, privacy, legal */
.page-main { padding: 3.5rem 0 4rem; }
.page-main h1 { max-width: 20ch; margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 2.6rem); }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.3rem; margin: 2.1rem 0 0.7rem; }
.prose p, .prose li { margin: 0 0 0.85rem; }
.prose ol, .prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.draft-banner { background: var(--tint); color: var(--ink); border-bottom: 1px solid var(--hair); padding: 0.85rem 0; font-size: 0.95rem; }
.draft-banner p { margin: 0; max-width: 52rem; }
.subhead { font-size: 1.15rem; line-height: 1.5; max-width: 40rem; margin: 0 0 2rem; color: var(--ink-2); }
dl.legal { max-width: 44rem; }
dl.legal dt { font-weight: 600; margin: 1.15rem 0 0.25rem; }
dl.legal dd { margin: 0; }

/* Mobile */
@media (max-width: 719px) {
  body { font-size: 1.0625rem; }
  .wrap, .wrap.narrow { width: calc(100% - 2.5rem); margin-inline: auto; }
  .header-inner { padding: 1rem 0 0.9rem; gap: 0.9rem; }
  .wordmark, header.site a.wordmark[href] { font-size: 1.12rem; letter-spacing: 0.2em; }
  nav { width: 100%; gap: 0.4rem 1.1rem; }
  nav a { font-size: 0.86rem; padding: 0.3rem 0; }
  header.site nav { width: auto; }
  header.site nav a.nav-sec { display: none; }
  nav a.nav-cta { padding: 0.45rem 0.7rem; }
  .header-inner { flex-wrap: nowrap; }
  section { padding: 3.25rem 0; }
  .hero { padding: 2.6rem 0 3.25rem; }
  .lede { font-size: 1.12rem; }
  .btn { display: block; text-align: center; }
  .specimen dl div { grid-template-columns: 8rem 1fr; }
  .buyer-names { flex-direction: column; gap: 0.35rem; }
  .buyer-names li:not(:last-child)::after { content: none; }
  .fees, .fees tbody, .fees tr, .fees th, .fees td { display: block; width: 100%; }
  .fees tr { padding: 1rem 0; border-bottom: 1px solid var(--hair); }
  .fees tr:last-child { border-bottom: 0; }
  .fees th, .fees td { padding: 0; border: 0; }
  .fees td.amt { width: auto; margin: 0.4rem 0 0.2rem; font-size: 1.45rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Order page (brief.html) */
.order { padding: 3rem 0 4rem; border-top: 0; }
.order h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); max-width: 22ch; margin-bottom: 0.8rem; }
.order .subhead { margin-bottom: 1.8rem; }
.panel { border: 1px solid var(--ink); padding: 1.4rem 1.4rem 1.2rem; margin: 0 0 1.6rem; background: var(--paper); }
.panel h2 { font-size: 1.15rem; margin: 0 0 0.9rem; }
.field { margin: 0 0 1.05rem; }
.field label { display: block; font-family: var(--sans); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.35rem; }
.field .hint { display: block; font-family: var(--sans); font-size: 0.82rem; color: var(--muted); font-weight: 400; margin-top: 0.15rem; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 0.7rem 0.75rem; border: 1px solid #767676; border-radius: 0; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--ink); }
.field input.ref-input { font-family: var(--sans); letter-spacing: 0.06em; text-transform: uppercase; max-width: 18rem; }
.row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: flex-end; }
.btn-plain { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; padding: 0.75rem 1.1rem; border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.btn-plain:hover { background: var(--ink); color: #fff; }
.msg { font-family: var(--sans); font-size: 0.92rem; margin: 0.6rem 0 0; min-height: 1.2em; }
.msg.bad { color: #9b1c1c; }
.found { border-top: 2px solid var(--ink); margin-top: 1rem; padding-top: 1rem; }
.found .co { font-weight: 600; font-size: 1.15rem; margin: 0 0 0.2rem; }
.found .meta { font-family: var(--sans); font-size: 0.88rem; color: var(--muted); margin: 0 0 0.8rem; }
table.awards { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.88rem; margin: 0 0 0.6rem; }
table.awards th, table.awards td { text-align: left; padding: 0.45rem 0.5rem 0.45rem 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
table.awards th { border-bottom: 1px solid var(--ink); font-weight: 600; }
.switch { font-family: var(--sans); font-size: 0.92rem; margin: 0.4rem 0 0; }
.switch button { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.pay { border-top: 1px solid var(--ink); padding-top: 1.4rem; }
.pay .btn { font-size: 1.1rem; padding: 1.05rem 2rem; }
.pay .btn[aria-disabled="true"] { background: #8a96a8; cursor: not-allowed; }
.pay .confirm { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); margin-top: 0.9rem; max-width: 36rem; }
[hidden] { display: none !important; }
@media (max-width: 719px) {
  .panel { padding: 1.1rem 1rem 1rem; }
  .field input.ref-input { max-width: none; }
  .row .btn-plain { width: 100%; }
}

/* Proof: one real sample brief screenshot, no stock or AI images */
.proof { margin: 0 0 2rem; max-width: 42rem; }
.proof img, .proof picture img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.proof figcaption {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.65rem 0 0;
}
