/* Askwell public pages. Same identity as the app, the "stationery desk":
   cream paper, navy ink, stamp red, Fraunces headlines, Public Sans text,
   IBM Plex Mono labels, ruled lines like a form on paper. */
:root {
  --paper: #f6f1e7;
  --card: #fcf9f2;
  --ink: #1d2a4c;
  --mute: #545d72;
  --line: #e3dac8;
  --line-2: #d2c6ad;
  --accent: #b23d27;
  --on-accent: #fbf7ef;
  --red: #b23d27;
  --navy: #1d2a4c;
  --rule: #c9d6e8;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.label b { color: var(--accent); font-weight: 500; }
.display {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
}
.display .y { font-style: italic; font-weight: 500; }
.y { color: var(--accent); }
.tape {
  height: 10px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 22px, transparent 22px 30px), var(--paper);
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand span { font-family: var(--display); font-weight: 650; font-size: 26px; letter-spacing: -0.02em; }
.brand span .y { font-style: italic; font-weight: 500; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--mute);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--card); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--mute);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 7px 9px;
}
.lang:hover { color: var(--ink); border-color: var(--mute); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: 6px; width: 42px; height: 42px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  border-radius: 6px;
  padding: 0 22px;
  height: 52px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn.sm { height: 42px; padding: 0 16px; font-size: 15px; }
.btn.go { background: var(--navy); color: var(--on-accent); }
.btn.go:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 26px -10px rgba(29, 42, 76, .6); }
.btn.go svg { width: 14px; height: 14px; fill: currentColor; }
.btn.line { border-color: var(--line-2); color: var(--ink); }
.btn.line:hover { border-color: var(--accent); }
.btn:active { transform: translateY(0); }

/* Hero */
.hero { position: relative; padding: 72px 0 0; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 620px;
  z-index: -1;
  background: repeating-linear-gradient(180deg, transparent 0 35px, color-mix(in srgb, var(--rule) 55%, transparent) 35px 36px);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.hero h1 { margin: 22px 0 0; font-size: inherit; font-weight: inherit; }
.hero h1 .display { display: block; font-size: clamp(48px, 8vw, 116px); max-width: 13ch; }
.hero.sub h1 .display { font-size: clamp(40px, 6vw, 80px); max-width: 18ch; }
.hero h1 .kicker { display: block; margin-bottom: 18px; color: var(--ink); }
.hero .lead { font-size: clamp(18px, 2vw, 22px); color: var(--mute); max-width: 56ch; margin: 28px 0 0; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--mute); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.slate {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 56px;
  background: var(--card);
}
.slate > div { padding: 18px 20px; border-right: 1px solid var(--line-2); }
.slate > div:last-child { border-right: 0; }
.slate strong { display: block; font-family: var(--display); font-weight: 600; font-size: 38px; line-height: 1; margin-top: 10px; }
.slate small { display: block; color: var(--mute); font-size: 13px; margin-top: 8px; }

/* Monitor: a product screenshot in a field-monitor frame */
.monitor {
  position: relative;
  margin-top: 56px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--card);
  padding: 10px;
  box-shadow: 0 2px 0 rgba(29, 42, 76, .06), 0 40px 80px -40px rgba(29, 42, 76, .45);
}
.monitor .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mute);
  text-transform: uppercase;
}
.monitor .rec { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.monitor .rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: rec 2.4s ease-in-out infinite; }
@keyframes rec { 50% { opacity: 0.35; } }
.monitor img { border-radius: 6px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.monitor.phone { max-width: 300px; }
.monitor.phone img { aspect-ratio: 390 / 844; }

/* Sections */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.scene { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.scene::after { content: ""; flex: 1; height: 1px; background: var(--line); }
h2.display { font-size: clamp(34px, 4.6vw, 60px); max-width: 22ch; }
h3.display { font-size: 25px; line-height: 1.1; }
.intro { color: var(--mute); max-width: 62ch; margin: 22px 0 0; font-size: 19px; }

.grid { display: grid; gap: 16px; margin-top: 48px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative;
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.band .card { background: var(--paper); }
a.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card .num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); }
.card h3 { margin: 14px 0 10px; }
.card p { margin: 0; color: var(--mute); font-size: 16px; }
.card .more { display: inline-block; margin-top: 18px; font-weight: 600; font-size: 15px; color: var(--ink); }
a.card:hover .more { color: var(--accent); }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split .monitor { margin-top: 0; }
.split ul, .prose ul { list-style: none; padding: 0; margin: 26px 0 0; }
.split li, .prose ul li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); color: var(--ink); }
.split li::before, .prose ul li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* The five stages, as a strip of film */
.strip {
  margin-top: 48px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.strip::before, .strip::after {
  content: none;
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background: radial-gradient(circle, var(--line-2) 0 3px, transparent 3.5px) 0 0 / 20px 10px repeat-x;
}
.strip::before { top: 6px; }
.strip::after { bottom: 6px; }
.frames { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.frame { position: relative; border-radius: 4px 4px 8px 8px; padding: 26px 18px 22px; background: var(--paper); border: 1px solid var(--line-2); border-top: 6px solid var(--c); min-height: 170px; }
.frame:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; z-index: 1; width: 18px; height: 18px; line-height: 17px; text-align: center; font-size: 12px; color: var(--mute); background: var(--card); border: 1px solid var(--line-2); border-radius: 50%; transform: translateY(-50%); }
.frame h3 { margin: 10px 0 8px; font-size: 23px; }
.frame p { margin: 0; color: var(--mute); font-size: 15px; line-height: 1.45; }

/* Prose for guides and feature copy */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; margin: 60px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 18px; color: color-mix(in srgb, var(--ink) 84%, var(--paper)); }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose ol { padding-left: 0; margin: 26px 0; list-style: none; counter-reset: step; }
.prose ol li { counter-increment: step; position: relative; padding: 14px 0 14px 56px; border-top: 1px solid var(--line); }
.prose ol li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--accent); border: 1.5px solid var(--accent); border-radius: 50%; width: 36px; height: 36px; line-height: 33px; text-align: center; transform: rotate(-6deg); }
.prose ol li b, .prose ul li b { color: var(--ink); }
.layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 72px; align-items: start; }
.aside { position: sticky; top: 100px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--card); overflow: hidden; }
.aside .in { padding: 22px; }
.aside h3 { margin: 10px 0; }
.aside p { color: var(--mute); font-size: 15px; margin: 0 0 18px; }
.aside .btn { width: 100%; }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 600; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: var(--display); font-size: 34px; color: var(--accent); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 24px; color: var(--mute); max-width: 70ch; }

/* Offers */
.offer { display: flex; flex-direction: column; }
.offer .price { font-family: var(--display); font-weight: 600; font-style: italic; font-size: 32px; margin: 6px 0 4px; color: var(--accent); }
.offer ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.offer li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--mute); }
.offer.best { border-color: var(--accent); }
.offer .btn { width: 100%; }

/* Closing call */
.final { text-align: center; padding: 110px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(180deg, transparent 0 35px, color-mix(in srgb, var(--rule) 50%, transparent) 35px 36px); -webkit-mask-image: radial-gradient(60% 90% at 50% 100%, #000, transparent 75%); mask-image: radial-gradient(60% 90% at 50% 100%, #000, transparent 75%); }
.final h2 { font-size: clamp(42px, 6.6vw, 92px); margin: 16px auto 0; max-width: 16ch; }
.final p { color: var(--mute); max-width: 52ch; margin: 22px auto 0; }
.final .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; }
.fcols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
footer h4 { font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 0 0 9px; }
footer a { color: color-mix(in srgb, var(--ink) 80%, var(--paper)); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer .about { color: var(--mute); max-width: 34ch; margin-top: 16px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }

/* Consent */
.consent {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 380px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 18px;
  font-size: 14px;
  color: var(--mute);
  box-shadow: 0 30px 60px -20px rgba(29, 42, 76, .35);
}
.consent div { display: flex; gap: 8px; margin-top: 14px; }

/* Entrance */
.rise { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rise.in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .monitor .rec i { animation: none; }
}

@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .split, .layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split.flip > :first-child { order: 0; }
  .aside { position: static; }
  .frames { grid-template-columns: 1fr; }
  .frame { min-height: 0; }
  .fcols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .wrap { padding: 0 18px; }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 14px 18px;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 18px; padding: 14px 10px; }
  .menu-btn { display: inline-grid; place-items: center; }
  .top .wrap { gap: 8px; }
  .top .right { gap: 6px; }
  .brand { gap: 8px; }
  .brand svg { width: 28px; height: 28px; }
  .brand span { font-size: 22px; }
  .top .btn.go.sm { padding: 0 11px; font-size: 14px; gap: 7px; }
  .lang { padding: 7px 7px; }
  .menu-btn { width: 40px; height: 40px; flex-shrink: 0; }
  .top .btn.go span.long { display: none; }
  .hero { padding-top: 44px; }
  .hero .cta .btn { flex: 1 1 100%; }
  .slate { grid-template-columns: 1fr 1fr; }
  .slate > div:nth-child(2) { border-right: 0; }
  .slate > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line-2); }
  .slate strong { font-size: 32px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .monitor { padding: 6px; border-radius: 8px; }
  .fcols { grid-template-columns: 1fr 1fr; }
  .fcols > :first-child { grid-column: 1 / -1; }
  .final { padding: 72px 0; }
  .consent { left: 10px; right: 10px; bottom: 10px; max-width: none; }
}

/* ---- Added families: tables, glossary chips, blog ---- */
.tbl { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); border-radius: 6px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.tbl th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--card); }
.tbl td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl tr:first-child td { border-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.byline { margin-top: 22px; }
.cover { margin: 40px 0 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cover img { display: block; width: 100%; height: auto; }
.sources { font-size: 15px; }
.sources span { color: var(--mute); margin-left: 6px; }
.fcols { grid-template-columns: 1.3fr repeat(5, 1fr); gap: 28px; }
@media (max-width: 1180px) { .nav a { padding-inline: 9px; font-size: 14px; } }
@media (max-width: 1000px) { .fcols { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 760px) { .fcols { grid-template-columns: 1fr 1fr; } }

/* Free tools: calculators, checklists and text generators (site/tool.cjs) */
.print-only { display: none; }
.tool-sec { padding-top: 40px; }
.tool { border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); overflow: hidden; }
.tool.calc, .tool.form { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.tool-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: 28px; align-content: start; }
.tool.calc .tool-in { grid-template-columns: minmax(0, 1fr); }
.tool-in label { display: grid; gap: 7px; align-content: start; }
.tool-in label.wide { grid-column: 1 / -1; }
.tool-in label > span { font-size: 14px; font-weight: 600; }
.tool-in label em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--mute); margin-left: 4px; }
.tool-in small { color: var(--mute); font-size: 13px; line-height: 1.45; }
.tool-in input, .tool-in select, .tool-in textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line-2);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 16px;
}
.tool-in textarea { resize: vertical; line-height: 1.45; }
.tool-in input:focus, .tool-in select:focus, .tool-in textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.tool-out { border-left: 1px solid var(--line-2); background: color-mix(in srgb, var(--paper) 55%, var(--card)); display: flex; flex-direction: column; }
.tool-out .res { padding: 18px 28px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.tool-out .res strong { font-size: 30px; }
.tool-out .res.main strong { font-size: clamp(44px, 6vw, 64px); color: var(--accent); }
.tool-out .res em { font-style: normal; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--mute); text-transform: uppercase; font-weight: 400; }
.tool-note { margin: 0; padding: 16px 28px 22px; color: var(--mute); font-size: 13px; }
.tool-out pre {
  margin: 0; padding: 24px 28px; flex: 1; white-space: pre-wrap; word-break: break-word; font-family: var(--mono);
  font-size: 13px; line-height: 1.6; max-height: 720px; overflow: auto;
}
.tool-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 28px 0; border-top: 1px solid var(--line); }
.tool-bar { position: sticky; top: 68px; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 16px 24px; background: var(--card); border-bottom: 1px solid var(--line-2); }
.tool-bar strong { font-size: 28px; color: var(--accent); white-space: nowrap; }
.tool-bar .meter { flex: 1; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.tool-bar .meter i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.3s ease; }
.tool-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.tool-groups fieldset { margin: 0; padding: 24px; border: 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); min-width: 0; }
.tool-groups legend { padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.tool-groups label { clear: both; display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; cursor: pointer; font-size: 16px; line-height: 1.45; }
.tool-groups input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.tool-groups input:checked + span { color: var(--mute); text-decoration: line-through; }
@media (max-width: 860px) {
  .tool.calc, .tool.form { grid-template-columns: minmax(0, 1fr); }
  .tool-out { border-left: 0; border-top: 1px solid var(--line-2); }
  .tool-in { padding: 20px; grid-template-columns: minmax(0, 1fr); }
  .tool-out .res, .tool-note, .tool-out pre { padding-left: 20px; padding-right: 20px; }
  .tool-act { padding: 14px 20px 0; }
  .tool-groups { grid-template-columns: minmax(0, 1fr); }
  .tool-groups fieldset { padding: 20px; border-right: 0; }
  .tool-bar { flex-wrap: wrap; padding: 12px 16px; gap: 10px; }
  .tool-bar .meter { order: 3; flex-basis: 100%; }
  .tool-bar strong { margin-right: auto; }
}
@media print {
  body::before, header.top, footer, .consent, main > section:not(.tool-sec), .tool-act, .tool-bar button, .tool-note, .tool .tape { display: none !important; }
  body { background: #fff; color: #000; font-size: 12px; }
  .print-only { display: block; color: #000; font-size: 22px; margin: 0 0 12px; }
  .tool-sec { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  .tool, .tool-out, .tool-bar { border: 0; background: #fff; color: #000; position: static; }
  .tool .rise, .tool.rise { opacity: 1 !important; transform: none !important; }
  .tool.form .tool-in { display: none; }
  .tool.calc, .tool.form { display: block; }
  .tool-out pre { max-height: none; overflow: visible; padding: 0; font-size: 11px; }
  .tool-out .res strong, .tool-out .res.main strong, .tool-bar strong { color: #000; font-size: 18px; }
  .tool-groups fieldset { padding: 8px 0; border: 0; break-inside: avoid; }
  .tool-groups label { padding: 3px 0; font-size: 12px; }
  .tool-groups input:checked + span { color: #000; }
  .label { color: #000; }
}

/* ---- Stationery details ---- */
.card { box-shadow: 0 1px 0 rgba(29, 42, 76, .05); }
a.card:hover { box-shadow: 0 2px 0 rgba(29, 42, 76, .06), 0 18px 30px -18px rgba(29, 42, 76, .35); }
.band { background: color-mix(in srgb, var(--card) 60%, #ebe2cf); }
.band .card { background: var(--card); }
.monitor img { border: 1px solid var(--line); }
@media (max-width: 1000px) { .frame:not(:last-child)::after { content: none; } }
