/* Giant Concepts – Standard Consulting Agreement */
@page { size: A4; margin: 10mm 12mm; }
:root { --ink:#1E2329; --body:#3A414A; --muted:#5F6066; --rule:#DDE1E6; --accent:#1C6FA8; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #F6F7F9; color: var(--ink); }
body { font-family: "Segoe UI", Inter, Helvetica, Arial, sans-serif; font-size: 9pt; line-height: 1.36; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.page { width: 210mm; min-height: 297mm; margin: 24px auto; padding: 12mm 14mm; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06); }
header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
header img { width: 30mm; height: auto; display: block; }
header .meta { text-align: right; font-size: 8.4pt; color: var(--muted); line-height: 1.45; }
header .meta strong { color: var(--ink); }
h1 { margin: 8px 0 2px; font-size: 15pt; letter-spacing: -0.01em; }
.intro { margin: 0 0 8px; color: var(--body); }
ol.clauses { margin: 0; padding: 0; list-style: none; counter-reset: c; columns: 2; column-gap: 8mm; }
ol.clauses > li { counter-increment: c; break-inside: avoid; margin: 0 0 5px; color: var(--body); }
ol.clauses > li h2 { margin: 0 0 1px; font-size: 9.8pt; color: var(--ink); }
ol.clauses > li h2::before { content: counter(c) ". "; color: var(--accent); }
ol.clauses p { margin: 0; }
ol.sub { margin: 2px 0 0; padding-left: 14px; }
ol.sub li { margin: 0 0 1px; }
.sign { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; break-inside: avoid; }
.sign h3 { margin: 0 0 6px; font-size: 9.4pt; }
.line { display: flex; align-items: flex-end; gap: 6px; margin: 0 0 4px; font-size: 8.4pt; color: var(--muted); }
.line span { flex: none; width: 19mm; }
.line i { flex: 1; border-bottom: 1px solid #9AA1A9; height: 14px; }
footer { margin-top: 8px; font-size: 7.8pt; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.print-btn { text-decoration: none; position: fixed; right: 20px; bottom: 20px; font: 600 14px/1 "Segoe UI", Arial, sans-serif; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 14px 20px; cursor: pointer; }
@media screen and (max-width: 820px) {
  .page { width: auto; min-height: 0; margin: 0; padding: 20px 16px; box-shadow: none; }
  ol.clauses { columns: 1; }
  .sign { grid-template-columns: 1fr; }
  body { font-size: 15px; }
}
@media print {
  html, body { background: #FFFFFF; }
  .page { margin: 0; padding: 0; width: auto; min-height: 0; box-shadow: none; }
  .print-btn { display: none; }
}
