/* Connect guides (connect-guides/README.md): large type, one action per step,
   for owners aged 55-65+. Built on styles.css (the service counter). */

.connect-guide main.cg { max-width: 780px; margin: 0 auto; padding: 1.5rem var(--pad) 3rem; }
.connect-guide main.cg > section { padding: 0; margin: 0 0 2.5rem; }
.connect-guide { font-size: 1.1875rem; }

.cg-head h1 {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.9rem, 5.5vw, 2.6rem);
  margin-top: 1rem;
}
.cg-lead { font-size: 1.25rem; }
.cg-before, .cg-pick { color: var(--muted); }

.cg-records table { width: 100%; border-collapse: collapse; background: #fff; border: 2px solid var(--green); border-radius: var(--radius); overflow: hidden; }
.cg-records th, .cg-records td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cg-records th { background: var(--green-tint); font-size: .95rem; }
.cg-records td:first-child, .cg-records td:nth-child(2) { font-weight: 700; white-space: nowrap; }
.cg-records .mono { font-family: "IBM Plex Mono", ui-monospace, monospace; word-break: break-all; }
.cg-fine { font-size: 1rem; color: var(--muted); }

.cg-steps ol { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.cg-steps li { counter-increment: step; position: relative; padding: 0 0 2rem 3.6rem; }
.cg-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -.15rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--stamp); color: #fff;
  font: 700 1.3rem/2.5rem "Public Sans", system-ui, sans-serif; text-align: center;
}
.cg-steps h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.cg-steps p { margin: 0 0 .8rem; }
.cg-steps figure { margin: 0; }
.cg-steps figcaption { font-size: .95rem; color: var(--muted); margin-top: .3rem; }
@media (min-width: 900px) { .cg-steps figcaption { display: none; } }
.cg-steps img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

.cg-notes p { background: var(--manila); border-left: 5px solid var(--manila-edge); padding: .7rem 1rem; border-radius: 6px; }
.cg-help { background: var(--green-tint); border-radius: var(--radius); padding: 1.2rem 1.4rem !important; }
.cg-sources { font-size: .9rem; color: var(--muted); }

@media (max-width: 560px) {
  .cg-steps li { padding-left: 0; padding-top: 3rem; }
  /* Phones: one record per block, the value on its own full-width line, never
     broken mid-address (a wrapped IPv6 gets typed wrong; owner review 10-25). */
  .cg-records thead { display: none; }
  .cg-records table, .cg-records tbody { display: block; }
  .cg-records tr { display: block; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
  .cg-records tr:last-child { border-bottom: 0; }
  .cg-records td { display: inline; padding: 0; border: 0; }
  .cg-records td:first-child::before { content: "Type "; font-weight: 400; color: var(--muted); }
  .cg-records td:nth-child(2)::before { content: "  ·  Name "; font-weight: 400; color: var(--muted); white-space: pre; }
  .cg-records td:nth-child(3) { display: block; margin-top: .25rem; }
  .cg-records .mono { word-break: normal; white-space: nowrap; font-size: .98rem; }
}
