/* Turndown DSP, one page. Rebuilt by hand from the Framer Home page (21 Nov 2026).
   Breakpoints match Framer: desktop >= 1200, tablet 810 to 1199.98, phone < 810. */

@font-face {
  font-family: "Host Grotesk";
  src: url("assets/fonts/HostGrotesk-300.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Host Grotesk";
  src: url("assets/fonts/HostGrotesk-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("assets/fonts/AzeretMono-300.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --gloss: #FFFFFF;
  --ink: #151514;
  --graphite: #5C5A55;
  --rule: #CFC8BA;
  --accent: #8C4700;
  --grotesk: "Host Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Azeret Mono", ui-monospace, Menlo, monospace;
  --rail: 248px;
  --side: 64px;
  --top: 120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--gloss);
  color: var(--ink);
  font-family: var(--grotesk);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  font-feature-settings: "cv03", "cv04", "cv09", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { color: var(--gloss); background: var(--ink); }

p, h1, h2 { margin: 0; font-weight: inherit; }
img, video, svg { display: block; }
a { color: inherit; }

/* ---------- Type ---------- */

.display {
  font-size: 80px;
  font-weight: 300;
  line-height: 76px; /* 0.95 of the display size; both lines sit on it */
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.display-second { font-size: 40px; line-height: 0.95; letter-spacing: -0.045em; }

.section-title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.reading { font-size: 17px; font-weight: 300; line-height: 1.5; text-wrap: pretty; }
.second { color: var(--graphite); }

.small { font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--graphite); }

.label {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
}

.figures {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
  font-feature-settings: "cv03", "cv04", "cv09", "cv11", "tnum";
  color: var(--ink);
}

.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.link:hover { text-decoration-color: var(--ink); }

.quiet-link {
  color: var(--ink);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.quiet-link:hover { text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1px; }
.quiet-link.is-current { text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 1px; }

a:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* ---------- Rail (desktop: fixed left; smaller: sticky top strip) ---------- */

.rail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: var(--rail);
  height: 100vh;
  padding: 34px 28px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--gloss);
  border-right: 1px solid var(--rule);
  overflow: hidden;
}
.rail-top { display: flex; flex-direction: column; gap: 64px; }
.rail-head { display: flex; align-items: center; justify-content: space-between; }
.logo { display: block; width: 156px; height: 20px; }
.logo img { width: 156px; height: 20px; }
.rail-reading { display: none; }
.rail-index { display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.5; }
.rail-bottom { display: flex; flex-direction: column; gap: 44px; }
.instruments { display: flex; flex-direction: column; gap: 22px; }
.rail-foot { display: flex; flex-direction: column; gap: 4px; }

.scope { height: 128px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.scope svg { width: 100%; flex: 1; min-height: 0; overflow: visible; }
.scope-label {
  text-align: center;
  font-family: var(--mono);
  font-weight: 300;
  font-size: 11px;
  line-height: 1;
  color: var(--graphite);
}

.readout { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.readout-group { display: flex; flex-direction: column; gap: 6px; }
.fig {
  font-family: var(--mono);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.readout .fig { font-size: 20px; line-height: 1; }
.fig .unit { color: var(--graphite); margin-left: 0.4em; }
.readout-axis { overflow: visible; }

.readout-inline {
  display: flex;
  gap: 10px;
  min-width: max-content;
  width: 124px;
  height: 12px;
  pointer-events: none;
}
.readout-inline .fig { font-size: 10px; line-height: 1; }

/* ---------- Page ---------- */

.page { padding-left: var(--rail); }

.hero { aspect-ratio: 2.2 / 1; overflow: hidden; background: var(--gloss); }
.hero video { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.content { max-width: 1120px; }

.intro { padding: 56px var(--side) 0; scroll-margin-top: 0; }
.intro .content { display: flex; flex-direction: column; gap: 32px; }
.intro-side { width: 420px; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.floor { padding: 80px var(--side) 0 0; display: flex; flex-direction: column; gap: 14px; }
.floor-lines { position: relative; width: 100%; height: 300px; touch-action: pan-y; }
.floor-lines svg { overflow: visible; }
.floor-lines text { font-family: var(--mono); font-size: 11px; font-weight: 300; }
.floor-caption { padding-left: var(--side); }
.when-narrow { display: none; }

.block { padding: var(--top) var(--side) 0; }
.block .content { display: flex; flex-direction: column; gap: 40px; }

.head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 20px;
  box-shadow: inset 0 -1px 0 var(--rule); /* hairline inside the box, as Framer draws it */
}

.body { display: flex; align-items: flex-start; gap: 64px; }
.body-text { flex: 1 1 0; min-width: 0; max-width: 620px; display: flex; flex-direction: column; gap: 20px; }
.body > .specs { flex: 0 0 340px; width: 340px; }

.specs { box-shadow: inset 0 1px 0 var(--rule); }
.spec-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  box-shadow: inset 0 -1px 0 var(--rule);
}
.spec-row .label { flex: none; }
.spec-row .figures { flex: 1 1 0; min-width: 0; text-align: right; }

.product { display: flex; flex-direction: column; gap: 40px; }
.product-body { display: flex; align-items: flex-start; gap: 64px; }
.well { flex: 1 1 0; min-width: 0; }
.well img { width: 100%; height: auto; }
.product-text { flex: 0 0 420px; width: 420px; display: flex; flex-direction: column; gap: 20px; }

.beta { padding-bottom: 160px; }
.beta .content { gap: 0; }
.beta-body { padding-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.beta-body > .reading { max-width: 620px; }
.beta-email { padding-top: 20px; }

.foot-small { display: none; }

/* ---------- Measure cursor ---------- */

.cursor { display: none; }
html.has-measure-cursor, html.has-measure-cursor * { cursor: none !important; }
html.has-measure-cursor .cursor {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}
html.has-measure-cursor .cursor.is-on { opacity: 1; }

.cursor-cross, .cursor-brackets { position: absolute; transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1); }
.cursor-cross { left: 0; top: 0; }
.cursor-cross .h, .cursor-cross .v { position: absolute; background: var(--gloss); }
.cursor-cross .h { left: -14.5px; top: -1.5px; width: 29px; height: 3px; }
.cursor-cross .v { left: -1.5px; top: -14.5px; width: 3px; height: 29px; }
.cursor-cross .h::after, .cursor-cross .v::after { content: ""; position: absolute; background: var(--ink); }
.cursor-cross .h::after { left: 0; top: 1px; width: 29px; height: 1px; }
.cursor-cross .v::after { left: 1px; top: 0; width: 1px; height: 29px; }

.cursor-dot { position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; background: var(--accent); }

.cursor-brackets { left: -17px; top: -17px; width: 34px; height: 34px; display: none; }
.cursor-brackets i { position: absolute; width: 9px; height: 9px; border: 0 solid var(--ink); }
.cursor-brackets .tl { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.cursor-brackets .tr { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.cursor-brackets .bl { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.cursor-brackets .br { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }

.cursor-reading, .cursor-open {
  position: absolute;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}
.cursor-reading { left: 16px; top: 14px; }
.cursor-open {
  left: 20px;
  top: 20px;
  display: none;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  line-height: 1;
  font-feature-settings: "cv03", "cv04", "cv09", "cv11", "tnum";
  color: var(--ink);
}

.cursor.is-link .cursor-cross, .cursor.is-link .cursor-reading { display: none; }
.cursor.is-link .cursor-brackets, .cursor.is-link .cursor-open { display: block; }
.cursor.is-pressed .cursor-cross { transform: scale(0.7); }
.cursor.is-pressed .cursor-brackets { transform: scale(0.8); }

/* ---------- Tablet and phone: the rail becomes a top strip ---------- */

@media (max-width: 1199.98px) {
  :root { --side: 32px; --top: 96px; }

  .rail {
    position: sticky;
    width: auto;
    height: auto;
    padding: 18px 32px;
    display: block;
    border-right: 0;
    box-shadow: inset 0 -1px 0 var(--rule);
  }
  .rail-top { gap: 0; }
  .rail-reading { display: flex; }
  .rail-index, .rail-bottom { display: none; }

  .page { padding-left: 0; }

  .display { font-size: 60px; line-height: 57px; }
  .display-second { font-size: 30px; }
  .section-title { font-size: 44px; }

  .intro { padding-top: 48px; scroll-margin-top: 57px; }
  .block { scroll-margin-top: 57px; }

  .floor { padding-top: 72px; }
  .floor-lines { height: 260px; }
  .when-wide { display: none; }
  .when-narrow { display: inline; }

  .body { flex-direction: column; align-items: stretch; gap: 40px; }
  .body-text { flex: none; }
  .body > .specs { flex: none; width: auto; }

  .product-body { flex-direction: column; align-items: stretch; gap: 32px; }
  .well, .product-text { flex: none; width: auto; }

  .beta { padding-bottom: 120px; }

  .foot-small {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 40px 20px 48px;
    box-shadow: inset 0 1px 0 var(--rule);
  }
}

@media (max-width: 809.98px) {
  :root { --side: 20px; --top: 72px; }

  .rail { padding: 14px 16px; }

  .hero { aspect-ratio: 1.4 / 1; }

  .display { font-size: 32px; line-height: 30.4px; }
  .display-second { font-size: 20px; }
  .section-title { font-size: 28px; }
  .reading, .rail-index { font-size: 16px; }

  .intro { padding-top: 32px; scroll-margin-top: 49px; }
  .block { scroll-margin-top: 49px; }
  .intro-side { width: 100%; }

  .floor { padding-top: 56px; }
  .floor-lines { height: 220px; }

  .body { gap: 32px; }
  .product-body { gap: 28px; }

  .beta { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .link, .cursor-cross, .cursor-brackets { transition: none; }
}
