/*
 * Sawline — the web surface.
 *
 * Palette, type and anatomy come from the "Sawline Direction Sheet" in the
 * Claude Design project. The site is the *light* counterpart of the app: paper
 * ground, ink rules, one yellow blade per page. The app already ships this
 * palette as its outdoor theme, so the two still read as one product.
 *
 * Fonts are self-hosted, not pulled from Google. The store listing promises no
 * tracking; a site that hands every visitor to fonts.gstatic.com while saying
 * that would be a lie by omission. Prose therefore runs in the reader's own UI
 * face — we ship the two faces that carry meaning (the condensed display for
 * figures, the mono for anything the engine emits) and borrow the third.
 */

/* ── fonts (SIL OFL, see /OFL.txt) ─────────────────────────────────────────── */

@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/barlow-condensed-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/barlow-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('fonts/space-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('fonts/space-mono-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Barlow carries the prose. It arrived with the v3 direction sheet, which moved
   body text off the reader's UI face and onto the type the app uses. Self-hosted
   for the same reason as the rest: the listing promises no tracking. */
@font-face {
  font-family: 'Barlow';
  src: url('fonts/barlow-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('fonts/barlow-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('fonts/barlow-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/barlow-condensed-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/barlow-condensed-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── tokens ────────────────────────────────────────────────────────────────── */

:root {
  --paper: #f2f0e9;
  --card: #ffffff;
  --card-alt: #fdfbf4;
  --ink: #191917;
  --ink-2: #3f3d37;
  --ink-3: #5a5850;
  --ink-4: #77746b;
  --hair: #d6d3c9;
  --hair-soft: #edeae0;
  --blade: #f5c518;
  --blade-deep: #8a6a00;

  --char: #262624;
  --char-deep: #191917;
  --char-rule: #4c4c48;
  --on-char: #ffffff;
  --on-char-2: #c9c7be;
  --on-char-3: #8e8d87;
  --on-char-4: #6e6d68;

  --pass: #1f7a45;
  --warn: #8a5200;
  --fail: #b8301a;

  --display: 'Barlow Condensed', 'Helvetica Neue', Arial Narrow, Arial, sans-serif;
  --label: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --prose: 'Barlow', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
  /* The dark the keypad's unit keys are cut from. The v3 prototype also used it
     as a ground behind a fixed 1280 column, which is a canvas needing an edge;
     a real site at 1600px just reads as letterboxed. Bands run full width. */
  --ground: #3a3a38;

  --wide: 1280px;
  --narrow: 780px;
  /* The app's own 18px gutter at phone width, opening to 72px on the desktop
     grid. Anything between is interpolated rather than stepped. */
  --pad: clamp(18px, 5.6vw, 72px);
}

/* ── base ─────────────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* The site is a light ground on purpose — it is the app's outdoor theme. Say
     so, or a browser in dark mode inverts the form controls under it. */
  color-scheme: light;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--prose);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--warn);
}

:focus-visible {
  outline: 3px solid var(--blade);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blade);
  color: var(--ink);
  padding: 12px 20px;
  font: 700 14px var(--label);
  z-index: 60;
}

.skip:focus {
  left: 0;
}

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.wrap--narrow {
  max-width: var(--narrow);
}

.u-mono {
  font-family: var(--label);
  font-weight: 700;
  font-size: 0.95em;
}

/* ── the tape rule that tops every blade ──────────────────────────────────── */
/*
 * Three layers of one repeating gradient at three heights, anchored to the
 * baseline: minor tick every 26px, mid every 52px, major every 104px. Cheaper
 * than hand-placed spans and it reflows at any width.
 */

.tick {
  height: 22px;
  background-repeat: repeat-x;
  background-position: bottom left;
  background-image: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 26px),
    repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 52px),
    repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 104px);
  background-size: 100% 10px, 100% 15px, 100% 22px;
}

.tick--light {
  background-image: repeating-linear-gradient(90deg, var(--blade) 0 3px, transparent 3px 26px),
    repeating-linear-gradient(90deg, var(--blade) 0 3px, transparent 3px 52px),
    repeating-linear-gradient(90deg, var(--blade) 0 3px, transparent 3px 104px);
}

/* ── header ───────────────────────────────────────────────────────────────── */

.site-head {
  background: var(--char);
  color: var(--on-char);
}

.site-head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 62px;
  flex-wrap: wrap;
  padding-block: 11px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--on-char);
  text-decoration: none;
  font: 700 22px/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand:hover {
  color: var(--blade);
}

.brand svg {
  width: 32px;
  height: 32px;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 26px);
  font: 700 11px var(--label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav a {
  color: var(--on-char-2);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--blade);
}

/* The calculators menu. <details> so it opens with no JavaScript and closes on
   Escape for free. */
.menu {
  position: relative;
}

.menu > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-char);
}

.menu > summary::-webkit-details-marker {
  display: none;
}

.menu > summary::after {
  content: '▾';
  color: var(--blade);
  font-size: 10px;
}

.menu[open] > summary::after {
  content: '▴';
}

.menu__panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 40;
  width: min(452px, calc(100vw - 2 * var(--pad)));
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 9px 9px 0 rgba(0, 0, 0, 0.4);
  /* The panel sits inside .nav, which shouts. Everything below is prose on
     paper, so the shouting is unset here rather than fought line by line. */
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

/* Below the desktop grid the nav wraps, and the summary ends up at the left of
   its own row — so `right: 0` hangs the panel off the left of the screen. Pin
   it to the viewport gutters instead and let it keep its static vertical spot. */
@media (max-width: 760px) {
  .menu__panel {
    position: fixed;
    top: auto;
    left: var(--pad);
    right: var(--pad);
    width: auto;
    margin-top: 12px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.4);
  }
}

.menu__head {
  padding: 11px 18px;
  background: var(--ink);
  color: var(--on-char);
  font: 700 10.5px var(--label);
  letter-spacing: 0.12em;
}

.nav .menu__item {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
  color: var(--ink);
}

.nav .menu__item:hover {
  background: #fdf6dc;
  color: var(--ink);
}

.menu__item b {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  font: 700 25px var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.menu__item b i {
  font: 400 10.5px var(--label);
  font-style: normal;
  color: var(--warn);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.menu__item span {
  display: block;
  font-family: var(--prose);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
  margin-top: 3px;
  text-wrap: pretty;
}

.menu__foot {
  padding: 12px 18px;
  font: 400 12px var(--label);
  color: var(--ink-4);
}

/* ── buttons ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 0;
  border-radius: 0;
  font: 700 12px var(--label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.btn--primary {
  background: var(--ink);
  color: var(--on-char);
  border-bottom: 3px solid #000;
}

.btn--primary:hover {
  color: var(--blade);
  transform: translateY(-1px);
}

.btn--blade {
  background: var(--blade);
  color: var(--ink);
  border-bottom: 3px solid var(--blade-deep);
}

.btn--blade:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.btn--ghost {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
  padding: 11px 20px;
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--blade);
}

.btn--full {
  width: 100%;
}

/* ── store badges ─────────────────────────────────────────────────────────── */

.stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 18px 9px 15px;
  border: 2px solid var(--on-char);
  color: var(--on-char);
  background: transparent;
  text-decoration: none;
  font-family: var(--prose);
  cursor: pointer;
  text-align: left;
}

.store:hover {
  background: var(--on-char);
  color: var(--char);
}

.store svg {
  width: 26px;
  height: 26px;
  flex: none;
  fill: currentColor;
}

.store span {
  display: block;
  font: 400 9.5px var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.store b {
  display: block;
  font: 700 19px/1.05 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* On paper rather than charcoal. */
.stores--ink .store {
  border-color: var(--ink);
  color: var(--ink);
}

.stores--ink .store:hover {
  background: var(--ink);
  color: var(--blade);
}

.store--soon {
  cursor: default;
}

.store--soon:hover {
  background: transparent;
  color: inherit;
}

.store--soon b::after {
  content: attr(data-soon);
  display: block;
  font: 700 9.5px var(--label);
  letter-spacing: 0.12em;
  color: var(--blade);
}

.stores--ink .store--soon b::after {
  color: var(--warn);
}

.panel__head h2,
.tally__head b,
.menu__head,
.warned b,
.refused b,
.diagram > b,
.chipset > b {
  text-transform: uppercase;
}

/* ── sections ─────────────────────────────────────────────────────────────── */

.section {
  padding: clamp(38px, 5.4vw, 52px) 0;
  border-bottom: 2px solid var(--ink);
}

.section--char {
  background: var(--char);
  color: var(--on-char);
  border-bottom: 0;
}

.section--char p {
  color: var(--on-char-2);
}

.section h2 {
  font: 700 clamp(30px, 4.2vw, 40px)/1.05 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}

.section__lede {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--ink-2);
  margin: 10px 0 0;
  max-width: 58ch;
  text-wrap: pretty;
}

/* ── hero ─────────────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(34px, 4.4vw, 44px) 0 clamp(40px, 5.6vw, 52px);
}

.eyebrow {
  font: 700 11px var(--label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warn);
  margin: 0;
}

.hero__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 44px);
  margin-top: 20px;
  align-items: flex-start;
}

.hero__copy {
  flex: 1 1 460px;
}

.hero h1 {
  font: 700 clamp(42px, 7.4vw, 68px)/0.94 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin: 0;
  max-width: 15ch;
  text-wrap: balance;
}

.hero__sub {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  margin: 22px 0 0;
  max-width: 42ch;
  text-wrap: pretty;
}

.hero__demo {
  flex: 1 1 380px;
  max-width: 100%;
}

/* ── cards ────────────────────────────────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 24px;
}

/* Two by two, not four across: at 1280 a row of four leaves each card 267px,
   which is narrower than the copy in it wants. */
@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  min-width: 0;
  background: var(--card);
  border: 2px solid var(--ink);
  padding: 20px 22px 22px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.card:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.card__url {
  font: 700 11px var(--label);
  letter-spacing: 0.12em;
  color: var(--warn);
}

.card h3 {
  font: 700 clamp(26px, 3.4vw, 32px)/1.05 var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 8px 0 0;
}

.card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 8px 0 0;
}

/* ── three pillars ────────────────────────────────────────────────────────── */

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 24px;
}

.pillar {
  flex: 1 1 280px;
  border-top: 3px solid var(--ink);
  padding-top: 14px;
}

.pillar h3 {
  font: 600 26px/1.1 var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0;
}

.pillar p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 8px 0 0;
}

.section--char .pillar {
  border-top-color: var(--blade);
}

/* ── the app strip: real device captures ──────────────────────────────────── */

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 30px;
  margin-top: 34px;
}

.shot figure {
  margin: 0;
  width: 100%;
  max-width: 252px;
  background: #0e0e0d;
  border: 2px solid var(--char-rule);
  border-radius: 26px;
  padding: 9px;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 19px;
  background: var(--char-deep);
}

.shot h3 {
  font: 700 22px/1.1 var(--display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-char);
  margin: 14px 0 0;
}

.shot p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--on-char-3);
  margin: 2px 0 0;
  max-width: 26ch;
}

/* ── the "what's in it" grid ──────────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1px;
  background: var(--char-rule);
  border: 1px solid var(--char-rule);
  margin-top: 26px;
}

.feature {
  background: var(--char);
  padding: 22px 24px 26px;
}

.feature svg {
  width: 132px;
  height: 62px;
  display: block;
  overflow: visible;
}

.feature__label {
  font: 700 10.5px var(--label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-char-3);
  margin: 18px 0 0;
}

.feature h3 {
  font: 700 28px/1.08 var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 6px 0 0;
  color: var(--on-char);
}

.feature p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-char-2);
  margin: 9px 0 0;
  text-wrap: pretty;
}

/* ── the foot-of-page app block ───────────────────────────────────────────── */

.pocket {
  background: var(--char);
  color: var(--on-char);
  padding: clamp(32px, 4.4vw, 40px) 0;
}

.pocket__in {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid var(--char-rule);
  padding-top: 32px;
}

.pocket--bare .pocket__in {
  border-top: 0;
  padding-top: 0;
}

.pocket h2 {
  font: 700 clamp(26px, 3.6vw, 34px)/1.05 var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0;
}

.pocket p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--on-char-2);
  margin: 8px 0 0;
  max-width: 54ch;
  text-wrap: pretty;
}

.pocket__copy {
  flex: 1 1 380px;
}

/* ── footer ───────────────────────────────────────────────────────────────── */

.site-foot {
  background: var(--char);
  color: var(--on-char-3);
  padding: 34px 0 30px;
  border-top: 1px solid var(--char-rule);
}

.site-foot__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.site-foot__cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 44px);
}

.site-foot__col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-foot__col b {
  font: 700 10px var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-char-4);
}

.site-foot__col a {
  font-size: 15px;
  color: var(--on-char-2);
  text-decoration: none;
}

.site-foot__col a:hover {
  color: var(--blade);
}

.site-foot__legal {
  font: 400 12.5px/1.6 var(--label);
  color: var(--on-char-4);
  margin: 28px 0 0;
  max-width: 96ch;
  border-top: 1px solid #3b3b37;
  padding-top: 18px;
}

.site-foot__legal a {
  color: var(--on-char-3);
}

/* ── calculator page: crumb and switcher ──────────────────────────────────── */

.crumb {
  padding-top: 20px;
  font: 400 12px var(--label);
  color: var(--ink-4);
}

.crumb a {
  color: var(--ink-4);
}

.crumb b {
  font-weight: 400;
  color: var(--ink);
}

.switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.switch a {
  display: block;
  background: transparent;
  color: var(--ink-2);
  border: 2px solid var(--ink);
  padding: 9px 16px;
  font: 700 12px var(--label);
  letter-spacing: 0.09em;
  text-decoration: none;
}

.switch a[aria-current='page'] {
  background: var(--blade);
  color: var(--ink);
}

.switch a:hover {
  background: var(--ink);
  color: var(--blade);
}

.calc-head {
  padding-top: 26px;
}

.calc-head h1 {
  font: 700 clamp(40px, 6.6vw, 68px)/0.96 var(--display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}

.calc-head p {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 12px 0 0;
  max-width: 62ch;
  text-wrap: pretty;
}

/* ── calculator page: the two columns ─────────────────────────────────────── */

.calc {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  padding-top: 28px;
}

.calc__tool {
  flex: 1 1 560px;
  min-width: 0;
}

.calc__side {
  flex: 1 1 340px;
  min-width: 0;
}

/* ── the input card ───────────────────────────────────────────────────────── */

.panel {
  background: var(--card);
  border: 2px solid var(--ink);
  padding: 20px 22px 24px;
}

.panel__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 14px;
  /* At 390px a 26px title and a sixteen-character link do not share a line.
     Let the link drop rather than letting either of them break mid-word. */
  flex-wrap: wrap;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
}

.panel__head .linkish {
  white-space: nowrap;
}

.panel__head h2 {
  font: 700 26px/1 var(--display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

.linkish {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: 700 11px var(--label);
  letter-spacing: 0.08em;
  color: var(--warn);
  text-decoration: underline;
}

/* A grid rather than a flex row: with three fields in a two-column column, a
   flex row stretches the odd one out to the full width and it reads as the
   important one. On the grid it keeps its cell. */
.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.field {
  min-width: 0;
}

.field--wide {
  grid-column: 1 / -1;
}

/* A wrapper that exists only to group fields for show/hide; its children take
   part in the parent flex as if it were not there. */
.fieldgroup {
  display: contents;
}

/* Last word, and after .fieldgroup on purpose: `display: contents` from any
   rule above would otherwise defeat the hidden attribute outright. */
[hidden] {
  display: none;
}

.field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font: 700 11px var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field label i {
  font-style: normal;
  color: var(--warn);
}

.field input {
  width: 100%;
  margin-top: 7px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 10px 12px;
  font: 700 23px var(--display);
  letter-spacing: 0.02em;
  color: var(--ink);
}

.field input:focus {
  outline: 3px solid var(--blade);
  outline-offset: -2px;
}

/* Not scoped to .field: the hero demo puts one echo under a pair of fields,
   outside either of them. */
.echo {
  font: 400 11px var(--label);
  color: var(--ink-4);
  margin-top: 6px;
  min-height: 1.4em;
}

.echo[data-bad='1'] {
  color: var(--fail);
}

.chipsets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}

.chipset > b {
  display: block;
  font: 700 10.5px var(--label);
  letter-spacing: 0.14em;
  color: var(--ink-4);
}

.chipset__row {
  display: flex;
  gap: 7px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.chip {
  background: transparent;
  color: var(--ink-2);
  border: 2px solid var(--hair);
  border-radius: 0;
  padding: 8px 13px;
  font: 700 11px var(--label);
  letter-spacing: 0.08em;
  cursor: pointer;
}

.chip:hover {
  border-color: var(--ink);
}

.chip[aria-pressed='true'] {
  background: var(--blade);
  color: var(--ink);
  border-color: var(--ink);
}

.panel__actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hair);
  padding-top: 18px;
}

/* ── the blade ────────────────────────────────────────────────────────────── */

.blade {
  background: var(--blade);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding-top: 10px;
  animation: wipe 140ms linear;
}

@keyframes wipe {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.blade .tick {
  margin: 0 clamp(18px, 2vw, 24px);
}

.blade__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 4px clamp(18px, 2vw, 24px) 0;
  font: 700 12px var(--label);
  letter-spacing: 0.08em;
}

.blade__figure {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0 clamp(18px, 2vw, 24px) 20px;
}

.blade__figure b {
  font: 700 clamp(48px, 8vw, 76px)/1 var(--display);
  white-space: nowrap;
}

.blade__figure i {
  font: 700 clamp(24px, 3.6vw, 36px) var(--label);
  font-style: normal;
  margin-top: 8px;
}

.result {
  margin-top: 22px;
}

.rows {
  background: var(--card);
  border: 2px solid var(--ink);
  border-top: 0;
  padding: 4px clamp(18px, 2vw, 24px) 6px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}

.row b {
  font: 700 12px var(--label);
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.row span {
  font: 700 clamp(22px, 3vw, 27px) var(--display);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* The one inline app mention. Body text, no card, no button. */
.aside {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 16px 0 14px;
  max-width: 64ch;
  text-wrap: pretty;
}

.warned {
  margin-top: 14px;
  border: 2px dashed var(--warn);
  background: #fffdf6;
  padding: 14px 18px 16px;
}

.warned b {
  font: 700 11px var(--label);
  letter-spacing: 0.12em;
  color: var(--warn);
}

.warned p {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  margin: 7px 0 0;
  max-width: 62ch;
}

.refused {
  margin-top: 22px;
  background: var(--card);
  border: 2px solid var(--fail);
  border-left-width: 6px;
  padding: 18px 20px 20px;
}

.refused b {
  font: 700 11px var(--label);
  letter-spacing: 0.12em;
  color: var(--fail);
}

.refused p {
  font-size: 18px;
  line-height: 1.55;
  margin: 9px 0 0;
  max-width: 60ch;
}

/* ── the working line ─────────────────────────────────────────────────────── */

.working {
  margin-top: 14px;
  border: 2px solid var(--ink);
  background: var(--card);
}

.working > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  font: 400 14px var(--label);
  color: var(--ink);
}

.working > summary::-webkit-details-marker {
  display: none;
}

.working > summary::after {
  content: 'Show the working ▾';
  font: 700 11px var(--label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warn);
  flex: none;
}

.working[open] > summary::after {
  content: 'Hide the working ▴';
}

.working__body {
  border-top: 1px solid var(--hair);
  padding: 14px 18px 16px;
  background: var(--card-alt);
}

.working__body b {
  display: block;
  font: 700 clamp(15px, 2vw, 17px)/1.6 var(--label);
  color: var(--ink);
  word-break: break-word;
}

.working__body span {
  display: block;
  font: 400 12px var(--label);
  color: var(--ink-4);
  margin-top: 8px;
}

/* ── the running total ────────────────────────────────────────────────────── */

.tally {
  margin-top: 22px;
  background: var(--card);
  border: 2px solid var(--ink);
}

.tally__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 13px 20px;
  border-bottom: 2px solid var(--ink);
}

.tally__head b {
  font: 700 20px var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tally__body {
  padding: 4px 20px 8px;
}

.tally__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hair);
}

.tally__row b {
  font: 400 13px var(--label);
  color: var(--ink-3);
}

.tally__row span {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font: 700 22px var(--display);
}

.tally__row button {
  background: none;
  border: 0;
  padding: 0 4px;
  cursor: pointer;
  font: 700 15px var(--label);
  color: var(--fail);
}

.tally__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0 12px;
}

.tally__total b {
  font: 700 12px var(--label);
  letter-spacing: 0.1em;
}

.tally__total span {
  font: 700 34px var(--display);
}

/* ── the diagram ──────────────────────────────────────────────────────────── */

.diagram {
  background: var(--card);
  border: 2px solid var(--ink);
  padding: 16px 18px 18px;
}

.diagram > b {
  display: block;
  font: 700 11px var(--label);
  letter-spacing: 0.12em;
  color: var(--ink-4);
}

.diagram svg {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
}

.diagram__keys {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
  font: 400 12px var(--label);
  color: var(--ink-2);
}

.diagram__keys b {
  color: var(--ink);
}

/* ── the pitch chart ──────────────────────────────────────────────────────── */

.chart {
  margin-top: 22px;
}

.chart h2 {
  font: 700 clamp(26px, 3.4vw, 30px)/1.05 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

.chart__box {
  margin-top: 12px;
  border: 2px solid var(--ink);
  background: var(--card);
  max-height: 420px;
  overflow: auto;
}

.chart table {
  width: 100%;
  border-collapse: collapse;
  font: 400 13px var(--label);
  color: var(--ink-2);
}

.chart th {
  position: sticky;
  top: 0;
  background: var(--ink);
  color: var(--on-char);
  font: 700 10.5px var(--label);
  letter-spacing: 0.08em;
  text-align: right;
  padding: 9px 10px;
}

.chart th:first-child {
  text-align: left;
}

/* Ink on ink is invisible; the header keeps the charcoal ground's own colour. */
.chart td:first-child {
  text-align: left;
  color: var(--ink);
  font-weight: 700;
}

.chart td {
  padding: 8px 10px;
  text-align: right;
  border-bottom: 1px solid var(--hair);
}

.chart tbody tr:hover td {
  background: #fdf6dc;
}

.chart__note {
  font: 400 12px var(--label);
  color: var(--ink-4);
  margin: 8px 0 0;
}

/* ── long-form prose on a calculator page ─────────────────────────────────── */

.prose {
  padding-top: clamp(36px, 5vw, 48px);
  max-width: 74ch;
}

.prose p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 10px 0 0;
  text-wrap: pretty;
}

.prose > p:first-child {
  color: var(--ink);
  margin-top: 0;
}

.prose h2 {
  font: 700 clamp(28px, 4vw, 34px)/1.06 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 34px 0 0;
  text-wrap: balance;
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */

.faq {
  padding-top: clamp(34px, 4.6vw, 44px);
}

.faq h2 {
  font: 700 clamp(28px, 4vw, 34px)/1.06 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

.faq__list {
  margin-top: 16px;
  border-top: 2px solid var(--ink);
  max-width: 74ch;
}

.faq details {
  border-bottom: 1px solid var(--hair);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font: 700 15px var(--label);
  color: var(--warn);
  flex: none;
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq summary:hover {
  color: var(--warn);
}

.faq details > *:not(summary) {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 68ch;
}

/* Inside a bordered card (the support page). */
.faq--boxed .faq__list {
  background: var(--card);
  border: 2px solid var(--ink);
  max-width: none;
}

.faq--boxed summary {
  padding: 15px 20px;
}

.faq--boxed details > *:not(summary) {
  padding: 0 20px;
}

/* ── long-form documents (privacy, terms, support) ────────────────────────── */

.doc {
  padding: clamp(30px, 4.4vw, 44px) 0 clamp(44px, 6vw, 64px);
}

.doc__head {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 26px;
  margin-bottom: 36px;
}

.doc h1 {
  font: 700 clamp(40px, 6.6vw, 62px)/0.95 var(--display);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.doc__dates {
  font: 700 13px var(--label);
  color: var(--ink-3);
  margin: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.doc__lede {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  margin: 22px 0 0;
  max-width: 72ch;
  text-wrap: pretty;
}

.doc h2 {
  font: 700 clamp(25px, 3.4vw, 31px)/1.1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}

.doc h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.doc h3 {
  font: 600 22px/1.2 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 28px 0 8px;
  border-left: 3px solid var(--blade);
  padding-left: 14px;
}

.doc p,
.doc li {
  color: var(--ink-2);
}

.doc li {
  margin-bottom: 8px;
}

.doc ul,
.doc ol {
  padding-left: 22px;
}

.doc strong {
  color: var(--ink);
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 15px;
}

.doc th,
.doc td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--hair);
  vertical-align: top;
  color: var(--ink-2);
}

.doc th {
  background: var(--ink);
  color: var(--on-char);
  font: 700 11px var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* A grid of rows and columns is unreadable below ~520px. Let it scroll in its
   own box rather than forcing the page body sideways. */
.scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.toc {
  background: var(--card);
  border: 2px solid var(--ink);
  padding: 0 0 8px;
  margin-bottom: 40px;
}

.toc p {
  background: var(--ink);
  color: var(--on-char);
  font: 700 10.5px var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
  padding: 11px 20px;
}

.toc ol {
  margin: 0;
  padding: 0 20px 0 40px;
  columns: 2;
  column-gap: 32px;
  font-size: 15px;
}

@media (max-width: 620px) {
  .toc ol {
    columns: 1;
  }
}

.toc li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.toc a {
  text-decoration: none;
  color: var(--ink-2);
}

.toc a:hover {
  text-decoration: underline;
  color: var(--warn);
}

.note {
  border: 2px dashed var(--warn);
  background: #fffdf6;
  padding: 18px 22px;
  margin: 30px 0 0;
  font-size: 16px;
  color: var(--ink-2);
}

.note strong {
  color: var(--ink);
}

/* ── the support page contact strip ───────────────────────────────────────── */

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 26px 0 0;
}

.contact div {
  background: var(--card);
  border: 2px solid var(--ink);
  padding: 16px 20px 18px;
}

.contact div:nth-child(2) {
  background: var(--blade);
}

.contact p:first-child {
  font: 700 10.5px var(--label);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0;
}

.contact div:nth-child(2) p:first-child {
  color: var(--warn);
}

.contact p:last-child {
  margin: 6px 0 0;
  font: 700 25px/1.15 var(--display);
  letter-spacing: 0.02em;
  color: var(--ink);
}

.contact a {
  text-decoration: none;
  word-break: break-word;
}

/* ── the 404 ──────────────────────────────────────────────────────────────── */

.gone {
  padding: clamp(44px, 7vw, 64px) 0 clamp(40px, 6vw, 56px);
  border-bottom: 2px solid var(--ink);
}

.gone h1 {
  font: 700 clamp(42px, 7.4vw, 68px)/0.94 var(--display);
  text-transform: uppercase;
  margin: 16px 0 0;
  max-width: 20ch;
}

.gone p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 18px 0 0;
  max-width: 56ch;
  text-wrap: pretty;
}

/* ── things only the print sheet needs ────────────────────────────────────── */

@media print {
  .site-head,
  .site-foot,
  .switch,
  .pocket,
  .panel__actions {
    display: none;
  }
  body {
    background: #fff;
    font-size: 12pt;
  }
  .working[open] .working__body,
  details {
    display: block;
  }
}

/* ── the hero keypad ───────────────────────────────────────────────────────── */
/*
 * v3 replaced the two-field "try it" panel with a real keypad. The keys carry
 * their own palette rather than the page tokens: this is the app's face, dropped
 * into the site, and it is the one place on the paper ground that goes dark.
 */

.keypad {
  background: var(--card);
  border: 2px solid var(--ink);
}





/* The entry line scrolls rather than wraps: a measurement that outgrows the
   window should slide, not reflow the card mid-keystroke. */
.keypad__entry {
  margin: 14px 26px 14px;
  padding: 7px 12px 9px;
  background: var(--paper);
  border: 2px solid var(--ink);
  overflow: hidden;
  font: 700 30px/1.1 var(--display);
  letter-spacing: 0.02em;
  text-align: right;
  white-space: nowrap;
  direction: rtl;
}

.keypad__entry > span {
  direction: ltr;
  unicode-bidi: bidi-override;
}




.keypad__keys {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 12px 26px 0;
}

.key {
  min-height: 46px;
  padding: 0 2px;
  border: 0;
  border-bottom: 3px solid;
  border-radius: 0;
  font: 700 17px var(--label);
  letter-spacing: 0.04em;
  cursor: pointer;
}

/* Two characters still read at 17px; "FT" and "MM" do not once they are three. */
.key--unit,
.key--fn {
  font-size: 13px;
}

.key--digit {
  background: #232321;
  color: #ffffff;
  border-bottom-color: #0e0e0d;
}

.key--unit {
  background: var(--ground);
  color: var(--blade);
  border-bottom-color: var(--ink);
}

.key--op {
  background: var(--ink);
  color: #ffffff;
  border-bottom-color: #000000;
}

.key--fn {
  background: var(--hair);
  color: var(--ink);
  border-bottom-color: #b5b2a8;
}

.key--eq {
  background: var(--blade);
  color: var(--ink);
  border-bottom-color: var(--blade-deep);
  grid-row: span 2;
}

.key[data-key='0'] {
  grid-column: span 3;
}

.key[data-key='/'] {
  font-size: 17px;
}

/* One flash class for every key kind, so a press reads the same whichever row
   it came from — and so the pointer, the keyboard and the physical key that
   triggered it all land on the same feedback. */
.key.is-hit {
  background: var(--blade);
  color: var(--ink);
  border-bottom-color: var(--blade-deep);
}

.key:active {
  transform: translateY(1px);
}

.keypad__foot {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 10px 26px 16px;
}

.keypad__foot a {
  font: 700 11px var(--label);
  letter-spacing: 0.09em;
  color: var(--ink);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .key {
    min-height: 40px;
  }
}

/* ── settling the calculator into frame ────────────────────────────────────── */
/*
 * On a phone the calculator starts about 470–520px down, under the breadcrumb,
 * the tab strip, the H1 and the lede. Scrolling to it by hand means stopping it
 * somewhere arbitrary and then nudging. One snap point fixes that.
 *
 * `start` rather than `end` on purpose. Where the card fits the window, framing
 * its top puts the whole card in view — every field, every chip and the blade —
 * which is the ask. Where it does not fit (feet and inches runs 811px against a
 * usable ~700px on a 390x844 phone) the top still lands under the window edge
 * and the card runs off the bottom, which is the agreed fallback. No JS, and no
 * measuring: one rule covers both because `start` is what both cases want.
 *
 * `proximity`, never `mandatory` — most of these pages is article, and mandatory
 * would drag a reader back to the calculator every time they let go mid-sentence.
 */

@media (max-width: 900px) {
  html:has(body[data-calc]) {
    scroll-snap-type: y proximity;
  }

  body[data-calc] .calc__tool > .panel {
    scroll-snap-align: start;
    scroll-margin-top: 10px;
  }
}

/* ── the legal pages, two columns ──────────────────────────────────────────── */
/*
 * Terms runs 2,753 words and Privacy 2,031, in fourteen and sixteen numbered
 * sections. v3 pulls the contents list out of the flow and stands it beside the
 * prose, where it stays put while the reader moves — which is the only reason a
 * contents list on a single page earns its space at all.
 *
 * Below 1000px it drops back to what it already was: a card at the top, read
 * once, scrolled past. A sticky sidebar on a phone is just a smaller phone.
 */

.doc .eyebrow {
  margin: 0 0 12px;
}

@media (min-width: 1000px) {
  .doc .wrap--narrow {
    max-width: var(--wide);
    display: grid;
    grid-template-columns: 290px minmax(0, 84ch);
    gap: 0 34px;
    align-items: start;
  }

  .doc__head,
  .doc__lede {
    grid-column: 1 / -1;
  }

  .doc .toc {
    grid-column: 1;
    position: sticky;
    /* Clear of nothing in particular — the header scrolls away with the page —
       so this is breathing room, not clearance. */
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    margin-bottom: 0;
  }

  .doc .toc ol {
    columns: 1;
    padding-left: 36px;
  }

  .doc__body {
    grid-column: 2;
    min-width: 0;
  }
}

/* ── the app promo ─────────────────────────────────────────────────────────── */
/*
 * Charcoal, so it reads as the app arriving on the paper site rather than as
 * another section of it. The hard offset shadow is the same one the calculators
 * menu uses — nothing here floats, it sits on top and casts.
 */

.promo {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 60;
  width: 380px;
  max-width: calc(100vw - 52px);
  background: var(--char);
  color: var(--on-char);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 rgb(0 0 0 / 0.35);
}

.promo__body {
  padding: 13px 18px 16px;
}

.promo__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  font: 700 10.5px var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blade);
}

.promo__x {
  background: none;
  border: 0;
  padding: 0 2px;
  cursor: pointer;
  font: 700 15px var(--label);
  line-height: 1;
  color: var(--on-char-3);
}

.promo__h {
  margin: 5px 0 0;
  font: 700 30px var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.promo__p {
  margin: 7px 0 0;
  font: 400 15.5px/1.55 var(--prose);
  color: var(--on-char-2);
  text-wrap: pretty;
}

.promo__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 14px 0 0;
}

.promo .store {
  background: var(--card);
  color: var(--ink);
  border: 0;
  border-bottom: 3px solid #b5b2a8;
  padding: 11px 16px;
  font: 700 11.5px var(--label);
  letter-spacing: 0.07em;
  text-decoration: none;
  cursor: pointer;
}

/* The promo's buttons are one flat line, not the two-line store lockup the
   footer uses — so the display face does not apply here. */
.promo .store b {
  display: inline;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

.promo .store--soon b::after {
  display: block;
  margin-top: 2px;
}

.promo__not {
  background: none;
  border: 0;
  padding: 6px 2px;
  cursor: pointer;
  font: 700 11px var(--label);
  letter-spacing: 0.09em;
  color: var(--on-char-3);
}

/* On a phone it becomes a sheet on the bottom edge. It only ever appears after
   three solved calculations, so it can never be what covers the calculator on
   the way in. */
@media (max-width: 720px) {
  .promo {
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-width: none;
    box-shadow: 0 -6px 0 rgb(0 0 0 / 0.25);
  }
}

/* ── the wordmark's second half ────────────────────────────────────────────── */
/*
 * The site answers to sawline.ripeseed.io and feetinchescalculator.com. The
 * brand is Sawline; the domain is what people type into a search box. The
 * descriptor says both without turning the wordmark into a sentence — and it
 * only appears where there is room for it beside the nav.
 */

.brand__suffix {
  display: none;
  font: 500 13px var(--label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-char-3);
  font-style: normal;
}

.brand__suffix::before {
  content: '·';
  margin: 0 8px 0 10px;
  color: var(--blade);
}

@media (min-width: 1080px) {
  .brand__suffix {
    display: inline;
  }
}

/* The footer has the whole row to itself, so it says the full name earlier. */
.site-foot .brand__suffix {
  display: inline;
}
