/* InboxToBooks website. The look of carbonless invoice forms: white, canary
   and pink copies, ballpoint ink, rubber stamps. One bold moment (the stamps on
   the hero invoice); everything else plain. */

@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/public-sans.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/public-sans-italic.woff2) format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/caveat-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-700.woff2) format("woff2"); }

:root {
  --paper: #fbfcfe;
  --ink: #1b2a5e;          /* ballpoint blue-black: text and buttons */
  --ink-soft: #46527a;
  --rule: #c9d3ea;         /* ledger ruling */
  --canary: #f6e07a;       /* yellow copy */
  --canary-deep: #e9cc4a;
  --pink: #f4cbd3;         /* pink copy */
  --stamp-red: #b93a2e;
  --stamp-green: #1f7149;
  --pencil: #6b6b6b;
  --measure: 38rem;
  --pen: #1d8a50;          /* reviewer's green pen for annotations */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
/* big monitors: scale the whole page (everything is in rem) instead of leaving a thin strip */
@media (min-width: 1800px) { html { font-size: 112.5%; } }
@media (min-width: 2400px) { html { font-size: 125%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.1875rem/1.6 "Public Sans", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 0.18em; }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--stamp-green); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 750; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.005em; }
p { margin: 0; }

/* one width for every section so their edges line up; wide enough for the screenshots */
.wrap { width: min(82rem, 100% - 2rem); margin-inline: auto; }
.short { display: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 10; }

/* --- buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0 1.25rem;
  border-radius: 6px; font-weight: 650; text-decoration: none; white-space: nowrap; border: 2px solid var(--ink);
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #24367a; border-color: #24367a; }
.btn-line { color: var(--ink); background: transparent; }
.btn-line:hover { background: rgb(27 42 94 / 0.06); }

/* --- header ------------------------------------------------------------------ */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.top-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.2rem; text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { width: 2rem; height: 2rem; color: var(--ink); }
.top nav { display: flex; gap: 1.4rem; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--ink-soft); font-weight: 550; font-size: 1.05rem; }
.top nav a:hover { color: var(--ink); text-decoration: underline; }
.top-cta { min-height: 2.5rem; font-size: 1.02rem; }
@media (max-width: 900px) {
  .top nav a:not(.nav-signin) { display: none; }
}
@media (max-width: 520px) {
  .top-cta { display: none; }
}

/* --- hero ------------------------------------------------------------------------ */
.hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.9rem); letter-spacing: -0.03em; max-width: 15ch; }
.lede { margin-top: 1.4rem; font-size: 1.35rem; line-height: 1.55; color: var(--ink-soft); max-width: var(--measure); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.fine { margin-top: 1rem; font-size: 1.05rem; color: var(--pencil); }

.hero-shot { position: relative; margin: 0; }
/* the screenshot as a sheet of paper on the desk, slightly askew */
.sheet {
  background: #fff; padding: 10px; border: 1px solid var(--rule);
  box-shadow: 0 1px 0 var(--rule), 12px 14px 0 -2px var(--canary), 12px 14px 0 -1px var(--canary-deep);
  transform: rotate(0.8deg);
}
.sheet img { border: 1px solid #e3e8f4; }

/* rubber stamps: uppercase is what a stamp is */
.stamp {
  position: absolute; font: 700 clamp(1rem, 0.6rem + 1.3vw, 1.6rem)/1 "Barlow Condensed", sans-serif;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 0.38em 0.6em 0.3em; border: 3px solid currentColor; border-radius: 6px;
  background: rgb(255 255 255 / 0.55); mix-blend-mode: multiply;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 1 1 1 1 1 1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='80' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 1 1 1 1 1 1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='80' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.stamp-green { color: var(--stamp-green); }
.stamp-ink { color: var(--ink); }
.stamp-red { color: var(--stamp-red); }
.s1 { top: 9%; right: -1%; --r: 8deg; transform: rotate(var(--r)); }
.s2 { top: 47%; left: -5%; --r: -7deg; transform: rotate(var(--r)); }
.s3 { bottom: 6%; right: 6%; --r: -3deg; transform: rotate(var(--r)); }

/* the one orchestrated moment: three stamps land in turn */
@media (prefers-reduced-motion: no-preference) {
  .stamp { animation: stamp 0.42s cubic-bezier(0.2, 0.8, 0.25, 1.15) both; }
  .s1 { animation-delay: 0.5s; }
  .s2 { animation-delay: 1.05s; }
  .s3 { animation-delay: 1.6s; }
  @keyframes stamp {
    from { opacity: 0; transform: rotate(var(--r)) scale(1.7); }
    70% { opacity: 1; }
    to { opacity: 1; transform: rotate(var(--r)) scale(1); }
  }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-shot { margin: 0 0.75rem; }
  .s2 { left: -2%; }
}

/* --- second hero: the pile becomes a stack --------------------------------------- */
.relief { background: var(--ink); color: var(--paper); padding: clamp(3.5rem, 7vw, 6rem) 0; overflow: hidden; }
.relief-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.relief-fig { margin: 0; order: -1; }
.relief-art { display: block; width: 100%; height: auto; }
.relief h2 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.6rem); letter-spacing: -0.03em; max-width: 15ch; color: var(--paper); }
.relief .lede { color: #d5dcf0; }
.btn-canary { background: var(--canary); border-color: var(--canary); color: var(--ink); }
.btn-canary:hover { background: #fbeca5; border-color: #fbeca5; }
@media (max-width: 860px) {
  .relief-grid { grid-template-columns: minmax(0, 1fr); }
  .relief-fig { order: 2; max-width: 32rem; }
}

/* --- pain points on the yellow copy --------------------------------------------- */
.carbon {
  position: relative; background: var(--canary); padding: clamp(3rem, 6vw, 5rem) 0;
}
.carbon h2 { max-width: 22ch; }
.pairs { border-top: 2px solid var(--ink); }
.pair { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 3.6rem minmax(0, 1.25fr); gap: 1.1rem; align-items: start; padding: 1.35rem 0; border-bottom: 1px solid rgb(27 42 94 / 0.28); }
.today { font-size: 1.15rem; margin-top: 0.55rem; }
.pair .tick { margin-left: 1rem; }
.after { font-size: 1.32rem; line-height: 1.5; margin-top: 0.3rem; }
/* the problem, in a red ring on the yellow copy */
.pi { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--stamp-red); background: rgb(255 255 255 / 0.45); color: var(--stamp-red); }
.pi svg { width: 1.65rem; height: 1.65rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.today { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--stamp-red); text-decoration-thickness: 2px; }
.after { font-weight: 600; }
/* column headers over the pairs, on the same grid */
.pairs-head { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 3.6rem minmax(0, 1.25fr); gap: 1.1rem; margin-top: 2.25rem; padding-bottom: 0.6rem; font-weight: 700; font-size: 1.2rem; }
.ph-today { grid-column: 1 / span 2; color: var(--stamp-red); }
.ph-after { grid-column: 3 / span 2; margin-left: 1rem; color: var(--stamp-green); }
@media (max-width: 700px) {
  .pair { grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: 1rem; row-gap: 0.8rem; }
  .pair .pi { width: 2.6rem; height: 2.6rem; }
  .pair .tick { margin-left: 0; }
  .pairs-head { display: flex; gap: 1.5rem; font-size: 1.05rem; }
  .ph-after { margin-left: 0; }
  .today { margin-top: 0.3rem; }
}

/* --- the explainer video, framed like the screenshots --------------------------- */
.watch { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.watch h2, .watch .section-lede { text-align: center; margin-inline: auto; text-wrap: balance; }
.watch-fig { margin: clamp(2rem, 4vw, 3rem) auto 0; max-width: 64rem; }
.watch-fig .sheet { transform: rotate(-0.4deg); }
.watch-fig video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--paper); border: 1px solid #e3e8f4; cursor: pointer; }
.watch-fig figcaption { margin-top: 1.4rem; text-align: center; font-size: 1.05rem; color: var(--pencil); }

/* --- how it works: a real sequence, so numbered -------------------------------- */
.how { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.steps { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font: 700 2.4rem/1 "Barlow Condensed", sans-serif; color: var(--stamp-green); margin-bottom: 0.6rem; }
.steps h3 { font-size: 1.28rem; }
.steps p { margin-top: 0.55rem; color: var(--ink-soft); font-size: 1.1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* --- what it checks ------------------------------------------------------------- */
.checks { padding: clamp(3.5rem, 7vw, 6rem) 0; border-top: 1px solid var(--rule); background:
  repeating-linear-gradient(to bottom, transparent 0 39px, rgb(201 211 234 / 0.35) 39px 40px); }
.section-lede { margin-top: 0.9rem; max-width: var(--measure); color: var(--ink-soft); font-size: 1.25rem; }
.feature { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(3rem, 6vw, 4.5rem); }
.feature:nth-of-type(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.feature:nth-of-type(even) .feature-text { order: 2; }
.feature-text { max-width: var(--measure); }
.feature-text p { margin-top: 0.8rem; color: var(--ink-soft); }
.feature-shot { margin: 0; background: #fff; padding: 8px; border: 1px solid var(--rule); box-shadow: 8px 9px 0 -1px var(--pink); }
.feature-shot img { border: 1px solid #e3e8f4; }
@media (max-width: 820px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-of-type(even) .feature-text { order: 0; }
}

/* --- data ------------------------------------------------------------------------ */
.data { background: var(--ink); color: var(--paper); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.data-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2.5rem; }
.data h2 { max-width: 12ch; position: sticky; top: 7rem; align-self: start; }
.data-list { list-style: none; margin: 0; padding: 0; }
.data-list li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1.2rem; align-items: start; padding: 1.15rem 0; border-top: 1px solid rgb(251 252 254 / 0.25); color: #d5dcf0; }
.data-list i { font-style: normal; color: var(--paper); font-weight: 600; }
/* emblems: ink-pad circles in canary, the same yellow as the carbon copy */
.di { width: 2rem; height: 2rem; display: inline-grid; vertical-align: -0.5rem; margin-right: 0.6rem; place-items: center; border-radius: 50%; border: 1.5px solid rgb(246 224 122 / 0.6); background: rgb(246 224 122 / 0.08); color: var(--canary); }
.di svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.data-list li:last-child { border-bottom: 1px solid rgb(251 252 254 / 0.25); }
.data-list b { color: var(--paper); font-weight: 700; display: block; }
@media (max-width: 760px) { .data-grid { grid-template-columns: minmax(0, 1fr); } .data h2 { position: static; } }

/* --- questions -------------------------------------------------------------------- */
.faq { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.faq-wrap { max-width: 50rem; }
.faq h2 { margin-bottom: 1.5rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 1.05rem 2rem 1.05rem 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.85rem; font-size: 1.4rem; font-weight: 400; color: var(--ink-soft); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 1.2rem; color: var(--ink-soft); max-width: var(--measure); }

/* --- closing + footer ------------------------------------------------------------- */
.closing { background: var(--pink); padding: clamp(2.75rem, 6vw, 4rem) 0; }
.closing-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.closing h2 { max-width: 20ch; }
.foot { padding: 2rem 0 2.5rem; font-size: 1.02rem; color: var(--ink-soft); }
.foot-row { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.foot-row p:first-child { margin-right: auto; }

/* --- 404 --------------------------------------------------------------------------- */
.missing-page { min-height: 100vh; display: grid; align-content: center; }
.missing { background: var(--canary); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.missing h1 { font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem); }

/* the "Your data" list as a ticked checklist */
.tick { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 8px; background: #2f9e63; box-shadow: inset 0 0 0 2px #46c07f; }
.tick svg { width: 1.75rem; height: 1.75rem; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 0; }
/* where the browser can tie animation to scrolling, each box ticks itself as it
   comes into view; everywhere else it's simply ticked */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .tick { animation: tick-box linear both; animation-timeline: view(); animation-range: entry 60% cover 35%; }
    .tick svg { animation: tick-draw linear both; animation-timeline: view(); animation-range: entry 75% cover 40%; }
    @keyframes tick-box { from { background: transparent; box-shadow: inset 0 0 0 2px #8fa0cf; } to { background: #2f9e63; box-shadow: inset 0 0 0 2px #46c07f; } }
    @keyframes tick-draw { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }
  }
}

/* --- annotated screenshots: pen notes beside the image, arrows into it ------------ */
/* The notes sit in a lane beside the screenshot that is a fixed share of the
   column, so the lane, the image and the arrows (drawn in the image's own pixel
   units) all scale together. */
.feature.annotated { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); }
.feature.annotated:nth-of-type(even) { grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.62fr); }
.annot-left { padding-left: 25%; }
.annot-right { padding-right: 25%; }
.annot-below { padding-bottom: 6.5rem; }
.shot-box { position: relative; }
/* each screenshot opens full size: on a phone that's where you pinch to zoom */
.zoom { display: block; position: relative; cursor: zoom-in; }
.zoom-hint { display: none; }
.marks { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.marks path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.marks .halo { stroke: #fff; stroke-width: 7; stroke-opacity: 0.85; }
.marks .pen, .marks .head { stroke: var(--pen); stroke-width: 2.75; }
.marks .bad .pen, .marks .bad .head { stroke: var(--stamp-red); }
.note {
  position: absolute; width: 36%; margin: 0; transform: translateY(-50%);
  font: 600 clamp(1.45rem, 0.8rem + 1.1vw, 1.95rem)/1.02 "Caveat", cursive; color: var(--pen);
}
.note.bad { color: var(--stamp-red); }
.annot-left .note { text-align: right; }
.annot-right .note { text-align: left; }
.annot-below .note { width: max-content; transform: translateX(-50%); text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* timed against the screenshot itself (not each small mark), so everything
       has drawn by the time the image is about halfway up the screen */
    .shot-box { view-timeline: --shot block; }
    .marks .halo, .marks .pen { stroke-dasharray: 1; animation: pen-draw linear both; animation-timeline: --shot; }
    .marks .head, .note { animation: pen-show linear both; animation-timeline: --shot; }
    .m1 .halo, .m1 .pen { animation-range: cover 8% cover 24%; }
    .m1 .head, .n1 { animation-range: cover 21% cover 26%; }
    .m2 .halo, .m2 .pen { animation-range: cover 24% cover 39%; }
    .m2 .head, .n2 { animation-range: cover 37% cover 42%; }
    @keyframes pen-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
    @keyframes pen-show { from { opacity: 0; } to { opacity: 1; } }
  }
}
@media (max-width: 820px) {
  .feature.annotated, .feature.annotated:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .annot-left, .annot-right, .annot-below { padding: 0; }
  .marks { display: none; }
  .zoom-hint {
    display: inline-flex; align-items: center; gap: 0.35rem; position: absolute; right: 0.5rem; bottom: 0.5rem;
    padding: 0.3rem 0.65rem; border-radius: 999px; background: rgb(27 42 94 / 0.85); color: var(--paper); font-size: 0.85rem; font-weight: 600;
  }
  .zoom-hint svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
  .note { position: static; width: auto; transform: none; text-align: left; margin: 0.5rem 0 0; animation: none !important; }
  .note br { display: none; }
  .note::before { content: "\2713  "; }
  .note.bad::before { content: "\2717  "; }
  .annot-below .note { transform: none; width: auto; text-align: left; }
}

/* annot:begin (written by website-tools/annotate.py) */
.a-vendor .n1 { top: 39.7%; right: 107.7%; }
.a-vendor .n2 { top: 63.0%; right: 107.7%; }
.a-math .n1 { top: 33.5%; left: 107.7%; }
.a-math .n2 { top: 55.6%; left: 107.7%; }
.a-gl .n1 { top: 27.6%; right: 107.7%; }
.a-gl .n2 { top: 84.6%; right: 107.7%; }
.a-duplicate .n1 { top: 37.8%; left: 107.7%; }
.a-duplicate .n2 { top: 60.8%; left: 107.7%; }
.a-sage .n1 { top: 10.4%; right: 107.7%; }
.a-sage .n2 { top: 71.3%; right: 107.7%; }
.a-inbox .n1 { top: 135.9%; left: 18.0%; }
.a-inbox .n2 { top: 135.9%; left: 54.3%; }
/* annot:end */

/* --- request access ------------------------------------------------------------- */
.ask { background: var(--canary); padding: clamp(3rem, 6vw, 5rem) 0; }
.ask-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.ask h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -0.03em; }
.next { margin: 1.75rem 0 0; padding-left: 1.4rem; display: grid; gap: 0.7rem; color: var(--ink-soft); }
.next b { color: var(--ink); }
.ask-form { background: var(--paper); border: 1px solid rgb(27 42 94 / 0.25); border-radius: 10px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; box-shadow: 10px 12px 0 -1px var(--pink); }
.pair-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; font-weight: 650; font-size: 1.02rem; }
.field i { font-style: normal; font-weight: 400; color: var(--pencil); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1.5px solid #b9c4e0; border-radius: 8px;
  padding: 0.6rem 0.75rem; width: 100%; min-width: 0;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--canary); outline-offset: 1px; border-color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ask-form .btn { justify-self: start; font: inherit; font-weight: 650; cursor: pointer; }
@media (max-width: 820px) {
  .ask-grid, .pair-fields { grid-template-columns: minmax(0, 1fr); }
}

/* --- torn edges ------------------------------------------------------------------- */
/* The perforation between carbonless-form copies: half-circles in the colour of
   the page above (or below) bitten out of a band's edge. Last in the file so it
   wins over a band's own background shorthand. */
.torn, .torn-both { background-repeat: repeat-x; background-size: 14px 10px; }
.torn { background-image: radial-gradient(circle at 7px 0, var(--paper) 3.5px, transparent 4px); }
.torn-both {
  background-image: radial-gradient(circle at 7px 0, var(--paper) 3.5px, transparent 4px), radial-gradient(circle at 7px 10px, var(--paper) 3.5px, transparent 4px);
  background-position: 0 0, 0 100%;
}

/* phones: a step down from desktop, still above the old 17px */
@media (max-width: 520px) { body { font-size: 1.125rem; } .lede { font-size: 1.25rem; } }

/* --- phones: headings, screenshots and illustrations; the long copy stays on bigger screens --- */
@media (max-width: 700px) {
  .long { display: none; }
  .short { display: inline; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
  .steps p, .section-lede, .feature-text p, .data-list .more { display: none; }
  .steps h3 { font-size: 1.1rem; }
  .feature { margin-top: 2.75rem; gap: 1rem; }
  .data-list li { padding: 0.8rem 0; align-items: center; }
  .data-list .di { display: none; }
  .annot-left .note, .annot-right .note { text-align: left; }
  .hero, .how, .checks, .data, .faq, .relief, .carbon, .watch { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}
