/* TechRescue — set in Atkinson Hyperlegible (Braille Institute).
   Palette: deep navy ink, cool paper, one high-visibility signal yellow. */

:root {
  --ink:      #131a2b;
  --paper:    #ffffff;
  --wash:     #eef1f6;
  --rule:     #c7cedb;
  --muted:    #4b5466;
  --signal:   #ffd400;
  --alert:    #96180c;

  --measure: 66ch;
  --step: 1.5rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 46rem; }

p, dd, li { max-width: var(--measure); }

/* ---------- links & focus ---------- */

a { color: var(--ink); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-color: var(--alert); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--signal);
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: top 120ms ease-out;
}
.skip:focus { top: 0.75rem; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- header ---------- */

.site-head { border-bottom: 2px solid var(--ink); }

.head-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.wordmark {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.wordmark span {
  box-shadow: inset 0 -0.42em 0 var(--signal);
}

.head-contact { margin: 0; font-weight: 700; }

/* ---------- headings ---------- */

h1 {
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 2rem 0 0.4rem;
}

/* ---------- sections ---------- */

section { padding: calc(var(--step) * 2.6) 0; }
.band { background: var(--wash); }
.band + .band { border-top: 1px solid var(--rule); }

.hero { padding-top: calc(var(--step) * 2); }
.lede { font-size: 1.2rem; max-width: 56ch; margin: 0 0 2.5rem; }

/* ---------- the hero demo ---------- */

.demo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  border-top: 2px solid var(--ink);
  padding-top: 1.5rem;
}

@media (min-width: 46rem) {
  .demo { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.demo-label {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: 0;
}

.demo-note { color: var(--muted); font-size: 0.95rem; margin: 1rem 0 0; }

/* the fake page */
.mock {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.9rem;
}
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mock-logo { width: 5.5rem; height: 1.4rem; background: var(--ink); }
.mock-nav { display: flex; gap: 0.6rem; }
.mock-nav span { display: block; width: 3rem; height: 0.55rem; background: var(--rule); }
.mock-photo {
  margin: 0.9rem 0;
  height: 7.5rem;
  background:
    linear-gradient(135deg, #d7dde8 25%, transparent 25%) -14px 0/28px 28px,
    linear-gradient(225deg, #d7dde8 25%, transparent 25%) -14px 0/28px 28px,
    #e4e9f1;
}
.mock-btn { width: 9rem; height: 2.1rem; background: var(--ink); }

/* the transcript — the one loud thing on the page */
.transcript {
  list-style: none;
  margin: 0;
  padding: 0.9rem 1rem;
  background: var(--signal);
  border: 1px solid var(--ink);
}
.transcript li {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.3rem 0;
}
.transcript li + li { border-top: 1px solid rgba(19, 26, 43, 0.28); }
.transcript li::before { content: "\201C"; }
.transcript li::after  { content: "\201D"; }

.hero-after {
  margin: 2.5rem 0 0;
  font-size: 1.1rem;
  border-left: 4px solid var(--signal);
  padding-left: 1.1rem;
}

/* ---------- form ---------- */

form { margin-top: 2rem; }

.field { margin-bottom: 1.4rem; }

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.req { font-weight: 400; color: var(--muted); }
.opt { font-weight: 400; color: var(--muted); }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  max-width: 30rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 0.6rem 0.7rem;
}

textarea { max-width: 36rem; resize: vertical; }

.hint { font-size: 0.92rem; color: var(--muted); margin: 0.35rem 0 0; }

button[type="submit"] {
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: var(--signal);
  border: 2px solid var(--ink);
  padding: 0.75rem 1.4rem;
  cursor: pointer;
}
button[type="submit"]:hover { background: var(--ink); color: var(--signal); }

.hp { position: absolute; left: -9999px; }

/* ---------- what we fix ---------- */

.fixes { margin: 2rem 0 0; }
.fixes dt {
  font-weight: 700;
  font-size: 1.05rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.1rem;
  margin-top: 1.1rem;
}
.fixes dd { margin: 0.35rem 0 0; color: var(--muted); }

/* ---------- facts ---------- */

.caveat {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1rem;
  font-size: 0.97rem;
}
.source { font-size: 0.92rem; color: var(--muted); }

/* ---------- plans ---------- */

.plans {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: none;
}
.plans > li {
  max-width: none;
  border-top: 1px solid var(--rule);
  padding: 1.3rem 0;
  display: grid;
  gap: 0.2rem 2rem;
  align-items: baseline;
}
@media (min-width: 40rem) {
  .plans > li { grid-template-columns: 8rem 1fr; }
}
.plans > li:last-child { border-bottom: 1px solid var(--rule); }

.price {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  grid-row: span 2;
}
.per { font-size: 1rem; font-weight: 400; }
.plans h3 { margin: 0; font-size: 1.05rem; }
.plans p:not(.price) { margin: 0; color: var(--muted); }

/* ---------- misc ---------- */

.cta-line { margin: 1.5rem 0; }

.btn-link {
  display: inline-block;
  font-weight: 700;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.3rem;
  text-decoration: none;
  border: 2px solid var(--ink);
}
.btn-link:hover { background: var(--signal); color: var(--ink); }

.site-foot {
  border-top: 2px solid var(--ink);
  padding: calc(var(--step) * 2) 0;
}
.foot-name { font-weight: 700; margin-bottom: 0.2rem; }
.site-foot p { margin: 0.2rem 0; }
.colophon { margin-top: 1.5rem; font-size: 0.9rem; color: var(--muted); }

/* ---------- thanks page ---------- */

.thanks { padding: calc(var(--step) * 3) 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
