/* TechHelp print pieces. Letter paper. Open in a browser, edit the dotted blanks, print. */

:root {
  --ink: #23201b;
  --soft: #55504a;
  --terracotta: #c4573a;
  --terracotta-deep: #a4452c;
  --sage: #6b8f71;
  --sand: #e6d7bf;
  --line: rgba(35, 32, 27, 0.18);
}

@page { size: letter; margin: 0.5in; }

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  font-size: 13.5pt;
  line-height: 1.45;
  background: #ddd;
}

.sheet {
  width: 8.5in;
  min-height: 11in;
  margin: 0.5in auto;
  padding: 0.6in;
  background: #fff;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
  position: relative;
}

.sheet.landscape { width: 11in; min-height: 8.5in; }

.toolbar {
  max-width: 8.5in;
  margin: 0.5in auto 0;
  padding: 0.75rem 1rem;
  background: #fff8ec;
  border: 1px solid var(--sand);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--soft);
}
.toolbar b { color: var(--ink); }
.toolbar button {
  float: right;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--terracotta);
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  cursor: pointer;
}

.blank {
  display: inline-block;
  min-width: 6ch;
  padding: 0 0.25em;
  border-bottom: 2px dotted var(--terracotta);
  color: var(--terracotta-deep);
  font-weight: 700;
}
.blank:focus { outline: 2px solid var(--sage); border-radius: 3px; }

.logo {
  font-family: Lora, Georgia, serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin: 0;
}
.logo span { color: var(--terracotta); }

h1, h2, h3 {
  font-family: Lora, Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; margin-top: 1.5rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 0.75rem; }
.soft { color: var(--soft); }
.small { font-size: 0.95rem; }

.rates { width: 100%; border-collapse: collapse; margin: 0.75rem 0 1rem; }
.rates th, .rates td { text-align: left; padding: 0.55rem 0.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.rates th { font-weight: 700; width: 45%; }
.rates td.price { font-family: Lora, Georgia, serif; font-size: 1.35rem; font-weight: 700; color: var(--terracotta-deep); white-space: nowrap; width: 20%; }

ul.checks { list-style: none; padding: 0; margin: 0 0 0.75rem; }
ul.checks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.35rem; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }

.contact {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  background: #fbf6ee;
  border: 1px solid var(--sand);
  border-radius: 12px;
}
.contact strong { font-size: 1.1rem; }

.footer-line {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--soft);
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}

@media print {
  html, body { background: #fff; height: auto; overflow: visible; }
  body { font-size: 11.5pt; line-height: 1.38; }
  .toolbar, .screen-only { display: none !important; }
  .sheet, .sheet.landscape { margin: 0; box-shadow: none; width: auto; min-height: auto; padding: 0; font-size: 11.5pt; }
  .footer-line { font-size: 0.85rem; margin-top: 0.8rem; }
  .contact, .rates { break-inside: avoid; }
  .blank { border-bottom-color: transparent; color: var(--ink); }
  h1 { font-size: 1.9rem; }
  h2 { margin-top: 1rem; font-size: 1.35rem; }
  p { margin-bottom: 0.55rem; }
  .rates th, .rates td { padding: 0.45rem 0.25rem; }
  .rates td.price { font-size: 1.25rem; }
  .contact { margin-top: 0.9rem; }
  .footer-line { margin-top: 1rem; }
}
