/* Generated by scripts/site/build.py from docs/design/tokens.json — do not edit. */
:root {
  --c-primary: oklch(0.4619 0.2023 266.2);
  --c-on-primary: oklch(1.0000 0 0);
  --c-primary-container: oklch(0.9218 0.0375 274.1);
  --c-on-primary-container: oklch(0.2767 0.1292 266.3);
  --c-secondary: oklch(0.4651 0.0359 260.6);
  --c-on-secondary: oklch(1.0000 0 0);
  --c-secondary-container: oklch(0.9295 0.0121 259.8);
  --c-on-secondary-container: oklch(0.2626 0.0294 259.1);
  --c-tertiary: oklch(0.4877 0.1000 84.4);
  --c-on-tertiary: oklch(1.0000 0 0);
  --c-tertiary-container: oklch(0.9181 0.1123 91.8);
  --c-on-tertiary-container: oklch(0.2956 0.0605 86.2);
  --c-error: oklch(0.5013 0.1783 28.7);
  --c-on-error: oklch(1.0000 0 0);
  --c-error-container: oklch(0.9221 0.0301 22.8);
  --c-on-error-container: oklch(0.2539 0.0794 27.6);
  --c-success: oklch(0.5282 0.1205 154.9);
  --c-on-success: oklch(1.0000 0 0);
  --c-success-container: oklch(0.9335 0.0412 158.6);
  --c-on-success-container: oklch(0.3097 0.0675 155.6);
  --c-background: oklch(0.9886 0.0026 286.4);
  --c-on-background: oklch(0.2308 0.0143 266.9);
  --c-surface: oklch(0.9886 0.0026 286.4);
  --c-on-surface: oklch(0.2308 0.0143 266.9);
  --c-surface-variant: oklch(0.9244 0.0087 264.5);
  --c-on-surface-variant: oklch(0.4345 0.0264 265.5);
  --c-surface-container-lowest: oklch(1.0000 0 0);
  --c-surface-container-low: oklch(0.9732 0.0041 271.4);
  --c-surface-container: oklch(0.9578 0.0058 264.5);
  --c-surface-container-high: oklch(0.9422 0.0075 260.7);
  --c-surface-container-highest: oklch(0.9244 0.0087 264.5);
  --c-outline: oklch(0.5781 0.0216 262.9);
  --c-outline-variant: oklch(0.8502 0.0136 262.4);
  --c-inverse-surface: oklch(0.3165 0.0153 264.3);
  --c-inverse-on-surface: oklch(0.9548 0.0058 264.5);
  --c-inverse-primary: oklch(0.8350 0.0818 273.1);
  --c-scrim: oklch(0.0000 0 0);
  --c-document-canvas: oklch(0.9274 0.0087 264.5);
}
@media (prefers-color-scheme: dark) {
  :root {
  --c-primary: oklch(0.8174 0.0911 272.6);
  --c-on-primary: oklch(0.2767 0.1292 266.3);
  --c-primary-container: oklch(0.4018 0.1432 269.1);
  --c-on-primary-container: oklch(0.9218 0.0375 274.1);
  --c-secondary: oklch(0.8119 0.0277 262.3);
  --c-on-secondary: oklch(0.3062 0.0410 257.3);
  --c-secondary-container: oklch(0.3695 0.0286 260.6);
  --c-on-secondary-container: oklch(0.9295 0.0121 259.8);
  --c-tertiary: oklch(0.8505 0.1472 90.1);
  --c-on-tertiary: oklch(0.2956 0.0605 86.2);
  --c-tertiary-container: oklch(0.3969 0.0812 86.3);
  --c-on-tertiary-container: oklch(0.9181 0.1123 91.8);
  --c-error: oklch(0.8345 0.0677 22.0);
  --c-on-error: oklch(0.3245 0.1092 28.0);
  --c-error-container: oklch(0.4200 0.1473 28.1);
  --c-on-error-container: oklch(0.9221 0.0301 22.8);
  --c-success: oklch(0.8122 0.1141 157.0);
  --c-on-success: oklch(0.3097 0.0675 155.6);
  --c-success-container: oklch(0.4179 0.0936 155.0);
  --c-on-success-container: oklch(0.9335 0.0412 158.6);
  --c-background: oklch(0.1909 0.0087 264.3);
  --c-on-background: oklch(0.9279 0.0071 268.5);
  --c-surface: oklch(0.1909 0.0087 264.3);
  --c-on-surface: oklch(0.9279 0.0071 268.5);
  --c-surface-variant: oklch(0.3244 0.0153 264.3);
  --c-on-surface-variant: oklch(0.7942 0.0182 264.5);
  --c-surface-container-lowest: oklch(0.1676 0.0071 258.4);
  --c-surface-container-low: oklch(0.2298 0.0107 260.7);
  --c-surface-container: oklch(0.2473 0.0122 264.3);
  --c-surface-container-high: oklch(0.2840 0.0141 261.7);
  --c-surface-container-highest: oklch(0.3244 0.0153 264.3);
  --c-outline: oklch(0.6588 0.0223 264.4);
  --c-outline-variant: oklch(0.3900 0.0235 265.7);
  --c-inverse-surface: oklch(0.9279 0.0071 268.5);
  --c-inverse-on-surface: oklch(0.3165 0.0153 264.3);
  --c-inverse-primary: oklch(0.4619 0.2023 266.2);
  --c-scrim: oklch(0.0000 0 0);
  --c-document-canvas: oklch(0.1582 0.0072 258.4);
  }
}

/* grifel.app
   Layout: the site is a PDF open in Grifel. A grey viewer holds white pages, each with the app's page chip; the copy
   is set like a document in Literata (Google's reading face for Play Books), the interface bits in the system font,
   and the only decoration is what Grifel itself does to a page: the yellow highlighter, the blue pen, a check mark
   and a signature. Dark mode is the app's "soft dark" page. App colors come from docs/design/tokens.json (the --c-*
   properties above, generated by scripts/site/build.py); document colors from its "document" and "annotation" keys. */

@font-face { font-family: "Literata"; src: url("/fonts/literata-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; src: url("/fonts/literata-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; src: url("/fonts/literata-cyrillic.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Literata"; src: url("/fonts/literata-cyrillic-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  --viewer: #E9ECF1;
  --page: #FFFFFF;
  --page-text: #1A1A1A;
  --page-muted: #4A5160;
  --page-shadow: rgba(16, 24, 40, .18);
  --rule: #DADDE3;
  --chip-bg: #3A3D45;
  --chip-fg: #FFFFFF;
  --pen: #1E5EFF;
  --marker: oklch(0.8809 0.1806 94.0 / 0.55);
  --note: #FFF59D;
  --note-text: #3A2A00;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --viewer: #121418;
    --page: #1F2228;
    --page-text: #D6D9DF;
    --page-muted: #B6BCC8;
    --page-shadow: rgba(0, 0, 0, .55);
    --rule: #353A43;
    --chip-bg: #D6D9DF;
    --chip-fg: #1F2228;
    --pen: #7CA4FF;
    --marker: oklch(0.8809 0.1806 94.0 / 0.3);
    --note: #4A4120;
    --note-text: #F3E9B8;
    color-scheme: dark;
  }
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--viewer); color: var(--page-text); font: 400 18px/1.6 var(--serif); font-optical-sizing: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--c-primary); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--marker); }
h1, h2, h3 { font-family: var(--serif); text-wrap: balance; }
h1 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.05; font-weight: 650; letter-spacing: -.012em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; font-weight: 600; letter-spacing: -.008em; }
h3 { font-size: 21px; line-height: 1.3; font-weight: 650; }
.lead { font-size: 20px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 14px; border-radius: 8px; background: var(--c-primary); color: var(--c-on-primary); font: 600 15px var(--ui); }
.skip:focus { top: 12px; }
.icon { width: 22px; height: 22px; flex: none; fill: currentColor; }
.placeholder { background: var(--c-error-container); color: var(--c-on-error-container); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.nowrap { white-space: nowrap; }

/* the yellow highlighter */
.mark, .hl { padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(var(--marker), var(--marker)) no-repeat 0 60% / 100% 74%; }

/* the blue pen: every stroke has pathLength 1, so it can be drawn in */
.pen { overflow: visible; }
.pen path { fill: none; stroke: var(--pen); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: 0; }

/* ---------------------------------------------------------------- the app bar */

.top { position: sticky; top: 0; z-index: 10; background: var(--c-surface); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.scrolled { border-bottom-color: var(--rule); }
.bar { display: flex; align-items: center; gap: 24px; max-width: 1112px; min-height: 64px; margin-inline: auto; padding-inline: 16px; font-family: var(--ui); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-on-surface); text-decoration: none; font: 650 19px var(--ui); }
.brand svg { width: 32px; height: 32px; border-radius: 9px; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--c-on-surface-variant); text-decoration: none; font-size: 15px; font-weight: 500; }
.top nav a:hover { color: var(--c-on-surface); }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px 0 12px; font-size: 14px; font-weight: 600; color: var(--c-on-surface-variant); border: 1px solid var(--c-outline-variant); border-radius: 999px; cursor: pointer; user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { color: var(--c-on-surface); border-color: var(--c-outline); }
.lang-menu summary .icon { width: 18px; height: 18px; }
.lang-menu summary .chev { transition: transform .15s; }
.lang-menu[open] summary .chev { transform: rotate(180deg); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 180px; padding: 6px; display: grid; gap: 2px; background: var(--c-surface); border: 1px solid var(--c-outline-variant); border-radius: 12px; box-shadow: 0 8px 24px -8px var(--page-shadow); }
.lang-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--c-on-surface); text-decoration: none; font-size: 15px; }
.lang-menu a:hover { background: var(--c-surface-container-low); }
.lang-menu a[aria-current] { background: var(--c-primary-container); color: var(--c-on-primary-container); font-weight: 600; }

/* ---------------------------------------------------------------- buttons (the app's filled and outlined buttons) */

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font: 600 16px/1 var(--ui); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-primary { background: var(--c-primary); color: var(--c-on-primary); }
.btn-primary:hover { background: color-mix(in oklch, var(--c-primary) 88%, black); }
.btn-quiet { border-color: var(--c-outline); color: var(--c-primary); background: transparent; }
.btn-quiet:hover { background: var(--c-primary-container); color: var(--c-on-primary-container); border-color: transparent; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.play-badge img { width: 186px; height: auto; }

/* ---------------------------------------------------------------- the viewer and its pages */

.viewer { display: grid; gap: 28px; padding: 28px 16px 64px; }
.page {
  position: relative; width: 100%; max-width: 1080px; margin-inline: auto; background: var(--page); border-radius: 2px;
  padding: clamp(44px, 6vw, 88px) clamp(20px, 7vw, 100px) clamp(40px, 6vw, 88px);
  box-shadow: 0 1px 2px var(--page-shadow), 0 10px 28px -14px var(--page-shadow);
}
.chip { position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-fg); font: 650 12.5px/1.2 var(--ui); font-variant-numeric: tabular-nums; }
.running { margin-bottom: clamp(32px, 4vw, 52px); padding-bottom: 10px; border-bottom: 1px solid var(--rule); font: 500 14px/1.4 var(--ui); color: var(--page-muted); }
figcaption { margin-top: 12px; font: 400 13.5px/1.45 var(--ui); color: var(--page-muted); max-width: 30em; }
figcaption span { font-weight: 700; color: var(--page-text); margin-right: 4px; }
.phone { border: 8px solid #1A1D24; border-radius: 34px; background: #1A1D24; box-shadow: 0 2px 4px rgba(16, 24, 40, .2), 0 24px 44px -20px rgba(16, 24, 40, .45); overflow: hidden; }
.phone img { width: 100%; height: auto; border-radius: 26px; }

/* title page */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: 40px clamp(32px, 6vw, 88px); align-items: start; }
.hero-text { display: grid; gap: 28px; justify-items: start; padding-top: clamp(0px, 2vw, 24px); }
.sub { font-size: 20px; max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { font: 400 14px/1.4 var(--ui); color: var(--page-muted); margin-top: -12px; }
.hero-phone .phone { width: 100%; }
.props { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--rule); }
.props div { padding: 14px 16px 4px; border-left: 1px solid var(--rule); }
.props div:first-child { border-left: 0; padding-left: 0; }
.props dt { font: 650 16px/1.3 var(--ui); }
.props dd { font: 400 13.5px/1.4 var(--ui); color: var(--page-muted); }

/* what it does: one phone turns its pages while the jobs scroll by */
.page > h2 { max-width: 20em; margin-bottom: clamp(28px, 4vw, 48px); }
.reader { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.reader-phone { position: sticky; top: 96px; }
.reader-phone .phone { position: relative; aspect-ratio: 1080 / 1920; }
.frame { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.frame.on { opacity: 1; }
.frame picture, .frame img { width: 100%; height: 100%; object-fit: cover; }
.jobs { display: grid; }
.job { display: grid; gap: 10px; align-content: center; min-height: min(56vh, 460px); padding-block: 24px; border-top: 1px solid var(--rule); }
.job:first-child { border-top: 0; }
.job h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; }
.job p { max-width: 28em; }
.job-shot { display: none; }

/* edit without fear */
.safety-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.safety-grid h2 { margin-bottom: 18px; }
.ticks { display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.pen-tick { width: 24px; height: 24px; margin-top: 2px; }
.safety .ticks li { font-size: 21px; }

/* privacy */
.underlined { position: relative; display: inline-block; padding-bottom: 14px; }
.pen-underline { position: absolute; left: -2%; bottom: -2px; width: 104%; height: 18px; }
.clauses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); margin-top: 8px; }
.clauses div { padding-block: 22px; border-top: 1px solid var(--rule); }
.clauses dt { font-size: 21px; font-weight: 650; line-height: 1.3; margin-bottom: 8px; }
.clauses dd { color: var(--page-muted); font-size: 17px; }
.privacy-foot { margin-top: 28px; font: 400 15px/1.5 var(--ui); color: var(--page-muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan { padding: 6px clamp(20px, 4vw, 56px) 8px 0; }
.plan + .plan { padding-left: clamp(20px, 4vw, 56px); border-left: 1px solid var(--rule); }
.plan h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; font-size: 28px; margin-bottom: 20px; }
.badge { position: relative; font: 600 15px/1.2 var(--ui); color: var(--c-primary); padding: 6px 10px; }
.pen-circle { position: absolute; inset: -8px -12px; width: calc(100% + 24px); height: calc(100% + 16px); }
.trial { margin-top: clamp(28px, 4vw, 44px); padding-top: 20px; border-top: 1px solid var(--rule); display: grid; gap: 8px; font: 400 15px/1.55 var(--ui); color: var(--page-muted); max-width: 46em; }

/* beta: a form to fill in */
.beta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px clamp(32px, 6vw, 96px); align-items: start; }
.beta-grid h2 { margin-bottom: 18px; }
.note { position: relative; margin-top: 28px; padding: 18px 22px 22px; max-width: 26em; background: var(--note); color: var(--note-text); font: 400 16px/1.5 var(--ui); transform: rotate(-1deg); box-shadow: 0 6px 16px -10px rgba(16, 24, 40, .4); }
.note::after { content: ""; position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; background: linear-gradient(315deg, var(--page) 50%, rgba(0, 0, 0, .12) 50%); }
.note .eml { color: inherit; }
.checklist { display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px; }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--page-muted); font-size: 17px; }
.step .btn { margin-top: 12px; }
.box { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 2px; border: 2px solid var(--page-text); border-radius: 4px; }
.box .pen-tick { width: 22px; height: 22px; margin: 0; }
.beta-foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); display: grid; gap: 8px; font: 400 15px/1.55 var(--ui); color: var(--page-muted); }

/* questions */
.faq { max-width: 46em; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 24px/1 var(--ui); color: var(--c-primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; color: var(--page-muted); max-width: 40em; }

/* the last page, signed */
.final { display: grid; gap: 22px; justify-items: start; }
.final h2 { margin-bottom: 0; }
.signed { justify-self: end; width: min(280px, 70%); margin-top: clamp(12px, 3vw, 40px); }
.pen-signature { width: 100%; height: auto; aspect-ratio: 200 / 70; }
.sign-line { display: block; height: 0; border-top: 1.5px solid var(--page-text); margin-top: -6px; }

/* legal pages and 404 */
.doc { max-width: 860px; }
.doc .back { font: 500 15px var(--ui); margin-bottom: 28px; }
.doc .back a { text-decoration: none; }
.doc h1 { font-size: clamp(30px, 4vw, 46px); margin-block: 0 14px; hyphens: auto; overflow-wrap: break-word; }
.doc h2 { font-size: 23px; font-weight: 650; margin: 38px 0 10px; }
.doc p, .doc ul, .doc .table-wrap { margin-block: 0 14px; }
.doc ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }
.doc .muted { color: var(--page-muted); }
.doc .table-wrap { overflow-x: auto; }
.doc table { border-collapse: collapse; width: 100%; font: 400 15px/1.5 var(--ui); }
.doc th, .doc td { border-bottom: 1px solid var(--rule); text-align: left; padding: 10px 8px; vertical-align: top; }
.nf { display: grid; gap: 18px; justify-items: start; max-width: 860px; }
.nf-langs { display: grid; gap: 6px; font: 400 15px var(--ui); color: var(--page-muted); }

/* ---------------------------------------------------------------- footer, on the viewer */

.foot { padding: 8px 16px 96px; font: 400 14px/1.6 var(--ui); color: var(--c-on-surface-variant); }
.foot-in { max-width: 1080px; margin-inline: auto; display: grid; gap: 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { color: inherit; }
.foot-langs a[aria-current] { font-weight: 650; text-decoration: none; color: var(--c-on-surface); }
.foot small { font-size: 13px; }

.sticky-cta { position: fixed; inset: auto 12px 12px; z-index: 9; display: none; padding: 8px 8px 8px 18px; align-items: center; justify-content: space-between; gap: 12px; border-radius: 999px; background: var(--c-surface-container-highest); color: var(--c-on-surface); box-shadow: 0 8px 24px -8px var(--page-shadow); font: 650 16px var(--ui); transform: translateY(140%); transition: transform .25s ease; }
.sticky-cta.show { transform: none; }

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

@media (max-width: 880px) {
  .top nav { display: none; }
  .lang-menu { margin-left: auto; }
  .top .btn { display: none; }
}
@media (max-width: 820px) {
  .sticky-cta { display: flex; }
  .viewer { gap: 16px; padding: 16px 8px 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-phone { max-width: 260px; }
  .props { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .props div, .props div:first-child { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .props div:nth-child(-n + 2) { border-top: 0; }
  .reader { grid-template-columns: minmax(0, 1fr); }
  .reader-phone { display: none; }
  .job { min-height: 0; padding-block: 28px; }
  .job-shot { display: block; max-width: 240px; margin-top: 10px; }
  .safety-grid, .beta-grid, .clauses, .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 0 0 24px; }
  .plan + .plan { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* ---------------------------------------------------------------- motion
   At rest everything is drawn. With motion allowed, the highlighter sweeps over the title on load; with the script,
   each pen stroke draws itself when it scrolls into view and the highlighter follows the job being read. */

@media (prefers-reduced-motion: no-preference) {
  .hero .mark { animation: sweep .9s cubic-bezier(.6, 0, .2, 1) .35s both; }
  .js .pen path { stroke-dashoffset: 1; transition: stroke-dashoffset 1s cubic-bezier(.55, 0, .25, 1); }
  .js .pen.drawn path { stroke-dashoffset: 0; }
  .js .pen-signature path { transition-duration: 2.4s; }
  .js .ticks li:nth-child(2) .pen path { transition-delay: .15s; }
  .js .ticks li:nth-child(3) .pen path { transition-delay: .3s; }
  .js .ticks li:nth-child(4) .pen path { transition-delay: .45s; }
  .js .ticks li:nth-child(5) .pen path { transition-delay: .6s; }
  .js .ticks li:nth-child(6) .pen path { transition-delay: .75s; }
  .js .step:nth-child(2) .pen path { transition-delay: .3s; }
  .js .step:nth-child(3) .pen path { transition-delay: .6s; }
  .js .reader .hl { background-size: 0% 74%; transition: background-size .6s cubic-bezier(.6, 0, .2, 1); }
  .js .reader .job.active .hl { background-size: 100% 74%; }
}
@keyframes sweep { from { background-size: 0% 74%; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
