/* Public site: one paper, one ink, one laser. Radius is zero everywhere. Dashboard and phone page keep site.css. */
@font-face { font-family: "Handjet"; src: url("/static/fonts/handjet.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("/static/fonts/atkinson-next.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("/static/fonts/atkinson-next-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Mono"; src: url("/static/fonts/atkinson-mono.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Hanken Digits"; src: url("/static/fonts/hanken-digits.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --b1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath fill='%230b1029' d='M0 0h1v1h-1zM4 0h1v1h-1zM2 2h1v1h-1zM0 4h1v1h-1zM4 4h1v1h-1z'/%3E%3C/svg%3E");
  --b2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath fill='%230b1029' d='M0 0h1v1h-1zM2 0h1v1h-1zM4 0h1v1h-1zM6 0h1v1h-1zM0 2h1v1h-1zM2 2h1v1h-1zM4 2h1v1h-1zM6 2h1v1h-1zM0 4h1v1h-1zM2 4h1v1h-1zM4 4h1v1h-1zM6 4h1v1h-1zM0 6h1v1h-1zM2 6h1v1h-1zM4 6h1v1h-1zM6 6h1v1h-1z'/%3E%3C/svg%3E");
  --b3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath fill='%230b1029' d='M0 0h1v1h-1zM2 0h1v1h-1zM4 0h1v1h-1zM6 0h1v1h-1zM1 1h1v1h-1zM3 1h1v1h-1zM5 1h1v1h-1zM7 1h1v1h-1zM0 2h1v1h-1zM2 2h1v1h-1zM4 2h1v1h-1zM6 2h1v1h-1zM1 3h1v1h-1zM3 3h1v1h-1zM5 3h1v1h-1zM7 3h1v1h-1zM0 4h1v1h-1zM2 4h1v1h-1zM4 4h1v1h-1zM6 4h1v1h-1zM1 5h1v1h-1zM3 5h1v1h-1zM5 5h1v1h-1zM7 5h1v1h-1zM0 6h1v1h-1zM2 6h1v1h-1zM4 6h1v1h-1zM6 6h1v1h-1zM1 7h1v1h-1zM3 7h1v1h-1zM5 7h1v1h-1zM7 7h1v1h-1z'/%3E%3C/svg%3E");
  --b4: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath fill='%230b1029' d='M0 0h1v1h-1zM1 0h1v1h-1zM2 0h1v1h-1zM3 0h1v1h-1zM4 0h1v1h-1zM5 0h1v1h-1zM6 0h1v1h-1zM7 0h1v1h-1zM0 1h1v1h-1zM1 1h1v1h-1zM3 1h1v1h-1zM4 1h1v1h-1zM5 1h1v1h-1zM7 1h1v1h-1zM0 2h1v1h-1zM1 2h1v1h-1zM2 2h1v1h-1zM3 2h1v1h-1zM4 2h1v1h-1zM5 2h1v1h-1zM6 2h1v1h-1zM7 2h1v1h-1zM1 3h1v1h-1zM3 3h1v1h-1zM5 3h1v1h-1zM7 3h1v1h-1zM0 4h1v1h-1zM1 4h1v1h-1zM2 4h1v1h-1zM3 4h1v1h-1zM4 4h1v1h-1zM5 4h1v1h-1zM6 4h1v1h-1zM7 4h1v1h-1zM0 5h1v1h-1zM1 5h1v1h-1zM3 5h1v1h-1zM4 5h1v1h-1zM5 5h1v1h-1zM7 5h1v1h-1zM0 6h1v1h-1zM1 6h1v1h-1zM2 6h1v1h-1zM3 6h1v1h-1zM4 6h1v1h-1zM5 6h1v1h-1zM6 6h1v1h-1zM7 6h1v1h-1zM1 7h1v1h-1zM3 7h1v1h-1zM5 7h1v1h-1zM7 7h1v1h-1z'/%3E%3C/svg%3E");
  --paper: #f3f6f7;
  --ink: #0b1029;
  --ink-2: #454c63;
  --laser: #d9001b;
  /* Fixed column: content never runs wider than --wrap; bands keep their full-bleed background. */
  --wrap: 1160px;
  --gutter: max(clamp(16px, 4vw, 40px), calc((100vw - var(--wrap)) / 2));
  --gutter: round(max(clamp(16px, 4vw, 40px), calc((100vw - var(--wrap)) / 2)), 1px);
  --display: "Handjet", "Arial Narrow", sans-serif;
  /* Atkinson slashes its zero and has no alternate, so digits alone come from a Hanken Grotesk subset (hanken-digits.woff2). */
  --body: "Hanken Digits", "Atkinson Next", "Helvetica Neue", Arial, sans-serif;
  --code: "Atkinson Mono", ui-monospace, Menlo, monospace;
  --dots: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px);
  --vdots: repeating-linear-gradient(0deg, currentColor 0 2px, transparent 2px 4px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.5 var(--body);
  overflow-x: clip;
}
p, h1, h2, h3, ul, ol, dl, dd, figure, pre { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, canvas { display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--laser); }
:focus-visible { outline: 3px solid var(--laser); outline-offset: 3px; }
code { font: 400 .92em var(--code); overflow-wrap: anywhere; }
pre code { overflow-wrap: normal; }
.table-wrap code { overflow-wrap: normal; white-space: nowrap; }

h1, h2, .display {
  font-family: var(--display);
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  font-weight: 620;
  line-height: .94;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h2 { font-size: clamp(37px, 5.2vw, 55px); }
h3 { font: 700 18px/1.35 var(--body); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

/* Buttons: ink, quiet. The laser is kept for errors and focus. */
.cta, .btn {
  display: inline-block;
  padding: 14px 20px 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.cta { background: var(--ink); color: var(--paper); }
.cta:hover { background: #262d4d; color: var(--paper); }
.btn { box-shadow: inset 0 0 0 2px var(--ink); }
.btn:hover { background: var(--ink); color: var(--paper); }
.more { font-weight: 700; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding: 0 var(--gutter);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 620 27px/1 var(--display); font-variation-settings: "ELGR" 1, "ELSH" 2; }
.logo:hover { color: inherit; }
.logo svg { width: 21px; height: 21px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); font-size: 16px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; color: inherit; }
.nav a[aria-current] { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }
.nav .start { box-shadow: inset 0 0 0 2px var(--ink); padding: 7px 12px 8px; font-weight: 700; }
.nav .start:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.top-end { display: flex; align-items: center; gap: 16px; }
.phone-start { display: none; box-shadow: inset 0 0 0 2px var(--ink); padding: 6px 10px 7px; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.phone-start:hover { background: var(--ink); color: var(--paper); }
.phone-start, .menu-btn { position: relative; }
.phone-start::after, .menu-btn::after { content: ""; position: absolute; inset: -6px -4px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px 0; font: 700 16px var(--body); color: inherit; cursor: pointer; }

/* Hero: the square sets the height. Headline hangs from its top edge, the actions stand on its bottom edge: two groups, one gap. */
.hero {
  --m: 11;
  --sq: calc(var(--m) * 29px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sq);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "copy stage" "probe stage";
  column-gap: clamp(27px, 3.4vw, 40px);
  padding: 32px var(--gutter) 0;
}
.hero-copy { grid-area: copy; container-type: inline-size; display: flex; flex-direction: column; min-width: 0; }
.hero h1 { font-size: min(16.8cqi, calc(var(--sq) * .108)); text-wrap: initial; margin-top: -.09em; }
.hero h1 span { display: block; }
.hero-low { margin-top: auto; padding-top: 28px; }
.lead { max-width: 33em; font-size: 19px; line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
.fine { color: var(--ink-2); font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.actions + .fine { margin-top: 14px; }

.stage { grid-area: stage; position: relative; z-index: 5; width: var(--sq); height: var(--sq); }
.stage img, .stage canvas {
  position: absolute; left: 0; top: 0;
  width: var(--sq); height: var(--sq);
  image-rendering: pixelated;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
.stage canvas { cursor: none; touch-action: pan-y; }
.stage canvas:focus-visible { outline-offset: 8px; }
.stage.dropping canvas { outline: 4px solid var(--laser); outline-offset: 8px; }
html.mounted .stage img { visibility: hidden; }
html:not(.js) .js-only { display: none; }

/* The probe: drop a photo, get the honest reading of its bytes. */
.probe { grid-area: probe; min-width: 0; padding-top: 28px; }
.probe-intro { max-width: 30em; }
.probe-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.pick { position: relative; display: inline-block; cursor: pointer; font-weight: 700; box-shadow: inset 0 0 0 2px var(--ink); padding: 9px 14px 10px; line-height: 1.2; }
.pick:hover { background: var(--ink); color: var(--paper); }
.pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; font-size: 0; }
.pick:focus-within { outline: 3px solid var(--laser); outline-offset: 3px; }
.phone-only { display: none; }
.reading { margin-top: 18px; display: none; }
.reading.on { display: block; }
@media (min-width: 1024px) {
  .hero.has-reading .lead, .hero.has-reading .probe-intro { display: none; }
}
.says { display: grid; grid-template-columns: max-content 1fr; column-gap: 20px; font-size: 19px; }
.says dt { color: var(--ink-2); }
.says dd { font-weight: 700; overflow-wrap: anywhere; }
.verdict { margin-top: 8px; font-weight: 700; }
.verdict.lie { color: var(--laser); }
.reset { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.reset:hover { color: var(--laser); }

/* Where the square lands. The right column stays empty above the slot: that is its flight path. */
.landing { padding: clamp(82px, 12vw, 121px) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(27px, 4vw, 52px); align-items: end; }
.landing-note { max-width: 24em; padding-bottom: 6px; }
.landing-note p { margin-top: 16px; }
.mock { box-shadow: inset 0 0 0 2px var(--ink); padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) max-content; column-gap: 24px; }
.mock-title { font-weight: 700; }
.mock-main .fine { margin-top: 2px; }
.mock-drop { display: flex; flex-direction: column; justify-content: center; margin-top: 20px; padding: 20px; min-height: 112px; background-image: var(--dots), var(--dots), var(--vdots), var(--vdots); background-size: 100% 2px, 100% 2px, 2px 100%, 2px 100%; background-position: 0 0, 0 100%, 0 0, 100% 0; background-repeat: no-repeat; }
.mock-phone { display: grid; grid-template-columns: minmax(0, 9.5em) 174px; gap: 16px; align-items: end; }
.mock-phone-text { padding-bottom: 2px; text-align: left; }
.slot { width: 174px; height: 174px; }
.slot img { width: 174px; height: 174px; image-rendering: pixelated; }
.fly .slot img { visibility: hidden; }
.filerow { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; min-height: 64px; margin-top: 20px; }
.filerow img, .filerow canvas { width: 64px; height: 64px; image-rendering: pixelated; flex: none; }
.filerow .name { min-width: 0; overflow-wrap: anywhere; }
.filerow strong { margin-left: auto; background: var(--ink); color: var(--paper); padding: 4px 10px 5px; white-space: nowrap; }
.fly .filerow > * { visibility: hidden; }
.fly .landed .filerow > * { visibility: visible; }

/* Six to two: same height, fewer rows. That is the whole argument. */
.section { padding: clamp(95px, 14vw, 144px) var(--gutter) 0; }
.intro { max-width: 34em; margin-top: 20px; }
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto repeat(6, minmax(58px, auto)); column-gap: clamp(27px, 4vw, 52px); margin-top: 56px; }
.ledger-col { display: grid; grid-row: 1 / span 7; grid-template-rows: subgrid; }
.ledger-head { padding-bottom: 12px; }
.ledger ol { display: contents; }
.ledger li { display: grid; grid-template-columns: 2.2em 1fr; align-items: center; padding: 14px 0; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
.ledger .n { font: 560 28px/1 var(--display); font-variation-settings: "ELGR" 1, "ELSH" 2; }
.without { color: var(--ink-2); }
.with li { grid-row: span 3; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.2; font-weight: 700; }
.with .n { font-size: 1.5em; }
.after { max-width: 34em; margin-top: 32px; margin-left: calc(50% + clamp(16px, 2vw, 36px)); }
.after a { display: inline-block; margin-top: 10px; }

/* Developers: a printed listing. Paper, not a dark panel; only the lines the steps point at are inverted. */
.dev { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(27px, 4vw, 52px); row-gap: 40px; }
.dev h2 { grid-column: 1 / -1; }
.steps li { display: grid; grid-template-columns: 2em 1fr; padding: 14px 0 22px; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
.steps .n { font: 560 28px/1 var(--display); font-variation-settings: "ELGR" 1, "ELSH" 2; }
.steps p { margin-top: 2px; color: var(--ink-2); }
.snippet { min-width: 0; }
.snippet pre { overflow-x: auto; font: 400 15.5px/1.7 var(--code); background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; padding-top: 16px; }
.snippet code { font-size: 1em; display: block; width: max-content; min-width: 100%; }
.snippet .l { display: block; position: relative; padding-left: 40px; white-space: pre; min-height: 1.7em; }
.snippet .hit { background: var(--ink); color: var(--paper); }
.snippet .hit::before { content: attr(data-step); position: absolute; left: 0; top: 0; width: 28px; height: 100%; background: var(--paper); color: var(--ink); font: 620 22px/1.2 var(--display); font-variation-settings: "ELGR" 1, "ELSH" 2; }
.snip-short { display: none; }
.snippet p { margin-top: 18px; padding-left: 40px; }

/* Use cases: a ledger of names, each one visibly a link. */
.cases { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(27px, 4vw, 52px); font: 560 clamp(29px, 3.9vw, 42px)/1.05 var(--display); font-variation-settings: "ELGR" 1, "ELSH" 2; }
.cases li { padding: 14px 0 18px; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
.cases a { white-space: nowrap; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .13em; }
.cases a:hover, .cases a:focus-visible { font-variation-settings: "ELGR" 2, "ELSH" 8; color: inherit; text-decoration-thickness: 3px; }

/* Security */
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(27px, 4vw, 52px); }
.two p { margin-top: 20px; max-width: 30em; }
.rows { align-self: end; }
.rows li { padding: 14px 0; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }

/* Home pricing rows */
.pricelist { margin-top: 48px; }
.pricelist li { display: grid; grid-template-columns: 2fr 1.2fr 3fr 2fr 2fr; gap: 8px 24px; align-items: baseline; padding: 16px 0; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
.pricelist b { font: 560 34px/1 var(--display); font-variation-settings: "ELGR" 1, "ELSH" 2; }
.pricelist .pl-price { font-weight: 700; font-size: 20px; }
.after-price { margin-top: 24px; }

/* Closing: the page ends the way a form ends, on one wide submit bar. */
.closing { padding: clamp(95px, 14vw, 144px) var(--gutter) clamp(61px, 8vw, 86px); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: clamp(27px, 4vw, 52px); align-items: end; }
.closing-note { padding-bottom: 6px; }
.submit { grid-column: 1 / -1; display: block; margin-top: 32px; width: fit-content; padding: .42em .7em .48em; background: var(--ink); color: var(--paper); text-decoration: none; font: 620 clamp(32px, 5.4vw, 60px)/1 var(--display); font-variation-settings: "ELGR" 1, "ELSH" 2; }
.submit:hover { background: #262d4d; color: var(--paper); }
.closing-more { grid-column: 1 / -1; margin-top: 16px; }

/* Footer */
.foot { padding: 48px var(--gutter) 40px; font-size: 15.5px; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
.foot-grid { display: grid; grid-template-columns: 2.4fr repeat(4, 1fr); gap: 32px 24px; }
.foot h3 { font-size: 15.5px; margin-bottom: 8px; }
.foot li { margin-top: 4px; }
.foot li a { text-decoration: none; }
.foot li a:hover { text-decoration: underline; color: inherit; }
.foot-line { max-width: 22em; margin-top: 12px; color: var(--ink-2); }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; }

/* Module sizes. Whole pixels only, so the grain never beats against the screen. */
@media (min-width: 384px) { .hero { --m: 12; } }
@media (min-width: 620px) { .hero { --m: 18; } }
@media (min-width: 1024px) { .hero { --m: 15; } }
@media (min-width: 1024px) and (min-height: 640px) { .hero { --m: 18; } }
@media (min-width: 1200px) and (min-height: 720px) { .hero { --m: 20; } }

/* Short laptop screens: the same two groups, tighter, so the actions still stand on the square's edge. */
@media (min-width: 1200px) and (max-height: 799px) {
  .hero-low { padding-top: 16px; }
  .actions { margin-top: 18px; }
  .actions + .fine { margin-top: 10px; }
  .probe { padding-top: 20px; }
  .probe-row { margin-top: 10px; }
}
/* Small laptop: the copy column cannot hold the probe and still stand on the square. The probe becomes a strip under both. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero { column-gap: 24px; grid-template-rows: auto auto; grid-template-areas: "copy stage" "probe probe"; padding-top: 24px; }
  .hero h1 { font-size: 16.8cqi; }
  .hero-low { padding-top: 16px; }
  .lead { font-size: 16.5px; line-height: 1.4; }
  .actions { margin-top: 16px; gap: 10px 14px; font-size: 15.5px; }
  .cta { padding: 12px 12px 13px; }
  .demo { white-space: nowrap; }
  .actions + .fine { margin-top: 8px; }
  /* The right end of the strip stays clear: the square flies down that column on scroll. */
  .probe { padding: 16px 232px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) max-content; column-gap: 28px; align-items: start; }
  .probe-intro { max-width: none; font-size: 16px; line-height: 1.4; }
  .probe-row { margin-top: 0; flex-direction: column; align-items: flex-start; gap: 6px; }
  .reading { grid-column: 1 / -1; }
}
@media (max-width: 1199px) {
  .landing, .dev, .two { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .dev { row-gap: 40px; }
  .dev h2 { grid-column: auto; }
  .snippet .l { padding-left: 34px; }
  .snippet p { padding-left: 34px; }
}
@media (max-width: 1023px) {
  .hero { display: flex; flex-direction: column; padding-top: 16px; align-items: stretch; }
  .hero-copy, .hero-low { display: contents; }
  .hero h1 { order: 1; font-size: clamp(42px, 15.2vw, 75px); }
  .stage { order: 2; margin: 28px auto 0; flex: none; }
  .probe { order: 3; padding-top: 24px; }
  .lead { order: 4; margin-top: 44px; }
  .actions { order: 5; }
  .actions + .fine { order: 6; }
  .phone-only { display: block; }
  .pick .phone-only { display: inline; }
  .desk-only { display: none; }
  .stage canvas { cursor: default; }
  .after { margin-left: 0; }
  .ledger { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 40px; }
  .ledger-col { display: block; grid-row: auto; }
  .ledger ol { display: block; }
  .with li { grid-row: auto; padding: 22px 0; }
  .pricelist li { grid-template-columns: 1fr 1fr; }
  .pricelist span { grid-column: 1 / -1; }
  .pricelist .pl-price { grid-column: auto; justify-self: end; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .closing { grid-template-columns: minmax(0, 1fr); }
  .closing-note { margin-top: 20px; }
}
@media (max-width: 860px) {
  html.js .menu-btn { display: block; }
  html.js .phone-start { display: inline-block; }
  html.js .nav { display: none; }
  /* The menu is the only big type on the screen. "Start free" already lives in the header bar. */
  html.js .nav.open { display: block; position: absolute; left: 0; right: 0; top: 64px; z-index: 12; background: var(--paper); padding: 0 var(--gutter) 28px; box-shadow: 0 2px 0 var(--ink); font: 560 40px/1 var(--display); font-variation-settings: "ELGR" 1, "ELSH" 2; }
  html.js .nav.open a { display: block; padding: 12px 0 15px; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
  html.js .nav.open .start { display: none; }
  html:not(.js) .top { height: auto; flex-direction: column; align-items: flex-start; padding-top: 14px; gap: 8px; }
  html:not(.js) .nav { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .lead { font-size: 18px; }
  .mock { padding: 16px; grid-template-columns: minmax(0, 1fr); }
  .mock-drop { min-height: 96px; padding: 16px; margin-top: 16px; }
  .mock-phone { grid-template-columns: minmax(0, 1fr) 116px; margin-top: 20px; gap: 12px; align-items: start; }
  .slot, .slot img { width: 116px; height: 116px; }
  .filerow { gap: 10px; min-height: 48px; margin-top: 16px; }
  .filerow img, .filerow canvas { width: 48px; height: 48px; }
  .filerow .name { font-size: 15px; line-height: 1.3; }
  .filerow strong { font-size: 13px; padding: 2px 6px 3px; }
  .cases { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .snip-full { display: none; }
  .snip-short { display: block; }
  .snippet pre { font-size: 13px; }
  .snippet .l, .snippet p { padding-left: 26px; }
  .snippet .hit::before { width: 18px; font-size: 19px; line-height: 1.15; }
}

/* Inner pages stay still. No square, no shader, nothing that moves on its own. */
.crumbs { font-size: 15px; color: var(--ink-2); }
.crumbs a { color: inherit; }
.page-head .lead { margin-top: 24px; max-width: 36em; }

/* Pricing: the plans stand on one quantization ruler. */
.plans-wrap { padding: 72px var(--gutter) 0; }
.plans { width: 100%; border-collapse: collapse; table-layout: fixed; }
.plans th, .plans td { text-align: left; font-weight: 400; vertical-align: baseline; padding: 12px 16px 12px 0; }
.plans thead th { padding-bottom: 20px; }
.plans .plan-name { display: block; font: 620 clamp(34px, 3.6vw, 52px)/1 var(--display); font-variation-settings: "ELGR" 1, "ELSH" 2; }
.plans .plan-price { display: block; margin-top: 8px; font-weight: 700; }
.plans .tag { display: inline-block; margin-top: 8px; background: var(--ink); color: var(--paper); padding: 2px 8px 3px; font-size: 14px; font-weight: 700; }
.plans .row-label { color: var(--ink-2); padding-right: 24px; }
.plans tbody tr { background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
.plans tbody .ruler-row { background: none; }
.ruler-row td { padding: 0 0 18px; }
.ruler-row th { vertical-align: bottom; padding-bottom: 18px; }
.band { display: block; height: 96px; image-rendering: pixelated; background-repeat: repeat; }
.ruler-row td:nth-child(2) .band { background-image: var(--b1); }
.ruler-row td:nth-child(3) .band { background-image: var(--b2); }
.ruler-row td:nth-child(4) .band { background-image: var(--b3); }
.ruler-row td:nth-child(5) .band { background-image: var(--b4); }
.tick { display: block; margin-top: 10px; font-weight: 700; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; }
.plans .cta, .plans .btn { padding: 11px 14px 12px; }
.plans tfoot td { padding-top: 24px; }
.plans-note { margin-top: 24px; max-width: 46em; }
.plans-usd { display: none; }
.nb { white-space: nowrap; }
.limits { padding: clamp(82px, 12vw, 121px) var(--gutter) clamp(82px, 12vw, 115px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(27px, 4vw, 52px); row-gap: 40px; }
.limits-list { max-width: 40em; }
.limits-list h3 { margin-top: 32px; }
.limits-list h3:first-child { margin-top: 0; }
.limits-list p { margin-top: 6px; }

/* Use case: claim form running off the right edge, picture inside it. */
.case-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(27px, 4vw, 52px); padding: 40px 0 0 var(--gutter); align-items: stretch; }
.case-hero .claim { display: flex; flex-direction: column; }
.case-hero .claim-photos { margin-top: auto; padding-top: 28px; }
.case-hero .claim:not(:has(picture)) .claim-fields { flex: 1; grid-template-rows: auto 1fr; }
.case-hero .claim:not(:has(picture)) .claim-fields::after { content: ""; grid-column: 1 / -1; background: repeating-linear-gradient(180deg, transparent 0 52px, var(--paper) 52px 54px); mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 4px); }
.case-hero h1 { font-size: clamp(42px, 5.8vw, 66px); margin-top: 28px; text-wrap: pretty; }
.case-hero .lead { margin-top: 24px; }
.claim { background: var(--ink); color: var(--paper); padding: clamp(24px, 3vw, 44px) var(--gutter) clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px); }
.claim h2 { font-size: clamp(36px, 3.4vw, 52px); }
.claim-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 24px; margin-top: 24px; }
.claim-fields span { display: block; color: #c3c9d9; font-size: 15px; }
.claim-fields i { display: block; height: 34px; background-image: var(--dots); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; }
.claim-photos { margin-top: 28px; }
.claim-photos > span { color: #c3c9d9; font-size: 15px; display: block; margin-bottom: 8px; }
.claim-photos picture { display: flex; justify-content: flex-end; background: var(--paper); overflow: hidden; } /* never scaled; a narrow column trims the door side, the damage stays */
.claim-photos img { flex: none; max-width: none; image-rendering: pixelated; }
.claim-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 14px; }
.claim-row > span { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.claim-row strong { margin-left: auto; background: var(--paper); color: var(--ink); padding: 4px 10px 5px; white-space: nowrap; }

/* The second half reads as the rest of the claim file: label on the left, content on the right, one rule per field. */
.sheet { padding: clamp(82px, 11vw, 115px) var(--gutter) 0; }
.sheet-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(27px, 4vw, 52px); padding: 28px 0 clamp(48px, 6vw, 63px); background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
.sheet-row:last-child { padding-bottom: 0; }
.sheet-row h2 { font-size: clamp(32px, 4vw, 42px); }
.statements li { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.22; font-weight: 500; }
.statements li + li { margin-top: .75em; }
.helps li + li { margin-top: 24px; }
.helps p { margin-top: 2px; color: var(--ink-2); }
.helps code { color: var(--ink); }
details { padding-bottom: 4px; }
summary { cursor: pointer; font-weight: 700; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25; }
details p { margin-top: 10px; max-width: 34em; }
.feature-links { font: 560 clamp(30px, 3vw, 44px)/1.05 var(--display); font-variation-settings: "ELGR" 1, "ELSH" 2; }
.feature-links li + li { margin-top: 12px; }
.feature-links a { text-decoration-thickness: 2px; text-underline-offset: .13em; }
.feature-links a:hover { color: inherit; font-variation-settings: "ELGR" 2, "ELSH" 8; }

/* Typical documents: the claim form comes back, this time holding the files. */
.docs-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(27px, 4vw, 52px); padding: clamp(82px, 11vw, 115px) 0 0 var(--gutter); align-items: start; }
.docs-band h2 { font-size: clamp(32px, 4vw, 42px); padding-top: clamp(24px, 3vw, 44px); }
.claim-files { font: 560 clamp(30px, 3.2vw, 48px)/1.05 var(--display); font-variation-settings: "ELGR" 1, "ELSH" 2; }
.claim-files li { padding: 14px 0 18px; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
.claim-files li:first-child { background: none; padding-top: 0; }
.claim-files li:last-child { padding-bottom: 0; }

@media (max-width: 1023px) {
  .limits { grid-template-columns: minmax(0, 1fr); }
  .case-hero { grid-template-columns: minmax(0, 1fr); padding: 24px 0 0; row-gap: 40px; }
  .case-copy { padding: 0 var(--gutter); }
  .claim { padding: 24px var(--gutter) 28px; }
  .sheet-row { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .docs-band { grid-template-columns: minmax(0, 1fr); row-gap: 24px; padding-left: 0; }
  .docs-band h2 { padding: 0 var(--gutter); }
}
/* Below this the table turns its row labels into full-width lines above four value columns. */
@media (max-width: 900px) {
  .plans, .plans thead, .plans tbody, .plans tfoot { display: block; }
  .plans tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .plans th, .plans td { padding: 6px 6px 8px 0; min-width: 0; font-size: 15px; }
  .plans .row-label { grid-column: 1 / -1; padding: 10px 0 0; font-size: 14px; }
  .plans thead .corner, .plans tfoot .corner { display: none; }
  .plans .plan-name { font-size: 26px; }
  .plans .plan-price { font-size: 14px; }
  .plans .tag { font-size: 13px; padding: 1px 5px 2px; }
  .plans-usd { display: inline; }
  .ruler-row th { padding-bottom: 8px !important; }
  .ruler-row td { padding: 0 2px 12px 0 !important; }
  .band { height: 64px; }
  .tick { font-size: 18px; margin-top: 6px; }
  .plans .cta, .plans .btn { padding: 12px 6px 13px; white-space: normal; font-size: 14px; display: block; text-align: center; }
  .plans .long { display: none; }
}

/* The rest of the site: every long page is the same file, a label on the left and the content on the right, one dotted rule per field. */
.page-head { padding: 40px var(--gutter) 0; }
.page-head h1 { font-size: clamp(42px, 6.4vw, 75px); margin-top: 28px; max-width: 14em; }
.page-head .fine { margin-top: 16px; }
.page-head-big h1 { font-size: clamp(54px, 9.5vw, 107px); }
main > :last-child { padding-bottom: clamp(82px, 12vw, 115px); }

.sheet-narrow { max-width: calc(42em + 2 * var(--gutter)); }
.notes p + p { margin-top: 12px; }
.statements li, .helps li { max-width: 34em; }

summary { list-style: none; display: grid; grid-template-columns: 1.1em minmax(0, 1fr); }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; font: 620 1.15em/1.1 var(--display); font-variation-settings: "ELGR" 1, "ELSH" 2; }
details[open] > summary::before { content: "\2212"; }
details p { margin-left: calc(1.1em * 1.2); }
.faq-list details { padding: 0; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
.faq-list summary { padding: 14px 0 18px; }
.faq-list details[open] > summary { padding-bottom: 0; }
.faq-list details > p { padding-bottom: 18px; }
.faq-list details:first-child { background: none; }
.faq-list details:first-child > summary { padding-top: 0; }
.sheet-row:has(.faq-list) { row-gap: 24px; }
.faq-page details:first-child { background: var(--dots) 0 0 / 100% 2px no-repeat; }
.faq-page details:first-child > summary { padding-top: 14px; }
.faq-page { max-width: 54em; }

.index li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(27px, 4vw, 52px); align-items: baseline; padding: 20px 0 28px; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
.index h2 { font-size: clamp(29px, 3.9vw, 42px); font-weight: 560; line-height: 1.05; }
.index a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .13em; }
.index a:hover, .index a:focus-visible { color: inherit; font-variation-settings: "ELGR" 2, "ELSH" 8; }
.index p { max-width: 34em; }

.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(27px, 4vw, 52px); }
.points.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.points li { padding: 18px 0 40px; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
.points h3 { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25; }
.points p { margin-top: 8px; max-width: 32em; color: var(--ink-2); }
.points p a { color: var(--ink); font-weight: 700; }
.points-note { margin-top: 8px; }

.steps strong { color: var(--ink); }
.sheet .steps li:first-child { background: none; padding-top: 0; }
.sheet .actions { margin-top: 32px; }

/* Long-form copy */
.prose h2 { font-size: clamp(34px, 3.4vw, 52px); }
.prose h3 { margin-top: 28px; }
.prose p, .prose ul, .prose ol, .prose .table-wrap, .prose > table, .prose pre, .prose .callout { margin-top: 16px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(27px, 4vw, 52px); container-type: inline-size; }
.prose-grid > * { grid-column: 2; min-width: 0; max-width: 40em; }
.prose-grid > h2 { grid-column: 1; grid-row: span 30; position: relative; align-self: start; max-width: none; margin-top: 64px; padding-top: 28px; }
.prose-grid > h2::before { content: ""; position: absolute; left: 0; top: 0; width: calc(100vw - 2 * var(--gutter)); width: 100cqw; height: 2px; background: var(--dots); }
.prose-grid > h2 + * { margin-top: 92px; }
.prose-grid > h2:first-child { margin-top: 0; }
.prose-grid > h2:first-child + * { margin-top: 28px; }
.prose .actions { margin-top: 32px; }

.callout { padding: 16px 20px 18px; box-shadow: inset 0 0 0 2px var(--ink); }
.sheet > .callout { margin-top: 32px; }
.form .cta + .fine { margin-top: 12px; }
.callout.warn { background: var(--ink); color: var(--paper); box-shadow: none; }
.callout.warn a, .callout.warn code { color: inherit; }

.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: baseline; font-weight: 400; padding: 12px 20px 14px 0; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
.compare thead th { font-weight: 700; background: none; padding-top: 0; }
.compare tbody th { color: var(--ink-2); }
.check { font-weight: 700; }
.cross { color: var(--laser); font-weight: 700; }

.prose pre { overflow-x: auto; font: 400 15.5px/1.7 var(--code); padding: 14px 0 16px; background-image: var(--dots), var(--dots); background-size: 100% 2px, 100% 2px; background-position: 0 0, 0 100%; background-repeat: no-repeat; }
.prose pre code { display: block; width: max-content; min-width: 100%; font-size: 1em; }

/* Docs */
.docs-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: clamp(27px, 4vw, 52px); padding: 40px var(--gutter) 0; }
.docs-nav { position: sticky; top: 24px; align-self: start; font-size: 16px; }
.docs-nav-title { font: 620 27px/1 var(--display); font-variation-settings: "ELGR" 1, "ELSH" 2; margin-bottom: 14px; }
.docs-nav li + li { margin-top: 6px; }
.docs-nav a { text-decoration: none; }
.docs-nav a:hover { text-decoration: underline; color: inherit; }
.docs-nav a[aria-current] { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.docs-grid article { min-width: 0; }
.docs-grid .prose > :is(h1, h3, p, ul, ol, .callout) { max-width: 46em; }
.docs-grid .prose > .docs-end { max-width: none; }
.docs-grid h1 { font-size: clamp(42px, 5.4vw, 60px); margin-top: 24px; }
.docs-grid .lead { margin-top: 18px; }
.docs-grid .prose h2 { margin-top: 56px; padding-top: 22px; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }
.docs-grid .prose pre + h2 { background-image: none; padding-top: 0; }
.docs-end { margin-top: 56px; padding-top: 16px; background-image: var(--dots); background-size: 100% 2px; background-repeat: no-repeat; }

/* Forms */
.auth { padding: 56px var(--gutter) 0; max-width: calc(30em + 2 * var(--gutter)); }
.auth h1 { font-size: clamp(42px, 6vw, 60px); }
.auth .fine { margin-top: 12px; }
.card { padding: 20px 20px 22px; box-shadow: inset 0 0 0 2px var(--ink); }
.auth .card { padding: 0; box-shadow: none; }
.page-head .card { margin-top: 20px; max-width: 42em; }
.spread { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form { margin-top: 28px; }
.form .field { margin-top: 20px; }
.form .field:first-child { margin-top: 0; }
.form label:not(.inline-check), .form .label { display: block; font-weight: 700; margin-bottom: 6px; }
.form input[type="text"], .form input[type="email"], .form input[type="password"] { display: block; width: 100%; padding: 12px 14px 13px; font: inherit; color: inherit; background: transparent; border: 0; border-radius: 0; box-shadow: inset 0 0 0 2px var(--ink); }
.form input:focus-visible { outline: 3px solid var(--laser); outline-offset: 2px; }
.form button { margin-top: 24px; }
.form .row button { margin-top: 0; }
.form .hint { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.inline-check { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.inline-check input { accent-color: var(--ink); }
.picked { margin-top: 12px; }
button.cta, button.btn { border: 0; font: inherit; font-weight: 700; color: inherit; background: none; cursor: pointer; }
button.cta { background: var(--ink); color: var(--paper); }
button.cta:hover { background: #262d4d; color: var(--paper); }
button.btn:hover { background: var(--ink); color: var(--paper); }
.alert { margin-top: 16px; padding: 12px 16px 14px; font-weight: 700; box-shadow: inset 0 0 0 2px var(--ink); }
.alert.err { color: var(--laser); box-shadow: inset 0 0 0 2px var(--laser); }
.pill { display: inline-block; padding: 2px 8px 3px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 700; }
.claim-thumb { width: 64px; height: 64px; image-rendering: pixelated; flex: none; }

@media (max-width: 1023px) {
  .index li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .points.three { grid-template-columns: minmax(0, 1fr); }
  .prose-grid { display: block; }
  .prose-grid > * { max-width: 42em; }
  .prose-grid > h2 { max-width: none; margin-top: 56px; padding-top: 20px; }
  .prose-grid > h2::before { width: 100%; }
  .prose-grid > h2 + * { margin-top: 16px; }
  .prose-grid > h2:first-child + * { margin-top: 16px; }
  .docs-grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; padding-top: 24px; }
  .docs-nav { position: static; order: 2; }
}
@media (max-width: 720px) {
  .points { grid-template-columns: minmax(0, 1fr); }
  .compare { font-size: 16px; }
  .docs-grid .table-wrap table { min-width: 560px; }
  .prose pre code { width: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
  .foot li { margin-top: 0; }
  .foot li a { display: inline-block; padding: 9px 0; }
  .compare th, .compare td { padding-right: 14px; }
}

/* Signed-in header (public-boot.js sets html.in). A state switch, so it outranks every layout rule, the open phone menu included. */
html.in .when-out, html:not(.in) .when-in { display: none !important; }
