/* DTVentures — site stylesheet. No external fonts, no frameworks.
   Colour pairs used for text are declared as custom properties so build.py can
   compute their contrast ratios (WCAG 2.x, >= 4.5:1 required). */
:root {
  --text: #1b1f24;
  --muted: #4b5563;
  --bg: #ffffff;
  --panel: #f3f4f6;
  --accent: #1d3f6e;
  --on-accent: #ffffff;
  --rule: #d5d9df;
  --ph-bg: #fff4c2;
  --ph-text: #5a4300;
  --ph-border: #b38600;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--accent); text-underline-offset: 2px; }
a:hover, a:focus { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--on-accent); padding: .5rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

.wrap { max-width: 60rem; margin: 0 auto; padding: 0 1.25rem; }

header.site {
  border-bottom: 1px solid var(--rule);
}
header.site .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .5rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem;
}
.brand { font-weight: 700; font-size: 1.2rem; letter-spacing: .01em; color: var(--text); text-decoration: none; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
nav a { text-decoration: none; }
nav a:hover, nav a:focus { text-decoration: underline; }
nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

main { padding: 2rem 0 3rem; }

h1 { font-size: 2rem; line-height: 1.25; margin: 0 0 1rem; letter-spacing: -.01em; }
h2 { font-size: 1.4rem; line-height: 1.3; margin: 2.75rem 0 .75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
p, ul, ol, dl { margin: 0 0 1rem; }
li { margin-bottom: .35rem; }

.lede { font-size: 1.2rem; color: var(--text); max-width: 46rem; }
.muted { color: var(--muted); }
.small { font-size: .925rem; }

.cta {
  display: inline-block; background: var(--accent); color: var(--on-accent);
  padding: .7rem 1.1rem; border-radius: 4px; text-decoration: none; font-weight: 600;
}
.cta:hover, .cta:focus { text-decoration: underline; color: var(--on-accent); }

.people { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.person { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; align-items: start; }
.photo {
  width: 8rem; height: 10rem; display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: .8rem; padding: .5rem;
}
img.photo { display: block; padding: 0; object-fit: cover; }
.agent-mark {
  width: 8rem; height: 10rem; display: flex; align-items: center; justify-content: center;
  background: var(--panel); color: var(--text); border: 1px solid var(--rule);
  font-weight: 700; font-size: 1.1rem;
}

.steps { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.step { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 1.25rem 1.25rem .5rem; }
.step h3 { margin-top: 0; }
.price { font-size: 1.6rem; font-weight: 700; margin: 0 0 .5rem; }
.price span { font-size: 1rem; font-weight: 400; color: var(--muted); }

ol.timeline { padding-left: 1.4rem; }
ol.timeline li { margin-bottom: .75rem; }

table { border-collapse: collapse; width: 100%; margin: 0 0 1rem; font-size: .975rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--rule); }
th { background: var(--panel); color: var(--text); }
th[scope="row"] { width: 30%; font-weight: 600; }

.note { background: var(--panel); border-left: 4px solid var(--accent); padding: .9rem 1rem; margin: 0 0 1rem; }

/* Placeholders: deliberately loud so none survives review unnoticed. */
.ph {
  background: var(--ph-bg); color: var(--ph-text); border: 1px dashed var(--ph-border);
  padding: 0 .25rem; font-weight: 600;
}
div.ph { padding: .5rem; }

footer.site { border-top: 1px solid var(--rule); background: var(--panel); color: var(--text); }
footer.site .wrap { padding-top: 1.25rem; padding-bottom: 1.5rem; font-size: .925rem; }
footer.site p { margin-bottom: .4rem; }

@media (min-width: 46rem) {
  h1 { font-size: 2.4rem; }
  .people { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media print {
  header.site nav, .skip, .cta { display: none; }
  a { color: var(--text); }
}
