/* DTVentures — site stylesheet.
   No external fonts, no frameworks, no JavaScript. System type, one accent.
   Every text/background pair below meets WCAG 2.x 4.5:1. */

:root {
  --ink: #0c0f13;        /* near-black: intro, header, footer, display type */
  --ink-2: #1a1f26;
  --paper: #f6f4ef;      /* warm off-white page */
  --panel: #ffffff;
  --text: #15181d;
  --muted: #5a606a;      /* 4.9:1 on paper */
  --muted-dark: #a9afb8; /* on ink: 7.6:1 */
  --rule: #ddd8ce;
  --rule-dark: #2a2f37;
  --accent: #9e1b22;     /* deep red, used sparingly: 6.3:1 on paper */
  --accent-dark: #d8575e; /* on ink: 5.6:1 */
  --on-ink: #f6f4ef;
  --max: 72rem;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Inter, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 .6em; }
h1 { font-size: clamp(2.25rem, 5.2vw, 4.25rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2rem; margin: 0 0 1.1em; }
li { margin: .35em 0; }
strong { font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  color: var(--muted); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--accent); }
.dark .eyebrow { color: var(--muted-dark); }

.lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--muted); max-width: 42rem; }
.dark .lede { color: var(--muted-dark); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.measure { max-width: 42rem; }

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: grid; place-items: center;
  animation: intro-out .6s ease .3s forwards;
  animation-delay: 1.7s;
  pointer-events: none;
}
.intro svg { width: min(34vw, 220px); height: auto; }
.intro .stroke {
  fill: none; stroke: var(--on-ink); stroke-width: 10; stroke-linecap: square; stroke-linejoin: miter;
  stroke-dasharray: 420; stroke-dashoffset: 420;
  animation: draw 1.1s cubic-bezier(.65,0,.35,1) .15s forwards;
}
.intro .stroke.t { animation-delay: .45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: var(--on-ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: inherit; }
.brand svg { width: 2.1rem; height: auto; }
.brand .mark { fill: none; stroke: currentColor; stroke-width: 10; stroke-linecap: square; }
.brand span { font-size: .95rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; }
.site-header nav ul { list-style: none; display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); margin: 0; padding: 0; }
.site-header nav a { text-decoration: none; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--on-ink); }
.site-header nav a { white-space: nowrap; }
@media (max-width: 40rem) { .site-header nav ul { gap: .9rem; } .site-header nav a { font-size: .72rem; letter-spacing: .03em; } .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-ink); padding: clamp(4rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--rule-dark); }
.hero h1 { max-width: 20ch; }
.hero .lede { margin-top: 1.5rem; }
.hero .cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.button {
  display: inline-block; text-decoration: none; font-weight: 500; font-size: .95rem; letter-spacing: .04em;
  padding: .95rem 1.5rem; border: 1px solid var(--on-ink); color: var(--on-ink); border-radius: 2px;
  transition: background .2s, color .2s;
}
.button:hover { background: var(--on-ink); color: var(--ink); }
.button.solid { background: var(--on-ink); color: var(--ink); }
.button.solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.light .button { border-color: var(--ink); color: var(--ink); }
.light .button:hover { background: var(--ink); color: var(--on-ink); }
.hero .note { color: var(--muted-dark); font-size: .95rem; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: end; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.4fr 1fr; } }
.hero-facts { border-top: 1px solid var(--rule-dark); }
.hero-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--rule-dark); font-size: .95rem; }
.hero-facts dt { color: var(--muted-dark); }
.hero-facts dd { margin: 0; text-align: right; }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
section + section { border-top: 1px solid var(--rule); }
.dark { background: var(--ink); color: var(--on-ink); }
.dark + .dark { border-top-color: var(--rule-dark); }
.two { display: grid; grid-template-columns: 1fr; gap: 2.5rem 4rem; }
@media (min-width: 56rem) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
.two > h2 { margin: 0; }

/* People */
.people { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 48rem) { .people { grid-template-columns: 1fr 1fr; } }
.person { background: var(--panel); border: 1px solid var(--rule); padding: 2rem; }
.person figure { margin: 0 0 1.25rem; }
.person img { display: block; width: 7rem; height: 7rem; object-fit: cover; object-position: top; border-radius: 2px; filter: grayscale(100%); }
.person .glyph { width: 7rem; height: 7rem; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); border-radius: 2px; }
.person .glyph svg { width: 3.5rem; }
.person .glyph .mark { fill: none; stroke: currentColor; stroke-width: 10; stroke-linecap: square; }
.person h3 { margin-bottom: .25rem; }
.person .role { color: var(--accent); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; }

/* Examples list */
.examples { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--rule); }
.examples li { margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; }
.examples li strong { font-weight: 500; }
@media (max-width: 40rem) { .examples li { grid-template-columns: 1fr; gap: .25rem; } }

/* Price cards */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 52rem) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--panel); border: 1px solid var(--rule); padding: 2.25rem; display: flex; flex-direction: column; }
.card .step { color: var(--accent); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.card h3 { font-size: 1.5rem; margin: .5rem 0 1rem; }
.price { font-size: clamp(2.5rem, 4vw, 3.25rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin: 0 0 .25rem; }
.price small { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-left: .5rem; }
.card .when { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }
.card ul { padding-left: 0; list-style: none; margin: 0; border-top: 1px solid var(--rule); }
.card li { padding: .75rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.card .credit { margin-top: 1.25rem; padding: 1rem 1.25rem; background: var(--paper); border-left: 2px solid var(--accent); font-size: .95rem; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--rule-dark); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule-dark); margin: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--accent-dark); font-size: .9rem; letter-spacing: .1em; padding-top: .25rem; grid-column: 1; grid-row: 1 / span 2; }
.steps li > strong, .steps li > span { grid-column: 2; }
.steps li strong { display: block; font-weight: 500; margin-bottom: .2rem; }
.steps li span { color: var(--muted-dark); }

/* Guarantee */
.pull { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; max-width: 30ch; margin: 0 0 1.5rem; }

/* Facts table */
.facts { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: .98rem; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.facts th { font-weight: 500; color: var(--muted); width: 14rem; padding-right: 1.5rem; }
@media (max-width: 40rem) { .facts th, .facts td { display: block; width: auto; } .facts th { border-bottom: 0; padding-bottom: 0; } }

/* Generic tables (privacy, data) */
table.plain { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .98rem; }
table.plain th, table.plain td { text-align: left; vertical-align: top; padding: .75rem .75rem .75rem 0; border-bottom: 1px solid var(--rule); }
table.plain thead th { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
table.plain tbody th { font-weight: 500; }

/* Exclusions */
.no-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.no-list li { padding: .9rem 0 .9rem 1.75rem; border-top: 1px solid var(--rule); position: relative; margin: 0; }
.no-list li:last-child { border-bottom: 1px solid var(--rule); }
.no-list li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: .9rem; height: 1px; background: var(--accent); }

/* Start */
.start h2 { max-width: 20ch; }
.start .email { font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid var(--accent-dark); }
.start .email:hover { color: var(--accent-dark); }

/* Document pages */
.doc { padding: clamp(3rem, 7vw, 5rem) 0; }
.doc .wrap { max-width: 46rem; }
.doc h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.doc h3 { font-size: 1.1rem; margin-top: 1.75rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 3rem 0 2.5rem; font-size: .9rem; border-top: 1px solid var(--rule-dark); }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; align-items: flex-start; }
.site-footer .brand { color: var(--on-ink); margin-bottom: 1rem; }
.site-footer p { margin: 0 0 .5rem; max-width: 46rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
