/* ============================================================================
   discoveritlegal.com

   Consumes tokens.css and fonts.css. Holds no colour of its own — every value
   here goes through a var(--dfy-*), which is checkable:

       grep -E "#[0-9A-Fa-f]{6}" assets/site.css     # must return nothing

   Direction: dark editorial. Serif for reading, Archivo for anything that is a
   label rather than a sentence, square corners, left stripes instead of cards,
   and density where the product's credibility lives.
   ============================================================================ */

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

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

body {
  margin: 0;
  background: var(--dfy-ground);
  color: var(--dfy-ink);
  font-family: var(--dfy-font-body);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- skeleton ---------- */

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }

main { display: block; padding-bottom: 88px; }

section { margin: 0 0 56px; }

/* ---------- masthead ---------- */

header.site {
  border-bottom: 1px solid var(--dfy-rule);
  margin-bottom: 52px;
}

header.site .bar {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  max-width: 1080px; margin: 0 auto; padding: 18px 28px;
}

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--dfy-ink);
  font-family: var(--dfy-font-ui); font-weight: 700;
  font-size: 17px; letter-spacing: -0.015em;
}
.brand svg { width: 26px; height: 26px; color: var(--dfy-accent); flex: none; }
.brand:hover { color: var(--dfy-accent); }

nav.site { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
nav.site a {
  font-family: var(--dfy-font-ui); font-size: 14px;
  color: var(--dfy-muted); text-decoration: none;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
}
nav.site a:hover { color: var(--dfy-ink); border-bottom-color: var(--dfy-accent); }
nav.site a[aria-current="page"] { color: var(--dfy-ink); border-bottom-color: var(--dfy-accent); }

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--dfy-font-ui); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--dfy-accent);
  margin: 0 0 14px;
}

h1 {
  font-family: var(--dfy-font-head); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12;
  letter-spacing: -0.005em; margin: 0 0 16px; max-width: 24ch;
  text-wrap: balance;
}

h2 {
  font-family: var(--dfy-font-head); font-weight: 600;
  font-size: 24px; line-height: 1.25; letter-spacing: -0.004em;
  margin: 0 0 14px; text-wrap: balance;
}

h3 {
  font-family: var(--dfy-font-ui); font-weight: 600;
  font-size: 15px; margin: 30px 0 8px; letter-spacing: 0.002em;
}

p { margin: 0 0 16px; max-width: var(--dfy-measure); }

.standfirst {
  font-size: 19px; line-height: 1.55; color: var(--dfy-muted);
  max-width: 60ch; margin: 0 0 26px;
}

.lede { color: var(--dfy-muted); max-width: 64ch; margin: 0 0 24px; }

a { color: var(--dfy-accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

strong { font-weight: 600; color: var(--dfy-ink); }
em { font-style: italic; }

code, .mono {
  font-family: var(--dfy-font-mono); font-size: 0.87em;
  background: var(--dfy-accent-soft); color: var(--dfy-ink);
  padding: 1px 5px; border-radius: var(--dfy-radius);
}

ul.plain { list-style: none; padding: 0; margin: 0 0 16px; max-width: var(--dfy-measure); }
ul.plain li { position: relative; padding-left: 17px; margin-bottom: 7px; }
ul.plain li::before { content: "—"; position: absolute; left: 0; color: var(--dfy-accent); }

/* ---------- the left stripe: this system's card ---------- */

.stripe {
  border-left: var(--dfy-stripe) solid var(--dfy-accent);
  background: var(--dfy-panel);
  padding: 20px 24px;
  margin: 26px 0;
}
.stripe > :last-child { margin-bottom: 0; }
.stripe h3 { margin-top: 0; }

.stripe.warn { border-left-color: var(--dfy-warn); background: var(--dfy-warn-soft); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--dfy-font-ui); font-size: 14px; font-weight: 600;
  background: var(--dfy-action); color: var(--dfy-action-ink);
  padding: 11px 22px; border-radius: var(--dfy-radius);
  text-decoration: none; border: 0; cursor: pointer;
}
.btn:hover { filter: brightness(1.12); color: var(--dfy-action-ink); }

.btn-quiet {
  display: inline-block;
  font-family: var(--dfy-font-ui); font-size: 14px; font-weight: 600;
  color: var(--dfy-accent); text-decoration: none;
  padding: 11px 0; border-bottom: 1px solid var(--dfy-accent);
}
.btn-quiet:hover { color: var(--dfy-ink); border-bottom-color: var(--dfy-ink); }

.btnrow { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- columns ---------- */

.cols { display: grid; gap: 34px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- hero with pictures ---------- */

/* The opening text beside screenshots of the product. The text keeps its measure; without the
   pictures, a hero of short lines left the right half of a wide screen empty, and the part of the
   page that matters most used the least of it. */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 52px;
  align-items: center;
}
.hero-split h1 { max-width: 16ch; }

/* One above the other when there are two, in the order the work happens. Separate rather than
   overlapping: overlapped, the front one read as a picture that had slipped out of place. */
.hero-shots { display: grid; gap: 26px; }
.hero-shots figure { margin: 0; }
.hero-shots img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--dfy-rule);
  background: var(--dfy-ground);
}
.hero-shots figcaption {
  font-family: var(--dfy-font-ui); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--dfy-muted);
  margin: 0 0 7px;
}
.hero-shots figcaption b { color: var(--dfy-accent); font-weight: 600; }

.step { border-top: 1px solid var(--dfy-rule); padding-top: 14px; }
.step .n {
  font-family: var(--dfy-font-ui); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.13em; color: var(--dfy-accent);
}
.step h3 { margin: 6px 0 6px; font-family: var(--dfy-font-head); font-size: 17px; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--dfy-muted); margin: 0; }

/* ---------- screenshots ----------
   A dark application on a dark page needs an edge, or it bleeds into the
   background and reads as part of the layout rather than as a picture of
   something. A rule does that; this system does not use shadows for it. */

figure.shot { margin: 30px 0 34px; }

figure.shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--dfy-rule);
  border-radius: var(--dfy-radius);
  background: var(--dfy-panel);
}

/* As wide as the picture above it. Capped at a reading measure, a caption stopped two thirds of the
   way across a full-width screenshot and read as text that had lost its place. */
figure.shot figcaption {
  font-family: var(--dfy-font-ui); font-size: 13px; line-height: 1.55;
  color: var(--dfy-muted); margin-top: 11px;
}
figure.shot figcaption p { max-width: none; }

/* Each screenshot links to its own file, so a click shows it full size, where the browser can
   zoom it, and Back returns to the page. A plain link rather than a script: the site runs none
   (script-src 'none' in _headers), and this needs none. */
a.shot-open { display: block; cursor: zoom-in; border-radius: var(--dfy-radius); }
a.shot-open:hover img { border-color: var(--dfy-accent); }
a.shot-open:focus-visible { outline: 2px solid var(--dfy-accent); outline-offset: 3px; }

/* ---------- terminal output ----------
   A command line's output is text, so it is published as text rather than as a
   picture of text: selectable, searchable, legible at 375px, and it does not go
   stale as a PNG when the wording changes. The left stripe is the same device
   the callouts use, so a block of output reads as part of the page. */

pre.term {
  font-family: var(--dfy-font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  background: var(--dfy-panel);
  border: 1px solid var(--dfy-rule);
  border-left: var(--dfy-stripe) solid var(--dfy-accent);
  border-radius: var(--dfy-radius);
  color: var(--dfy-muted);
  padding: 16px 18px;
  margin: 0;
  overflow-x: auto;
  white-space: pre;
  tab-size: 4;
}

pre.term .c { color: var(--dfy-ink); font-weight: 600; }   /* the command typed */
pre.term .w { color: var(--dfy-warn); }                    /* a warning it raised */
pre.term .g { color: var(--dfy-ok); }                      /* the verdict */

@media (max-width: 820px) { pre.term { font-size: 11.5px; } }

/* ---------- tables ---------- */

.table-scroll { overflow-x: auto; margin: 6px 0 20px; }

table { border-collapse: collapse; width: 100%; font-size: 15px; }

th {
  font-family: var(--dfy-font-ui); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--dfy-muted);
  text-align: left; padding: 0 18px 9px 0;
  border-bottom: 1px solid var(--dfy-rule); white-space: nowrap;
}

td {
  padding: 11px 18px 11px 0;
  border-bottom: 1px solid var(--dfy-rule);
  vertical-align: top; color: var(--dfy-muted);
}

td.k { font-family: var(--dfy-font-mono); font-size: 13px; color: var(--dfy-accent); white-space: nowrap; }
td strong { color: var(--dfy-ink); }

table.figures td { font-family: var(--dfy-font-mono); font-size: 13.5px; color: var(--dfy-ink); }
table.figures th { padding-right: 18px; }

/* ---------- panels, badges and a colour to each product ----------
   The home page says what each tool does in words laid out to be scanned, rather than in pictures
   of screens too small to read. A panel is the one card this system has besides the stripe; a
   product's colour marks what belongs to it, in cards, the comparison and the badges alike. */

.p-collect { --p: var(--dfy-data-3); }
.p-review  { --p: var(--dfy-data-5); }
.p-ai      { --p: var(--dfy-data-6); }
/* The company's own pages take the brand colour, as the home page's cards do. */
.p-company { --p: var(--dfy-accent); }

.panel { background: var(--dfy-panel); border: 1px solid var(--dfy-rule); border-radius: 6px; }

.kicker {
  font-family: var(--dfy-font-ui); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--dfy-accent); margin: 0 0 10px;
}

/* A heading on the left with its sentence on the right, so a section opens across the page. */
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px; align-items: end; margin-bottom: 26px;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 0; }
.section-head p { color: var(--dfy-muted); margin: 0; font-size: 15.5px; }

.badge {
  display: inline-block; font-family: var(--dfy-font-ui); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px;
  color: var(--p, var(--dfy-accent));
  background: color-mix(in oklab, var(--p, var(--dfy-accent)) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--p, var(--dfy-accent)) 35%, transparent);
}

.btn-line {
  display: inline-block; text-align: center; font-family: var(--dfy-font-ui); font-size: 14px; font-weight: 600;
  color: var(--dfy-ink); padding: 10px 22px; border: 1px solid var(--dfy-rule); border-radius: var(--dfy-radius);
  text-decoration: none;
}
.btn-line:hover { border-color: var(--dfy-accent); color: var(--dfy-accent); }

/* ---------- home: the opening, and a real run beside it ----------
   The run card is a DFYCollect run as its Status screen reported it, set as text: the numbers are
   the point, and as text they read at any width, where the screenshot they come from did not. */

.hero2 {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 52px; align-items: center; padding-top: 18px;
}
.hero2 h1 { font-size: clamp(34px, 4.4vw, 50px); max-width: none; margin-bottom: 6px; }
.hero2 .h1-second { display: block; color: var(--dfy-data-3); }
.hero2 .standfirst { margin-top: 18px; }
.hero2 .btnrow { margin-top: 22px; }

.run { overflow: hidden; }
.run header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--dfy-rule);
  font-family: var(--dfy-font-ui); font-size: 13.5px; font-weight: 600;
}
/* In the page's product colour; the home page has none, and its run is DFYCollect's. */
.run header .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--p, var(--dfy-data-3)); margin-right: 8px; }
.run dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.run dl > div { padding: 14px 18px; border-bottom: 1px solid var(--dfy-rule); }
.run dl > div:nth-child(odd) { border-right: 1px solid var(--dfy-rule); }
.run dt { font-family: var(--dfy-font-ui); font-size: 11.5px; color: var(--dfy-muted); letter-spacing: 0.02em; }
.run dd {
  margin: 2px 0 0; font-family: var(--dfy-font-ui); font-size: 26px; font-weight: 600;
  color: var(--dfy-ink); letter-spacing: -0.01em;
}
.run dd.ok { color: var(--dfy-ok); }
.run .bar { height: 4px; background: var(--dfy-rule); margin: 0 18px; border-radius: 2px; overflow: hidden; }
.run .bar span { display: block; width: 62%; height: 100%; background: var(--p, var(--dfy-data-3)); }
.run footer { padding: 14px 18px 16px; font-family: var(--dfy-font-ui); font-size: 12.5px; line-height: 1.5; color: var(--dfy-muted); }
.run footer p { margin: 0 0 6px; max-width: none; }
.run footer p:last-child { margin: 0; }

/* ---------- home: the three tools ---------- */

.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tool { padding: 22px 22px 20px; display: flex; flex-direction: column; border-top: 3px solid var(--p); }
.tool .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.tool .n {
  font-family: var(--dfy-font-ui); font-size: 11px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--p);
}
.tool h3 { font-family: var(--dfy-font-head); font-size: 24px; margin: 0 0 8px; }
.tool .what { font-size: 15px; line-height: 1.5; color: var(--dfy-muted); margin: 0 0 16px; }
.tool .does {
  background: var(--dfy-ground); border: 1px solid var(--dfy-rule); border-radius: 4px;
  padding: 12px 14px; margin: 0 0 16px;
}
.tool .does .lbl {
  font-family: var(--dfy-font-ui); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--dfy-muted); margin: 0 0 8px;
}
.tool .does ul { list-style: none; margin: 0; padding: 0; }
.tool .does li {
  font-family: var(--dfy-font-ui); font-size: 13.5px; line-height: 1.45; color: var(--dfy-ink);
  padding-left: 14px; position: relative; margin-bottom: 5px;
}
.tool .does li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--p);
}
.tool .ticks { list-style: none; margin: 0 0 18px; padding: 0; }
.tool .ticks li {
  font-family: var(--dfy-font-ui); font-size: 13.5px; color: var(--dfy-muted);
  display: flex; gap: 9px; align-items: flex-start; margin-bottom: 7px;
}
.tool .ticks svg { width: 16px; height: 16px; flex: none; color: var(--p); margin-top: 1px; }
.tool .go, table.cmp .go, .limit a {
  font-family: var(--dfy-font-ui); font-weight: 600; color: var(--p); text-decoration: none;
}
.tool .go { margin-top: auto; font-size: 14.5px; }
.tool .go:hover, table.cmp .go:hover, .limit a:hover { text-decoration: underline; }

/* ---------- home: the comparison ----------
   A product to a column, its name as the heading, a row label to the left. On a phone it scrolls
   inside its panel rather than squeezing three columns into one width. */

.compare-panel { overflow-x: auto; }
table.cmp { min-width: 720px; table-layout: fixed; font-size: 15px; }
table.cmp th, table.cmp td { padding: 16px 18px; border-bottom: 1px solid var(--dfy-rule); vertical-align: top; }
table.cmp thead th {
  font-family: var(--dfy-font-head); font-size: 19px; letter-spacing: 0; text-transform: none;
  color: var(--dfy-ink); background: var(--dfy-surface-raised);
}
table.cmp thead th .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--p); margin-right: 9px; vertical-align: middle;
}
table.cmp thead th:first-child, table.cmp tbody th { width: 150px; }
table.cmp tbody th { white-space: normal; padding-top: 18px; }
table.cmp td { color: var(--dfy-muted); line-height: 1.5; }
table.cmp td.lead { color: var(--dfy-ink); font-weight: 500; }
table.cmp tr:last-child th, table.cmp tr:last-child td { border-bottom: 0; }
table.cmp .go { font-size: 13.5px; }

/* ---------- home: why lawyers can rely on it ----------
   One colour for all six: each point is about the whole suite, not one product. */

.pillars { --p: var(--dfy-accent); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar { padding: 20px 20px 22px; border-top: 2px solid var(--p); }
.pillar .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pillar .n { font-family: var(--dfy-font-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.13em; color: var(--p); }
.pillar svg { width: 20px; height: 20px; color: var(--p); }
.pillar h3 { font-family: var(--dfy-font-head); font-size: 19px; margin: 0 0 8px; }
.pillar p { font-size: 14.5px; line-height: 1.55; color: var(--dfy-muted); margin: 0; }

/* ---------- home: limits, then the closing band ---------- */

.limits-head { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; margin-bottom: 14px; }
.limits-head svg { width: 30px; height: 30px; flex: none; color: var(--p, var(--dfy-data-3)); margin-top: 2px; }
.limits-head h2 { margin: 0 0 6px; font-size: 22px; }
.limits-head p { margin: 0; color: var(--dfy-muted); font-size: 15px; }
.limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.limits.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.limit { padding: 18px 20px; display: flex; flex-direction: column; }
.limit .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.limit h3 { margin: 0; font-family: var(--dfy-font-head); font-size: 17px; }
.limit .tag {
  font-family: var(--dfy-font-ui); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--p);
}
.limit p { font-size: 14.5px; line-height: 1.55; color: var(--dfy-muted); margin: 0 0 14px; }
.limit a { margin-top: auto; font-size: 13.5px; }

.closing {
  display: grid; grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 40px; align-items: center; padding: 34px 36px; margin-top: 40px;
}
.closing h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 12px; max-width: 18ch; }
.closing p { color: var(--dfy-muted); margin: 0; }
.closing .btns { display: flex; flex-direction: column; gap: 12px; align-items: stretch; min-width: 220px; }
.closing .btns .btn { text-align: center; }

/* The home page's sections are spaced further apart than an article's: each opens across the page. */
.home-section { margin-top: 72px; }

/* ---------- product pages ----------
   The same panels, in the page's product colour (a p-* class on <body>): steps as numbered cards,
   a few pictures two to a row, measured results as figures, guarantees and ways in as panels. */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stepcard { padding: 20px 20px 22px; border-top: 2px solid var(--p); }
.stepcard .n { font-family: var(--dfy-font-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.13em; color: var(--p); }
.stepcard h3 { font-family: var(--dfy-font-head); font-size: 19px; margin: 8px 0 8px; }
.stepcard p { font-size: 14.5px; line-height: 1.55; color: var(--dfy-muted); margin: 0; }

/* Each picture cut to the same shape from its top left, where a screen starts; a click opens the
   whole of it. height: auto, or the image's own height attribute wins over the aspect ratio. */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.gallery figure { margin: 0; }
.gallery img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left;
  border: 1px solid var(--dfy-rule); border-radius: var(--dfy-radius); background: var(--dfy-panel);
}
.gallery figcaption { font-family: var(--dfy-font-ui); font-size: 13px; line-height: 1.55; color: var(--dfy-muted); margin-top: 10px; }
/* A picture too wide to cut runs across the whole row as it is; one whose point is at its foot is cut from there. */
.gallery .wide { grid-column: 1 / -1; }
.gallery .wide img { aspect-ratio: auto; }
.gallery img.from-foot { object-position: left bottom; }

/* The product's tour, framed like the screenshots below it. The width and height attributes give
   the box its shape before the still arrives; height: auto lets the width decide. */
.promo-video video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  border: 1px solid var(--dfy-rule); border-radius: var(--dfy-radius); background: var(--dfy-panel);
  box-shadow: 0 12px 40px #262d2910;
}

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 20px 20px 22px; }
.stat .lbl {
  font-family: var(--dfy-font-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--p); margin: 0 0 10px;
}
.stat .big {
  font-family: var(--dfy-font-ui); font-size: 30px; font-weight: 600; color: var(--dfy-ink);
  letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 4px;
}
.stat .unit { font-family: var(--dfy-font-ui); font-size: 13.5px; color: var(--dfy-ink); margin: 0 0 12px; }
.stat p { font-size: 14.5px; line-height: 1.55; color: var(--dfy-muted); margin: 0; }

.assure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.assure .panel { padding: 18px 20px 20px; border-left: var(--dfy-stripe) solid var(--p); }
.assure h3 { font-family: var(--dfy-font-head); font-size: 17px; margin: 0 0 6px; }
.assure p { font-size: 14.5px; line-height: 1.55; color: var(--dfy-muted); margin: 0; }
.assure p.role { font-family: var(--dfy-font-ui); font-size: 12.5px; color: var(--dfy-ink); margin: -2px 0 8px; }

.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.ways .panel { padding: 20px 22px; }
.ways h3 { font-family: var(--dfy-font-head); font-size: 19px; margin: 0 0 8px; }
.ways p { font-size: 15px; line-height: 1.55; color: var(--dfy-muted); margin: 0; }

.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.terms figure { margin: 0; }
.terms figcaption { font-family: var(--dfy-font-ui); font-size: 13px; line-height: 1.55; color: var(--dfy-muted); margin-top: 10px; }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--dfy-rule);
  padding: 34px 0 60px;
  font-family: var(--dfy-font-ui); font-size: 13.5px; color: var(--dfy-muted);
}
footer.site .fgrid { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
footer.site a { color: var(--dfy-muted); text-decoration: none; display: block; margin-bottom: 7px; }
footer.site a:hover { color: var(--dfy-accent); }
footer.site .fh {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--dfy-ink); margin-bottom: 11px;
}
footer.site .legal { margin-left: auto; max-width: 34ch; line-height: 1.6; }

/* ---------- forms ---------- */

label { display: block; font-family: var(--dfy-font-ui); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; max-width: 46ch;
  font-family: inherit; font-size: 16px;
  background: var(--dfy-panel); color: var(--dfy-ink);
  border: 1px solid var(--dfy-rule); border-radius: var(--dfy-radius);
  padding: 10px 12px; margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--dfy-accent); outline-offset: 1px; border-color: transparent; }
.form-note { font-family: var(--dfy-font-ui); font-size: 13px; color: var(--dfy-muted); margin: 12px 0 0; }
textarea { min-height: 150px; resize: vertical; }
/* On a line of their own. Left inline, the button after the message box sat beside its bottom
   corner rather than beneath it. */
textarea, select { display: block; }

/* ---------- accessibility and motion ---------- */

:focus-visible { outline: 2px solid var(--dfy-accent); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--dfy-action); color: var(--dfy-action-ink);
  padding: 10px 16px; font-family: var(--dfy-font-ui); font-size: 14px;
}
.skip:focus { left: 8px; top: 8px; z-index: 50; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- narrow ---------- */

@media (max-width: 820px) {
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .hero-split { grid-template-columns: 1fr; gap: 34px; }
  .hero2, .section-head, .closing { grid-template-columns: 1fr; gap: 26px; }
  .tools, .pillars, .limits, .limits.two { grid-template-columns: 1fr; }
  /* minmax(0, …): a command-line block does not wrap, and a bare 1fr column grows to fit it,
     pushing the page wider than a phone. At 0 the block scrolls inside its own box. */
  .steps, .gallery, .stats, .assure, .ways, .terms { grid-template-columns: minmax(0, 1fr); }
  .closing .btns { min-width: 0; }
  header.site .bar { gap: 14px; }
  nav.site { margin-left: 0; width: 100%; gap: 18px; }
  footer.site .legal { margin-left: 0; }
}

/* ---------- print ---------- */

@media print {
  header.site nav, .btnrow, .skip { display: none; }
  body { font-size: 10.5pt; line-height: 1.5; }
  .stripe, table, .step { break-inside: avoid; }
  a { text-decoration: none; }
}
