/* ParetoForm site. Colours and type from the design guide v0.2: blue/navy family, neutral greys,
   Inter Tight for headings, Inter for text, IBM Plex Mono for numbers and labels. Orange is the
   printed-plastic colour of the product renders, used only as a small accent. */

:root {
  --navy-950: #05080d;
  --navy-900: #0a1424;
  --navy-850: #0d1a2e;
  --navy-800: #0e2f5c;
  --blue-700: #1b4f8c;
  --blue-600: #2160a8;
  --blue-400: #5b9be8;
  --blue-300: #8dbbf2;
  --blue-100: #e6f0fc;
  --n-0: #ffffff;
  --n-50: #f4f6f9;
  --n-100: #eceff3;
  --n-200: #e3e7ed;
  --n-300: #cbd2dc;
  --text: #0e1a2b;
  --text-2: #3b4655;
  --muted: #5f6b7a;
  --ink-text: #f2f5f9;
  --ink-text-2: #b6c2d1;
  --ink-muted: #8b98a9;
  --ink-line: rgba(141, 187, 242, 0.16);
  --filament: #eb8b29;
  --ok: #1f8a5b;
  --radius: 10px;
  --radius-lg: 16px;
  --wrap: 1180px;
  --gutter: 24px;
  --font-head: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--n-0);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 3vw + 0.6rem, 3rem); letter-spacing: -0.025em; line-height: 1.05; }
h2 { font-size: clamp(1.45rem, 1.3vw + 0.8rem, 2rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.16rem; color: var(--text-2); max-width: 40em; }
.small { font-size: 0.9rem; }
.muted { color: var(--muted); }
.num, .mono { font-family: var(--mono); font-feature-settings: "zero"; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } body { font-size: 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--n-0); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-950);
  border-bottom: 1px solid var(--ink-line);
  color: var(--ink-text);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink-text); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand img { width: 30px; height: 30px; }
.brand small { font-family: var(--mono); font-weight: 400; font-size: 0.7rem; color: var(--ink-muted); letter-spacing: 0.02em; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-text-2); text-decoration: none; white-space: nowrap; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: #fff; background: rgba(141, 187, 242, 0.08); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--filament); border-radius: 2px; margin-top: 3px; }
.nav .btn { margin-left: 10px; }
/* the call to action is the solid blue button with white text used across the site: .nav a would otherwise make its text gray and clear its blue on hover */
.nav .btn-primary { background: var(--blue-600); color: #fff; }
.nav .btn-primary:hover { background: var(--blue-700); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--ink-line); color: var(--ink-text); border-radius: 8px; padding: 7px 10px; font: 500 0.9rem var(--font); cursor: pointer; }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; background: var(--navy-950); border-bottom: 1px solid var(--ink-line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 0.98rem/1 var(--font); text-decoration: none; letter-spacing: -0.005em;
  padding: 13px 20px; border-radius: 9px; border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-sm { padding: 9px 14px; font-size: 0.9rem; }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.on-ink .btn-primary { background: var(--blue-400); color: var(--navy-950); }
.on-ink .btn-primary:hover { background: var(--blue-300); color: var(--navy-950); }
.btn-ghost { border-color: var(--n-300); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text-2); color: var(--text); }
.on-ink .btn-ghost { border-color: rgba(182, 194, 209, 0.35); color: var(--ink-text); }
.on-ink .btn-ghost:hover { border-color: var(--ink-text-2); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------ bands */

.band { padding: clamp(44px, 5.5vw, 80px) 0; }
.band-tint { background: var(--n-50); }
.band-tight { padding: clamp(36px, 4.5vw, 56px) 0; }
.on-ink { background: var(--navy-950); color: var(--ink-text); }
.on-ink .lead, .on-ink p { color: var(--ink-text-2); }
.on-ink h1, .on-ink h2, .on-ink h3 { color: #fff; }
.on-ink a:not(.btn) { color: var(--blue-300); }
.on-ink .muted { color: var(--ink-muted); }
.blueprint {
  background-image:
    linear-gradient(rgba(141, 187, 242, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 187, 242, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(141, 187, 242, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 187, 242, 0.025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.78rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--blue-600); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--filament); border-radius: 1px; }
.on-ink .eyebrow { color: var(--blue-300); }

.section-head { max-width: 46em; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--text-2); font-size: 1.08rem; }
.on-ink .section-head p { color: var(--ink-text-2); }

/* ------------------------------------------------------------ hero */

.hero { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 72px) 0 clamp(36px, 4.5vw, 60px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(24px, 3vw, 40px); align-items: center; }
.hero h1 { max-width: 13em; }
.hero .lead { font-size: clamp(1.08rem, 0.5vw + 0.95rem, 1.24rem); max-width: 34em; margin-bottom: 28px; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img { /* larger than its column, its black studio edges fading into the band */
  width: 132%; max-width: none; margin: -9% -14% -9% -18%;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { width: 116%; margin: -8% -8% -6%; }
}

/* ------------------------------------------------------------ cards and grids */

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--n-0); border: 1px solid var(--n-200); border-radius: var(--radius-lg); padding: 26px 26px 22px; }
.band-tint .card { border-color: var(--n-200); }
.card h3 { margin-top: 18px; }
.card p { color: var(--text-2); font-size: 0.98rem; margin-bottom: 0; }
.card .icon { width: 56px; height: 56px; }
.on-ink .card { background: var(--navy-900); border-color: var(--ink-line); }
.on-ink .card p { color: var(--ink-text-2); }

/* ------------------------------------------------------------ split rows: text + picture */

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 112px); }
.split.flip > :first-child { order: 2; }
.split-text h2 { max-width: 15em; }
.split-text p { color: var(--text-2); }
.on-ink .split-text p { color: var(--ink-text-2); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600); transform: rotate(-45deg); }
.on-ink .checks li { color: var(--ink-text-2); }
.on-ink .checks li::before { border-color: var(--blue-300); }

/* ------------------------------------------------------------ figures */

.figure { margin: 0; }
.figure .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-950); box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 60px -30px rgba(10, 20, 36, 0.55); }
.figure .frame img { width: 100%; }
.figure figcaption { margin-top: 14px; font-size: 0.92rem; color: var(--muted); display: grid; gap: 10px; }
.on-ink .figure figcaption { color: var(--ink-muted); }
.figure figcaption strong { color: var(--text); font-weight: 600; }
.on-ink .figure figcaption strong { color: var(--ink-text); }
.tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  font: 500 0.72rem/1 var(--mono); letter-spacing: 0.04em; color: var(--ink-text-2);
  background: rgba(5, 8, 13, 0.72); border: 1px solid var(--ink-line); padding: 7px 9px; border-radius: 6px;
}
.figure.wide .frame { aspect-ratio: 16 / 9; }
.figure.wide .frame img { height: 100%; object-fit: cover; }

.legend { display: grid; grid-template-columns: auto minmax(120px, 280px); grid-template-rows: auto auto; column-gap: 14px; align-items: center; font-size: 0.82rem; }
.legend-label { grid-row: 1 / 3; color: var(--text-2); font-weight: 500; }
.on-ink .legend-label { color: var(--ink-text-2); }
.legend-unit { color: var(--muted); font-weight: 400; }
.legend-bar { height: 10px; border-radius: 3px; }
.legend-ticks { display: flex; justify-content: space-between; font: 400 0.75rem/1.6 var(--mono); color: var(--muted); }
.on-ink .legend-ticks, .on-ink .legend-unit { color: var(--ink-muted); }

.spec { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 22px 0 0; padding: 16px 18px; border: 1px solid var(--n-200); border-radius: var(--radius); background: var(--n-50); font-size: 0.88rem; }
.spec dt { font: 500 0.74rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.spec dd { margin: 0; font-family: var(--mono); font-size: 0.86rem; color: var(--text); line-height: 1.7; }
.on-ink .spec { background: rgba(13, 26, 46, 0.6); border-color: var(--ink-line); }
.on-ink .spec dt { color: var(--ink-muted); }
.on-ink .spec dd { color: var(--ink-text); }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ diagrams (inline SVG) */

.diagram { width: 100%; height: auto; color: var(--text); }
.diagram .stroke { stroke: currentColor; }
.diagram-wrap { background: var(--n-0); border: 1px solid var(--n-200); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 32px); }
.on-ink .diagram-wrap { background: var(--navy-900); border-color: var(--ink-line); color: var(--ink-text); }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll-x > svg { min-width: 760px; }

/* ------------------------------------------------------------ steps */

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: step; border: 1px solid var(--n-200); border-radius: var(--radius-lg); overflow: hidden; background: var(--n-0); }
.steps li { position: relative; padding: 22px 18px 20px; border-right: 1px solid var(--n-200); counter-increment: step; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: "0" counter(step); display: block; font: 500 0.78rem/1 var(--mono); color: var(--filament); margin-bottom: 14px; letter-spacing: 0.04em; }
.steps h3 { font-size: 1rem; margin-bottom: 6px; }
.steps p { font-size: 0.88rem; color: var(--text-2); margin: 0; line-height: 1.5; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps li:nth-child(3) { border-right: 0; } .steps li:nth-child(-n+3) { border-bottom: 1px solid var(--n-200); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; border-bottom: 1px solid var(--n-200); } .steps li:last-child { border-bottom: 0; } }

/* ------------------------------------------------------------ comparison table */

.compare-wrap { border: 1px solid var(--n-200); border-radius: var(--radius-lg); overflow-x: auto; background: var(--n-0); }
.split > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
@media (max-width: 560px) { .compare.data th, .compare.data td { padding: 11px 10px; font-size: 0.86rem; } }
.compare { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--n-200); vertical-align: top; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare thead th { background: var(--n-50); font: 600 1rem var(--font-head); vertical-align: bottom; }
.compare thead th .price-tag { display: block; font: 400 0.82rem var(--mono); color: var(--muted); margin-top: 4px; }
.compare thead th.pro { background: var(--navy-900); color: #fff; }
.compare thead th.pro .price-tag { color: var(--blue-300); }
.compare tbody th { font-weight: 500; color: var(--text); width: 40%; }
.compare tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.compare td { color: var(--text-2); width: 30%; }
.compare td.pro { background: rgba(33, 96, 168, 0.045); }
.compare.data tbody th, .compare.data td { width: auto; }
.compare.data th, .compare.data td { padding: 13px 18px; }
.compare.data td.num { white-space: nowrap; }
.compare .group th { background: var(--n-50); font: 500 0.74rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 11px; padding-bottom: 11px; }
.yes, .no { display: inline-flex; align-items: center; gap: 8px; }
.yes::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.no { color: var(--muted); }
.no::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--n-300); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 9h6' stroke='%23a0aab6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
@media (max-width: 640px) {
  .compare th, .compare td { padding: 12px 10px; font-size: 0.9rem; }
  .compare tbody th { width: 44%; }
  .yes::before, .no::before { display: none; }
}

/* ------------------------------------------------------------ pricing */

.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.85fr); gap: 20px; align-items: start; }
.plans > .plan { align-self: stretch; }
.plan-aside { padding: 30px 6px 0 18px; }
.plan-aside h2 { font-size: 1.15rem; margin-bottom: 24px; }
.plan-aside .howto { font-size: 0.93rem; margin: 0; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan-aside { grid-column: 1 / -1; padding: 8px 0 0; } }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--n-200); border-radius: var(--radius-lg); padding: 24px 26px; background: var(--n-0); display: flex; flex-direction: column; }
.plan.pro { background: var(--navy-900); border-color: var(--navy-800); color: var(--ink-text); }
.plan h2 { font-size: 1.4rem; margin-bottom: 4px; }
.plan .price { font: 600 2.25rem/1.1 var(--font-head); letter-spacing: -0.02em; margin: 8px 0 2px; }
.plan .price small { font: 400 0.95rem var(--font); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan.pro .price small, .plan.pro .muted { color: var(--ink-muted); }
.plan .checks { margin: 16px 0 22px; gap: 7px; }
/* the cards sit right under the page head, so both fit on a desktop screen */
.page-head + .band:has(.plans) { padding-top: clamp(22px, 2.5vw, 32px); }
.plan.pro .checks li { color: var(--ink-text-2); }
.plan.pro .checks li::before { border-color: var(--blue-300); }
.plan .actions { margin-top: auto; }
.plan form { margin: 0; }
.plan .fine { font-size: 0.82rem; margin: 14px 0 0; }

.faq { max-width: 50em; }
.faq details { border-bottom: 1px solid var(--n-200); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font: 600 1.05rem var(--font-head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 24px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details p { color: var(--text-2); margin: 0 0 18px; }

/* ------------------------------------------------------------ download */

.dl-box { border: 1px solid var(--n-200); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); background: var(--n-0); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.dl-actions { display: flex; flex-direction: column; gap: 10px; }
.dl-actions .btn { justify-content: center; }
@media (max-width: 700px) { .dl-box { grid-template-columns: 1fr; } .dl-actions { flex-direction: row; flex-wrap: wrap; } }
/* download page: the release and the button (or the email form) on the left, the system requirements on the right */
.dl-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(28px, 4vw, 56px); }
.dl-req { border-left: 1px solid var(--n-200); padding-left: clamp(28px, 4vw, 56px); }
.dl-req h2 { font-size: 1.25rem; margin-bottom: 4px; }
.dl-install { max-width: 780px; margin-top: clamp(48px, 6vw, 80px); }
/* the launch list's email box (site/partials/launch-signup.html): a light card that keeps the light-page colors on dark bands */
.launch-box { max-width: 34em; }
.on-ink .launch-box p:not(.app-msg) { color: var(--muted); }
.on-ink .launch-box a:not(.btn) { color: var(--blue-600); }
.on-ink .launch-box .btn-primary { background: var(--blue-600); color: #fff; }
.on-ink .launch-box .btn-primary:hover { background: var(--blue-700); color: #fff; }
.on-ink .launch-box .app-msg-error { color: #b42318; }
.on-ink .launch-box .app-msg-ok { color: var(--ok); }
@media (max-width: 900px) { .dl-main { grid-template-columns: minmax(0, 1fr); } .dl-req { border-left: 0; padding-left: 0; border-top: 1px solid var(--n-200); padding-top: 24px; } }
.table-plain { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.table-plain th, .table-plain td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--n-200); vertical-align: top; }
.table-plain th { font-weight: 500; width: 34%; color: var(--text); }
.table-plain td { color: var(--text-2); }
ol.howto { padding-left: 1.3em; display: grid; gap: 10px; color: var(--text-2); }
ol.howto li::marker { font-family: var(--mono); color: var(--blue-600); }
kbd { font: 500 0.82em var(--mono); background: var(--n-50); border: 1px solid var(--n-200); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; }

/* ------------------------------------------------------------ call to action and footer */

.cta { position: relative; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } }
.cta img { border-radius: var(--radius-lg); }

.site-footer { background: var(--navy-950); color: var(--ink-muted); padding: 56px 0 40px; font-size: 0.92rem; border-top: 1px solid var(--ink-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { font: 500 0.74rem var(--mono); text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-text-2); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink-text); }
.site-footer p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-line); }
.site-footer .brand { margin-bottom: 12px; }
.site-footer .link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-muted); cursor: pointer; text-align: left; }
.site-footer .link-button:hover { color: var(--ink-text); }
.site-footer .link-button[hidden] { display: none; }

/* The advertising cookie notice (W29, src/browser/ads.ts): Accept and Reject look the same. */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; display: flex; gap: 16px 24px; align-items: center; padding: 16px 20px; background: var(--navy-900); color: var(--ink-text-2); border: 1px solid var(--ink-line); border-radius: var(--radius-lg); box-shadow: 0 12px 40px rgba(5, 8, 13, 0.45); font-size: 0.92rem; line-height: 1.5; }
.consent b { color: var(--ink-text); font-weight: 600; }
.consent p { margin: 0; }
.consent a { color: var(--blue-300); }
.consent-actions { display: flex; gap: 10px; flex: none; }
.consent-actions .btn { min-width: 96px; justify-content: center; }
@media (max-width: 640px) { .consent { flex-direction: column; align-items: stretch; left: 8px; right: 8px; bottom: 8px; } .consent-actions .btn { flex: 1; } }
.footer-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.84rem; }

/* ------------------------------------------------------------ page heads and prose */

.page-head { padding: clamp(30px, 3.5vw, 48px) 0 clamp(26px, 3vw, 40px); }
.page-head h1 { font-size: clamp(1.8rem, 1.6vw + 1rem, 2.4rem); max-width: 22em; }
.page-head .lead { margin: 0; }
.prose { max-width: 46em; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--text-2); }
.note { border-left: 3px solid var(--filament); background: #fff8f0; padding: 14px 18px; border-radius: 0 8px 8px 0; color: var(--text-2); font-size: 0.95rem; }

.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.anchor-nav a { font-size: 0.88rem; text-decoration: none; padding: 7px 12px; border: 1px solid rgba(182, 194, 209, 0.25); border-radius: 999px; color: var(--ink-text-2); }
.anchor-nav a:hover { border-color: var(--blue-300); color: #fff; }

.feature-row { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--n-200); }
.feature-row:first-of-type { border-top: 0; }
.badge { display: inline-block; font: 500 0.7rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 8px; border-radius: 5px; background: var(--navy-900); color: var(--blue-300); vertical-align: middle; margin-left: 8px; position: relative; top: -3px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Real, single-part projects */
.hero-product { background: #f1f5fa; color: var(--text); }
.hero-product .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.hero-product h1 { max-width: 12em; }
.hero-product .hero-figure img { width: 100%; max-width: 100%; margin: 0; mask-image: none; -webkit-mask-image: none; border-radius: var(--radius); }
.hero-product .hero-figure figcaption { margin-top: 12px; color: var(--muted); font-size: .82rem; }
.product-shot { margin: 0; min-width: 0; }
.product-shot .shot-link { display: block; background: #eff3f8; border: 1px solid var(--n-200); border-radius: var(--radius); overflow: hidden; }
.product-shot img { display: block; width: 100%; height: auto; }
.shot-link.image-preview-ready { position: relative; cursor: zoom-in; }
.image-preview-ready::after { content: "Enlarge ↗"; position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border: 1px solid var(--n-300); border-radius: 5px; color: var(--text); background: rgba(255, 255, 255, .94); font: 500 .75rem/1.5 var(--font); }
.image-preview-ready:hover::after { border-color: var(--blue-600); color: var(--blue-700); }
.product-shot figcaption { color: var(--muted); margin-top: 12px; font-size: .84rem; line-height: 1.6; }
.on-ink .product-shot .shot-link { border-color: var(--ink-line); }
.on-ink .product-shot figcaption { color: var(--ink-muted); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.project-card { display: flex; flex-direction: column; border: 1px solid var(--n-200); border-radius: var(--radius); overflow: hidden; background: white; }
.project-card > a { display: block; overflow: hidden; background: #eff3f8; }
.project-card img { width: 100%; aspect-ratio: 1.44; object-fit: contain; }
.project-card-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 24px; }
.project-card h2, .project-card h3 { font-size: 1.3rem; margin: 12px 0; }
.project-card h2 a, .project-card h3 a { color: var(--text); text-decoration: none; }
.project-card p { color: var(--text-2); font-size: .95rem; }
.project-kicker { color: var(--blue-700); font: 500 .72rem/1.5 var(--mono); letter-spacing: .025em; }
.project-card .project-link { margin-top: auto; font-size: .88rem; font-weight: 500; }
.result-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0; padding: 22px 0; border-top: 1px solid var(--n-200); border-bottom: 1px solid var(--n-200); }
.result-metrics dt { color: var(--muted); font-size: .78rem; margin-bottom: 8px; }
.result-metrics dd { margin: 0; color: var(--text); font: 500 clamp(1.3rem, 2.2vw, 1.8rem)/1.2 var(--font-head); font-variant-numeric: tabular-nums; }
.on-ink .result-metrics { border-color: var(--ink-line); }
.on-ink .result-metrics dt { color: var(--ink-muted); }
.on-ink .result-metrics dd { color: var(--ink-text); }
.case-note { margin: 24px 0 0; padding: 16px 20px; border-left: 2px solid var(--blue-400); background: var(--n-50); color: var(--text-2); font-size: .88rem; }
.result-table-wrap { width: 100%; overflow-x: auto; }
.result-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.result-table caption { text-align: left; font-weight: 600; padding-bottom: 18px; }
.result-table th, .result-table td { padding: 14px 16px; border-bottom: 1px solid var(--n-200); vertical-align: top; }
.result-table th { text-align: left; font-weight: 500; }
.result-table thead th { background: var(--n-50); color: var(--muted); font-size: .78rem; }
.result-table td { color: var(--text-2); }
.result-table .baseline th, .result-table .baseline td { background: var(--blue-100); }
.result-table .baseline-label { display: block; margin-bottom: 4px; color: var(--blue-700); font-size: .75rem; font-weight: 600; }
.print-comparison { align-items: start; }
.result-table .value { text-align: right; white-space: nowrap; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.result-table thead .value { white-space: normal; font-family: inherit; }
.result-table:has(th:nth-child(4)) { min-width: 560px; }
.case-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.case-gallery .product-shot figcaption strong { display: block; margin-bottom: 4px; color: var(--text); }
.setup-gallery { margin-top: 28px; }
.setup-key { margin: 20px 0 28px; max-width: 75em; color: var(--muted); font-size: .8rem; }
.workflow-views { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.workflow-views h3 { font-size: 1rem; margin: 18px 0 8px; }
.workflow-views p { color: var(--text-2); font-size: .9rem; }
.workflow-views img { border: 1px solid var(--n-200); border-radius: var(--radius); background: #eff3f8; width: 100%; }
.download-list { padding: 0; margin: 24px 0; list-style: none; border-top: 1px solid var(--n-200); }
.download-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--n-200); }
.download-list small { color: var(--muted); }
.case-details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 24px; margin: 24px 0; font-size: .92rem; }
.case-details dt { color: var(--muted); }
.case-details dd { margin: 0; color: var(--text-2); }
.case-intro { max-width: 46em; }
.case-intro p { color: var(--text-2); }
.case-back { display: block; width: fit-content; font-size: .86rem; margin-bottom: 4px; }
.case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 12px; }
.case-actions > span { font-size: .8rem; color: var(--ink-text-2); }
.case-nav-wrap { border-bottom: 1px solid var(--n-200); background: var(--n-50); }
.case-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 16px; padding-bottom: 16px; }
.case-nav a { font-size: .84rem; font-weight: 500; color: var(--text-2); text-decoration: none; }
.case-nav a:hover { color: var(--blue-700); text-decoration: underline; }
.case-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 32px 0 40px; }
.case-pagination a { display: block; color: var(--text); text-decoration: none; }
.case-pagination a:last-child { text-align: right; }
.case-pagination span { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 8px; }
.case-pagination strong { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; }
.case-pagination a:hover strong { color: var(--blue-700); text-decoration: underline; }
.case-section { padding: clamp(40px, 5vw, 68px) 0; border-bottom: 1px solid var(--n-200); }
.case-section h2 { max-width: 27em; }
.case-section:last-child { border-bottom: 0; }
.case-links { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 22px; }
.design-tools { max-width: 54em; }
.design-tools p { color: var(--text-2); }
.release-note { color: var(--muted); font-size: .8rem; margin-top: 14px; }
.example-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.example-proof h2 { max-width: 19em; }
pre.project-script { padding: 22px; margin: 24px 0 0; border: 1px solid var(--n-200); border-radius: var(--radius); background: var(--n-50); overflow-x: auto; font: 400 .83rem/1.7 var(--mono); color: var(--text-2); }
.project-open-help { max-width: 65em; color: var(--text-2); }
.project-open-help kbd { font: inherit; white-space: nowrap; }
pre.analysis-command { max-width: 32em; margin-top: 18px; }

/* Native product images stay unchanged; the viewer only changes their display size. */
body.viewer-open { overflow: hidden; }
.image-viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.image-viewer[open] { display: grid; place-items: center; }
.image-viewer::backdrop { background: rgba(5, 8, 13, .97); }
.image-viewer-image { display: block; max-width: 100vw; max-height: 100dvh; width: auto; height: auto; object-fit: contain; cursor: zoom-out; }
.image-viewer-close { position: fixed; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0 0 2px; border: 0; border-radius: 50%; background: rgba(5, 8, 13, .6); color: #fff; font: 400 1.6rem/1 var(--font); cursor: pointer; }
.image-viewer-close:hover { background: rgba(5, 8, 13, .85); }
.image-viewer-close:focus { outline: none; }
.image-viewer-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 900px) {
 .hero-product .hero-grid, .example-proof { grid-template-columns: 1fr; }
 .hero-product .hero-figure { order: 0; }
 .workflow-views { grid-template-columns: 1fr; }
 .workflow-views img { max-width: 640px; }
}
@media (max-width: 760px) {
 .project-grid, .case-gallery { grid-template-columns: 1fr; }
 .project-card-body { padding: 20px; }
 .result-table th, .result-table td { padding: 12px 10px; }
 .case-details { grid-template-columns: 1fr; gap: 4px; }
 .case-details dd { margin-bottom: 12px; }
}
@media (max-width: 480px) {
 .result-metrics { gap: 12px; }
 .result-metrics dt { font-size: .72rem; min-height: 3em; }
 .result-metrics dd { font-size: clamp(1rem, 4.6vw, 1.25rem); white-space: nowrap; }
 .result-table { font-size: .8rem; }
}
@media (max-width: 380px) {
 .result-metrics { grid-template-columns: 1fr; }
 .result-metrics > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
 .result-metrics dt { min-height: 0; margin: 0; font-size: .78rem; }
 .result-metrics dd { font-size: 1.1rem; text-align: right; }
}

.case-gallery + p { margin-top: 24px; }

/* Compact introductions put the content and primary choices on screen. */
/* Page heads are a title line: no eyebrow; a subtitle only where it carries the page's message. */
.page-head { padding: 14px 0; }
.page-head h1 { font-size: clamp(1.5rem, 1.2vw + 1rem, 1.75rem); margin-bottom: 0; max-width: none; }
.page-head .lead { font-size: 1rem; line-height: 1.5; max-width: 70em; margin-top: 4px; }
.page-head .anchor-nav { margin-top: 10px; gap: 6px; }
.page-head .anchor-nav a { padding: 4px 9px; font-size: .8rem; }
@media (min-width: 1000px) {
 body { font-size: 16px; }
 .site-header .wrap { height: 58px; }
 .band { padding: 56px 0; }
 .band-tight { padding: 40px 0; }
 .feature-row { padding: 48px 0; }
 .feature-row:first-of-type { padding-top: 36px; }
 .case-section { padding: 40px 0; }
 .case-section > .product-shot { max-width: 800px; margin-inline: auto; }
 .page-pricing .page-head + .band { padding-top: 20px; }
 .page-pricing .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
 .page-pricing .plan { display: grid; grid-template-columns: 1fr auto; align-content: start; padding: 22px 26px; gap: 12px 24px; }
 .page-pricing .plan h2 { grid-column: 1; grid-row: 1; align-self: center; margin: 0; font-size: 1.5rem; }
 .page-pricing .plan > .price { grid-column: 2; grid-row: 1; margin: 0; font-size: 2.05rem; text-align: right; }
 .page-pricing .plan > .price small { display: block; font-size: .82rem; line-height: 1.4; margin: 2px 0 0; }
 .page-pricing .plan > .price .sale-note { margin: 8px 0 0 auto; font-size: .8rem; }
 .page-pricing .plan > .muted:not(.fine) { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 1rem; line-height: 1.5; }
 .page-pricing .plan > .actions { grid-column: 1 / -1; grid-row: 3; margin: 0; }
 .page-pricing .plan .actions .btn { justify-content: center; width: 100%; }
 .page-pricing .plan > .checks { grid-column: 1 / -1; grid-row: 4; margin: 4px 0 0; gap: 6px; font-size: .97rem; line-height: 1.45; }
 .page-pricing .plan > .fine { grid-column: 1 / -1; grid-row: 5; margin: 0; font-size: .85rem; line-height: 1.5; }
 .page-pricing .plan-aside { grid-column: 1 / -1; padding: 24px 0 0; }
 .page-pricing .plan-aside .howto { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; font-size: .9rem; }
 .page-pricing .plan-aside h2 { margin-bottom: 24px; }
 .page-pricing .plan-aside .fine { margin-bottom: 0; }
}

@media (min-width: 1000px) {
 .page-pricing .plan .actions form { width: 100%; }
 .page-pricing .plan .actions .btn { min-height: 44px; }
 .split:has(> .split-text:only-child) { grid-template-columns: 1fr; }
 .split:has(> .split-text:only-child) > .split-text { max-width: 70em; }
}

@media (min-width: 1000px) {
 .page-pricing .plan.pro > .price { color: var(--ink-text); }
 .buckling-gallery .shot-link { background: #f2f6fb; }
 .buckling-gallery img { max-height: 420px; object-fit: contain; background: #f2f6fb; }
}

.buckling-gallery figcaption strong:not(:first-child) { display: inline; margin: 0; }

@media (min-width: 1000px) {
 h2 { font-size: 2rem; }
 .page-head h1 { max-width: 28em; }
 .split:has(> .split-text:only-child) .split-text h2 { max-width: none; }
}

/* Distinguish the Free card while keeping both cards aligned. */
.page-pricing .plan { border-width: 2px; }
.page-pricing .plan:not(.pro) { border-color: var(--blue-400); }

.page-pricing .plan-aside .howto { line-height: 1.8; row-gap: 20px; }
.page-pricing .plan-aside .fine { margin: 28px 0 0; }

/* The private founders page: one card, its notes beside it on a wide screen. */
@media (min-width: 1000px) {
 .page-pricing .plans-founders .plan-aside { grid-column: auto; padding: 22px 0 0 12px; }
 .page-pricing .plans-founders .plan-aside .muted { max-width: 30em; }
}

.keep-word { white-space: nowrap; }

/* A small comparison beside its explanation, rather than a page-wide data table. */
.feature-comparison { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.feature-comparison .section-head { margin-bottom: 0; }
.feature-comparison .section-head p:not(.eyebrow) { font-size: 1rem; max-width: 34em; }
.feature-comparison-results { min-width: 0; max-width: 560px; }
.compact-comparison { border-radius: 12px; }
.compact-comparison table { font-size: .8125rem; line-height: 1.5; }
.compact-comparison caption { padding: 13px 14px; text-align: left; font-weight: 600; color: var(--text); }
.compact-comparison th, .compact-comparison td { padding: 10px 14px; }
.compact-comparison tbody th { font-weight: 500; }
.compact-comparison .num { white-space: nowrap; }
.feature-source { font-size: .75rem; line-height: 1.6; color: var(--muted); margin: 12px 0 0; }
@media (max-width: 900px) {
 .feature-comparison { grid-template-columns: 1fr; gap: 22px; }
 .feature-comparison-results { max-width: 600px; }
}
@media (max-width: 480px) {
 .compact-comparison table { font-size: .75rem; }
 .compact-comparison th, .compact-comparison td { padding: 10px 8px; }
}

.feature-details { margin-top: 22px; border-top: 1px solid var(--n-200); border-bottom: 1px solid var(--n-200); }
.feature-details > summary { padding: 15px 0; font-size: .875rem; font-weight: 500; cursor: pointer; color: var(--blue-700); }
.feature-details[open] { padding-bottom: 20px; }
.feature-details > p { max-width: 70em; }
.feature-details .spec { max-width: 800px; margin-top: 6px; }
.feature-calculated-views { margin: 14px 0 22px; }
.diagram-scroll-hint { display: none; }
.design-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.design-comparison img { aspect-ratio: 8 / 5; object-fit: contain; }
.design-comparison figcaption strong { display: block; margin-bottom: 4px; color: var(--text); }
.application-shot .image-preview-ready::after { display: none; }
.workflow-product-view { max-width: 1180px; margin: 32px auto 0; }
.feature-pro-views img { aspect-ratio: 36 / 25; object-fit: cover; }
.on-ink .feature-pro-views figcaption strong { color: var(--ink-text); }
.comparison-model { margin-top: 24px; }
.comparison-model img { max-height: 270px; object-fit: contain; }
.loadpath-designs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.loadpath-designs img { aspect-ratio: 36 / 25; object-fit: contain; }
.loadpath-designs figcaption { display: flex; justify-content: space-between; gap: 12px; }
.loadpath-designs figcaption strong { color: var(--text); font-weight: 600; }
.file-model-view { margin-top: 24px; }
.file-model-view img { max-height: 300px; object-fit: contain; }
.home-example-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-example-gallery a { min-width: 0; overflow: hidden; border: 1px solid var(--n-200); border-radius: 14px; background: white; text-decoration: none; }
.home-example-gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.home-example-gallery span { display: block; padding: 16px 20px; border-top: 1px solid var(--n-200); color: var(--text); font-weight: 600; }
@media (max-width: 760px) {
 .design-comparison, .home-example-gallery { grid-template-columns: 1fr; }
 .loadpath-designs { grid-template-columns: 1fr; }
 .feature-pro-views img { height: auto; max-height: 360px; }
}
@media (max-width: 760px) {
 .diagram-scroll-hint { display: block; margin: 10px 0 0; font-size: .75rem; color: var(--muted); }
}

/* The 30-day Pro trial: a note under download buttons, a lead above the plan cards, and three steps. */
.trial-note { font-size: 0.92rem; margin: 14px 0 0; color: var(--text-2); }
.on-ink .trial-note { color: var(--ink-text-2); }
.plans-lead { font-size: 1.05rem; color: var(--text-2); max-width: 46em; margin: 0 0 18px; }
.trial-steps-wrap { margin-top: clamp(36px, 5vw, 56px); }
.trial-steps-title { font-size: 1.25rem; margin-bottom: 18px; }
.trial-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: trial; }
.trial-steps li { counter-increment: trial; border: 1px solid var(--n-200); border-top: 3px solid var(--blue-600); border-radius: var(--radius-lg); padding: 18px 20px; background: var(--n-0); display: grid; gap: 6px; align-content: start; }
.trial-steps li:last-child { border-top-color: var(--n-300); }
.trial-steps strong { font: 600 1.02rem var(--font-head); }
.trial-steps strong::before { content: counter(trial) ". "; font-family: var(--mono); color: var(--blue-600); }
.trial-steps span { color: var(--text-2); font-size: 0.93rem; line-height: 1.55; }
@media (max-width: 760px) { .trial-steps { grid-template-columns: 1fr; } }

/* STL editing & parametric CAD showcase grids */
.two-col-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; row-gap: 12px; }
@media (max-width: 760px) { .two-col-checks { grid-template-columns: 1fr; } }
.on-ink .case-gallery .product-shot figcaption strong { color: var(--ink-text); }

/* A running sale (staff page, Sale price; src/browser/sale.ts): the bar at the top, the crossed-out price */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sale-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; padding: 9px 48px 9px var(--gutter); background: var(--navy-900); color: var(--ink-text); font-size: 0.92rem; line-height: 1.4; position: relative; text-align: center; border-bottom: 1px solid var(--ink-line); }
.sale-bar-tag { font: 600 0.72rem/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-950); background: var(--filament); border-radius: 999px; padding: 4px 9px; }
.sale-bar-link { color: var(--blue-300); font-weight: 600; white-space: nowrap; }
.sale-bar-link:hover { color: var(--ink-text); }
.sale-bar-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.sale-bar-close:hover, .sale-bar-close:focus-visible { color: var(--ink-text); background: rgba(255, 255, 255, 0.08); }
.price-was { color: var(--muted); font-weight: 400; text-decoration-thickness: 2px; text-decoration-color: var(--filament); }
.on-ink .price-was, .plan.pro .price-was, .compare .pro .price-was { color: var(--ink-muted); }
.price-now { color: inherit; }
.plan .price .price-was { font-size: 0.62em; margin-right: 6px; vertical-align: 0.18em; }
.sale-note { display: block; width: fit-content; margin: 10px 0 2px; letter-spacing: 0; padding: 4px 10px; border-radius: 999px; background: rgba(235, 139, 41, 0.16); color: var(--filament); font: 600 0.85rem/1.3 var(--font); }
.sale-note[hidden] { display: none; }
