/* Optracs marketing site.
   Palette is locked: warm graphite #1C1917 and burnt orange #C2410C, with the app's own
   warm stone neutrals (src/app/globals.css). The accent is the one action colour.
   CSP: style-src 'self'. Nothing here depends on inline styles; runtime values arrive as
   custom properties set through the CSSOM. */

/* ---------------------------------------------------------------- fonts */
@font-face {
  font-family: Inter;
  src: url("assets/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallback: the four overrides are copied from the app's next/font output
   (.next/static/chunks/1e_lygqkvqgqe.css), so a late font swap does not move the layout. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}

/* --------------------------------------------------------------- tokens */
:root {
  color-scheme: light;
  /* Surfaces, lightest to deepest. --ground is the app's own page colour: every product
     screen on this site sits on it, as it does in Optracs. */
  --paper: #ffffff;
  --canvas: #faf9f7;
  --ground: #f5f5f4;
  --sand: #efebe6;
  /* Ink. Every grey that carries text passes 4.5:1 on white and on --canvas. */
  --ink: #1c1917;
  --ink-2: #57534e;
  --ink-3: #6b655f;
  --line: #e7e5e4;
  --line-2: #d6d3d1;
  /* The dark side. */
  --dark: #1c1917;
  --dark-2: #231f1d;
  --dark-3: #2e2926;
  --on-dark: #ffffff;
  --on-dark-2: #e7e2df;
  --on-dark-3: #aca6a2;
  --rule-dark: rgba(255, 255, 255, 0.14);
  /* The accent, and the step of it that reads on graphite. */
  --accent: #c2410c;
  --accent-600: #aa2900;
  --accent-050: #fff4ed;
  --accent-100: #ffe4d4;
  --accent-on-dark: #f28a61;

  --good: #167e5f;
  --warn: #c9a520;
  --bad: #831111;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-card: 0 1px 2px rgba(28, 25, 23, 0.1);
  --shadow-soft: 0 1px 2px rgba(28, 25, 23, 0.05), 0 10px 28px -14px rgba(28, 25, 23, 0.2);
  --shadow-float: 0 2px 6px rgba(28, 25, 23, 0.08), 0 28px 56px -24px rgba(28, 25, 23, 0.42);
  --shadow-pop: 0 10px 34px rgba(15, 14, 14, 0.2);
  --shadow-crop: 0 1px 2px rgba(28, 25, 23, 0.1), 0 18px 40px -24px rgba(28, 25, 23, 0.25);

  /* Stepped rather than clamp(…vw…): a viewport unit inside a custom property is not
     reliably re-resolved when the window is resized. */
  --gutter: 20px;
  --header-h: 64px;
  --section: 88px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-draw: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-land: cubic-bezier(0.2, 1.1, 0.3, 1);

  --font: Inter, "Inter Fallback", ui-sans-serif, system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --ease-land: linear(0, 0.157 4.4%, 0.491 10.1%, 0.788 16.4%, 0.953 22.3%, 1.03 28.6%, 1.043 33.4%, 1.029 40.7%, 1.006 51.4%, 0.998 64.6%, 1);
  }
}
@media (min-width: 480px) {
  :root {
    --gutter: 24px;
  }
}
@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --section: 112px;
  }
}
@media (min-width: 1024px) {
  :root {
    --header-h: 72px;
    --gutter: 40px;
    --section: 136px;
  }
}

/* ---------------------------------------------------------------- reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11" 1;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 399px) {
  body {
    font-size: 16px;
  }
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--accent-100);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
[data-tone="dark"] :focus-visible,
.site-header.is-dark :focus-visible,
.site-footer :focus-visible,
.cta-card :focus-visible {
  outline-color: var(--accent-on-dark);
}
b,
strong {
  font-weight: 650;
}

.container {
  width: min(100% - 2 * var(--gutter), 1240px);
  margin-inline: auto;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link,
.skip-walk {
  position: absolute;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip-link {
  left: 16px;
  top: 12px;
}
.skip-walk {
  margin-top: -64px;
}
.skip-link:focus,
.skip-walk:focus {
  clip-path: none;
}

/* ---------------------------------------------------------- typography
   One type family, set the way a display face is: tight at the top of the scale, open
   at the bottom. Headings carry the hierarchy; grey carries the detail. */
h2,
.as-h2 {
  font-size: clamp(32px, 1.2rem + 2.7vw, 58px);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.035em;
}
h3,
.as-h3 {
  font-size: clamp(21px, 1.1rem + 0.55vw, 26px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(18px, 1rem + 0.35vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
}
[data-tone="dark"] .lede {
  color: var(--on-dark-2);
}
.tabular,
time,
.plan-price,
.pd-num,
output {
  font-variant-numeric: tabular-nums;
}

/* A kicker: the line above a heading that says what the section is about. */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 2px;
  background: currentColor;
}
[data-tone="dark"] .kicker,
.cta-card .kicker {
  color: var(--accent-on-dark);
}

/* A section's head: kicker, heading, one line. Centred, split, or plain. */
.sec-head {
  display: grid;
  gap: 18px;
  max-width: 760px;
}
.sec-head > .lede {
  max-width: 56ch;
}
.sec-head-center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}
.sec-head-split {
  max-width: none;
}
@media (min-width: 1024px) {
  .sec-head-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 24px 64px;
  }
  .sec-head-split > :first-child {
    display: grid;
    gap: 18px;
  }
  .sec-head-split > .lede,
  .sec-head-split > .sec-aside {
    padding-bottom: 6px;
  }
}

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 160ms var(--ease-out),
    color 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out),
    transform 90ms var(--ease-out);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn .btn-arrow {
  width: 16px;
  height: 16px;
  margin-right: -4px;
  transition: transform 220ms var(--ease-out);
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn-lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 16px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 1px 2px rgba(28, 25, 23, 0.18),
    0 8px 20px -10px rgba(194, 65, 12, 0.7);
}
.btn-primary:hover {
  background: var(--accent-600);
}
.btn-primary:disabled {
  background: var(--line);
  color: var(--ink-2);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.btn-outline {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(28, 25, 23, 0.06);
}
.btn-outline:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #000;
}
.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}
.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
@media (hover: hover) {
  .btn:hover .btn-arrow {
    transform: translateX(3px);
  }
}
.btn-block {
  width: 100%;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition:
    color 160ms var(--ease-out),
    text-decoration-color 160ms var(--ease-out);
}
.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 220ms var(--ease-out);
}
[data-tone="dark"] .text-link,
.cta-card .text-link {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
@media (hover: hover) {
  .text-link:hover {
    color: var(--accent-600);
    text-decoration-color: currentColor;
  }
  [data-tone="dark"] .text-link:hover,
  .cta-card .text-link:hover {
    color: var(--accent-on-dark);
  }
  .text-link:hover svg {
    transform: translateX(3px);
  }
}
main p a,
.faq-side a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
main p a:hover {
  color: var(--accent-600);
}

/* Ticks: a short list of what something does, each line with a check. */
.ticks {
  display: grid;
  gap: 10px;
}
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}
.ticks svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-050);
  color: var(--accent);
  stroke-width: 3;
}
[data-tone="dark"] .ticks li {
  color: var(--on-dark-2);
}
[data-tone="dark"] .ticks svg {
  background: rgba(242, 138, 97, 0.16);
  color: var(--accent-on-dark);
}

/* ------------------------------------------------------------ log-line */
.log-line {
  display: grid;
  grid-template-columns: auto minmax(32px, 1fr) auto;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.log-rule {
  height: 1px;
  background: var(--ink);
  transform-origin: left center;
}
.log-line.rule-pre .log-rule {
  transform: scaleX(0);
}
[data-tone="dark"] .log-line {
  color: var(--on-dark-3);
}
[data-tone="dark"] .log-rule {
  background: var(--rule-dark);
}

/* ------------------------------------------------------------- header
   Frosted white over the page; frosted graphite whenever a dark band is under it, which
   on the home page is the moment it loads (the hero runs up underneath it). */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    background-color 240ms var(--ease-out),
    border-color 160ms var(--ease-out);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.site-header.is-dark {
  background: rgba(28, 25, 23, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.brand {
  position: relative;
  width: 132px;
  flex: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.brand img {
  width: 132px;
  height: auto;
}
.site-header .logo-white {
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 240ms var(--ease-out);
}
.site-header .logo-ink {
  transition: clip-path 240ms var(--ease-out);
}
.site-header.is-dark .logo-white {
  clip-path: inset(0);
}
.site-header.is-dark .logo-ink {
  clip-path: inset(100% 0 0 0);
}
.desktop-nav {
  display: none;
  gap: 4px;
  margin-inline: auto;
}
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 160ms var(--ease-out),
    background-color 160ms var(--ease-out);
}
.desktop-nav a:hover {
  color: var(--ink);
  background: rgba(28, 25, 23, 0.05);
}
.desktop-nav a.is-current {
  color: var(--ink);
  background: rgba(28, 25, 23, 0.06);
}
.site-header.is-dark .desktop-nav a {
  color: var(--on-dark-2);
}
.site-header.is-dark .desktop-nav a:hover,
.site-header.is-dark .desktop-nav a.is-current {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.nav-side {
  display: none;
  align-items: center;
  gap: 8px;
}
.nav-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-code svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.nav-code:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-header.is-dark .nav-code {
  color: #fff;
}
.site-header.is-dark .nav-code svg {
  color: var(--accent-on-dark);
}
.btn-header {
  min-height: 42px;
  padding: 0 20px;
}
.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 200ms var(--ease-out);
}
.menu-toggle span:first-child {
  top: 17px;
}
.menu-toggle span:last-child {
  top: 25px;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
.site-header.is-dark .menu-toggle span {
  background: #fff;
}
.mobile-menu {
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 30px -18px rgba(28, 25, 23, 0.3);
  color: var(--ink);
}
.mobile-menu .container {
  display: flex;
  flex-direction: column;
  padding: 8px 0 24px;
}
.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.mobile-menu .nav-code {
  justify-content: space-between;
  padding: 0;
}
.mobile-menu .btn {
  margin-top: 20px;
}
html.motion .mobile-menu:not([hidden]) {
  animation: sheet-open 220ms var(--ease-out);
}
html.motion .mobile-menu:not([hidden]) .container > * {
  animation: menu-link 260ms var(--ease-out) backwards;
}
html.motion .mobile-menu .container > :nth-child(2) {
  animation-delay: 30ms;
}
html.motion .mobile-menu .container > :nth-child(3) {
  animation-delay: 60ms;
}
html.motion .mobile-menu .container > :nth-child(4) {
  animation-delay: 90ms;
}
html.motion .mobile-menu .container > :nth-child(5) {
  animation-delay: 120ms;
}
html.motion .mobile-menu .container > :nth-child(6) {
  animation-delay: 150ms;
}
@keyframes sheet-open {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes menu-link {
  from {
    transform: translateY(-6px);
  }
}
@media (min-width: 1024px) {
  .desktop-nav,
  .nav-side {
    display: flex;
  }
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* A quiet section label: sentence case, no rule. The ruled, timestamped log-line is kept
   for the moments that carry a time. */
.section-label {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
}
.early .section-label {
  color: var(--on-dark-2);
}

/* Registered so the phone-width camera pans interpolate instead of jumping. */
@property --cam-x {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}

/* ------------------------------------------------------ figures, tags */
.stage {
  position: relative;
}
.sample-tag {
  position: absolute;
  z-index: 6;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.scene {
  position: relative;
  overflow: clip;
  contain: layout paint;
  padding-top: 38px;
}
.replay {
  position: absolute;
  z-index: 7;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 160ms var(--ease-out),
    transform 200ms var(--ease-out);
}
.replay svg {
  width: 18px;
  height: 18px;
}
.replay:hover {
  background: var(--ground);
}
.replay:hover svg {
  transform: rotate(-40deg);
  transition: transform 300ms var(--ease-out);
}
.replay-dark {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.replay-dark:hover {
  background: rgba(255, 255, 255, 0.18);
}
html.motion .replay:not([hidden]) {
  animation: pop-in 240ms var(--ease-out);
}
@keyframes pop-in {
  from {
    transform: scale(0.6);
  }
}

/* Optracs callout — something Optracs did on its own. */
.callout {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(28, 25, 23, 0.35);
}
.callout img {
  width: 18px;
  height: 13px;
  flex: none;
}
.callout .co-i {
  width: 14px;
  height: 14px;
  flex: none;
}
.callout-static {
  position: static;
  box-shadow: none;
}
.leader {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.pointer {
  position: absolute;
  z-index: 8;
  left: 0;
  top: 0;
  transform: translate(var(--px, 0px), var(--py, 0px));
  display: block;
  pointer-events: none;
}
.pointer svg {
  width: 22px;
  height: 22px;
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 1.5;
}
.pointer-tag {
  position: absolute;
  left: 14px;
  top: 18px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.ripple {
  position: absolute;
  left: var(--x, 0px);
  top: var(--y, 0px);
  z-index: 9;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: rgba(28, 25, 23, 0.14);
  pointer-events: none;
}

/* ================================================================ HERO
   Graphite, running up under the header so the page opens dark from the first pixel. A
   warm light sits behind the product; a fine grid under it, fading out, is the only
   texture. */
.hero,
.hero-photo {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--dark);
  color: #fff;
}
.hero {
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 40px) 0 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 45% at 80% 42%, rgba(194, 65, 12, 0.34), transparent 72%),
    radial-gradient(38% 30% at 8% 0%, rgba(255, 255, 255, 0.07), transparent 72%),
    linear-gradient(180deg, var(--dark) 0%, #171412 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 60% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 60% at 60% 35%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: var(--on-dark-2);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.hero-pill-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-on-dark);
  box-shadow: 0 0 0 4px rgba(242, 138, 97, 0.2);
}
.hero-title {
  margin-top: 24px;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(44px, 1.3rem + 4.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.ht-light,
.hp-light {
  display: block;
  font-weight: 300;
  color: var(--on-dark-2);
}
.ht-bold,
.hp-bold {
  display: block;
  font-weight: 650;
}
.hero-lede {
  margin-top: 24px;
  max-width: 44ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin-top: 28px;
  color: var(--on-dark-3);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.hero-facts li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.hero-facts li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.hero-facts b {
  color: #fff;
  font-weight: 650;
}
.hero .sample-tag,
.hero-after .sample-tag {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark-2);
}
html.motion.fonts-pending .hero-title,
html.motion.fonts-pending .stage-hero {
  visibility: hidden;
}

/* The trades the product is for, as the hero's last line. */
.hero-trades {
  display: grid;
  gap: 16px;
  margin-top: 56px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--rule-dark);
}
.hero-trades-h {
  color: var(--on-dark-3);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-trades ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.hero-trades a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--on-dark-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}
.hero-trades .trade-icon {
  width: 24px;
  height: 24px;
  color: #fff;
}
.hero-trades a:hover {
  color: #fff;
}
@media (min-width: 560px) {
  .hero-trades ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 640px) {
  .hero {
    padding-top: calc(var(--header-h) + 64px);
  }
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
  }
  .hero-copy {
    grid-column: 1 / span 7;
    padding-top: 40px;
  }
  .stage-hero {
    grid-column: 8 / span 5;
    /* Bleed to the viewport edge, but never more than 120px: on a wide screen the stage
       (and its replay button) stays beside its figure instead of in the page margin. */
    margin-right: calc(-1 * min(120px, (100vw - min(100vw - 2 * var(--gutter), 1240px)) / 2));
  }
  .hero-trades {
    margin-top: 24px;
  }
  .hero-trades ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 20px;
  }
}

/* The photo-led hero: on only when assets/photos/home-hero exists. */
.hero-photo {
  display: grid;
  margin-top: calc(-1 * var(--header-h));
  min-height: min(92vh, 900px);
}
.hero-photo > .photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: 0;
  aspect-ratio: auto;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(28, 25, 23, 0.9), rgba(28, 25, 23, 0) 55%),
    linear-gradient(to right, rgba(28, 25, 23, 0.82), rgba(28, 25, 23, 0.1) 70%);
}
.hero-photo-inner {
  display: grid;
  gap: 28px;
  align-content: end;
  padding: calc(var(--header-h) + 96px) 0 56px;
}
.hero-photo-title {
  max-width: 13ch;
  font-size: clamp(44px, 2rem + 5.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero-card {
  display: grid;
  gap: 12px;
  max-width: 380px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-lg);
  background: rgba(28, 25, 23, 0.58);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hero-card-price {
  font-size: 22px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.hero-card-price b {
  font-weight: 700;
}
.hero-card-sub {
  color: var(--on-dark-2);
  font-size: 15px;
}
.hero-card .text-link {
  color: #fff;
}
@media (min-width: 1024px) {
  .hero-photo-inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    gap: 40px 48px;
    padding: calc(var(--header-h) + 160px) 0 72px;
  }
  .hero-photo-inner > .hero-pill,
  .hero-photo-title {
    grid-column: 1 / span 8;
  }
  .hero-card {
    grid-column: 9 / span 4;
    grid-row: 2;
    justify-self: end;
  }
}
.hero.hero-after {
  margin-top: 0;
  padding-top: 72px;
}

/* ============================================================ PRODUCT
   Everything inside .scene is a faithful, real-size cut of the app with sample data, in
   the app's own warm stone neutrals (globals.css): #6b655f for meta text, #57534e for
   secondary text, #f5f5f4 behind the cards. */
.scene {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}
/* Tabular figures on amounts, counts, dates and times only, as the app does. On running
   text Inter's tnum widens the hyphen ("EST - 0231"), which the product never shows. */
.scene b,
.band-value,
.clock-cell,
.count-pill,
.col-count,
.jc-value,
.c-lines b,
.c-total b,
.owed-v,
.bal,
.fld-v,
.tl-at,
.file-meta,
.task-due,
.note-meta {
  font-variant-numeric: tabular-nums;
}
.scene svg {
  flex: none;
}
.scene b {
  font-weight: 700;
}

/* badges (src/components/ui/badge.tsx) */
.p-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}
.p-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.p-badge svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}
.p-badge:has(svg)::before,
.p-badge.nodot::before {
  display: none;
}
.t-blue {
  background: #eff6ff;
  color: #1d4ed8;
}
.t-purple {
  background: #ede9fe;
  color: #5b21b6;
}
.t-gold {
  background: #ffeee3;
  color: #aa2900;
}
.t-slate {
  background: #e7e5e4;
  color: #292524;
}
.t-warn {
  background: var(--warn);
  color: var(--ink);
}
.t-amber {
  background: #fef3c7;
  color: #92400e;
}
.t-good {
  background: var(--good);
  color: #fff;
}
.t-bad {
  background: var(--bad);
  color: #fff;
}

.p-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.p-card-h {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
}
.p-card-h > svg {
  width: 16px;
  height: 16px;
  color: var(--accent-600);
}
.p-card-h > .p-btn,
.p-card-h > .count-pill,
.p-card-h > .p-badge {
  margin-left: auto;
}
.p-card-b {
  padding: 0 14px 14px;
}

.p-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.p-btn.sm {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
}
.p-btn.xs {
  height: 30px;
  padding: 0 10px;
  font-size: 12px;
}
.p-btn svg {
  width: 14px;
  height: 14px;
}
.p-btn.pri {
  background: var(--accent);
  color: #fff;
}
.p-btn.out {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.p-btn.ghost {
  color: var(--ink-2);
}
.p-btn.is-pressed {
  transform: translateY(1px) scale(0.97);
}

.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  flex: none;
}
.avatar.sm {
  width: 28px;
  height: 28px;
}

/* ------------------------------------------------------------- crops */
.crop {
  position: relative;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ground);
  box-shadow: var(--shadow-crop);
  -webkit-mask-image:
    linear-gradient(to right, #000 84%, transparent),
    linear-gradient(to bottom, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, #000 84%, transparent),
    linear-gradient(to bottom, #000 86%, transparent);
  mask-composite: intersect;
}
/* L-shaped crop mark at the uncut corner */
.stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-left: 1px solid var(--line-2);
  border-top: 1px solid var(--line-2);
  pointer-events: none;
}
.stage-hero::after {
  left: -14px;
  top: 52px;
}
.stage-m1::after,
.stage-m4::after,
.stage-duo::after {
  left: -14px;
  top: 24px;
}
.stage-phone::after,
.wf-fig::after {
  content: none;
}

/* --------------------------------------------------------------- app */
.app {
  display: grid;
  grid-template-columns: 200px 560px;
  width: 760px;
  min-height: 460px;
  background: var(--ground);
}
.rail {
  padding: 18px 12px;
  background: var(--ink);
  color: #e3dedc;
}
.rail-logo {
  width: 108px;
  height: 26px;
  margin: 2px 0 0 10px;
}
.ws {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 8px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
.ws-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.ws-text {
  display: grid;
  line-height: 1.25;
}
.ws-name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.ws-role {
  color: var(--on-dark-3);
  font-size: 12px;
}
.rail-group {
  margin: 16px 0 6px 12px;
  color: var(--on-dark-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.rail-item svg {
  width: 16px;
  height: 16px;
}
.rail-item.is-active {
  background: #222120;
  box-shadow: inset 3px 0 0 var(--accent);
  color: #fff;
  font-weight: 600;
}
.app-main {
  min-width: 0;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 250px;
  margin-right: auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ground);
  color: var(--ink-2);
  font-size: 13px;
}
.search svg,
.tb-bell {
  width: 16px;
  height: 16px;
}
.tb-bell {
  color: var(--ink-2);
}
.tb-user {
  display: grid;
  text-align: right;
  line-height: 1.25;
}
.tb-name {
  font-size: 14px;
  font-weight: 600;
}
.tb-role {
  font-size: 12px;
  color: var(--ink-3);
}
.pg {
  padding: 24px 28px;
  background: var(--ground);
}
.date-stamp {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.greet {
  margin-top: 4px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.summary {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 16px;
}
.greet.sm {
  margin-top: 0;
  font-size: 22px;
}
.summary.sm {
  margin-top: 4px;
  font-size: 13px;
}
.band {
  display: grid;
  grid-template-columns: repeat(4, auto);
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.band-cell {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
}
.band-cell + .band-cell {
  border-left: 1px solid var(--ground);
}
.band-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-2);
  font-size: 12px;
  white-space: nowrap;
}
.band-value {
  font-size: 25px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sq {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.sq-accent {
  background: var(--accent);
}
.sq-insight {
  background: #7c3aed;
}
.sq-materials {
  background: #14b8a6;
}
.sq-ops {
  background: #f59e0b;
}
/* desktop "What needs you" (dashboard/page.tsx): 4px bar, badge + title on one line,
   detail under it, the call to action on the right. */
.dneeds {
  margin-top: 16px;
}
.dneeds .p-card-h > .count-pill {
  margin-left: 0;
}
.dneeds-list {
  display: grid;
  padding: 0 8px 8px;
}
.drow {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 8px;
}
.drow .sev {
  width: 4px;
  height: 32px;
  border-radius: 999px;
}
.drow-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.drow-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.drow-title {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.drow-detail {
  overflow: hidden;
  color: var(--ink-2);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.drow-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-600);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.drow-cta svg {
  width: 12px;
  height: 12px;
}

/* ------------------------------------------------------------- phone */
.phone {
  position: relative;
  width: 300px;
  height: 612px;
  flex: none;
  border: 10px solid var(--ink);
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(28, 25, 23, 0.35);
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 50%;
  width: 72px;
  height: 20px;
  margin-left: -36px;
  border-radius: 10px;
  background: var(--ink);
}
/* A phone whose page is short: the bottom of the handset is cut away with a fade instead
   of showing an empty screen. */
.phone.is-short {
  height: 520px;
  -webkit-mask-image: linear-gradient(#000 84%, transparent);
  mask-image: linear-gradient(#000 84%, transparent);
}
@media (max-width: 359px) {
  .phone.is-short {
    aspect-ratio: 300 / 520;
  }
}
.ph-screen {
  position: absolute;
  inset: 0;
  overflow: clip;
  border-radius: 34px;
  background: var(--ground);
}
.ph-status {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 6px 0 0 26px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.phone-customer .ph-status {
  background: #0e5f6e;
  color: #fff;
}
.ph-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.ph-bar > svg {
  width: 20px;
  height: 20px;
}
.ph-title {
  margin-right: auto;
  font-size: 14px;
  font-weight: 600;
}
.ph-body {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
}
.ph-body > .p-badge {
  justify-self: start;
}

/* phone: What needs you */
.needs .p-card-h {
  padding: 11px 12px;
  font-size: 14px;
}
.count-pill {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.need {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid var(--ground);
}
.sev {
  border-radius: 2px;
}
.sev-bad {
  background: var(--bad);
}
.sev-warn {
  background: var(--warn);
}
.need-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.need-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.need-cta {
  color: var(--accent-600);
  font-size: 12px;
  font-weight: 600;
}
.need-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.need-detail {
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.35;
}

/* ------------------------------------------------------ hero stage */
.stage-hero {
  min-height: 720px;
}
.stage-hero .scene {
  height: 800px;
  padding: 0;
}
.stage-hero .sample-tag {
  left: 0;
  top: 0;
}
/* The office at the back with its rail showing; the phone set down over its lower right. */
.crop-hero {
  position: absolute;
  left: 0;
  top: 38px;
  width: 100%;
  max-width: 760px;
  height: 500px;
}
.phone-hero {
  position: absolute;
  right: 40px;
  top: 178px;
  z-index: 2;
}
@media (max-width: 1279px) and (min-width: 1024px) {
  .hero-title {
    font-size: 64px;
  }
  .phone-hero {
    right: var(--gutter);
  }
}
@media (max-width: 1023px) {
  .stage-hero {
    min-height: 0;
  }
  .stage-hero .scene {
    height: auto;
    padding-top: 38px;
  }
  .stage-hero .sample-tag {
    left: 0;
    top: 0;
  }
  .stage-hero::after {
    display: none;
  }
}
@media (max-width: 1023px) and (min-width: 640px) {
  .stage-hero .scene {
    height: 790px;
  }
  .crop-hero {
    left: 0;
    top: 38px;
    width: calc(100% + var(--gutter));
    height: 380px;
  }
  .phone-hero {
    left: auto;
    right: 24px;
    top: 150px;
  }
}
@media (max-width: 639px) {
  /* Phone first: the product enters the first screen, the price strip follows it. */
  .hero-grid {
    gap: 0;
  }
  .hero-copy {
    display: contents;
  }
  .stage-hero {
    order: 1;
    margin-top: 28px;
  }
  .hero-facts {
    order: 2;
    margin-top: 8px;
  }
  .crop-hero {
    display: none;
  }
  .phone-hero {
    position: relative;
    top: 0;
    right: auto;
    margin-inline: auto;
  }
  /* The fade lives on the scene, whose edge is where the phone is cut. */
  .stage-hero .scene {
    height: 500px;
    -webkit-mask-image: linear-gradient(#000 72%, transparent);
    mask-image: linear-gradient(#000 72%, transparent);
  }
}

/* ============================================================ JOB LOG */
.log {
  position: relative;
  isolation: isolate;
  padding-top: 72px;
  overflow-x: clip;
}
/* The top of a page that opens on its own section rather than a page head: the same warm
   ground and fading grid, from the breadcrumb down. */
.log::before,
.pricing::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 560px;
  background-image:
    linear-gradient(rgba(28, 25, 23, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 25, 23, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, var(--canvas), rgba(250, 249, 247, 0));
  background-size: 48px 48px, 48px 48px, auto;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
  pointer-events: none;
}
.crumbs-bar:has(+ .log),
.crumbs-bar:has(+ .pricing) {
  background: var(--canvas);
}
.log-head .page-title {
  margin-top: 0;
}
.log-head {
  display: grid;
  gap: 20px;
  max-width: 760px;
  padding-bottom: 32px;
}
.log-head .log-line {
  margin-bottom: 4px;
}
.log-intro {
  max-width: 58ch;
  color: var(--ink-2);
  font-size: 18px;
}
.legend {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  font-size: 15px;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.legend-pointer {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
}
.legend-pointer svg {
  width: 22px;
  height: 22px;
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 1.5;
}
.legend .callout {
  min-width: 30px;
}

.log-grid {
  position: relative;
}
.moment {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.moment-copy {
  display: grid;
  gap: 16px;
  max-width: 560px;
  margin-bottom: 36px;
}
.moment-copy > p:not(.log-line) {
  color: var(--ink-2);
}
.moment-copy .fine {
  font-size: 14px;
  line-height: 1.5;
}
.moment-copy h2,
.moment-copy h3 {
  margin-top: 4px;
}

/* mobile clock bar */
.mobile-clock {
  display: none;
}
html.js .mobile-clock {
  position: sticky;
  z-index: 20;
  top: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 44px;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.mc-read {
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mc-track {
  position: relative;
  flex: 1;
  max-width: 180px;
  height: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mc-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line-2);
}
.mc-tick {
  position: relative;
  width: 1px;
  height: 10px;
  background: var(--ink-3);
}
.mc-tick:last-of-type {
  visibility: hidden;
}
.mc-needle {
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(calc(var(--needle, 0) * 180px));
}
.day-rail {
  display: none;
}

@media (min-width: 1024px) {
  html.js .mobile-clock {
    display: none;
  }
  .log {
    padding-top: 96px;
  }
  .log-grid {
    display: grid;
    grid-template-columns: 152px minmax(0, 1fr);
    column-gap: 32px;
  }
  html.js .day-rail {
    position: sticky;
    top: 96px;
    display: grid;
    align-self: start;
    gap: 20px;
    padding-top: 64px;
  }
  html:not(.js) .moments {
    grid-column: 1 / -1;
  }
  .moments {
    grid-column: 2;
  }
  .moment {
    padding: 88px 0;
  }
}
@media (min-width: 1280px) {
  .log-grid {
    grid-template-columns: 176px minmax(0, 1fr);
    column-gap: 40px;
  }
  .moment {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    column-gap: 56px;
    align-items: start;
  }
  .moment-copy {
    position: sticky;
    top: 120px;
    margin-bottom: 0;
  }
  .moment .stage {
    /* Bleed to the viewport edge, but never more than 120px: on a wide screen the stage
       (and its replay button) stays beside its figure instead of in the page margin. */
    margin-right: calc(-1 * min(120px, (100vw - min(100vw - 2 * var(--gutter), 1240px)) / 2));
  }
}

/* the clock rail */
.dr-read {
  display: grid;
  gap: 6px;
}
.dr-day {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.dr-time {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.dr-digits {
  font-size: clamp(56px, 3rem + 3vw, 104px);
  font-size: clamp(44px, 1.6rem + 1.8vw, 64px);
  line-height: 0.9;
  font-weight: 300;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.dr-mer {
  padding-top: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.dr-track {
  position: relative;
  height: max(200px, 100vh - 380px);
  margin-left: 4px;
  border-left: 1px solid var(--line-2);
}
.dr-tick {
  position: absolute;
  left: 0;
  padding-left: 14px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  translate: 0 -50%;
}
.dr-tick::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--line-2);
}
.dr-t0 {
  top: 0;
}
.dr-t1 {
  top: 25%;
}
.dr-t2 {
  top: 50%;
}
.dr-t3 {
  top: 75%;
}
.dr-needle {
  position: absolute;
  left: -5px;
  top: 0;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(calc(var(--needle, 0) * var(--track-h, 200px)));
}
.dr-needle::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 4px;
  width: 22px;
  height: 1px;
  background: var(--accent);
}

/* roll cells (odometer) */
.roll {
  display: inline-flex;
  vertical-align: top;
}
.roll-c {
  position: relative;
  display: inline-block;
  overflow: clip;
  height: 1.2em;
  height: 1lh;
  vertical-align: top;
  white-space: pre;
}
.roll-c > span {
  display: block;
}
.roll-c > .roll-old {
  position: absolute;
  inset: 0;
}

/* --------------------------------------------------- stages in moments */
.moment .stage .scene {
  padding-top: 38px;
}
.stage .sample-tag {
  top: 4px;
}

/* M1: pipeline + jobs board */
/* The crop is a browser window on one tall page: the camera (--cam-y) scrolls it, so the
   pipeline beat and the jobs-board beat share a laptop-sized frame. JS measures the final
   framing; the value below is the same framing for a visitor without JavaScript. */
.crop-m1 {
  width: 800px;
  height: 500px;
  -webkit-mask-image:
    linear-gradient(to right, #000 84%, transparent),
    linear-gradient(to bottom, transparent, #000 22px, #000 86%, transparent);
  mask-image:
    linear-gradient(to right, #000 84%, transparent),
    linear-gradient(to bottom, transparent, #000 22px, #000 86%, transparent);
}
.pg-m1 {
  --cam-y: -232px;
  transform: translateY(var(--cam-y));
}
.pg-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.pg-desc {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 14px;
}
.bd {
  min-height: var(--bd-min, 0px);
  display: flex;
  gap: 12px;
  margin-top: 16px;
  align-items: flex-start;
}
.col {
  display: grid;
  width: 236px;
  flex: none;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--ground);
  background: #f0eeec;
}
.col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 0;
}
.col-count {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.col-body {
  display: grid;
  gap: 8px;
  min-height: 12px;
  align-content: start;
}
.col-foot {
  display: flex;
  justify-content: space-between;
  padding: 2px 4px;
  color: var(--ink-2);
  font-size: 12px;
}
.col-foot b {
  color: var(--ink);
}
.deal {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.deal-top {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: -4px;
}
.grip {
  width: 14px;
  height: 14px;
  color: var(--ink-3);
}
.deal-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}
.deal-contact {
  color: var(--ink-2);
  font-size: 12px;
}
.deal-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.deal-value b {
  font-size: 14px;
}
.deal-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-size: 12px;
}
.deal-meta svg {
  width: 13px;
  height: 13px;
}
.touch.is-never {
  color: #a16207;
}
.deal-sla {
  display: flex;
}
.log-btn {
  margin-top: 4px;
  width: 100%;
}
.log-form {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}
.ta {
  position: relative;
  display: block;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  line-height: 1.4;
}
.ta-ph {
  color: var(--ink-3);
}
.ta.has-text .ta-ph {
  display: none;
}
.ta-text.typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--ink);
}
.log-form-actions {
  display: flex;
  gap: 6px;
}
.deal.is-lifted,
.jcard.is-lifted {
  box-shadow: var(--shadow-pop);
  z-index: 3;
}
.board-cap {
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.refusal {
  max-width: 484px;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 14px;
  line-height: 1.45;
}
.jb {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  align-items: flex-start;
}
.tray {
  display: grid;
  gap: 10px;
  width: 236px;
  flex: none;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f0eeec;
}
.tray-body {
  display: grid;
  gap: 8px;
  min-height: 20px;
  align-content: start;
}
.jcard {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.jc-title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: -4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.jc-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-size: 12px;
}
.jc-meta svg {
  width: 12px;
  height: 12px;
}
.jc-value {
  color: var(--accent-600);
  font-size: 13px;
  font-weight: 700;
}
.co-moved {
  left: 360px;
  top: 64px;
}
/* Below the Scheduled column's only card, level with the job it points at. */
.co-lock {
  left: var(--co-x, 290px);
  top: var(--co-y, 470px);
}

/* M2 / M5: phone moments */
.stage-m2 .ph-body {
  --ph-y: -98px;
  transform: translateY(var(--ph-y));
}
.stage-m5 .ph-body {
  transform: translateY(var(--ph-y, 0px));
}
.stage-m2 .ph-status,
.stage-m2 .ph-bar,
.stage-m5 .ph-status,
.stage-m5 .ph-bar {
  position: relative;
  z-index: 2;
}
.stage-phone .scene {
  display: flex;
  justify-content: flex-start;
  padding-bottom: 32px;
}
@media (min-width: 1024px) {
  .stage-m2 .scene {
    padding-left: 72px;
  }
  .stage-m5 .scene {
    justify-content: flex-end;
    padding-right: 72px;
  }
  .moment .stage-phone {
    margin-right: 0;
  }
  .stage-m5 .sample-tag {
    left: auto;
    right: 372px;
    transform: translateX(100%);
  }
}
.crumb {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-2);
  font-size: 12px;
}
.crumb svg {
  width: 12px;
  height: 12px;
}
.rec-title {
  margin-top: -4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.rec-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: -4px;
  color: var(--ink-2);
  font-size: 13px;
}
.rec-meta svg {
  width: 14px;
  height: 14px;
}
.files-card .p-card-h,
.notes-card .p-card-h,
.tasks-card .p-card-h {
  padding: 10px 12px;
  font-size: 14px;
}
.files-card .p-card-b,
.notes-card .p-card-b,
.tasks-card .p-card-b {
  padding: 0 12px 12px;
}
.empty-note {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}
.file-list {
  display: grid;
}
.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--ground);
}
.file-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.file-tile {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}
.file-tile svg {
  width: 18px;
  height: 18px;
}
.file-tile.light {
  background: var(--ground);
  color: var(--ink-2);
}
.file-txt {
  display: grid;
  min-width: 0;
  line-height: 1.3;
}
.file-name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-meta {
  color: var(--ink-3);
  font-size: 12px;
}
.ta-note {
  min-height: 64px;
}
.listening {
  display: block;
  margin-top: 6px;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 600;
}
.note-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.dict-btn.is-live {
  box-shadow: inset 0 0 0 1px #fca5a5;
  color: #b91c1c;
}
.note {
  display: grid;
  gap: 2px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: var(--ground);
}
.note-text {
  font-size: 13px;
  line-height: 1.4;
}
.note-meta {
  color: var(--ink-2);
  font-size: 12px;
}
.task {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--ground);
}
.task:first-child {
  border-top: 0;
  padding-top: 0;
}
.task-ic {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}
.task-ic svg {
  position: absolute;
  inset: 0;
  width: 18px;
  height: 18px;
}
.ic-open {
  color: var(--ink-3);
}
.ic-done {
  color: var(--good);
}
.task.is-open .ic-done,
.task.is-done .ic-open {
  visibility: hidden;
}
.task-txt {
  display: grid;
  line-height: 1.35;
}
.task-title {
  justify-self: start;
  font-size: 14px;
  text-decoration-line: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: transparent;
}
/* A real line-through, as the app renders it: every wrapped line is struck. */
.task.is-done .task-title {
  color: var(--ink-3);
  text-decoration-color: currentColor;
}
.task-due {
  color: var(--ink-2);
  font-size: 12px;
}
.tasks-card .p-card-h .p-badge {
  padding: 1px 8px;
}

/* M3: estimate */
.crop-m3 {
  width: 660px;
  height: 640px;
}
.pg-m3 {
  min-height: 100%;
}
.est-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.pg-m3 .est-title {
  flex-basis: 100%;
}
.est-title {
  font-size: 18px;
  font-weight: 700;
}
.est-head .send-btn {
  margin-left: 4px;
}
/* The lines came from the catalog at 32%, under the 35% target; the slider moves them to 38%.
   The desk column stays left of the customer's phone, which covers the rest of the crop. */
.pg-m3 .m3-lines,
.pg-m3 .m3-margin {
  max-width: 340px;
  margin-top: 14px;
}
.m3-lines .fv-lines-h,
.m3-lines .fv-line {
  padding: 8px 12px;
}
.m3-lines .fv-add {
  margin: 8px 12px 10px;
  padding: 6px 12px;
}
.pg-m3 .m3-margin {
  padding: 12px 14px;
}
.m3-margin.is-below {
  border-color: #fde68a;
  background: #fffbeb;
}
.m3-margin.is-below .fv-margin-v b {
  color: #b45309;
}
@media (prefers-reduced-motion: no-preference) {
  .m3-margin,
  .m3-margin .fv-margin-v b {
    transition:
      background-color 0.5s,
      border-color 0.5s,
      color 0.5s;
  }
}
.m3-grade {
  display: inline-flex;
}
.m3-slider.at-start .fv-track i {
  width: 35.56%;
}
.m3-slider.at-start .fv-track em {
  left: 35.56%;
}
/* estimates-timeline.tsx: 28px tone circles joined by a 1px rule. Pending: slate dot,
   #6b655f text (the app's slate-400, substituted for contrast). */
.tl-card {
  width: 330px;
  margin-top: 16px;
}
.tl {
  display: grid;
  gap: 0;
}
.tl-step {
  position: relative;
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
}
.tl-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13.5px;
  top: 32px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}
.tl-ic {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
}
.tl-ic svg {
  width: 14px;
  height: 14px;
}
.tl-gold {
  background: var(--accent);
  color: var(--ink);
}
.tl-blue {
  background: #3b82f6;
  color: #fff;
}
.tl-green {
  background: #10b981;
  color: #fff;
}
.tl-pend {
  display: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d6d3d1;
}
.tl-step.is-pending .tl-ic {
  background: var(--ground);
}
.tl-step.is-pending .tl-ic svg {
  display: none;
}
.tl-step.is-pending .tl-pend {
  display: block;
}
.tl-step.is-pending .tl-label {
  color: var(--ink-3);
}
.tl-txt {
  display: grid;
}
.tl-label {
  font-size: 14px;
  font-weight: 600;
}
.tl-at {
  color: var(--ink-3);
  font-size: 12px;
}

.ph-page {
  position: relative;
  height: calc(100% - 36px);
  overflow: clip;
  background: #fff;
}
.brand-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 14px;
  background: #0e5f6e;
  color: #fff;
}
.yc-col {
  display: grid;
  gap: 2px;
}
.yc-mark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.yc-phone {
  font-size: 12px;
}
.yc-hi {
  display: grid;
  max-width: 130px;
  text-align: right;
  line-height: 1.25;
}
.yc-hi-name {
  font-size: 13px;
  font-weight: 700;
}
.yc-hi-sub {
  font-size: 12px;
}
@media (max-width: 359px) {
  .yc-phone {
    display: none;
  }
}
.brand-rule {
  height: 4px;
  background: #f4c430;
}
.cust-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 14px;
}
.cust-title {
  font-size: 18px;
  font-weight: 700;
}
.cust-sub {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.4;
}
.c-lines {
  display: grid;
  margin-top: 2px;
  border-top: 1px solid var(--line);
}
.c-lines p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.c-lines b {
  font-weight: 600;
  white-space: nowrap;
}
.c-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #0e5f6e;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.c-total b {
  color: #f4c430;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.c-accept {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  margin-top: 2px;
  border-radius: 8px;
  background: #0e5f6e;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.c-accept svg {
  width: 16px;
  height: 16px;
}
.c-decline {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.c-foot {
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.4;
}
.stage-duo .scene {
  height: 740px;
}
.stage-duo .crop {
  position: absolute;
  left: 0;
  top: 38px;
}
.stage-duo .phone {
  position: absolute;
  z-index: 2;
  right: 24px;
  top: 88px;
}
/* Above the phone, right of the estimate title: never over product text. */
.co-emailed {
  left: 332px;
  top: 46px;
}
/* Where "Emailed" was, pointing at the status that now reads Accepted. */
.co-won {
  left: 332px;
  top: 46px;
}

/* M4: jobs board */
.crop-m4 {
  width: 820px;
  height: 520px;
}
.jb-wide {
  margin-top: 16px;
}
.stage-m4 .scene {
  height: 580px;
}
.co-unlock {
  left: 300px;
  top: 60px;
}

/* M6: invoice + portal */
.crop-m6 {
  width: 520px;
  height: 640px;
}
.inv-grid {
  display: grid;
  grid-template-columns: 340px;
  gap: 12px;
  align-items: start;
}
.inv-main {
  display: grid;
  gap: 12px;
}
.inv-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.inv-card {
  padding: 14px;
}
.inv-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
}
.inv-total {
  border-top: 1px solid var(--line);
  font-weight: 700;
}
.inv-sub {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pay-empty {
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 13px;
}
.pay-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--ground);
  font-size: 12px;
}
.rp-form {
  display: grid;
  gap: 10px;
}
.rp-bal {
  color: var(--ink-2);
  font-size: 13px;
}
.rp-bal b {
  color: var(--ink);
}
.rp-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.fld {
  display: grid;
  gap: 3px;
}
.fld-l {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}
.fld-v {
  padding: 6px 8px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-size: 13px;
}
.rp-btn {
  justify-self: start;
}
.paid-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
  font-size: 13px;
  font-weight: 600;
}
.paid-note svg {
  width: 16px;
  height: 16px;
}
.owed-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 12px;
}
.owed-l {
  color: var(--ink-2);
}
.owed-v {
  font-weight: 700;
  text-align: right;
}
.owed-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--ground);
  overflow: clip;
}
.owed-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: rgba(28, 25, 23, 0.85);
  transform-origin: left;
}
.owed-current {
  transform: scaleX(0.33);
}
.owed-current.is-full {
  transform: none;
}
.owed-zero {
  transform: scaleX(0);
}
.o-w100 {
  transform: none;
}
.o-w37 {
  transform: scaleX(0.37);
}
.portal-body {
  gap: 6px;
}
.bal {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.portal-h {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}
.portal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}
.signed {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--good);
  font-size: 12px;
  font-weight: 600;
}
.signed svg {
  width: 14px;
  height: 14px;
}
.stage-m6 .phone {
  top: 110px;
}
.co-owed {
  left: 44px;
  top: 578px;
}

/* small screens: crops become full-bleed bands with a camera */
@media (max-width: 1023px) {
  .moment .stage .scene {
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
  }
  .stage-m1 .crop,
  .stage-m4 .crop {
    width: auto;
  }
}
@media (max-width: 639px) {
  .stage-m1 .scene {
    padding-bottom: 48px;
  }
  .crop-m1 {
    height: 520px;
  }
  .pg-m1 {
    --cam-y: -300px;
  }
  .pg-m1,
  .pg-m4 {
    padding: 18px 16px;
  }
  .pg-m1 {
    --cam-x: -232px;
  }
  .pg-m1 > :not(.pg-title):not(.pg-desc),
  .pg-m4 > :not(.pg-title):not(.pg-desc) {
    width: max-content;
    transform: translateX(var(--cam-x));
  }
  .pg-m1 .col {
    width: 220px;
  }
  .pg-m1 .jb {
    margin-left: 232px;
  }
  .pg-m1 .refusal {
    margin-left: 232px;
    max-width: min(440px, 100vw - 2 * var(--gutter) - 34px);
    font-size: 13px;
  }
  .pg-m1 .board-cap {
    margin-left: 232px;
    margin-top: 16px;
  }
  .pg-m1 .tray {
    width: 220px;
  }
  .stage-m4 .scene {
    height: 560px;
    padding-bottom: 48px;
  }
  .crop-m4 {
    height: 470px;
  }
  .pg-m4 {
    --cam-x: -232px;
  }
  .pg-m4 .tray {
    width: 220px;
  }
  .callout {
    left: var(--gutter) !important;
    top: auto !important;
    bottom: 10px;
    max-width: calc(100% - 2 * var(--gutter));
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .leader {
    display: none;
  }
  .stage-duo .scene {
    display: grid;
    gap: 20px;
    height: auto;
    padding-bottom: 52px;
  }
  .stage-duo .phone {
    position: relative;
    left: auto;
    top: auto;
    margin-inline: auto;
    order: -1;
  }
  .stage-duo .crop {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .pg-m3 .m3-lines,
  .pg-m3 .m3-margin {
    max-width: none;
  }
  .crop-m3 .est-head {
    flex-wrap: wrap;
  }
  .crop-m3 .send-btn {
    margin-left: 0;
  }
  .pg-m3 {
    padding: 18px;
  }
  .crop-m6 .inv-head,
  .crop-m6 .inv-card,
  .crop-m6 .owed-card {
    display: none;
  }
  .inv-grid {
    grid-template-columns: 1fr;
  }
  .pg-m6 {
    padding: 16px;
  }
  .stage-duo::after,
  .stage-m1::after,
  .stage-m4::after {
    display: none;
  }
}
@media (min-width: 640px) and (max-width: 1279px) {
  .stage-duo .scene {
    height: 720px;
  }
  .stage-duo .phone {
    left: auto;
    right: var(--gutter);
  }
  .stage-duo .crop {
    width: min(660px, 100% - 80px);
  }
  .stage-m1 .crop,
  .stage-m4 .crop {
    width: 100%;
  }
  .co-emailed,
  .co-won {
    left: auto;
    right: 200px;
  }
}
@media (max-width: 359px) {
  .phone {
    width: min(100% - 32px, 300px);
    height: auto;
    aspect-ratio: 300 / 612;
  }
}

/* ------------------------------------------------------- close band */
.close-band {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 88px 0 120px;
  background: var(--ink);
  color: #fff;
}
.symbol-field,
.close-band::before,
.early::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -120px;
  background: url("assets/optracs-symbol-white.svg") 0 0 / 116px auto repeat;
  opacity: 0.02;
  pointer-events: none;
  transform: translate(calc(var(--drift, 0) * -116px), calc(var(--drift, 0) * -116px));
}
.close-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.close-copy {
  display: grid;
  gap: 18px;
  max-width: 560px;
}
.clock-display {
  font-size: clamp(56px, 3rem + 3vw, 104px);
  line-height: 0.9;
  font-weight: 300;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.clock-display span {
  margin-left: 4px;
  font-size: 0.22em;
  font-weight: 700;
  letter-spacing: 0.1em;
  vertical-align: 0.2em;
}
.close-copy h2,
.close-copy h3 {
  color: #fff;
  font-size: clamp(26px, 1.3rem + 1.2vw, 36px);
}
.close-copy > p:last-child {
  color: var(--on-dark-2);
}
.stage-close .sample-tag {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--ink);
  color: var(--on-dark-2);
}
.stage-close .scene {
  justify-content: center;
  padding-bottom: 32px;
}
.stage-close .phone {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 30px 60px -24px rgba(0, 0, 0, 0.6);
}
.all-clear {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 22px 16px 24px;
  text-align: center;
}
.ac-circle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--good);
  color: #fff;
}
.ac-circle svg {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}
.ac-text {
  color: var(--good);
  font-size: 14px;
  font-weight: 500;
}
@media (min-width: 1024px) {
  .close-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* =========================================================== WORKFLOW */
.workflow {
  padding: 120px 0 128px;
  background: var(--ground);
  overflow-x: clip;
}
.wf-head {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
.wf-intro {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 58ch;
}
@media (min-width: 1024px) {
  .wf-head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 48px;
    align-items: end;
  }
  .wf-head h2 {
    grid-column: 1 / span 7;
  }
  .wf-intro {
    grid-column: 8 / span 5;
  }
}
.workflow-tabs {
  position: relative;
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin-top: 48px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.workflow-tabs [role="tab"] {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color 240ms var(--ease-out);
}
.workflow-tabs [role="tab"] svg {
  width: 16px;
  height: 16px;
}
.workflow-tabs [role="tab"][aria-selected="true"] {
  color: #fff;
}
.tab-indicator {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 4px;
  width: 100px;
  height: calc(100% - 8px);
  border-radius: 9px;
  background: var(--ink);
  transform-origin: left;
  transform: translateX(var(--ti-x, 4px)) scaleX(var(--ti-s, 1));
}
html.motion .tab-indicator.is-ready {
  transition: transform 320ms var(--ease-out);
}
@media (max-width: 479px) {
  .workflow-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }
  .workflow-tabs [role="tab"] {
    padding: 0 6px;
    font-size: 14px;
  }
}
@media (max-width: 399px) {
  .workflow-tabs [role="tab"] svg {
    display: none;
  }
}
.wf-panel {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}
.wf-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}
.wf-copy > p {
  color: var(--ink-2);
}
.can-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  font-size: 16px;
}
.can-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.can-list svg {
  width: 16px;
  height: 16px;
  margin-top: 5px;
  color: var(--ink);
}
.can-list .not {
  color: var(--ink-2);
}
.wf-fig {
  position: relative;
}
.wf-window {
  max-height: 440px;
  margin-top: 0;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--ground);
  box-shadow: var(--shadow-crop);
}
.wf-fig > .sample-tag {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}
.pg-owner,
.pg-sales {
  padding: 20px;
}
.band-4 {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.band-4 .band-cell:nth-child(3) {
  border-left: 0;
}
.band-4 .band-cell:nth-child(n + 3) {
  border-top: 1px solid var(--ground);
}
.owed-owner {
  margin-top: 14px;
}
/* dashboard Pipeline funnel: label, "count · value", a 10px bar (Won in green) */
.fn-list {
  display: grid;
  gap: 12px;
}
.fn-row {
  display: grid;
  gap: 5px;
}
.fn-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
}
.fn-l {
  font-weight: 600;
}
.fn-v {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.fn-bar {
  height: 10px;
  border-radius: 999px;
}
.fn-fill {
  border-radius: 999px;
  background: var(--accent);
}
.fn-fill.fn-won {
  background: var(--good);
}
.o-w33 {
  transform: scaleX(0.33);
}
/* /tasks on a phone: four stat cards, then sections with a count */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.stat {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.stat-l {
  color: var(--ink-2);
  font-size: 12px;
}
.stat-v {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tk-count {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
}
.due-today {
  color: #b45309;
  font-weight: 600;
}
.owed-owner .owed-row {
  grid-template-columns: 80px 1fr 72px;
  font-size: 13px;
}
.sla-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 500;
}
.sla-banner svg {
  width: 16px;
  height: 16px;
}
.sales-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 236px));
  gap: 12px;
  margin-top: 14px;
  align-items: start;
}
.deal-over.is-overdue {
  border-color: var(--bad);
  box-shadow: inset 0 0 0 1px var(--bad);
}
.wf-fig-phone .scene {
  display: flex;
  justify-content: center;
  padding: 0;
}
.sign-slot {
  display: flex;
}
.c-sign {
  padding: 5px 14px;
  border-radius: 8px;
  background: #0e5f6e;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.sign-panel {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 10px;
  padding: 16px 14px 22px;
  border-top: 1px solid var(--line);
  border-radius: 16px 16px 0 0;
  background: #fafaf9;
  box-shadow: 0 -12px 30px -12px rgba(28, 25, 23, 0.25);
}
.sp-title {
  font-size: 15px;
  font-weight: 700;
}
.sp-label {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}
.sp-input {
  display: block;
  height: 42px;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
}
.sp-name {
  display: inline-block;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.4;
}
.sp-check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-box {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: #fff;
  color: transparent;
}
.sp-box svg {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}
.sp-check.is-on .sp-box {
  border-color: #0e5f6e;
  background: #0e5f6e;
  color: #fff;
}
.sp-skel {
  display: grid;
  flex: 1;
  gap: 6px;
}
.sp-skel i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--line);
}
.sp-skel i:last-child {
  width: 60%;
}
.sp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 8px;
  background: #0e5f6e;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.no-script-note {
  margin-top: 32px;
  max-width: 62ch;
  color: var(--ink-2);
}
html:not(.js) .wf-panel[hidden] {
  display: grid !important;
}
@media (min-width: 1024px) {
  .wf-panel {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
  }
  .wf-copy {
    grid-column: 1 / span 5;
    padding-top: 36px;
  }
  .wf-fig {
    grid-column: 6 / span 7;
  }
}
@media (max-width: 639px) {
  .sales-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .sales-cards .deal:nth-child(2) {
    display: none;
  }
  .band-value {
    font-size: 21px;
  }
  .owed-owner .owed-row {
    grid-template-columns: 70px 1fr 60px;
  }
}

/* ============================================================ PRICING */
.pricing {
  position: relative;
  isolation: isolate;
  padding: 72px 0 128px;
  overflow-x: clip;
}
.pr-head {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
.pr-lede {
  max-width: 60ch;
  font-size: 18px;
}
.people-demo {
  display: grid;
  gap: 28px;
  margin-top: 48px;
  padding: 28px;
  border-radius: 16px;
  background: var(--ground);
}
.pd-left {
  display: grid;
  gap: 12px;
  align-content: start;
}
.pd-left label {
  font-size: 15px;
  font-weight: 600;
}
#crew-size {
  --pct: 11.86%;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
#crew-size::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--ink) var(--pct), #a8a29e var(--pct));
}
#crew-size::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: #a8a29e;
}
#crew-size::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--ink);
}
#crew-size::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-card);
}
#crew-size::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff;
}
#crew-size:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}
#crew-size-out {
  font-size: clamp(40px, 2rem + 1.5vw, 56px);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.04em;
}
.glyphs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
}
.glyph {
  width: 20px;
  height: 20px;
  color: var(--ink);
}
.pd-right {
  display: grid;
  gap: 14px;
  align-content: start;
}
.pd-readout {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.pd-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pd-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pd-num {
  position: relative;
  font-size: 36px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pd-num::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}
.pd-per {
  color: var(--ink-2);
  font-size: 15px;
}
.pd-added {
  font-size: 16px;
}
.pd-added b {
  font-weight: 700;
}
.pd-note {
  color: var(--ink-2);
  font-size: 14px;
}
@media (min-width: 1024px) {
  .people-demo {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 56px;
  }
  .pd-right {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
  }
  .pd-added,
  .pd-note {
    grid-column: 1 / -1;
  }
}
@media (max-width: 639px) {
  .people-demo {
    padding: 20px;
  }
}

.billing-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  font-size: 15px;
  font-weight: 600;
}
.billing-control small {
  margin-left: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.billing-switch {
  position: relative;
  width: 72px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.billing-switch::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 7px;
  width: 52px;
  height: 30px;
  border-radius: 15px;
  background: var(--ink);
}
.billing-switch span {
  position: absolute;
  left: 13px;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform 280ms var(--ease-land);
}
.billing-switch[aria-checked="true"] span {
  transform: translateX(22px);
}

.pricing-grid {
  display: grid;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.plan-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px 24px;
  border-top: 2px solid var(--ink);
}
.plan-card + .plan-card {
  border-top: 2px solid var(--ink);
  box-shadow: 0 -1px 0 var(--line);
}
.plan-card:first-child {
  border-radius: 16px 16px 0 0;
}
.plan-name {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.plan-purpose {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.plan-price {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}
.plan-price > span {
  position: relative;
  display: inline-block;
  font-size: clamp(44px, 2.2rem + 1.8vw, 68px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.plan-price small {
  color: var(--ink-2);
  font-size: 16px;
}
.price-ghost {
  position: absolute;
  left: 0;
  top: 0;
  font-size: clamp(44px, 2.2rem + 1.8vw, 68px);
  line-height: 1;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.03em;
  pointer-events: none;
}
.plan-billing {
  color: var(--ink-2);
  font-size: 14px;
}
.plan-trial {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}
.plan-trial svg {
  width: 16px;
  height: 16px;
}
.plan-cta {
  width: 100%;
  margin-top: 4px;
}
.plan-facts {
  display: grid;
  gap: 0;
  margin-top: 8px;
}
.plan-facts > div {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.plan-facts dt {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.plan-facts dd {
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(9, auto);
  }
  .plan-card {
    grid-row: span 9;
    grid-template-rows: subgrid;
    padding: 32px 32px 24px;
  }
  .plan-card + .plan-card {
    box-shadow: -1px 0 0 var(--line);
  }
  .plan-card:first-child {
    border-radius: 16px 0 0 0;
  }
  .plan-card:last-child {
    border-radius: 0 16px 0 0;
  }
  .plan-facts {
    grid-row: span 3;
    grid-template-rows: subgrid;
  }
}

.spec-wrap {
  margin-top: 88px;
}
.spec-intro {
  font-size: 15px;
  font-weight: 600;
}
.spec {
  width: 100%;
  margin-top: 16px;
  /* separate, not collapse: a collapsed border belongs to the table and is left behind
     when the header row sticks; the header's rule is its own inset shadow instead. */
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
}
.spec thead th {
  position: sticky;
  z-index: 2;
  top: var(--header-h);
  padding: 14px 8px;
  box-shadow: inset 0 -1px 0 var(--ink);
  background: #fff;
  font-size: 15px;
  font-weight: 650;
  text-align: center;
}
.spec thead th:first-child {
  text-align: left;
}
.spec-group-row th {
  padding: 36px 0 12px;
  border-bottom: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}
.spec tbody:first-of-type .spec-group-row th {
  padding-top: 28px;
}
.spec-note {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
/* Every plan: said once, no marks, two columns where there is room. */
.spec-all {
  margin-top: 16px;
}
.spec-all-h {
  padding: 20px 0 12px;
  line-height: 1.3;
  border-bottom: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.spec-all-list {
  display: grid;
  column-gap: 48px;
}
.spec-all-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) {
  .spec-all-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.spec tbody th[scope="row"] {
  display: grid;
  gap: 4px;
  padding: 16px 24px 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  text-align: left;
}
.spec td {
  width: 14%;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.spec-l {
  font-size: 16px;
  font-weight: 600;
}
.spec-d {
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.mk {
  width: 20px;
  height: 20px;
  margin-inline: auto;
}
.dash {
  color: var(--ink-3);
  font-size: 18px;
}
.avail {
  justify-self: start;
  margin-top: 6px;
  padding: 3px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spec tbody th[scope="row"] {
  display: table-cell;
}
.spec-l,
.spec-d {
  display: block;
}
.spec-d {
  margin-top: 4px;
}
.avail {
  display: inline-block;
}
@media (min-width: 1024px) {
  .avail {
    display: none;
  }
}
@media (max-width: 1023px) {
  .spec thead,
  .spec td {
    display: none;
  }
  .spec tbody th[scope="row"] {
    padding-right: 0;
  }
}
.pricing-notes {
  display: grid;
  gap: 10px;
  max-width: 70ch;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  color: var(--ink-2);
  font-size: 15px;
}
.pricing-notes strong {
  color: var(--ink);
}

/* ========================================================== QUESTIONS */
.questions {
  padding: 96px 0 112px;
  background: var(--ground);
}
.faq-grid {
  display: grid;
  gap: 40px;
}
.faq-side {
  display: grid;
  gap: 20px;
  align-content: start;
}
.faq-side > p:last-child {
  color: var(--ink-2);
}
@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 48px;
  }
  .faq-side {
    position: sticky;
    top: 112px;
    grid-column: 1 / span 4;
    align-self: start;
  }
  .faq-list {
    grid-column: 5 / span 8;
  }
}
.faq-list {
  border-top: 1px solid var(--line-2);
}
.faq-list details {
  border-bottom: 1px solid var(--line-2);
}
.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 20px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.plus {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  margin: -10px -10px -10px 0;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 21px;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
}
.plus::after {
  transform: rotate(90deg);
  transition: transform 200ms var(--ease-out);
}
details[open] .plus::after {
  transform: rotate(90deg) scaleX(0);
}
.faq-list details > p {
  max-width: 62ch;
  padding-bottom: 24px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}
@supports (interpolate-size: allow-keywords) {
  html.motion {
    interpolate-size: allow-keywords;
  }
  html.motion .faq-list details::details-content {
    block-size: 0;
    overflow: clip;
    transition:
      block-size 280ms var(--ease-out),
      content-visibility 280ms allow-discrete;
  }
  html.motion .faq-list details[open]::details-content {
    block-size: auto;
  }
}

/* ============================================================== EARLY */
.early {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 120px 0 128px;
  background: var(--ink);
  color: #fff;
}
.early-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}
.early-copy {
  display: grid;
  gap: 22px;
}
.early-copy h1,
.early-copy h2 {
  color: #fff;
}
.early-body {
  max-width: 54ch;
  color: var(--on-dark-2);
  font-size: 18px;
}
.steps-h {
  margin-top: 12px;
  color: var(--on-dark-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.steps {
  display: grid;
  border-top: 1px solid var(--rule-dark);
}
.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--on-dark-2);
  font-size: 16px;
}
.step-n {
  color: var(--accent-on-dark);
  font-size: 32px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.contact-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-pop);
}
.contact-card::before,
.contact-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
}
.contact-card::before {
  left: -14px;
  top: -14px;
  border-left: 1px solid var(--on-dark-2);
  border-top: 1px solid var(--on-dark-2);
}
.contact-card::after {
  right: -14px;
  bottom: -14px;
  border-right: 1px solid var(--on-dark-2);
  border-bottom: 1px solid var(--on-dark-2);
}
.contact-card h2,
.contact-card h3 {
  font-size: 24px;
  font-weight: 650;
}
.contact-lede {
  margin-top: -8px;
  color: var(--ink-2);
  font-size: 15px;
}
.waitlist-entry {
  display: grid;
  gap: 12px;
}
.waitlist-disclosure {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}
#waitlist-form {
  display: grid;
  gap: 12px;
}
html.motion #waitlist-form:not([hidden]) {
  animation: form-open 240ms var(--ease-out);
}
@keyframes form-open {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 -20px 0);
  }
}
#waitlist-form label[for="waitlist-email"] {
  font-size: 15px;
  font-weight: 600;
}
#waitlist-email {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
#waitlist-email:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.waitlist-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.waitlist-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  cursor: pointer;
}
#waitlist-consent {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--ink);
}
#waitlist-challenge {
  min-height: 150px;
  min-width: 150px;
}
.waitlist-status {
  font-size: 15px;
  font-weight: 500;
}
.waitlist-status:empty {
  display: none;
}
.waitlist-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
  color: var(--ink-2);
  font-size: 14px;
}
.waitlist-divider::before,
.waitlist-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}
.email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.email-row a {
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.copy-email {
  min-width: 64px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.copy-email:hover {
  background: var(--ink);
  color: #fff;
}
.contact-note,
.copy-status {
  color: var(--ink-2);
  font-size: 14px;
}
.copy-status:empty {
  display: none;
}
@media (min-width: 1024px) {
  .early-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .early-copy {
    grid-column: 1 / span 6;
  }
  .contact-card {
    grid-column: 8 / span 5;
  }
}
@media (max-width: 639px) {
  .contact-card {
    padding: 20px;
  }
  .contact-card::before,
  .contact-card::after {
    display: none;
  }
}

/* ============================================================= FOOTER */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 72px 0 36px;
  background: var(--dark);
  color: #fff;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 0% 0%, rgba(194, 65, 12, 0.18), transparent 70%);
}
.footer-display span,
.footer-display b {
  display: block;
}
.footer-display {
  max-width: 18ch;
  font-size: clamp(36px, 1.2rem + 3.6vw, 72px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.045em;
  color: var(--on-dark-2);
}
.footer-display b {
  color: #fff;
  font-weight: 650;
}
.footer-main {
  display: grid;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--rule-dark);
}
.foot-brand {
  display: grid;
  gap: 12px;
  align-content: start;
}
.footer-tag {
  max-width: 30ch;
  color: var(--on-dark-2);
  font-size: 16px;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}
.site-footer .foot-mail {
  justify-self: start;
  text-decoration: underline;
  text-decoration-color: var(--accent-on-dark);
  text-underline-offset: 4px;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}
.foot-h {
  color: var(--on-dark-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.foot-col ul {
  display: grid;
  margin-top: 8px;
}
.site-footer .foot-col a {
  min-height: 40px;
  color: var(--on-dark-2);
  transition: color 160ms var(--ease-out);
}
.site-footer .foot-col a:hover,
.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--accent-on-dark);
  text-underline-offset: 4px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-dark);
  color: var(--on-dark-3);
  font-size: 14px;
}
.footer-bottom a {
  color: var(--on-dark-3);
  font-size: 14px;
}
.footer-bottom svg {
  width: 14px;
  height: 14px;
}
@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 48px;
  }
  .foot-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* =================================================== website information */
.info-main {
  padding: 72px 0 112px;
}
.info-copy {
  max-width: 68ch;
}
.info-copy h1 {
  margin-bottom: 40px;
  font-size: clamp(30px, 1.6rem + 2.2vw, 52px);
  line-height: 1.06;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.info-copy section + section {
  margin-top: 48px;
}
.info-copy .log-line {
  margin-bottom: 14px;
}
.info-copy h2 {
  font-size: clamp(22px, 1.2rem + 0.8vw, 30px);
  line-height: 1.15;
  font-weight: 600;
}
.info-copy p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
}
.info-copy a:not(.btn) {
  color: var(--ink);
}
.info-copy .btn {
  margin-top: 40px;
}
.header-back {
  margin-left: auto;
}

/* ========================================================== SITE PAGES
   The shared pieces of the multi-page site: page heads, breadcrumbs, bands, the photo
   slots, the trade pages, comparisons, research tables, the blog and the footer. */

/* trade icons: graphite body, burnt orange detail; white and light orange on dark */
.trade-icon {
  flex: none;
}
.trade-icon .ti-a {
  stroke: var(--accent);
}
[data-tone="dark"] .trade-icon .ti-a,
.is-placeholder .trade-icon .ti-a {
  stroke: var(--accent-on-dark);
}

/* breadcrumbs: a quiet line, on the page head's own ground when one follows */
.crumbs-bar:has(+ .page-head) {
  background: var(--canvas);
}
.crumbs-wrap {
  padding-top: 18px;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: var(--ink-2);
  font-size: 14px;
}
.crumbs li {
  display: flex;
  align-items: center;
}
.crumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--line-2);
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.crumbs [aria-current] {
  color: var(--ink);
  font-weight: 500;
}

/* page head: warm ground, a fine grid fading out behind the title */
.page-head {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 40px 0 64px;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(28, 25, 23, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 25, 23, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 90% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 90% at 90% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.eyebrow:not(:has(.trade-icon)) {
  padding-left: 14px;
}
.eyebrow .trade-icon {
  width: 24px;
  height: 24px;
  color: var(--ink);
}
.page-title {
  margin-top: 20px;
  max-width: 16ch;
  font-size: clamp(40px, 1.3rem + 4.1vw, 80px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.page-lede {
  margin-top: 22px;
  max-width: 56ch;
  color: var(--ink-2);
  font-size: clamp(18px, 1rem + 0.35vw, 21px);
  line-height: 1.55;
}
.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 32px;
}
@media (min-width: 640px) {
  .page-head {
    padding: 64px 0 88px;
  }
}
.trade-head-grid {
  display: grid;
  gap: 40px;
  align-items: end;
}
.trade-head .photo {
  box-shadow: var(--shadow-float);
}
@media (min-width: 1024px) {
  .trade-head-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 48px;
  }
  .trade-head-grid > :first-child {
    grid-column: 1 / span 7;
    align-self: center;
  }
  .trade-head-grid > .photo {
    grid-column: 8 / span 5;
    border-radius: var(--r-xl);
  }
}

/* bands: the vertical rhythm of every inner page */
.zone {
  padding: 80px 0;
}
.zone-tight {
  padding: 64px 0 80px;
}
.zone-ground {
  background: var(--canvas);
  border-block: 1px solid var(--line);
}
.split {
  display: grid;
  gap: 32px;
}
.split-head h2 {
  font-size: clamp(30px, 1.2rem + 2vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.split-head p {
  margin-top: 16px;
  max-width: 46ch;
  color: var(--ink-2);
}
.split-head-wide {
  max-width: 760px;
  margin-bottom: 40px;
}
@media (min-width: 1024px) {
  .zone {
    padding: 120px 0;
  }
  .zone-tight {
    padding: 88px 0 120px;
  }
  .split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 48px;
  }
  .split > .split-head {
    grid-column: 1 / span 4;
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
  .split > :not(.split-head) {
    grid-column: 6 / span 7;
  }
}
.three-up {
  display: grid;
  gap: 16px;
}
.three-up > * {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.three-up p {
  margin-top: 12px;
  color: var(--ink-2);
}
@media (min-width: 1024px) {
  .three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

/* a day in the trade */
.day-list {
  border-top: 1px solid var(--ink);
}
.day-list li {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.day-list li > p:last-child {
  color: var(--ink-2);
}
.day-when {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.day-when span:first-child {
  color: var(--accent-600);
}
.day-when span + span {
  color: var(--ink-2);
}
@media (min-width: 640px) {
  .day-list li {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 24px;
  }
  .day-when {
    flex-direction: column;
    padding-top: 5px;
  }
}

/* definition rows: paperwork, plans, facts */
.paper-list {
  border-top: 1px solid var(--ink);
}
.paper-list > div {
  display: grid;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.paper-list dt {
  font-weight: 650;
}
.paper-list dd {
  margin: 0;
  color: var(--ink-2);
}
.paper-list dd a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (min-width: 640px) {
  .paper-list > div {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
  }
}

/* the trade vignette: the estimate at a desk, the same job on a crew phone */
.tv {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(194, 65, 12, 0.1), transparent 70%),
    linear-gradient(160deg, var(--sand), var(--canvas));
}
.tv .sample-tag {
  top: 16px;
  left: 16px;
}
.tv .scene {
  display: grid;
  gap: 28px;
  justify-items: start;
}
.tv-crop {
  width: 100%;
  -webkit-mask-image: none;
  mask-image: none;
}
.tv-pg {
  padding: 20px;
}
.tv-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 16px;
}
.tv .tl-card {
  width: auto;
  max-width: 330px;
  margin-top: 0;
}
@media (max-width: 639px) {
  .tv-lines .fv-lines-h,
  .tv-lines .fv-line {
    grid-template-columns: minmax(0, 1fr) 50px 64px;
    gap: 8px;
    padding-inline: 10px;
  }
  .tv-pg {
    padding: 14px;
  }
  .tv .tl-card {
    display: none;
  }
}
@media (min-width: 1200px) {
  .tv-body {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }
  .tv .tl-card {
    max-width: none;
  }
}
.tv-lines .fv-lines-h,
.tv-lines .fv-line {
  grid-template-columns: minmax(0, 1fr) 64px 76px;
}
.tv-total {
  background: var(--ground);
}
.tv-total .fv-line-n,
.tv-total .fv-line-a {
  font-weight: 700;
}
.tv-cust {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 13px;
}
.tv-phone {
  justify-self: center;
}
@media (min-width: 640px) {
  .tv {
    padding: 36px;
  }
  .tv .sample-tag {
    top: 36px;
    left: 36px;
  }
}
@media (min-width: 1024px) {
  .tv .scene {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 40px;
  }
  .tv-phone {
    margin-top: 32px;
  }
}
.takeoff {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 15px;
}
.chip,
.also-list li {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.also-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* a cited number: the value light, the label and the source under it */
.cited-row {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .cited-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}
.cited {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.cited-value {
  color: var(--ink);
  font-size: clamp(44px, 2rem + 3vw, 76px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.cited figcaption {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.cited-label {
  font-weight: 600;
}
.cited-src {
  color: var(--ink-2);
  font-size: 14px;
}
.cited-src a,
.table-src a,
.source-list a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* research and comparison tables */
.table-h {
  margin: 48px 0 16px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}
.table-wrap:focus-visible {
  outline-offset: 2px;
}
.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.4;
}
.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.data-table tbody tr:last-child > * {
  border-bottom: 0;
}
.data-table thead th {
  background: var(--canvas);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.data-table tbody th {
  font-weight: 600;
}
.data-table .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.compare-table {
  min-width: 0;
}
.compare-table td svg {
  width: 20px;
  height: 20px;
  color: var(--good);
}
.table-src {
  max-width: 90ch;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 14px;
}

/* related pages, the sideways links: one card each */
.related {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.related-h {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.related ul {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.related a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: center;
  height: 100%;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  text-decoration: none;
  transition:
    border-color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
.related a svg,
.next-list a svg {
  grid-row: 1 / span 2;
  grid-column: 2;
  width: 20px;
  height: 20px;
  color: var(--ink-3);
  transition:
    transform 200ms var(--ease-out),
    color 200ms var(--ease-out);
}
.rel-l,
.next-l {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.rel-d,
.next-d {
  grid-column: 1;
  color: var(--ink-2);
  font-size: 15px;
}
@media (hover: hover) {
  .related a:hover {
    border-color: var(--line-2);
    box-shadow: var(--shadow-soft);
  }
  .related a:hover svg,
  .next-list a:hover svg {
    color: var(--accent);
    transform: translateX(4px);
  }
  .next-list a:hover .next-l {
    color: var(--accent-600);
  }
}
@media (min-width: 1024px) {
  .related ul {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
  }
}
.next-list {
  border-top: 1px solid var(--ink);
}
.next-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
@media (min-width: 1024px) {
  .next-list a {
    grid-template-columns: 300px minmax(0, 1fr) auto;
    padding: 26px 0;
  }
  .next-list .next-d {
    grid-column: 2;
    grid-row: 1;
  }
  .next-list a svg {
    grid-column: 3;
    grid-row: 1;
  }
}
.next-list-lg .next-l {
  font-size: clamp(20px, 1.1rem + 0.6vw, 26px);
}

/* the closing call to action: one graphite card, warm light in its corner */
.cta {
  padding: 24px 0 var(--section);
}
.related + .cta {
  padding-top: 0;
}
.cta-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  overflow: clip;
  padding: 40px 24px;
  border-radius: var(--r-xl);
  background: var(--dark);
  color: #fff;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 90% at 100% 100%, rgba(194, 65, 12, 0.45), transparent 70%),
    radial-gradient(40% 60% at 0% 0%, rgba(255, 255, 255, 0.06), transparent 70%);
}
.cta-card::after {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: -1;
  background: url("assets/optracs-symbol-white.svg") 0 0 / 96px auto repeat;
  opacity: 0.02;
  pointer-events: none;
}
.cta-copy {
  display: grid;
  gap: 16px;
}
.cta-card h2 {
  max-width: 16ch;
  color: #fff;
}
.cta-card p:not(.kicker) {
  max-width: 48ch;
  color: var(--on-dark-2);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.cta-actions .text-link svg {
  width: 18px;
  height: 18px;
  color: var(--accent-on-dark);
}
@media (min-width: 768px) {
  .cta-card {
    padding: 64px 56px;
  }
}
@media (min-width: 1024px) {
  .cta-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
    padding: 80px 72px;
  }
  .cta-actions {
    flex-direction: column;
    align-items: flex-end;
  }
}

/* photo slots: a real photo, or a drawn plate in the brand palette until one is supplied */
.photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--r);
  background: var(--dark);
}
.photo.ratio-16x9 {
  aspect-ratio: 16 / 9;
}
.photo.ratio-21x9 {
  aspect-ratio: 21 / 9;
}
.photo.ratio-3x2 {
  aspect-ratio: 3 / 2;
}
.photo.ratio-4x3 {
  aspect-ratio: 4 / 3;
}
.photo.ratio-4x5 {
  aspect-ratio: 4 / 5;
}
.photo.ratio-1x1 {
  aspect-ratio: 1;
}
.photo > img:not(.ph-mark) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo[data-focus="top-left"] img {
  object-position: 15% 15%;
}
.photo[data-focus="top"] img {
  object-position: 50% 15%;
}
.photo[data-focus="top-right"] img {
  object-position: 85% 15%;
}
.photo[data-focus="left"] img {
  object-position: 15% 50%;
}
.photo[data-focus="right"] img {
  object-position: 85% 50%;
}
.photo[data-focus="bottom-left"] img {
  object-position: 15% 85%;
}
.photo[data-focus="bottom"] img {
  object-position: 50% 85%;
}
.photo[data-focus="bottom-right"] img {
  object-position: 85% 85%;
}
.photo.is-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 85% 12%, rgba(194, 65, 12, 0.34), transparent 60%),
    linear-gradient(160deg, #2e2926, var(--dark) 70%);
  color: #fff;
}
.ph-grain {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 12px);
}
.ph-icon {
  position: relative;
  width: 34%;
  max-width: 132px;
  height: auto;
  stroke-width: 1.1;
  color: rgba(255, 255, 255, 0.92);
}
.ph-mark {
  position: relative;
  width: 22%;
  max-width: 96px;
  height: auto;
  opacity: 0.9;
}
.ph-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: var(--on-dark-2);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ph-crop {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 0 solid rgba(255, 255, 255, 0.38);
}
.ph-crop-a {
  left: 14px;
  top: 14px;
  border-left-width: 1px;
  border-top-width: 1px;
}
.ph-crop-b {
  right: 14px;
  bottom: 14px;
  border-right-width: 1px;
  border-bottom-width: 1px;
}

/* the trades index */
.trades-index {
  padding: 64px 0 var(--section);
}
.trades-index .trade-grid {
  margin-top: 0;
}

/* long-form text: blog drafts, website information, research notes */
.prose {
  max-width: 68ch;
}
.prose h2 {
  margin-top: 48px;
  font-size: clamp(22px, 1.2rem + 0.8vw, 30px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.prose > h2:first-child,
.prose section:first-child > h2 {
  margin-top: 0;
}
.prose p,
.prose ul {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.7;
}
.prose ul {
  padding-left: 1.2em;
  list-style: disc;
}
.prose li + li {
  margin-top: 6px;
}
.prose strong {
  color: var(--ink);
}
.prose a:not(.btn) {
  color: var(--ink);
}
.prose .btn {
  margin-top: 16px;
  color: #fff;
  text-decoration: none;
}
.source-list li {
  font-size: 16px;
}
.draft-bar {
  padding: 12px 0;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
}
.byline {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 14px;
}
.owner-note {
  max-width: 68ch;
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--canvas);
  font-size: 15px;
}
.empty-line {
  color: var(--ink-2);
  font-size: 20px;
}
.info-copy section + section {
  margin-top: 48px;
}

/* questions page */
.questions-page {
  padding: 64px 0 var(--section);
  background: none;
}
.questions-page .faq-list {
  max-width: 860px;
}

/* 404 */
.lost {
  padding: 64px 0 var(--section);
}
.lost-code {
  color: var(--accent);
  font-size: clamp(96px, 18vw, 200px);
  line-height: 0.9;
  font-weight: 200;
  letter-spacing: -0.05em;
}
.lost-links {
  max-width: 560px;
  margin-top: 40px;
  border-top: 1px solid var(--ink);
}
.lost-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.lost-links svg {
  width: 20px;
  height: 20px;
}

/* the pages that used to be sections of one long page */
.crumbs-bar + .log {
  padding-top: 40px;
}
.crumbs-bar + .pricing {
  padding-top: 48px;
}
.crumbs-bar[data-tone="dark"] {
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  background: var(--dark);
}
.crumbs-bar[data-tone="dark"] .crumbs ol {
  color: var(--on-dark-3);
}
.crumbs-bar[data-tone="dark"] .crumbs li + li::before {
  color: rgba(255, 255, 255, 0.3);
}
.crumbs-bar[data-tone="dark"] .crumbs a:hover,
.crumbs-bar[data-tone="dark"] .crumbs [aria-current] {
  color: #fff;
}
.crumbs-bar + .early {
  padding-top: 72px;
}
.code-area {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.code-fallback {
  color: var(--ink-2);
  font-size: 15px;
}

/* ============================================================== HOME
   After the hero the page alternates paper and canvas, with one more dark band for the
   week. Every product picture is a recreation with sample data and says so once. */
.record,
.features,
.trades-band,
.price-band,
.sides-band {
  padding: var(--section) 0;
}
.sides-band,
.price-band {
  background: var(--canvas);
  border-block: 1px solid var(--line);
}
.sample-note {
  margin-top: 28px;
  color: var(--ink-3);
  font-size: 13px;
  text-align: center;
}

/* ----- one record: the job in the middle, what hangs off it on either side */
.hub {
  margin-top: 56px;
}
.hub-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.hub-col {
  display: grid;
  gap: 12px;
}
.hub-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.hub-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--canvas);
  color: var(--ink);
}
.hub-ic svg {
  width: 18px;
  height: 18px;
}
.hub-txt {
  min-width: 0;
}
.hub-t {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.hub-d {
  display: block;
  overflow: hidden;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.hub-avatar,
.hub-team span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.hub-thumbs {
  display: flex;
}
.hub-thumbs i {
  width: 26px;
  height: 26px;
  border: 2px solid #fff;
  border-radius: 7px;
  background: linear-gradient(145deg, #c9a07a, #6f5343);
}
.hub-thumbs i + i {
  margin-left: -8px;
  background: linear-gradient(145deg, #9fb0bd, #4c5d69);
}
.hub-thumbs i:last-child {
  background: linear-gradient(145deg, #d9c9a3, #8d7a52);
}
.hub-core {
  order: -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(194, 65, 12, 0.35), transparent 70%),
    var(--dark);
  color: #fff;
  box-shadow: var(--shadow-float);
}
.hub-core-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-on-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hub-core-k svg {
  width: 16px;
  height: 16px;
}
.hub-core-t {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hub-core-d {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--on-dark-3);
  font-size: 14px;
}
.hub-core-d svg {
  width: 15px;
  height: 15px;
}
.hub-core-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}
.hub-stage {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(242, 138, 97, 0.16);
  color: var(--accent-on-dark);
  font-size: 12px;
  font-weight: 650;
}
.hub-team {
  display: flex;
}
.hub-team span {
  box-shadow: 0 0 0 2px var(--dark);
  background: #57534e;
}
.hub-team span + span {
  margin-left: -3px;
  background: var(--accent);
}
.hub-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 18px;
  color: var(--on-dark-2);
  font-size: 13px;
}
.hub-progress-n {
  font-variant-numeric: tabular-nums;
}
.hub-bar {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.hub-bar i {
  display: block;
  width: 66%;
  height: 100%;
  border-radius: 3px;
  background: var(--accent-on-dark);
}
@media (min-width: 560px) and (max-width: 1023px) {
  .hub-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hub-core {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .hub {
    margin-top: 72px;
  }
  .hub-map {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) minmax(0, 1fr);
    align-items: stretch;
    column-gap: 72px;
  }
  .hub-col {
    gap: 20px;
    align-content: center;
  }
  .hub-core {
    order: 0;
    padding: 28px;
  }
  /* A dashed lead from each item to the job, ending on a dot at the job's edge. */
  .hub-left .hub-item::after,
  .hub-right .hub-item::after {
    content: "";
    position: absolute;
    top: calc(50% - 4px);
    width: 72px;
    height: 8px;
    pointer-events: none;
  }
  .hub-left .hub-item::after {
    left: 100%;
    background:
      radial-gradient(circle at calc(100% - 4px) 50%, var(--accent) 3.5px, transparent 4px),
      repeating-linear-gradient(90deg, var(--line-2) 0 5px, transparent 5px 9px) left center / calc(100% - 6px) 1px no-repeat;
  }
  .hub-right .hub-item::after {
    right: 100%;
    background:
      radial-gradient(circle at 4px 50%, var(--accent) 3.5px, transparent 4px),
      repeating-linear-gradient(90deg, var(--line-2) 0 5px, transparent 5px 9px) right center / calc(100% - 6px) 1px no-repeat;
  }
}

/* ----- the office and the crew: a photograph each, with the screen that goes with it */
.side-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.side-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.side-media {
  position: relative;
}
.side-media > .photo {
  border-radius: 0;
}
.side-chip {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: -56px 16px 0;
  padding: 14px;
  border: 1px solid rgba(28, 25, 23, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-float);
  font-size: 13px;
  line-height: 1.35;
}
.side-chip-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 650;
}
.side-chip-h span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
}
.side-chip-row {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--canvas);
}
.side-chip-row i {
  width: 3px;
  flex: none;
  border-radius: 2px;
}
.sev-bad {
  background: var(--bad);
}
.sev-warn {
  background: var(--warn);
}
.side-chip-t {
  display: block;
  font-weight: 600;
}
.side-chip-m {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
}
.side-task {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.side-task svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--ink-3);
}
.side-task.is-done {
  color: var(--ink-3);
}
.side-task.is-done span {
  text-decoration: line-through;
}
.side-task.is-done svg {
  color: var(--good);
}
.side-body {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px 22px 28px;
}
.side-body > p {
  color: var(--ink-2);
}
.side-body .ticks {
  margin-top: 4px;
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  margin-top: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-050);
  color: var(--accent-600);
  font-size: 13px;
  font-weight: 600;
}
.soon svg {
  width: 15px;
  height: 15px;
}
@media (min-width: 640px) {
  .side-chip {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: min(320px, calc(100% - 40px));
    margin: 0;
  }
  .side-card:nth-child(2) .side-chip {
    left: auto;
    right: 20px;
  }
  .side-body {
    padding: 28px 32px 32px;
  }
}
@media (min-width: 960px) {
  .side-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 64px;
  }
}

/* ----- features: three rows, copy and a screen, alternating */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 64px;
}
.feature-copy {
  display: grid;
  gap: 16px;
  align-content: start;
  max-width: 520px;
}
.feature-n {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.feature-n span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-050);
  color: var(--accent-600);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.feature-copy h3 {
  font-size: clamp(26px, 1.1rem + 1.3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.feature-copy > p {
  color: var(--ink-2);
}
.feature-copy .ticks {
  margin-top: 6px;
}
.feature-note {
  color: var(--ink-3);
  font-size: 14px;
}
@media (min-width: 1024px) {
  .feature {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
    margin-top: 120px;
  }
  .feature-flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .feature-flip .feature-copy {
    order: 2;
  }
  .sec-head + .feature {
    margin-top: 80px;
  }
}

/* The screen sits on a warm plate, like a print laid on a desk. */
.fv-stage {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(194, 65, 12, 0.1), transparent 70%),
    linear-gradient(160deg, var(--sand), var(--canvas));
}
@media (min-width: 640px) {
  .fv-stage {
    padding: 36px;
  }
}
.fv {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-float);
  font-size: 13px;
  line-height: 1.4;
}
.fv-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}
.fv-dots {
  display: flex;
  gap: 6px;
}
.fv-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}
.fv-title {
  overflow: hidden;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.fv-body {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--ground);
}
/* 01 pipeline */
.fv-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: var(--ground);
}
.fv-col:nth-child(3) {
  display: none;
}
.fv-col-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fv-col-h span {
  padding: 0 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.fv-card {
  display: grid;
  gap: 6px;
  justify-items: start;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.fv-card-t {
  font-weight: 600;
}
.fv-card-m {
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.fv-card-alert {
  box-shadow: inset 3px 0 0 var(--bad), var(--shadow-card);
}
.fv-card-lift {
  transform: rotate(-2deg) translateY(-2px);
  box-shadow: var(--shadow-float);
}
@media (min-width: 560px) {
  .fv-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fv-col:nth-child(3) {
    display: block;
  }
}
/* 02 estimate: catalog lines, and the margin readout with the profit slider */
.fv-lines {
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.fv-lines-h,
.fv-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px 64px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}
.fv-lines-h {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 650;
}
.fv-lines-h span:not(:first-child),
.fv-line-q,
.fv-line-a {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.fv-line-n {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  min-width: 0;
  font-weight: 600;
}
.fv-line-k {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
}
.fv-line-q {
  color: var(--ink-2);
  font-size: 12px;
}
.fv-line-a {
  font-weight: 600;
}
.fv-line-more .fv-line-n {
  color: var(--ink-3);
  font-weight: 500;
}
.fv-add {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 12px 12px;
  padding: 8px 12px;
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  color: var(--ink-2);
  font-weight: 600;
}
.fv-add svg {
  width: 14px;
  height: 14px;
}
.fv-margin {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  background: #ecfdf5;
}
.fv-margin-h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fv-margin-h .p-badge {
  letter-spacing: 0;
  text-transform: none;
}
.fv-margin-v {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}
.fv-margin-v b {
  color: #047857;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
/* > span: while a figure rolls, its digits are spans inside the <b>. */
.fv-margin-v > span,
.fv-margin-c {
  color: var(--ink-2);
  font-size: 12px;
}
.fv-margin-c b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.fv-slider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(28, 25, 23, 0.06);
}
.fv-slider b {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.fv-track,
.cm-track {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(28, 25, 23, 0.12);
}
.fv-track i,
.cm-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: 3px;
  background: #f4c430;
}
.fv-track em,
.cm-track em {
  position: absolute;
  left: 42%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f4c430;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.35);
}
.fv-reprice,
.cm-btn {
  padding: 3px 10px;
  border-radius: 7px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.fv-margin-n {
  color: var(--ink-3);
  font-size: 12px;
}
@media (min-width: 560px) {
  .fv-est .fv-body {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* 03 invoice and aging */
.fv-inv {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.fv-inv-row,
.fv-inv-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.fv-inv-paid {
  color: var(--good);
}
.fv-inv-total {
  border-bottom: 0;
  font-weight: 650;
}
.fv-inv-total span:first-child {
  margin-right: auto;
}
.fv-aging {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.fv-aging-h {
  font-weight: 650;
}
.fv-age {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.fv-age b {
  color: var(--ink);
  text-align: right;
}
.fv-age-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ground);
}
.fv-age-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--ink);
}
.fv-age-late .fv-age-bar i {
  background: var(--bad);
}
.w-0 {
  width: 0;
}
.w-10 {
  width: 10%;
}
.w-28 {
  width: 28%;
}
.w-45 {
  width: 45%;
}
.w-90 {
  width: 90%;
}
@media (min-width: 560px) {
  .fv-money .fv-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ----- the week: six moments on one line */
.week {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: var(--section) 0;
  background: var(--dark);
  color: #fff;
}
.week::before {
  content: "";
  position: absolute;
  inset: -120px;
  z-index: -1;
  background: url("assets/optracs-symbol-white.svg") 0 0 / 116px auto repeat;
  opacity: 0.018;
  pointer-events: none;
}
.week .sec-aside {
  display: grid;
  gap: 20px;
  justify-items: start;
}
.week-steps {
  display: grid;
  margin-top: 56px;
  counter-reset: step;
}
.week-steps li {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 0 0 28px 32px;
}
.week-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--dark);
  box-shadow:
    inset 0 0 0 2px var(--accent-on-dark),
    0 0 0 5px var(--dark);
}
.week-steps li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 20px;
  bottom: 0;
  width: 1px;
  background: var(--rule-dark);
}
.week-steps li:last-child {
  padding-bottom: 0;
}
.week-steps li:last-child::after {
  display: none;
}
.week-steps li:last-child::before {
  background: var(--accent-on-dark);
}
.ws-when {
  color: #fff;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.ws-when b {
  color: var(--accent-on-dark);
  font-weight: 700;
}
.ws-where {
  color: var(--on-dark-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.week-steps h3 {
  max-width: 22ch;
  color: #fff;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
@media (min-width: 1024px) {
  .week-steps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
    margin-top: 72px;
  }
  .week-steps li {
    padding: 36px 0 0;
    align-content: start;
  }
  .week-steps li::before {
    top: 0;
  }
  .week-steps li::after {
    left: 20px;
    right: -24px;
    top: 5px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .week-steps h3 {
    font-size: 18px;
  }
}

/* ----- trades: a photograph for each */
.trade-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.trade-card a {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  text-decoration: none;
  transition:
    box-shadow 220ms var(--ease-out),
    transform 220ms var(--ease-out),
    border-color 220ms var(--ease-out);
}
.trade-card-photo {
  border-radius: 0;
}
.trade-card-photo img {
  transition: transform 600ms var(--ease-out);
}
.trade-card-body {
  display: grid;
  gap: 6px;
  padding: 18px 56px 20px 20px;
}
.trade-card-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.trade-card-name .trade-icon {
  width: 24px;
  height: 24px;
}
.trade-card-d {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
}
.trade-card-go {
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: 20px;
  height: 20px;
  color: var(--ink-3);
  transition:
    transform 220ms var(--ease-out),
    color 220ms var(--ease-out);
}
@media (hover: hover) {
  .trade-card a:hover {
    border-color: var(--line-2);
    box-shadow: var(--shadow-float);
    transform: translateY(-2px);
  }
  .trade-card a:hover .trade-card-photo img {
    transform: scale(1.04);
  }
  .trade-card a:hover .trade-card-go {
    color: var(--accent);
    transform: translateX(3px);
  }
}
.trade-card-more a {
  justify-content: flex-end;
  min-height: 220px;
  border-color: transparent;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(194, 65, 12, 0.35), transparent 70%),
    var(--dark);
  color: #fff;
}
.trade-card-more .trade-card-d {
  color: var(--on-dark-2);
}
.trade-card-more .trade-icon {
  color: #fff;
}
.trade-card-more .trade-icon .ti-a {
  stroke: var(--accent-on-dark);
}
.trade-card-more .trade-card-go {
  color: var(--on-dark-2);
}
@media (hover: hover) {
  .trade-card-more a:hover .trade-card-go {
    color: var(--accent-on-dark);
  }
}
@media (min-width: 640px) {
  .trade-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (min-width: 1024px) {
  .trade-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 64px;
  }
  /* Nine trades fill three rows; every other trade closes the grid as one wide band. */
  .trade-card-more {
    grid-column: 1 / -1;
  }
  .trade-card-more a {
    min-height: 0;
  }
  .trade-card-more .trade-card-body {
    max-width: 760px;
    padding: 36px 80px 36px 40px;
  }
  .trade-card-more .trade-card-go {
    right: 40px;
    bottom: auto;
    top: calc(50% - 10px);
  }
}

/* ----- pricing, in brief */
.price-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.price-band-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 12px;
}
.plan-minis {
  display: grid;
  gap: 12px;
}
.plan-mini {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.plan-mini.is-mid {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink), var(--shadow-soft);
}
.plan-mini-n {
  font-size: 18px;
  font-weight: 650;
}
.plan-mini-p {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.plan-mini-p b {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-mini-p span {
  color: var(--ink-3);
  font-size: 14px;
}
.plan-mini-d {
  grid-column: 1 / -1;
  color: var(--ink-2);
  font-size: 15px;
}
.plan-mini-f {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.plan-mini-f svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.price-band-note {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 14px;
}
@media (min-width: 1024px) {
  .price-band-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 96px;
    align-items: center;
  }
}

/* ============================================================== MOTION
   Pre-states exist only while JavaScript has armed a scene or an entrance; the static
   HTML and CSS are always the final state. */
.will-move {
  will-change: transform;
}
.o-hide {
  visibility: hidden;
}
.clip-y {
  overflow: clip;
}
.shackle {
  transform-box: fill-box;
  transform-origin: 100% 100%;
}
.hero-title.pre-rise {
  transform: translateY(14px);
  clip-path: inset(0 0 100% 0);
}
.pre-reveal,
.pre-wipe {
  clip-path: inset(0 0 100% 0);
}
.pre-clip-x {
  clip-path: inset(0 100% 0 0);
}
.pre-away {
  visibility: hidden;
}
.pre-setdown {
  transform: translateY(24px) rotate(-2deg);
}
.pre-raised {
  translate: 0 -48px;
}
.pre-rise-in {
  transform: translateY(28px);
  clip-path: inset(0 0 100% 0);
}
.spec.pre-stamp .spec-group-row th {
  border-bottom-color: transparent;
}
.spec.pre-stamp .mk {
  visibility: hidden;
}
.steps.pre-steps .step-n,
.footer-display.pre-foot {
  clip-path: inset(0 0 100% 0);
}
.footer-display.pre-foot {
  transform: translateY(0.28em);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Early access: somebody holding a code goes straight to the app's signup. */
.code-entry {
  margin: 0;
}
#code-form {
  display: grid;
  gap: 10px;
}
#code-form label {
  font-size: 15px;
  font-weight: 600;
}
.code-row {
  display: flex;
  gap: 8px;
}
#code-input {
  min-width: 0;
  flex: 1;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#code-input::placeholder {
  text-transform: none;
  letter-spacing: normal;
}
#code-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.code-row .btn {
  flex: none;
}

/* ======================================================== TRADE PAGES
   The product comes first: the recreated job straight after the head, what it does under
   it, then the paperwork and the day as cards and a timeline rather than text. */
.showcase {
  padding: 72px 0 var(--section);
}
.showcase .tv {
  margin-top: 48px;
}
.caps,
.paper-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.caps {
  margin-top: 24px;
}
.cap,
.paper-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.cap h3,
.paper-card h3 {
  margin-top: 6px;
  font-size: 19px;
  letter-spacing: -0.015em;
}
.cap p,
.paper-card p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.cap-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-050);
  color: var(--accent-600);
}
.cap-ic svg {
  width: 20px;
  height: 20px;
}
.cap-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.cap-chips .chip {
  padding: 3px 10px;
  font-size: 13px;
}
.paper-grid {
  margin-top: 48px;
}
@media (min-width: 640px) {
  .paper-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .showcase {
    padding-top: 96px;
  }
  .caps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .paper-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 56px;
  }
}

/* A day in the trade: the times across the page, a line joining them. */
.day-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 48px;
}
.day-steps li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 0 0 28px 32px;
}
.day-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    inset 0 0 0 2px var(--accent),
    0 0 0 5px #fff;
}
.day-steps li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 21px;
  bottom: 0;
  width: 1px;
  background: var(--line-2);
}
.day-steps li:last-child {
  padding-bottom: 0;
}
.day-steps li:last-child::after {
  display: none;
}
.day-steps li:last-child::before {
  background: var(--accent);
}
.ds-when {
  color: var(--accent-600);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ds-where {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ds-text {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
@media (min-width: 1024px) {
  .day-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin-top: 64px;
  }
  .day-steps li {
    padding: 36px 0 0;
    align-content: start;
  }
  .day-steps li::before {
    top: 0;
  }
  .day-steps li::after {
    left: 20px;
    right: -24px;
    top: 5px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
}

/* The estimate card on a trade page: the margin readout the estimate screen shows. */
.cap-meter {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  background: #ecfdf5;
  font-size: 12px;
}
.cm-top,
.cm-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: var(--ink-2);
  font-weight: 600;
}
.cm-val {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.cm-val b {
  color: #047857;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cm-track {
  display: block;
  flex: none;
  margin: 6px 0;
}
