/* InfoHush website theme.
 *
 * The same system as the app (infohash/DESIGN.md, source of truth
 * ui/src/styles.css :root): a cool off-white page with soft blue light
 * across the top, white rounded cards, slate-blue text, pill buttons with
 * the light InfoHush blue as the only action colour, one serif for every word,
 * small uppercase captions. Two rules carried over: every colour is a token,
 * and every rule that sets background also sets color.
 *
 * The app never fetches a font (New York through ui-serif). A website cannot
 * serve New York, so this page self-hosts EB Garamond (SIL OFL), the face
 * the logo's word is drawn in, as DESIGN.md directs for infohush.com.
 */

@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/eb-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/eb-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/eb-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/eb-garamond-latin-600-normal.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --bg: #f3f5f9; --surface: #ffffff; --surface-2: #f7f9fc; --surface-3: #eef2f8; --track: #dfe6f0; --field: #ffffff;
  --line: #e1e7f0; --line-strong: #7d8aa3;
  --accent: #3a6aa8; --accent-fill: #6aaaf7; --accent-hover: #5a9cf0; --accent-press: #4478bd; --accent-strong: #2a3447;
  --accent-ink: #1d3c66; --accent-dim: #a9cdfa; --accent-tint: #d6e8fd; --accent-wash: #eef5fe;
  --text: #2a3447; --text-2: #4a5670; --text-3: #5f6b85;
  --ok: #15803d; --ok-wash: #f0fdf4; --ok-edge: #bbf7d0; --ok-line: #16a34a;
  --warn: #92400e; --warn-wash: #fffbeb; --warn-edge: #fde68a; --warn-line: #f59e0b;
  --review-wash: rgb(245 158 11 / 22%); --review-ring: rgb(245 158 11 / 55%);
  --danger: #b91c1c; --danger-wash: #fef2f2; --danger-edge: #fecaca; --danger-line: #dc2626;
  --paper: #ffffff; --on-paper: #161616; --redaction: #000000; --on-redaction: #ffffff;
  --on-accent: #071526; --knob: #ffffff; --disabled: #e1e7f0; --on-disabled: #7d8aa3;
  --glow-1: rgba(140,192,255,.55); --glow-2: rgba(108,134,186,.35); --glow-3: rgba(168,200,232,.6); --glow-4: rgba(106,170,247,.45);
  --font: "EB Garamond", ui-serif, "New York", "Iowan Old Style", Charter, Georgia, "Times New Roman", serif;
  --radius: 16px; --radius-md: 12px; --radius-sm: 8px; --pill: 999px;
  --shadow: 0 4px 16px rgba(42,52,71,.1); --shadow-card: 0 1px 2px rgba(42,52,71,.04);
  --focus: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent);
}

* { box-sizing: border-box; }
html { position: relative; background: var(--bg); color: var(--text); scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: transparent; color: var(--text); font: 16px/1.5 var(--font); letter-spacing: .15px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: inherit; }
/* The blue light: four pools behind the top of the page. The site shows
   more of it than the app, as DESIGN.md allows for marketing pages. */
body::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 60% at 8% 0%,  var(--glow-1), transparent 70%),
    radial-gradient(34% 55% at 38% 8%, var(--glow-2), transparent 70%),
    radial-gradient(34% 60% at 68% 0%, var(--glow-3), transparent 70%),
    radial-gradient(30% 55% at 96% 6%, var(--glow-4), transparent 70%);
}
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
img, svg { max-width: 100%; }
.shell { max-width: 1120px; margin: 0 auto; padding: 0 24px 56px; }
.skip { position: fixed; top: -100px; left: 16px; background: var(--surface); color: var(--text); padding: 10px 14px; border-radius: var(--pill); z-index: 5; }
.skip:focus { top: 12px; }
:is(a, button, summary, input, select):focus-visible { outline: none; box-shadow: var(--focus); }

/* type scale */
.caption { font-size: 12px; font-weight: 600; letter-spacing: .96px; text-transform: uppercase; color: var(--text-2); }
h1 { font-size: clamp(42px, 5.2vw, 64px); font-weight: 400; letter-spacing: -.015em; line-height: 1.08; color: var(--text); }
h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 300; letter-spacing: -.015em; line-height: 1.15; color: var(--text); }
h3 { font-size: 20px; font-weight: 500; line-height: 1.4; color: var(--text); }
.lead { font-size: 18px; line-height: 1.55; color: var(--text-2); }
.hint, .desc { color: var(--text-2); font-size: 14px; line-height: 1.55; }
.muted { color: var(--text-3); }
.mono { font-variant-numeric: tabular-nums; }

/* buttons: pills; one filled action per area */
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 16px; font-weight: 500; line-height: 1.29; letter-spacing: 0;
  padding: 10px 20px; border-radius: var(--pill); cursor: pointer; text-decoration: none;
  background: transparent; color: var(--text); border: 1px solid var(--line-strong);
  transition: background .11s, border-color .11s, color .11s;
}
button:hover:not(:disabled), .button:hover { background: var(--accent-wash); border-color: var(--accent-strong); color: var(--accent-strong); }
button.primary, .button.primary { background: var(--accent-fill); color: var(--on-accent); border-color: var(--accent-fill); padding: 10px 22px; font-weight: 600; }
button.primary:hover:not(:disabled), .button.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
button.primary:active, .button.primary:active { background: var(--accent-press); border-color: var(--accent-press); color: var(--on-accent); }
button.wide { width: 100%; }
.linkish { background: none; border: none; padding: 2px 0; border-radius: 0; color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.linkish:hover { color: var(--accent); }

/* a card */
.panel { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card); }

/* ------------------------------------------------------------- header */
.top { display: flex; align-items: baseline; gap: 8px 18px; flex-wrap: wrap; min-height: 72px; padding: 18px 0 16px; border-bottom: 1px solid var(--line); }
.brand { display: flex; line-height: 0; border-radius: 4px; }
.brand-logo { display: block; overflow: visible; }
.brand-logo { --brand-ink: var(--text); --brand-crescent: var(--accent-fill); }
.top .sub { color: var(--text-2); font-size: 16px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; align-self: center; }
.nav > a:not(.button) { color: var(--text-2); text-decoration: none; font-size: 16px; border-radius: 4px; }
.nav > a:not(.button):hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.nav .button { padding: 8px 18px; font-size: 15px; }

/* --------------------------------------------------------------- hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px 0 48px; }
.hero > * { min-width: 0; }
.hero h1 { margin: 16px 0 20px; }
.hero .lead { max-width: 480px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* the example: the app's own review screen, in miniature */
.demo { padding: 20px 20px 16px; overflow: hidden; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.modebar { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--text); }
.modebar span { border-radius: var(--pill); padding: 6px 14px; font-size: 14px; font-weight: 500; background: transparent; color: var(--text-2); white-space: nowrap; }
.modebar span.on { background: var(--accent-fill); color: var(--on-accent); font-weight: 600; }
.local-badge { font-size: 12px; letter-spacing: .32px; padding: 4px 10px; border-radius: var(--pill); background: var(--ok-wash); color: var(--ok); border: 1px solid var(--ok-edge); white-space: nowrap; }
.redaction-workspace { display: grid; grid-template-columns: 1fr; gap: 16px; }
.redaction-workspace > * { min-width: 0; }
.pane { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); color: var(--text); overflow: hidden; }
.pane-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 14px; background: var(--surface-3); color: var(--text-2); font-size: 12px; font-weight: 600; letter-spacing: .96px; text-transform: uppercase; }
.pane-head-note { font-weight: 400; letter-spacing: .4px; text-transform: none; color: var(--text-3); }
.pdf-canvas { padding: 14px 20px 12px; background: var(--surface-2); color: var(--text); }
.pdf-page { position: relative; width: 100%; max-width: 270px; margin: auto; background: var(--paper); color: var(--on-paper); border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow-card); transition: box-shadow .6s, border-color .6s; }
.pdf-contents { padding: 14px 20px 8px; }
.pane-head button { padding: 5px 12px; font-size: 13px; }
.pdf-subtitle { font: 11px/1.3 system-ui, sans-serif; margin-bottom: 10px; }
.pdf-title { font-size: 18px; line-height: 1.3; color: var(--on-paper); }
.pdf-rule { height: 1px; background: var(--line); margin-bottom: 14px; }
.pdf-line { height: 13px; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.pdf-line i { display: block; width: calc(var(--w) * 1px); max-width: 100%; height: 4px; flex-shrink: 1; min-width: 0; border-radius: 1px; background: var(--track); }
/* a passage the review screen points at: the app's amber, see-through */
.pdf-sensitive { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 4px 5px; height: 13px; margin: 0 -2px; background: var(--review-wash); color: var(--on-paper); outline: 1px solid var(--warn-line); border-radius: 2px; transition: background .3s, outline-color .3s; flex-shrink: 0; }
.pdf-detail { height: 22px; gap: 6px; font: 12px/1.3 system-ui, sans-serif; }
.pdf-detail .pdf-sensitive { height: auto; padding: 1px 3px; }
/* the redaction itself stays black: that is the redaction, not the theme */
.redaction-bar { position: absolute; inset: -1px; background: var(--redaction); transform: scaleX(0); transform-origin: left; border-radius: 2px; transition: transform .6s cubic-bezier(.22,.68,.2,1); }
.pdf-sensitive.is-covered .redaction-bar { transform: scaleX(1); }
.pdf-sensitive.is-covered { outline-color: transparent; background: transparent; }
.pdf-paragraph { height: 9px; }
.pdf-bottom { display: flex; justify-content: space-between; padding: 9px 22px; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .8px; text-transform: uppercase; color: var(--text-3); }
.pdf-state { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--warn-wash); color: var(--warn); font-size: 13px; transition: background .4s, color .4s; }
.state-icon { width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.infohash-demo[data-phase=secured] .pdf-state { background: var(--ok-wash); color: var(--ok); }
.infohash-demo[data-phase=secured] .pdf-page { border-color: var(--ok-edge); }
/* the Redaction Panel beside the document */
.redaction-story { padding: 0 2px; }
.sequence-label { font-size: 12px; font-weight: 600; letter-spacing: .96px; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
#sequence-title, #sequence-description { display: none; }
.redaction-findings { list-style: none; padding: 0; margin: 0; }
.redaction-findings li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); }
.redaction-findings li > span:nth-child(2) { min-width: 0; }
.redaction-findings small { display: block; font-size: 12px; color: var(--text-3); }
.risk-indicator { flex: none; width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--warn-edge); background: var(--warn-wash); color: var(--warn); font-size: 11px; font-weight: 600; transition: color .3s, background .3s, border-color .3s; }
.risk-state { flex: none; margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; padding: 2px 9px; border-radius: var(--pill); background: var(--warn-wash); color: var(--warn); border: 1px solid var(--warn-edge); transition: color .3s, background .3s, border-color .3s; }
.redaction-findings li.is-done .risk-indicator, .redaction-findings li.is-done .risk-state { background: var(--ok-wash); color: var(--ok); border-color: var(--ok-edge); }
.redaction-progress { margin-top: 14px; }
.progress-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.progressbar { height: 6px; background: var(--track); border-radius: var(--pill); overflow: hidden; }
.progressbar > div { height: 100%; width: 0; background: var(--accent); border-radius: var(--pill); transition: width .35s ease; }
.animation-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--text-2); }
.animation-controls button { padding: 5px 12px; font-size: 13px; }
.animation-controls button[hidden] { display: none; }
.demo-caption { font-size: 12px; color: var(--text-3); margin-top: 6px; text-align: center; }
.infohash-demo.is-resetting .redaction-bar, .infohash-demo.is-resetting .progressbar > div { transition: none; }

/* ------------------------------------------------------------ sections */
.section { padding: 48px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-head .caption { margin-bottom: 6px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.three .panel { display: flex; flex-direction: column; gap: 10px; }
.three h3 { font-size: 20px; }
.three p:not(.caption):not(.takeaway) { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.takeaway { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--text-3); }

/* the app's progress indicator: a 2px rule, a numbered circle, the name */
.stepbar { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.stepbar li { padding: 14px 16px 0 2px; border-top: 2px solid var(--accent-fill); min-width: 0; }
.step-n { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-fill); color: var(--on-accent); border: 1px solid var(--accent-fill); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepbar h3 { font-size: 18px; margin: 12px 0 6px; }
.stepbar p { color: var(--text-2); font-size: 14px; line-height: 1.6; }

.video-panel { padding: 12px; }
.video-panel video { display: block; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-md); background: var(--surface-3); }
.video-panel .hint { text-align: center; margin: 10px 0 2px; }

/* a notification: wash, hairline, 3px status rule on the left */
.banner { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-md); font-size: 15px; line-height: 1.55; border: 1px solid transparent; border-left-width: 3px; }
.banner.ok { background: var(--ok-wash); color: var(--ok); border-color: var(--ok-edge); border-left-color: var(--ok-line); }
.banner strong { font-weight: 600; }

.trust { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.trust > * { min-width: 0; }
.trust-intro h2 { margin: 8px 0 14px; }
.trust-intro .lead { max-width: 420px; }
.trust-intro .banner { margin-top: 24px; max-width: 440px; }
.trust-table-panel { padding: 4px 8px; }
.filetable { width: 100%; border-collapse: collapse; font-size: 15px; }
.filetable thead th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .96px; text-transform: uppercase; background: transparent; color: var(--text-2); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.filetable td, .filetable tbody th { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--text); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.filetable tbody th { font-weight: 500; width: 38%; }
.filetable td { color: var(--text-2); line-height: 1.55; }
.filetable tr:last-child :is(td, th) { border-bottom: none; }
.filetable tbody tr:hover :is(td, th) { background: var(--surface-2); }

.founder { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.founder > * { min-width: 0; }
.founder h2 { margin-top: 8px; font-size: 30px; }
.founder-text p { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 640px; }
.founder-text strong { color: var(--text); font-weight: 500; }
.links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; }
.links a { font-size: 15px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.links a:hover { color: var(--accent); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact > * { min-width: 0; }
.contact-copy h2 { margin: 8px 0 14px; }
.contact-copy .lead { max-width: 380px; }
.agenda { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.agenda li { display: flex; gap: 14px; align-items: flex-start; }
.agenda strong { font-weight: 500; font-size: 17px; }
.demo-form h3 { font-size: 24px; font-weight: 500; }
.demo-form > .hint:first-of-type { margin: 4px 0 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { min-width: 0; margin-bottom: 16px; }
.field label { display: block; font-size: 15px; margin-bottom: 6px; color: var(--text); }
.field label .muted { font-size: 13px; }
.field input, .field select { width: 100%; min-width: 0; height: 42px; padding: 8px 12px; font-size: 16px; background: var(--field); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.field input:focus-visible, .field select:focus-visible { box-shadow: none; outline: 2px solid var(--accent); outline-offset: -2px; }
.demo-form .hint { margin-top: 12px; }
.demo-form .linkish { display: inline-block; margin-top: 16px; }
#request-status { margin-top: 14px; }
#request-status[hidden] { display: none; }

.faq-panel { padding: 4px 24px; }
details { border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: none; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 18px; font-weight: 500; padding: 16px 0; color: var(--text); border-radius: 4px; }
summary::-webkit-details-marker { display: none; }
summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); display: inline-grid; place-items: center; font-style: normal; transition: background .11s, border-color .11s; }
summary i::before { content: "+"; font-size: 18px; line-height: 1; }
details[open] summary i::before { content: "–"; }
summary:hover i { background: var(--accent-wash); border-color: var(--accent-strong); }
details p { color: var(--text-2); font-size: 15px; line-height: 1.65; max-width: 760px; padding: 0 44px 20px 0; }

.foot { border-top: 1px solid var(--line); display: flex; gap: 16px 32px; align-items: center; flex-wrap: wrap; padding: 24px 0 0; font-size: 14px; }
.foot-brand { display: flex; align-items: baseline; gap: 10px; }
.foot .dv { display: inline-flex; align-items: center; gap: 6px; align-self: center; color: var(--text); text-decoration: none; font-weight: 500; }
.foot .dv:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.foot > span { margin-left: auto; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .hero { gap: 32px; padding-top: 44px; }
  .three { grid-template-columns: 1fr; }
  .stepbar { grid-template-columns: repeat(3, 1fr); gap: 20px 4px; }
  .trust, .founder { grid-template-columns: 1fr; gap: 24px; }
  .trust-intro .banner, .trust-intro .lead { max-width: none; }
  .contact { gap: 32px; }
}
@media (max-width: 760px) {
  .shell { padding-inline: 20px; }
  .top { padding: 14px 0 12px; gap: 8px 12px; }
  .top .sub { display: none; }
  .nav { gap: 14px; }
  .nav > a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 32px; }
  .hero h1 { margin-top: 12px; }
  .hero-proof { max-width: 520px; width: 100%; }
  .section { padding: 36px 0; }
  .section-head { display: block; }
  .section-head h2 { margin-top: 6px; }
  .stepbar { grid-template-columns: 1fr; gap: 0; }
  .stepbar li { display: grid; grid-template-columns: 26px 1fr; gap: 2px 14px; padding: 16px 0; border-top: 1px solid var(--line); }
  .stepbar li:first-child { border-top: 2px solid var(--accent-fill); }
  .stepbar .step-n { grid-row: 1 / 3; }
  .stepbar h3 { margin: 0; }
  .stepbar p { grid-column: 2; }
  .contact { grid-template-columns: 1fr; }
  .filetable tbody th { width: auto; display: block; padding-bottom: 2px; border-bottom: none; }
  .filetable td { display: block; padding-top: 0; }
  .filetable thead { display: none; }
  .trust-table-panel { padding-inline: 4px; }
  .founder h2 { font-size: 26px; }
  .faq-panel { padding-inline: 18px; }
  summary { font-size: 17px; }
  details p { padding-right: 0; }
  .foot > span { margin-left: 0; }
  .foot p { display: none; }
}
@media (max-width: 400px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .demo { padding: 14px 14px 12px; }
  .pdf-canvas { padding: 14px 12px 12px; }
  .pdf-contents { padding: 16px 16px 8px; }
  .modebar span { padding: 6px 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Shared multi-page layouts. */
[hidden] { display: none !important; }
body::before { color: var(--text); }
body.inner-page::before { height: 520px; }
.shell { max-width: 1168px; }
a { text-underline-offset: 3px; }
a:hover { color: var(--accent); }
.nav > a[aria-current=page]:not(.button) { color: var(--text); text-decoration: underline; text-underline-offset: 5px; }
.top { align-items: center; }
.top .sub { max-width: 340px; font-size: 14px; line-height: 1.3; }
.intro { max-width: 760px; padding: 64px 0 44px; }
.intro h1 { margin: 14px 0 22px; }
.inner-page .intro h1 { font-size: clamp(42px,5vw,56px); }
.intro .lead { max-width: 720px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px; margin: 0 0 48px; }
.cta h2 { font-size: 30px; margin-bottom: 8px; }
.cta p { font-size: 17px; color: var(--text-2); }
.cta .button { flex: none; }
.step-cards { display: grid; gap: 16px; margin-bottom: 48px; }
.detail-step { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 32px; }
.detail-step:nth-child(even) .step-copy { order: 2; }
.detail-step:nth-child(even) .illustration { order: 1; }
.step-copy h2 { display: flex; gap: 14px; align-items: center; font-size: 28px; margin-bottom: 18px; }
.step-copy .step-n { width: 30px; height: 30px; }
.step-copy p { font-size: 16px; color: var(--text-2); line-height: 1.65; }
.step-copy p+p { margin-top: 14px; }
.illustration { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-2); color: var(--text); }
.chip-set { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.chip { display: inline-block; padding: 4px 12px; border-radius: var(--pill); background: var(--accent-tint); color: var(--accent-ink); font-size: 13px; line-height: 1.4; border: 1px solid var(--accent-tint); }
.chip.off { background: var(--surface); color: var(--text-2); border-color: var(--line); }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); color: var(--text); padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-top: 8px; overflow-wrap: anywhere; }
.mini-row strong { font-size: 15px; font-weight: 500; }
.mini-row small { display: block; color: var(--text-3); font-size: 13px; }
.status { flex: none; display: inline-block; padding: 2px 9px; font-size: 11px; letter-spacing: .8px; text-transform: uppercase; font-weight: 600; border-radius: var(--pill); border: 1px solid; }
.status.ok { background: var(--ok-wash); color: var(--ok); border-color: var(--ok-edge); }
.status.warn { background: var(--warn-wash); color: var(--warn); border-color: var(--warn-edge); }
.drop-drawing { border: 1px dashed var(--line-strong); padding: 32px 24px; border-radius: var(--radius); text-align: center; background: var(--surface); color: var(--text); }
.drop-drawing h3 { font-size: 22px; font-weight: 400; }
.mini-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.review-paper { background: var(--paper); color: var(--on-paper); border: 1px solid var(--line); padding: 24px; width: 100%; max-width: 270px; margin: 16px auto; border-radius: 3px; }
.draw-line { display: flex; gap: 6px; height: 18px; align-items: center; }
.draw-line i { display: block; height: 4px; width: 28%; background: var(--track); color: var(--on-paper); }
.draw-line .black { height: 9px; background: var(--redaction); color: var(--on-redaction); }
.draw-line .amber { height: 9px; background: var(--review-wash); color: var(--warn); outline: 1px solid var(--warn-line); }
.sample-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.sample-button { display: inline-block; font-size: 13px; padding: 6px 12px; border-radius: var(--pill); border: 1px solid var(--line-strong); white-space: nowrap; }
.sample-button.filled { background: var(--accent-fill); color: var(--on-accent); border-color: var(--accent-fill); }
.approval { margin-top: 16px; }
.approval span { color: var(--accent); font-size: 20px; }
.toggle-drawing { display: block; flex: none; width: 36px; height: 22px; border-radius: var(--pill); background: var(--accent-fill); color: var(--on-accent); padding: 3px; }
.toggle-drawing::after { content: ''; display: block; margin-left: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); color: var(--text); }
.illustration>.modebar { margin: 16px 0; }
.reply-drawing { background: var(--paper); color: var(--on-paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; line-height: 1.8; font-size: 14px; }
.trust-intro-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
.trust-intro-grid .banner { margin: 36px 0; }
.inner-page .trust-table-panel { margin-bottom: 48px; }
.limits { padding: 4px 24px; }
.limit-row { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.limit-row:last-child { border-bottom: 0; }
.limit-mark { display: inline-grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; height: 24px; width: 24px; flex: none; }
.limit-row h3 { font-size: 18px; margin-bottom: 6px; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--surface-3); color: var(--text-2); display: grid; place-items: center; font-size: 26px; margin-bottom: 16px; }
.founder-card h2 { margin: 0; font-size: 24px; font-weight: 500; }
.founder-card>p:last-of-type { margin-top: 20px; color: var(--text-2); }
.prose p+p { margin-top: 20px; }
.demo-intro { padding: 64px 0 48px; }
.contact-copy h1 { margin: 14px 0 22px; }
.contact-copy .banner { margin-top: 28px; }
.demo-form h2 { font-size: 24px; font-weight: 500; }
.demo-form { margin-top: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; width: 100%; color: var(--text-3); }
.foot .brand-logo { overflow: visible; }
/* Explicit foregrounds for the original decorative background rules. */
.pdf-rule,.pdf-line i { color: var(--on-paper); }
.redaction-bar { color: var(--on-redaction); }
.pdf-sensitive.is-covered { color: var(--on-paper); }
.progressbar { color: var(--text); }
.progressbar>div { color: var(--on-accent); }
.video-panel video { color: var(--text); }
.filetable tbody tr:hover :is(td, th) { color: var(--text-2); }
summary:hover i { color: var(--text); }
@media(min-width:761px) and (max-width:1100px) { .top .sub { max-width: 230px; } .nav { gap: 16px; } }
@media(max-width:1000px) { .detail-step { padding: 24px; gap: 24px; } .trust-intro-grid { grid-template-columns: 1fr; gap: 0; } .trust-intro-grid .banner { margin-top: 0; } }
@media(max-width:760px) {
  .intro,.demo-intro { padding-top: 40px; }
  .detail-step { grid-template-columns: 1fr; }
  .detail-step:nth-child(even) .step-copy,.detail-step:nth-child(even) .illustration { order: initial; }
  .cta { flex-direction: column; align-items: flex-start; padding: 24px; margin-bottom: 36px; gap: 20px; }
  .illustration { padding: 16px; }
  .mini-row { flex-wrap: wrap; }
  .modebar { max-width: 100%; }
  .modebar span { padding: 6px 9px; font-size: 12px; white-space: normal; }
  .step-cards { margin-bottom: 36px; }
}
@media(max-width:400px) { .detail-step { padding: 18px; } .illustration { padding: 12px; } .status { padding-inline: 6px; } }

.legal { max-width:760px; margin-inline:auto; } .legal h1 { margin-bottom:24px; } .legal h2 { margin-top:32px; margin-bottom:12px; font-size:30px; } .legal p { margin-bottom:16px; font-size:18px; }

.simple-top { justify-content: space-between; }
.home .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.home .hero-copy { max-width: 820px; }
.home .hero h1 { margin-top: 0; }
.hero-promise { display: block; margin-top: 12px; color: var(--accent); }
.home .hero .lead { max-width: 600px; }
.home .hero-proof { max-width: 820px; }
@media (min-width: 761px) {
  .home .redaction-workspace { grid-template-columns: 1.1fr 1fr; align-items: start; }
}
#example, #waitlist { scroll-margin-top: 20px; }
.animation-controls[hidden] { display: none; }
.animation-controls input[type=range] { flex: 1; min-width: 0; accent-color: var(--accent); }
.animation-controls input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.infohash-demo.is-scrubbing .redaction-bar { transition: none; }
.simple-faq { margin: 0; max-width: 760px; }
.simple-faq > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.simple-faq dt { font-size: 22px; font-weight: 600; }
.simple-faq dd { margin: 4px 0 0; color: var(--text-2); }
.simple-waitlist .demo-form { max-width: 600px; }
.simple-foot { justify-content: space-between; }
.simple-foot .wordmark { margin: 0; font-size: 23px; }
.simple-foot .footer-nav { width: auto; }

#animation-play {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}
.playback-icon {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}
#animation-play[aria-label="Pause animation"] .playback-icon {
  box-sizing: border-box;
  width: 12px;
  height: 14px;
  margin: 0;
  border: 0;
  border-inline: 4px solid currentColor;
}

.legal ul, .legal ol {
  margin: 0 0 16px;
  padding-inline-start: 1.5rem;
  font-size: 18px;
}
.legal li + li { margin-top: 6px; }
.legal-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.legal-table th, .legal-table td {
  padding: 8px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal-table th { background: var(--surface-3); }

.infohash-demo [hidden] { display: none; }
.demo-review-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.demo-kicker, .demo-side-head strong {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .96px;
  text-transform: uppercase;
  color: var(--text-2);
}
.demo-file { font-size: 24px; overflow-wrap: anywhere; }
.demo-review-tools button { padding: 6px 14px; font-size: 14px; }
.infohash-demo .redaction-story {
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.demo-side-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
#demo-redaction-count { font-size: 22px; font-weight: 300; font-variant-numeric: tabular-nums; }
.infohash-demo .sequence-label span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.infohash-demo .redaction-findings li { visibility: hidden; }
.infohash-demo .redaction-findings li.is-done { visibility: visible; }
.infohash-demo .redaction-findings li:last-child { border-bottom: 0; }
.demo-label {
  flex: none;
  white-space: nowrap;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--accent-tint);
  color: var(--accent-ink);
  font: 11px/1.5 ui-monospace, monospace;
}
.demo-row-page { flex: none; margin-left: auto; color: var(--text-3); font-size: 12px; }
.infohash-demo .pdf-sensitive { min-width: 7ch; background: transparent; outline: none; }
.infohash-demo .redaction-bar {
  display: grid;
  place-items: center;
  color: var(--on-redaction, #fff);
  font: 10px/1.2 ui-monospace, monospace;
}
.demo-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Form 1040 preview uses document typography and printed form rules. */
.infohash-demo .tax-sheet { max-width: 480px; container-type: inline-size; }
.tax-form {
  --tax-rule: #777f8a;
  color: var(--on-paper);
  font: 12px/1.35 Arial, sans-serif;
  padding: 16px 14px 10px;
}
.tax-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--on-paper);
}
.tax-form-id, .tax-heading-title { display: grid; gap: 2px; }
.tax-form-id span, .tax-heading-title span { font-size: 10px; }
.tax-form-id strong { font-size: 30px; line-height: 1; letter-spacing: -1px; }
.tax-heading-title strong { font-size: 13px; line-height: 1.15; }
.tax-year { font-size: 15px; }
.tax-period { padding: 5px 0; font-size: 10px; }
.tax-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(44px, .63fr);
  border-top: 1px solid var(--tax-rule);
  border-left: 1px solid var(--tax-rule);
}
.tax-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: 3px;
  padding: 5px 6px;
  border-right: 1px solid var(--tax-rule);
  border-bottom: 1px solid var(--tax-rule);
}
.tax-field > span { font-size: 10px; }
.tax-field > strong { font-size: 13px; }
.tax-ssn { grid-column: 1 / -1; }
.tax-field:nth-child(2) { grid-column: 2 / -1; }
.tax-address { grid-column: 1 / 3; }
.infohash-demo .tax-form .pdf-sensitive {
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0 2px;
  white-space: nowrap;
}
.tax-form .redaction-bar { min-width: 48px; }
.tax-section { margin-top: 10px; border-top: 2px solid var(--on-paper); padding-top: 4px; }
.tax-choices { display: flex; gap: 2px 9px; flex-wrap: wrap; margin-top: 3px; font-size: 10px; }
.tax-income-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 4px; border-bottom: 1px solid var(--tax-rule); padding: 3px 0; font-size: 11px; }
.tax-income-row span:last-child { padding-left: 6px; border-left: 1px solid var(--tax-rule); text-align: right; min-width: 6ch; font-variant-numeric: tabular-nums; }
.tax-total { font-weight: 700; }
@container (min-width: 345px) {
  .tax-fields { grid-template-columns: 1fr 1fr 1.25fr; }
  .tax-field:nth-child(2), .tax-ssn { grid-column: auto; }
}
@media (min-width: 761px) {
  .home .redaction-workspace { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
}
