/* Cyber Insurance Subjectivity Tracker: an underwriting file's conditions schedule. White slip stock on a manila folder band,
   warm carbon ink, Crimson Pro over Karla, Courier Prime for every code, date and count. Colour carries meaning only:
   ultramarine = reported closed by the applicant, vermilion = open at a checkpoint date already reached, grey hatching =
   above the target level. Design brief: design-brief.md (seed hash bb5cd94a...). */
:root {
  --ink: #23211d; --ink2: #4d4a43; --mute: #6f6a60; --rule: #cfc8b8; --hair: #e4dfd3;
  --slip: #fffdf8; --page: #f6f3ec; --manila: #e9dcc0; --manila2: #dccaa3;
  --blue: #2c45a0; --blue-bg: #e8ecf8; --red: #b8402a; --red-bg: #fbece7;
  --serif: 'Crimson Pro', Georgia, serif; --sans: 'Karla', system-ui, sans-serif; --mono: 'Courier Prime', 'Courier New', monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16.5px/1.55 var(--sans); text-rendering: geometricPrecision; }
a { color: var(--ink); text-decoration-color: var(--manila2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 12px; letter-spacing: -.005em; }
h1 { font-size: 44px; } h2 { font-size: 30px; } h3 { font-size: 21px; }
p { margin: 0 0 12px; }
code, .cd, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.cd { white-space: nowrap; letter-spacing: -.04em; word-spacing: -.2em; }
.d, .n { font-variant-numeric: tabular-nums lining-nums; }
.d { white-space: normal; overflow-wrap: anywhere; }
td.cp .d, th.cp .d, .lstate .d, dl.dates .d, .cps .d { white-space: nowrap; overflow-wrap: normal; }
.specimen th.cp .d, .specimen td.cp .d { white-space: normal; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }

/* the folder band */
.band { background: var(--manila); border-bottom: 2px solid var(--ink); }
header.site { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; flex-wrap: wrap; }
.brand { text-decoration: none; }
.wm { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); }
header.site nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: 15px; }
header.site nav a { text-decoration: none; }
header.site nav a:hover { text-decoration: underline; }
#nav-auth { display: inline-flex; gap: 14px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; padding: 40px 0 26px; align-items: start; }
.eyebrow { font-family: var(--sans); font-weight: 700; font-size: 14px; color: var(--ink2); margin: 0 0 12px; }
.lede { font-size: 18.5px; color: var(--ink); max-width: 640px; }
.defn { font-size: 16px; color: var(--ink2); max-width: 640px; margin-top: 6px; }
.reads { list-style: none; padding: 0; margin: 18px 0; counter-reset: r; }
.reads li { counter-increment: r; position: relative; padding: 9px 0 9px 36px; border-top: 1px solid var(--rule); font-size: 15.5px; }
.reads li:last-child { border-bottom: 1px solid var(--rule); }
.reads li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-family: var(--mono); font-size: 13px; color: var(--ink2); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 8px; }
.tiers { font-size: 14.5px; color: var(--ink2); }
.tiers b { color: var(--ink); }
figure.person { margin: 18px 0 0; }
figure.person img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--ink); }
figure.person figcaption { font-size: 15px; color: var(--ink2); margin-top: 8px; }

/* buttons and inputs */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15.5px var(--sans); color: var(--slip); background: var(--ink); border: 2px solid var(--ink); border-radius: 2px; padding: 10px 18px; cursor: pointer; text-decoration: none; }
.btn:hover { background: #000; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--slip); }
.btn.small { font-size: 14px; padding: 6px 12px; }
.btn[disabled] { opacity: .55; cursor: default; }
.plan-tag { font: 700 11px var(--sans); text-transform: uppercase; border: 1px solid currentColor; padding: 0 4px; border-radius: 2px; }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--ink2); border-radius: 2px; padding: 7px 9px; max-width: 100%; }
input[type=date] { font-family: var(--mono); }
.hint { font-size: 14px; color: var(--mute); }
.notice { background: var(--slip); border: 1px solid var(--rule); border-left: 3px solid var(--ink); padding: 10px 14px; font-size: 15px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.err { color: var(--red); } .ok { color: var(--blue); }

/* the tool */
.tool { background: var(--slip); border: 1px solid var(--ink); padding: 22px 24px; margin: 26px 0 10px; }
.tool h2 { font-size: 26px; }
.pre { border: 0; padding: 0; margin: 0 0 14px; }
.pre legend { font-family: var(--serif); font-weight: 600; font-size: 20px; margin-bottom: 6px; padding: 0; }
.jurs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.jurs label { border: 2px solid var(--ink); padding: 8px 14px; cursor: pointer; font-weight: 600; background: #fff; }
.jurs input { margin-right: 6px; accent-color: var(--ink); }
.jurs label:has(input:checked) { background: var(--ink); color: var(--slip); }
.opts { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: flex-end; margin: 6px 0; }
.opts label { display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--ink2); }
.opts label.inl { flex-direction: row; align-items: center; gap: 6px; }
.addons { margin: 10px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 18px; }
.addons label { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.addons .trig { font-size: 13px; color: var(--mute); }
.ways { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; margin-top: 12px; }
.way h3 { display: flex; gap: 10px; align-items: baseline; }
.wn { font-family: var(--mono); font-size: 14px; border: 1px solid var(--ink); padding: 0 6px; }
.grp-f { border: 0; border-top: 2px solid var(--ink); padding: 8px 0 4px; margin: 10px 0 0; }
.grp-f legend { font-family: var(--serif); font-weight: 600; font-size: 18px; padding: 0 8px 0 0; }
.ci { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 7px 0; border-bottom: 1px solid var(--hair); align-items: start; }
.cil { margin: 0; font-size: 15px; }
.cir { display: flex; flex-direction: column; gap: 4px; width: 210px; }
.cir input { font-size: 13px; }
.pick { border: 1px dashed var(--ink2); padding: 12px; }
textarea.paste { width: 100%; min-height: 220px; font: 13px/1.5 var(--mono); }
.bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0 0; }
.custom-f { margin-top: 14px; border-top: 1px solid var(--rule); padding-top: 10px; }
.custom-f input[type=text] { width: 100%; }
#actions { margin: 16px 0; }
.tiers-near { margin: 8px 0 0; }

/* the schedule */
.sheet { background: var(--slip); border: 1px solid var(--ink); padding: 26px 28px 20px; margin: 18px 0; position: relative; }
.spec-mark { font: 700 13px var(--sans); letter-spacing: .04em; display: inline-block; border: 2px solid var(--ink); padding: 2px 10px; margin: 0 0 14px; }
.sh { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.sh .k { font-family: var(--sans); font-weight: 700; font-size: 13px; margin: 0 0 4px; color: var(--ink2); }
.sh h2 { margin: 0 0 4px; font-size: 28px; }
.jl { margin: 0; color: var(--ink2); font-size: 15px; }
dl.dates { display: grid; grid-template-columns: repeat(3, auto); gap: 4px 22px; margin: 0; align-self: end; }
dl.dates dt { font-size: 13px; font-weight: 700; color: var(--mute); }
dl.dates dd { margin: 0; font-size: 15px; }
.cap { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 16px 0 10px; }
.clockbar { position: relative; height: 18px; border-bottom: 2px solid var(--ink); margin: 30px 16px 26px 0; }
.clockbar .tk { position: absolute; bottom: -22px; transform: translateX(-50%); font: 700 13px var(--sans); }
.clockbar .nowl { position: absolute; bottom: 20px; transform: translateX(-50%); font: 700 13px var(--sans); color: var(--red); white-space: nowrap; }
.clockbar .tk::before { content: ''; position: absolute; left: 50%; top: -8px; height: 8px; border-left: 2px solid var(--ink); }
.clockbar .now { position: absolute; bottom: -1px; width: 2px; height: 18px; background: var(--red); }
.cpsum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); margin: 18px 0 10px; }
.cps { padding: 10px 14px; border-left: 1px solid var(--ink); font-size: 14.5px; }
.cps:first-child { border-left: 0; }
.cps p { margin: 0 0 2px; }
.cps .cpn { font: 700 16px var(--sans); margin-bottom: 6px; }
.cps .dt { font-weight: 400; }
.cps .n { display: inline-block; min-width: 2.2ch; font-weight: 700; }
.n.st-closed.nz { color: var(--blue); } .n.st-after.nz { color: var(--blue); } .n.st-open.nz { color: var(--red); }
.rulenote { font-size: 14.5px; color: var(--ink2); max-width: 74ch; }
.finds { margin: 14px 0; }
.finds h3 { font-size: 19px; margin-bottom: 6px; }
.finds ul { margin: 0; padding-left: 18px; font-size: 15px; max-width: 80ch; }
.finds ul { list-style: none; padding-left: 0; }
.finds li { margin: 4px 0; display: grid; grid-template-columns: 2.4em minmax(0, 1fr); }
.finds li > .n { font-weight: 700; }
table.sched { width: 100%; border-collapse: collapse; margin: 16px 0 6px; table-layout: fixed; }
table.sched thead th { text-align: left; font-weight: 400; border-bottom: 2px solid var(--ink); padding: 6px 8px; vertical-align: bottom; font-size: 14px; }
table.sched th.cn { width: auto; font-family: var(--serif); font-size: 17px; font-weight: 600; }
table.sched th.cp, table.sched td.cp { width: 132px; }
table.sched th.cp .cpn { display: block; font: 700 14px var(--sans); }
table.sched tr.gh th { text-align: left; font-family: var(--serif); font-weight: 600; font-size: 18px; padding: 16px 8px 6px; border-bottom: 1px solid var(--ink); }
table.sched tr.gh .n { font-size: 13px; font-weight: 400; color: var(--mute); }
tr.ln td { border-bottom: 1px solid var(--hair); padding: 10px 8px; vertical-align: top; }
td.cp { border-left: 1px solid var(--hair); font-size: 13.5px; }
td.cp .stamp { display: inline-block; font: 700 11px var(--sans); text-transform: uppercase; color: var(--blue); border: 2px solid var(--blue); padding: 1px 5px; transform: rotate(-2deg); margin-bottom: 3px; }
td.cp.st-closed .d, td.cp.st-after .d { color: var(--blue); }
td.cp.st-after::after { content: 'after the checkpoint'; display: block; font-size: 12px; color: var(--ink2); }

td.cp .stroke { display: inline-block; font: 700 11px var(--sans); text-transform: uppercase; color: var(--red); border: 2px solid var(--red); padding: 1px 5px; transform: rotate(-2deg); }
td.cp .due { font: 700 11px var(--sans); text-transform: uppercase; color: var(--ink2); display: block; }
.lt { font-weight: 700; margin: 0 0 4px; font-size: 16px; }
.sl { margin: 0 0 6px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { font: 12.5px var(--sans); color: var(--ink2); border: 1px solid var(--rule); padding: 0 6px; }
.chip .k { margin-right: 3px; }
.chip.c-q { border-style: dashed; }
.lstate { font-size: 14px; }
.lstate.s-closed, .lstate.s-closed_after { color: var(--blue); }
.lstate.s-open_past { color: var(--red); font-weight: 700; }
ul.rfs { list-style: none; padding: 0; margin: 4px 0; }
li.rf { margin: 2px 0; font-size: 14.5px; }
li.rf > details > summary { cursor: pointer; list-style: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
li.rf > details[open] > summary { display: block; }

li.rf > details > summary::-webkit-details-marker { display: none; }
li.rf > details > summary::before { content: '+'; font-family: var(--mono); display: inline-block; width: 1.2em; }
li.rf > details[open] > summary::before { content: '\2212'; }
li.rf .cd { font-weight: 700; }
li.rf .fwn { color: var(--mute); font-size: 13px; }
li.rf .ml { font-size: 12px; font-family: var(--mono); color: var(--ink2); border: 1px solid var(--rule); padding: 0 4px; }
li.rf.addon .fwn::after { content: ' (add-on)'; }
li.rf.q-line { opacity: .85; }
.rx { margin: 6px 0 10px 1.2em; padding: 8px 12px; border-left: 2px solid var(--rule); background: #fff; font-size: 14.5px; }
.rx p { margin: 0 0 6px; }
.rx .q { font-family: var(--sans); font-size: 15px; border-left: 2px solid var(--ink); padding-left: 10px; }
.k { font: 700 12.5px var(--sans); color: var(--mute); margin-right: 4px; }
.qn, .nocl, .tfl, .also, .abv, .cpw, .nt, .hs, .tfw { font-size: 14px; margin: 4px 0; color: var(--ink2); }
.tfl .q, .tfw .q { color: var(--ink); font-weight: 700; }
.cpsel { font-size: 13px; padding: 2px 4px; }
.hatch, .abv .d { background: repeating-linear-gradient(135deg, #ebe7de 0 4px, #d6d0c4 4px 6px); padding: 0 4px; }
.abvs, .unpl { margin: 18px 0 6px; border-top: 1px solid var(--ink); padding-top: 10px; font-size: 15px; }
.abvs ul, .unpl ul { margin: 0; padding-left: 18px; }
.foot { font-size: 14px; color: var(--ink2); border-top: 2px solid var(--ink); margin-top: 14px; padding-top: 8px; }
.autospec-note { color: var(--ink2); }

/* the first-screen excerpt */
.specimen { background: var(--slip); border: 1px solid var(--ink); padding: 16px 18px; overflow: hidden; }
.specimen .legend { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font: 700 13px var(--sans); border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin-bottom: 8px; }
.specimen .cap { font-size: 18px; margin: 10px 0 0; }
.specimen table.sched { margin: 6px 0 0; }
.specimen table.sched th.cp, .specimen table.sched td.cp { width: 70px; padding-left: 5px; padding-right: 4px; }
.specimen table.sched th.cp { font-size: 12.5px; }
.specimen tr.ln td { padding: 7px 6px; }
.specimen .lt { font-size: 15px; }
.specimen .sl { font-size: 13px; }
.specimen .rfs, .specimen .cpw { font-size: 13px; }

/* explain, prose, pages */
section.explain { margin: 30px 0; }
.form3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.form3 > div { padding: 14px 18px 4px 0; }
.form3 .k { font-size: 13px; }
.prose { max-width: 760px; }
.page { padding: 30px 0 40px; max-width: 900px; }
.page table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 10px 0 18px; }
.page th, .page td { border-bottom: 1px solid var(--rule); padding: 7px 8px; text-align: left; vertical-align: top; }
.page th { border-bottom: 2px solid var(--ink); font-weight: 700; }
.page td, .page th { overflow-wrap: break-word; }
.page td:first-child { min-width: 150px; }
.page h2 a, .page h3 a { text-decoration: none; }
.page pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.5 var(--mono); background: var(--slip); border: 1px solid var(--rule); padding: 10px; }
.page .q { font-family: var(--sans); font-size: 15px; }
.page p.q { border-left: 2px solid var(--ink); padding-left: 10px; }
.crumbs { font-size: 14px; color: var(--mute); margin: 18px 0 0; }
.faq dt { font-weight: 700; margin-top: 12px; } .faq dd { margin: 4px 0 0; }
.cols2 { columns: 2 280px; column-gap: 32px; }
.cols2 li { break-inside: avoid; margin: 0 0 6px; }

/* applicant page and form pages */
.form-page { padding: 30px 0 40px; max-width: 880px; }
ol.alist { list-style: none; padding: 0; margin: 18px 0; counter-reset: a; }
li.al { border-top: 1px solid var(--ink); padding: 14px 0; counter-increment: a; }
li.al .lt::before { content: counter(a) '. '; font-weight: 400; color: var(--mute); }
form.rep { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin-top: 8px; }
form.rep label { display: flex; flex-direction: column; font-size: 13px; color: var(--ink2); gap: 2px; }
form.rep label.wide { flex: 1 1 220px; } form.rep label.wide input { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(35, 33, 29, .45); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal.open { display: flex; }
.modal .box { background: var(--slip); border: 2px solid var(--ink); padding: 20px; max-width: 460px; width: 100%; }
.modal .legend { font-family: var(--serif); font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.modal input[type=email] { width: 100%; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ink); background: var(--slip); margin: 18px 0; }
.page.wide { max-width: none; }
.plan { display: flex; flex-direction: column; } .plan ul { flex: 1; } .plan .btn { align-self: flex-start; }
.plan { padding: 18px 20px; border-left: 1px solid var(--ink); }
.plan:first-child { border-left: 0; }
.plan .price { font: 600 30px var(--serif); font-variant-numeric: lining-nums tabular-nums; margin: 6px 0; }
.plan ul { padding-left: 18px; font-size: 15px; }

footer.site { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 26px 24px 40px; font-size: 13.5px; color: var(--ink2); border-top: 2px solid var(--ink); margin-top: 30px; }
footer.site .fp, footer.site .ft { flex-basis: 100%; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 26px; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 34px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  h1 { font-size: 29px; } h2 { font-size: 24px; }
  header.site { gap: 2px 8px; padding: 8px 0; } .wm { font-size: 17px; } header.site nav { gap: 14px; font-size: 14px; } header.site nav .nx, header.site nav a[href='/controls/'] { display: none; }
  .page, .form-page { padding-top: 16px; } .crumbs { margin-top: 6px; }
  .tool, .sheet { padding: 16px 14px; }
  .ci { grid-template-columns: minmax(0, 1fr); } .cir { width: 100%; }
  .cpsum { grid-template-columns: minmax(0, 1fr); } .cps { border-left: 0; border-top: 1px solid var(--ink); } .cps:first-child { border-top: 0; }
  .form3 { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); } .plan { border-left: 0; border-top: 1px solid var(--ink); } .plan:first-child { border-top: 0; }
  dl.dates { grid-template-columns: repeat(3, minmax(0, auto)); gap: 2px 14px; }
  table.sched, table.sched tbody, table.sched td, table.sched th { display: block; width: auto !important; }
  table.sched tr { display: block; }
  table.sched tr.ln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  tr.ln td.cn { grid-column: 1 / -1; }
  table.sched thead { display: none; }
  tr.ln td { border: 0; padding: 4px 0; }
  tr.ln { border-bottom: 1px solid var(--rule); padding: 8px 0; }
  td.cp { border: 1px solid var(--hair) !important; border-right: 0 !important; padding: 6px 6px 8px !important; min-height: 58px; }
  td.cp:last-child { border-right: 1px solid var(--hair) !important; }
  td.cp::before { content: 'day ' attr(data-cp); display: block; font: 700 12px var(--sans); color: var(--mute); margin-bottom: 3px; }
  .rx { margin-left: 0; }
}
@media print {
  .band, nav, .tool, #actions, .cta, footer.site, .hero, section.explain, .tiers-near, #provenance, .autospec-note, .no-print { display: none !important; }
  body { background: #fff; font-size: 11px; }
  .sheet { border: 0; padding: 0; }
  details > .rx { display: none; }
  tr.ln { break-inside: avoid; }
}

.mstrip { display: none; }
@media (max-width: 640px) {
  table.sched tr.ln { display: block; }
  table.sched tr.ln td.cp { display: none !important; }
  .mstrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 6px 0 8px; border: 1px solid var(--hair); }
  .mstrip > span { padding: 5px 6px 7px; border-left: 1px solid var(--hair); font-size: 13px; min-height: 52px; }
  .mstrip > span:first-child { border-left: 0; }
  .mstrip .ml0 { display: block; font: 700 12px var(--sans); color: var(--mute); margin-bottom: 3px; }
  .mstrip .stamp, .mstrip .stroke { display: inline-block; font: 700 10.5px var(--sans); text-transform: uppercase; border: 2px solid; padding: 0 4px; transform: rotate(-2deg); }
  .mstrip .stamp { color: var(--blue); } .mstrip .stroke { color: var(--red); }
  .mstrip .st-closed .d, .mstrip .st-after .d { color: var(--blue); }
  .mstrip .due { font: 700 10.5px var(--sans); text-transform: uppercase; color: var(--ink2); display: block; }
}

@media (max-width: 640px) {
  table.sched tr.gh th { padding-left: 0; }
  li.rf > details:not([open]) > summary .q { display: none; }
  .page table, .page tbody, .page tr, .page td, .page th { display: block; width: auto; }
  .page table tr:first-child th { display: none; }
  .page td { border-bottom: 0; padding: 4px 0; }
  .page tr { border-bottom: 1px solid var(--rule); padding: 8px 0; }
  .page td:first-child { min-width: 0; }
}
