/* SigCompare — restrained, document-like styling suitable for printing. */
:root {
  --ink: #16202e;
  --ink-2: #4a5568;
  --muted: #718096;
  --line: #dfe3ea;
  --paper: #ffffff;
  --bg: #f3f4f7;
  --accent: #1f3a68;
  --accent-2: #2c5aa0;
  --a: #c62828;
  --b: #1d4ed8;
  --good: #1e7a4f;
  --warn: #b26a00;
  --bad: #b42318;
  --radius: 10px;
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, "Iowan Old Style", Georgia, serif;
  --deep: #1a2340;        /* blue-black ink: header, footer */
  --deep-2: #26325a;
  --pen: #2350c8;         /* ballpoint blue: links, focus, the pen-stroke mark */
  --desk: #eef1f6;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 15px/1.55 var(--sans); color: var(--ink); background: var(--desk); min-height: 100vh; display: flex; flex-direction: column; }
.wrap { max-width: 1120px; width: 100%; margin: 0 auto; padding: 32px 20px 64px; flex: 1 0 auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; }
h1 { font-size: 30px; margin: 0 0 8px; }
a { color: var(--accent-2); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.intro p { color: var(--ink-2); max-width: 760px; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.alert-error { background: #fdecea; border: 1px solid #f5c2bd; color: #7a1a12; }

/* Upload */
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.slot-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.slot-badge, .tag { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: #fff; font: 700 13px var(--sans); }
.slot-a, .tag-a { background: var(--a); }
.slot-b, .tag-b { background: var(--b); }
.tag { width: 20px; height: 20px; font-size: 11px; margin-right: 6px; vertical-align: middle; }
.slot-title { font-weight: 600; }
.drop { display: flex; align-items: center; justify-content: center; min-height: 92px; border: 2px dashed #c3cad6; border-radius: var(--radius); cursor: pointer; color: var(--ink-2); background: #fafbfc; position: relative; }
.drop.over { border-color: var(--accent-2); background: #eef3fb; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cropper { margin-top: 12px; }
.crop-stage { position: relative; display: inline-block; max-width: 100%; overflow: hidden; cursor: crosshair; touch-action: none; user-select: none; border: 1px solid var(--line); }
.crop-stage img { display: block; max-width: 100%; max-height: 300px; }
.crop-box { position: absolute; border: 2px solid var(--accent-2); background: rgba(44, 90, 160, .12); box-shadow: 0 0 0 9999px rgba(0, 0, 0, .25); pointer-events: none; }
.crop-tools { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 13px; }
.hint { color: var(--muted); }
.file-meta { font-size: 12px; color: var(--muted); margin-top: 4px; word-break: break-all; }
.form-row { margin: 22px 0 14px; }
.form-row label, .login label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type=text], input[type=password] { width: 100%; max-width: 520px; padding: 10px 12px; border: 1px solid #c3cad6; border-radius: 8px; font: inherit; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 14px; }
.actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.btn-primary, .btn-secondary { display: inline-block; border: 0; border-radius: 8px; padding: 11px 20px; font: 600 15px var(--sans); cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #172d52; }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-secondary { background: #e8ecf3; color: var(--ink); }
.btn-link { background: none; border: 0; padding: 0; color: var(--accent-2); font: inherit; cursor: pointer; text-decoration: underline; }
.busy { color: var(--ink-2); }
.tips h2 { font-size: 19px; margin-top: 0; }
.tips li { margin-bottom: 4px; color: var(--ink-2); }
.login { max-width: 420px; margin: 40px auto; }
.login button { margin-top: 14px; }

/* Report */
.report-actions { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.spacer { flex: 1; }
.paper { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 38px; }
.paper section { margin-top: 30px; }
.rpt-head { display: flex; justify-content: space-between; gap: 24px; border-bottom: 2px solid var(--ink); padding-bottom: 16px; flex-wrap: wrap; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: var(--muted); font-weight: 600; }
.meta { display: grid; grid-template-columns: auto; gap: 2px 0; margin: 0; font-size: 13px; }
.meta div { display: flex; gap: 10px; }
.meta dt { color: var(--muted); min-width: 110px; }
.meta dd { margin: 0; }
h2.sec { font-size: 18px; margin: 0 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }

.conclusion { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #f8f9fb; border-left: 6px solid var(--muted); }
.op-strong-same { border-left-color: #1e7a4f; }
.op-mod-same { border-left-color: #5c9c72; }
.op-neutral { border-left-color: #8a94a6; }
.op-mod-diff { border-left-color: #d08a3a; }
.op-strong-diff { border-left-color: #b42318; }
.op-match { border-left-color: #14653f; background: #eef8f2; }
.score-num { font: 600 54px/1 var(--serif); }
.score-num span { font-size: 20px; color: var(--muted); }
.score-cap { color: var(--muted); font-size: 13px; margin: 4px 0 16px; }
.scale { position: relative; }
.scale-track { display: flex; height: 10px; border-radius: 5px; overflow: hidden; }
.seg.s1 { background: #d9534f; } .seg.s2 { background: #f0ad4e; } .seg.s3 { background: #c8ccd4; }
.seg.s4 { background: #8cc49c; } .seg.s5 { background: #2f8f5b; }
.scale-pin { position: absolute; top: -5px; width: 4px; height: 20px; margin-left: -2px; background: var(--ink); border-radius: 2px; }
.scale-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; }
.opinion h2 { margin: 4px 0 8px; font-size: 24px; }
.opinion p { margin: 0 0 8px; color: var(--ink-2); }
.opinion .cap { color: var(--warn); font-size: 14px; }
.opinion .cap-ok { color: var(--good); font-size: 14px; font-weight: 600; }
.opinion .fine { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

.flags { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.flag { padding: 10px 14px; border-radius: 8px; background: #fff7e6; border: 1px solid #f3d7a3; font-size: 14px; }
.flag-same_signature, .flag-identical_files { background: #eef8f2; border-color: #b9e0c8; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.findings { margin: 0; padding-left: 18px; font-size: 14px; }
.findings li { margin-bottom: 6px; }
.findings.sim li::marker { color: var(--good); }
.findings.diff li::marker { color: var(--bad); }

.fig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
figcaption { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; }
.overlay-fig { margin-top: 18px; }
.overlay-fig img { max-width: 900px; margin: 0 auto; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: middle; }
.dot-end { background: #1e9e5a; } .dot-junc { background: #e8890c; }
.sw { display: inline-block; width: 16px; height: 4px; vertical-align: middle; border-radius: 2px; }
.sw-common { background: #30363d; } .sw-a { background: #dc2626; } .sw-b { background: #2563eb; }
.pill { display: inline-block; padding: 1px 8px; margin: 2px 2px 0 0; border-radius: 10px; background: #eef1f5; font-size: 12px; }

.bars { display: grid; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 300px 1fr 48px; gap: 12px; align-items: center; font-size: 14px; }
.bar-label small { color: var(--muted); }
.bar { height: 10px; background: #edf0f4; border-radius: 5px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--accent-2); }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
tr.grp th { background: #f4f6f9; font-family: var(--serif); font-size: 14px; color: var(--ink); }
.fl { display: block; font-weight: 600; }
.fd { display: block; color: var(--muted); font-size: 12px; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini { display: inline-block; width: 46px; height: 6px; background: #edf0f4; border-radius: 3px; margin-right: 6px; vertical-align: middle; overflow: hidden; }
.mini span { display: block; height: 100%; background: var(--accent-2); }
.chip { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip-consistent { background: #e3f3ea; color: var(--good); }
.chip-variation { background: #fff3dc; color: var(--warn); }
.chip-different { background: #fde7e5; color: var(--bad); }
.chip-info, .chip-na { background: #eef1f5; color: var(--muted); }

.qcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; border-top: 4px solid var(--muted); }
.q-good { border-top-color: var(--good); } .q-fair { border-top-color: var(--warn); } .q-poor { border-top-color: var(--bad); }
.qhead { font-weight: 600; margin-bottom: 10px; }
.qmetrics { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 0 0 10px; font-size: 13px; }
.qmetrics div { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--line); }
.qmetrics dt { color: var(--muted); } .qmetrics dd { margin: 0; }
.issues { margin: 0; padding-left: 18px; font-size: 13px; }
.issues li { margin-bottom: 4px; }
.sev-severe b { color: var(--bad); } .sev-moderate b { color: var(--warn); } .sev-minor b, .sev-info b { color: var(--muted); }

.method ol, .limits { font-size: 14px; color: var(--ink-2); padding-left: 20px; }
.method li { margin-bottom: 6px; }
.hash { font-size: 11.5px; word-break: break-all; }

@media (max-width: 760px) {
  .slots, .two-col, .fig-grid, .conclusion { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr 48px; }
  .bar-row .bar { grid-column: 1 / -1; grid-row: 2; }
  .paper { padding: 20px 16px; }
}

@media print {
  body { background: #fff; font-size: 11pt; }
  .site-head, .site-foot, .site-nav, .nav-scrim, .skip, .no-print { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .paper { border: 0; padding: 0; }
  section { break-inside: avoid-page; }
  .ftable tbody { break-inside: avoid; }
  .conclusion, .qcard, .flag, .chip, .seg, .bar-fill, .mini span, .tag, .sw, .dot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { color: inherit; text-decoration: none; }
}

/* examiner-style narrative */
.narrative h3.sub { font-size: 0.95rem; margin: 1rem 0 0.35rem; color: var(--ink); }
.narrative .nlist { margin: 0 0 0.5rem 1.1rem; padding: 0; }
.narrative .nlist li { margin: 0.2rem 0; line-height: 1.5; }
@media print { .narrative h3.sub { break-after: avoid; } }

/* "Analysing" modal: blurred, dimmed page behind a centred dialog */
.busy-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(22, 32, 46, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.busy-overlay[hidden] { display: none; }
body.is-busy { overflow: hidden; }
.busy-dialog { background: var(--paper); border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  padding: 32px 36px 26px; max-width: 420px; width: 100%; text-align: center; outline: none; }
.busy-spinner { width: 46px; height: 46px; margin: 0 auto 18px; border-radius: 50%;
  border: 4px solid #e3e8f0; border-top-color: var(--accent); animation: busy-spin .9s linear infinite; }
.busy-title { font: 600 18px/1.35 var(--serif); color: var(--ink); margin: 0 0 8px; }
.busy-sub { font-size: 14px; color: var(--ink-2); margin: 0 0 10px; }
.busy-time { font: 13px var(--mono); color: var(--muted); margin: 0; }
@keyframes busy-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .busy-spinner { animation-duration: 3s; } }
@media print { .busy-overlay { display: none !important; } }


/* ==== Site shell: header, slide-in navigation, footer ======================================= */
:focus-visible { outline: 3px solid var(--pen); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 1300; background: #fff; color: var(--ink);
  padding: 8px 14px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 10px; }

.site-head { position: sticky; top: 0; z-index: 900; background: var(--deep); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 6px 18px rgba(16, 22, 42, .18); }
.site-head-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 62px; display: flex; align-items: center; gap: 14px; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 10px; border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px; background: transparent; color: #fff; font: 600 14px var(--sans); cursor: pointer; }
.menu-btn:hover { background: rgba(255, 255, 255, .08); }
.menu-icon { display: inline-grid; gap: 4px; width: 18px; }
.menu-icon span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-icon span:nth-child(2) { width: 70%; }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.brand-mark { width: 48px; height: 20px; flex: none; }
.brand-mark path { fill: none; stroke: #8fb0ff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font: 600 21px/1 var(--serif); letter-spacing: .2px; }
.head-cta { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 8px;
  background: var(--pen); }
.head-cta:hover { background: #1c43ad; }

.nav-scrim { position: fixed; inset: 0; z-index: 1000; background: rgba(16, 22, 42, .4);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .22s ease; }
.nav-scrim.is-open { opacity: 1; }
.site-nav { position: fixed; top: 0; bottom: 0; left: 0; z-index: 1100; width: min(320px, 86vw); background: var(--paper);
  display: flex; flex-direction: column; box-shadow: 12px 0 40px rgba(16, 22, 42, .25);
  transform: translateX(-104%); transition: transform .24s cubic-bezier(.2, .7, .2, 1); }
.site-nav.is-open { transform: translateX(0); }
.site-nav[hidden], .nav-scrim[hidden] { display: none; }
.nav-head { display: flex; align-items: center; justify-content: space-between; height: 62px; padding: 0 12px 0 22px;
  background: var(--deep); color: #fff; }
.nav-title { font: 600 19px var(--serif); }
.nav-close { width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.nav-close:hover { background: rgba(255, 255, 255, .1); }
.nav-close svg { width: 22px; height: 22px; }
.nav-close path { stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.nav-body { padding: 18px 12px; overflow-y: auto; flex: 1; }
.nav-group { margin: 14px 12px 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.nav-group:first-child { margin-top: 0; }
.site-nav ul { list-style: none; margin: 0 0 4px; padding: 0; }
.site-nav li a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px;
  border-left: 3px solid transparent; }
.site-nav li a:hover { background: var(--desk); }
.site-nav li a[aria-current="page"] { background: #e8eefc; border-left-color: var(--pen); color: var(--deep); font-weight: 600; }
.nav-foot-links { border-top: 1px solid var(--line); margin-top: 12px !important; padding-top: 10px !important; }
.nav-note { margin: 0; padding: 16px 24px 22px; font-size: 12.5px; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--line); }
body.nav-open { overflow: hidden; }

.site-foot { background: var(--deep); color: #c9d2e6; margin-top: 24px; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot-in { max-width: 1120px; margin: 0 auto; padding: 44px 20px 28px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin: 8px 0 0; max-width: 36ch; font-size: 14px; }
.foot-brand .foot-name { font: 600 20px var(--serif); color: #fff; margin-top: 10px; }
.foot-h { margin: 0 0 10px; font-weight: 600; color: #fff; font-size: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.foot-mail { margin: 14px 0 0; font-size: 14px; }
.site-foot-base { max-width: 1120px; margin: 0 auto; padding: 16px 20px 28px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12.5px; color: #9aa6c2; }
.site-foot-base p { margin: 0; }

/* ==== Home: the pen-stroke drawn once ======================================================== */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 28px; margin: 4px 0 26px; }
.hero h1 { font-size: 40px; margin: 0 0 12px; letter-spacing: -.3px; }
.hero p { color: var(--ink-2); max-width: 60ch; margin: 0; font-size: 16px; }
.hero-stroke { width: 100%; height: auto; }
.hero-stroke .baseline { stroke: #c9d2e3; stroke-width: 1.2; stroke-dasharray: 4 6; fill: none; }
.hero-stroke .ink { fill: none; stroke: var(--pen); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: pen-draw 2.2s cubic-bezier(.45, .1, .3, 1) .3s forwards; }
.hero-stroke .ink.ghost { stroke: #9db4ec; stroke-width: 2.4; animation-delay: 1.1s; }
@keyframes pen-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-stroke .ink { animation: none; stroke-dashoffset: 0; } }

/* ==== Text pages: about, privacy, terms ====================================================== */
.page-head { margin-bottom: 26px; }
.page-head h1 { font-size: 36px; margin: 0 0 10px; letter-spacing: -.2px; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 62ch; margin: 0; }
.updated { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }
.prose { max-width: 760px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 40px 48px 44px; }
.prose h2 { font-size: 22px; margin: 34px 0 10px; }
.prose p, .prose li, .prose dd { font-size: 15.5px; line-height: 1.7; }
.prose p { margin: 0 0 14px; max-width: 70ch; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--pen); }
.steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%;
  background: #e8eefc; color: var(--pen); font: 600 14px/28px var(--sans); text-align: center; }
.defs dt { font-weight: 600; margin-top: 14px; }
.defs dd { margin: 4px 0 0; color: var(--ink-2); }
.note { background: #f3f6fc; border-left: 3px solid var(--pen); padding: 12px 16px; border-radius: 0 8px 8px 0; color: var(--ink-2); }

/* ==== Contact ================================================================================ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.contact-form-card h2, .contact-aside h2 { font-size: 20px; margin: 0 0 14px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form select, .contact-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #cfd6e2; border-radius: 8px; font: 15px var(--sans); color: var(--ink); background: #fff; }
.contact-form textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.contact-form [aria-invalid="true"] { border-color: var(--bad); background: #fffafa; }
.contact-form .form-row { margin-bottom: 14px; }
.opt { font-weight: 400; color: var(--muted); }
.field-error { color: var(--bad); font-size: 13.5px; margin: 6px 0 0; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 4px 0 16px; }
.alert-ok { background: #e7f5ec; border: 1px solid #bfe3cc; color: #14532d; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14.5px; }
.contact-dl dt { color: var(--muted); }
.contact-dl dd { margin: 0; overflow-wrap: anywhere; }
.contact-dl a { color: var(--pen); }
.card-quiet { background: #f6f8fc; }
.card-quiet p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stroke { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { padding: 22px 16px 48px; }
  .site-head-in { padding: 0 16px; gap: 10px; }
  .menu-label, .head-cta { display: none; }
  .menu-btn { padding: 0 10px; }
  .hero h1 { font-size: 31px; }
  .hero-stroke { max-width: 300px; }
  .page-head h1 { font-size: 29px; }
  .prose { padding: 26px 20px 30px; border-radius: 12px; }
  .field-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav, .nav-scrim, .menu-icon span { transition: none; }
}
