/* Dkompos — restrained editorial system for the product and release site. */

:root {
  color-scheme: dark;

  --ink: #0a0a0b;
  --surface: #121316;
  --surface-up: #17181c;
  --paper: #f4f4f2;
  --paper-soft: #d6d6d2;
  --text: #f5f5f4;
  --text-soft: #b9bbc0;
  --muted: #90939a;
  --faint: #7c7f86;
  --accent: #e5a13d;
  --accent-warm: #f0b254;

  --line: rgba(245, 245, 244, 0.08);
  --line-mid: rgba(245, 245, 244, 0.14);
  --line-strong: rgba(245, 245, 244, 0.26);
  --focus: #f0b254;

  --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-text: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1224px;
  --measure: 680px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --content-gutter: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --header-height: 64px;

  --quick: 120ms;
  --steady: 220ms;
  --ease: cubic-bezier(0.32, 0.08, 0.24, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 100;
  padding: 10px 18px;
  transform: translate(-50%, -180%);
  background: var(--text);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: transform var(--quick) var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.eyebrow,
.hero-version,
.colophon,
.release-entry .date,
.panel-kicker,
.field > span,
.release-facts dt,
.download-facts dt,
.trust-strip dt,
.fact-line dt {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--text-soft);
}

.eyebrow > span {
  margin-right: 10px;
  color: var(--accent-warm);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--content-gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.96);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #eef0f2;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
}

.brand img,
.footer-brand img {
  width: 26px;
  height: 26px;
  margin-left: -5px;
  margin-right: -4px;
  flex: 0 0 auto;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 30px);
  color: var(--muted);
  font-size: 13px;
}

.nav-links a,
.site-footer nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  transition: color var(--quick) var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.site-footer nav a:hover,
.site-footer nav a[aria-current="page"] {
  color: var(--text);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  min-width: 64px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line-mid);
  color: var(--text-soft);
  cursor: pointer;
  font-size: 13px;
}

.mobile-nav nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 8px 18px;
  border: 1px solid var(--line-mid);
  background: var(--surface-up);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.44);
}

.mobile-nav nav a {
  display: flex;
  min-height: 46px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 14px;
}

.mobile-nav nav a:last-child {
  border-bottom: 0;
}

/* Links and buttons */

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition:
    background-color var(--quick) var(--ease),
    border-color var(--quick) var(--ease),
    color var(--quick) var(--ease),
    transform var(--quick) var(--ease);
}

.button-primary {
  background: var(--paper);
  color: #16130f;
}

.button-primary:hover {
  background: #fff8eb;
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text-soft);
  font-size: 14px;
  transition:
    border-color var(--quick) var(--ease),
    color var(--quick) var(--ease);
}

.text-link:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* Homepage */

.hero {
  max-width: var(--max);
  min-height: min(820px, 100vh);
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(112px, 12vw, 152px) var(--gutter) clamp(70px, 8vw, 104px);
}

.hero-copy {
  max-width: 900px;
}

.hero h1 {
  max-width: 950px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
  text-wrap: balance;
}

.hero-lede {
  max-width: 760px;
  margin-top: 34px;
  color: var(--text-soft);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.hero-actions,
.download-actions,
.release-actions,
.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.hero-actions {
  margin-top: 40px;
}

.hero-version {
  margin-top: 22px;
  color: var(--faint);
}

.product-frame {
  min-width: 0;
}

.product-frame img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line-mid);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.product-frame figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 14px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-frame figcaption a {
  color: var(--text-soft);
  border-bottom: 1px solid var(--line-mid);
}

.product-frame-hero {
  margin-top: 0;
}

.trust-strip {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  padding: 0 var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip > div {
  min-width: 0;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.trust-strip > div:first-child {
  padding-left: 0;
}

.trust-strip > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.trust-strip dt,
.fact-line dt,
.download-facts dt,
.release-facts dt {
  color: var(--faint);
}

.trust-strip dd {
  margin-top: 7px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.section-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(116px, 14vw, 176px) var(--gutter) clamp(92px, 11vw, 136px);
}

.section-intro h2,
.privacy-band h2,
.faq h2,
.download h2 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(44px, 6.8vw, 82px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-wrap: balance;
}

.section-intro h2 {
  max-width: 800px;
}

.section-intro > p:last-child {
  max-width: var(--measure);
  margin-top: 30px;
  color: var(--text-soft);
  font-size: 19px;
}

.section-intro > .text-link {
  margin-top: 22px;
}

.chapter {
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.45fr);
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(76px, 8vw, 108px) var(--gutter);
  border-top: 1px solid var(--line);
}

.chapter-reverse {
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.9fr);
}

.chapter-reverse .chapter-copy {
  order: 2;
}

.chapter-reverse .product-frame {
  order: 1;
}

.chapter h2 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
}

.chapter-copy > p:not(.eyebrow) {
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 17px;
}

.audio-story {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(84px, 9vw, 120px) var(--gutter);
  border-top: 1px solid var(--line);
}

.audio-story-header {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.audio-story h2 {
  max-width: 600px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-wrap: balance;
}

.audio-story-copy > p:first-child {
  color: var(--text-soft);
  font-size: 17px;
}

.output-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
}

.output-modes > div {
  min-width: 0;
  padding: 20px;
}

.output-modes > div:first-child {
  padding-left: 0;
  border-right: 1px solid var(--line);
}

.output-modes > div:last-child {
  padding-right: 0;
}

.output-modes dt,
.processing-summary > span {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.output-modes dt span {
  margin-left: 8px;
  color: var(--accent-warm);
}

.output-modes dd {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 13px;
}

.mode-modifier {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.mode-modifier strong {
  margin-right: 5px;
  color: var(--text);
  font-weight: 600;
}

.processing-summary {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
}

.output-modes + .processing-summary {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.audio-story-media {
  margin-top: clamp(52px, 6vw, 76px);
}

.fact-line {
  margin-top: 40px;
  border-top: 1px solid var(--line-mid);
}

.fact-line > div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.fact-line dd {
  color: var(--text-soft);
  font-size: 13px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  padding: 0;
  border-top: 1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
  list-style: none;
}

.workflow li {
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
}

.workflow li:first-child {
  padding-left: 0;
}

.workflow li:last-child {
  padding-right: 0;
  border-right: 0;
}

.workflow span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-warm);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.privacy-band {
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr);
  gap: clamp(50px, 8vw, 112px);
  margin: clamp(80px, 10vw, 140px) auto;
  padding: clamp(70px, 9vw, 112px) var(--gutter);
  border-top: 1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
}

.privacy-band h2 {
  max-width: 720px;
}

.privacy-band > div:last-child {
  align-self: end;
}

.privacy-band > div:last-child p {
  color: var(--text-soft);
  font-size: 17px;
}

.privacy-band .text-link {
  margin-top: 26px;
}

.faq {
  max-width: var(--max);
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(48px, 8vw, 112px);
  margin: 0 auto;
  padding: clamp(90px, 11vw, 140px) var(--gutter);
}

.faq-heading {
  align-self: start;
}

.faq h2 {
  font-size: clamp(40px, 5vw, 64px);
}

.faq-list {
  border-top: 1px solid var(--line-mid);
}

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

.faq-list summary {
  min-height: 62px;
  padding: 18px 0 18px 4px;
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

.faq-list details p {
  max-width: 680px;
  padding: 0 0 24px 4px;
  color: var(--text-soft);
  font-size: 15px;
}

.download {
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  gap: clamp(50px, 8vw, 112px);
  margin: 0 auto;
  padding: clamp(92px, 12vw, 156px) var(--gutter);
  border-top: 1px solid var(--line-mid);
}

.download-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 18px;
}

.download-actions {
  margin-top: 34px;
}

.download-facts {
  align-self: end;
  border-top: 1px solid var(--line-mid);
}

.download-facts > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.download-facts dd {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 14px;
}

/* Footer */

.site-footer {
  min-height: 152px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 34px var(--content-gutter);
  border-top: 1px solid var(--line);
}

.colophon {
  margin-top: 8px;
  color: var(--faint);
  letter-spacing: 0.08em;
}

/* Secondary pages */

.page {
  width: min(900px, calc(100% - (2 * var(--gutter))));
  min-height: calc(100vh - 152px);
  margin: 0 auto;
  padding: clamp(150px, 17vw, 210px) 0 clamp(90px, 10vw, 136px);
}

.page > h1,
.feedback-hero h1 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(50px, 7.5vw, 88px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

.page > p:not(.eyebrow),
.feedback-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 26px;
  color: var(--text-soft);
  font-size: 18px;
}

.page > h2 {
  margin-top: 72px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0;
  line-height: 1.1;
}

.page > h2 + p {
  margin-top: 18px;
}

.page > p a:not(.button),
.feedback-guidance a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
}

/* Releases */

.page > .release-actions {
  margin-top: 36px;
}

.release-note {
  color: var(--muted) !important;
  font-size: 14px !important;
}

.release-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid var(--line-mid);
}

.release-facts > div {
  min-width: 0;
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line);
}

.release-facts > div:last-child {
  grid-column: 1 / -1;
}

.release-facts dd {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 14px;
}

.checksum {
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: 12px !important;
}

article.release-entry {
  margin-top: 76px;
  padding-top: 34px;
  border-top: 1px solid var(--line-mid);
}

article.release-entry h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  color: var(--accent-warm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-entry .date {
  color: var(--faint);
}

article.release-entry h3 {
  max-width: 760px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: 0;
  line-height: 1.2;
}

article.release-entry > p {
  max-width: 760px;
  margin-top: 18px;
  color: var(--text-soft);
}

article.release-entry > ul {
  max-width: 760px;
  margin-top: 26px;
  padding-left: 21px;
  color: var(--text-soft);
}

article.release-entry li + li {
  margin-top: 9px;
}

article.release-entry .release-actions {
  margin-top: 28px;
}

article.release-entry .release-facts {
  margin-top: 32px;
}

.page > details.release-entry {
  margin-top: 84px;
  border-top: 1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
}

.page > details.release-entry > summary {
  width: 100%;
  min-height: 68px;
  padding: 20px 4px;
  border-bottom: 0;
  cursor: pointer;
  color: var(--text);
  font-weight: 500;
}

.page > details.release-entry[open] > summary {
  border-bottom: 1px solid var(--line-mid);
}

.page > details.release-entry > .release-note {
  margin: 26px 0 0;
}

.page > details.release-entry article.release-entry {
  margin-top: 46px;
}

.page > details.release-entry article.release-entry:last-child {
  padding-bottom: 54px;
}

/* Feedback */

.contact-page {
  width: min(var(--max), calc(100% - (2 * var(--gutter))));
}

.feedback-hero {
  max-width: 920px;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
}

.contact-channel {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 26px;
  border-right: 1px solid var(--line-mid);
}

.contact-channel:last-child {
  border-right: 0;
}

.contact-channel span,
.panel-kicker {
  color: var(--faint);
}

.contact-channel span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-channel strong {
  margin-top: 6px;
  font-size: 15px;
}

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(48px, 7vw, 88px);
  margin-top: clamp(72px, 9vw, 112px);
  padding-top: 46px;
  border-top: 1px solid var(--line-mid);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.panel-heading h2,
.feedback-guidance h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: 0;
  line-height: 1.1;
}

.panel-heading p:not(.panel-kicker) {
  margin-top: 12px;
  color: var(--muted);
}

.panel-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--line-mid);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feedback-form {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 9px;
}

.field > span {
  color: var(--text-soft);
  letter-spacing: 0.08em;
}

.field small {
  color: var(--faint);
  font-size: 10px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-mid);
  border-radius: 2px;
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--quick) var(--ease);
}

.field input,
.field select {
  min-height: 48px;
  padding: 0 14px;
}

.field textarea {
  min-height: 190px;
  padding: 13px 14px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.feedback-guidance {
  align-self: start;
}

.feedback-list {
  margin-top: 30px;
  padding: 0;
  border-top: 1px solid var(--line-mid);
  list-style: none;
}

.feedback-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.feedback-list li span {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-weight: 600;
}

.form-status {
  min-height: 24px;
  color: var(--text-soft);
  font-size: 14px;
}

.screen-reader-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

/* Responsive */

@media (max-width: 1020px) {
  .hero {
    min-height: 0;
    display: block;
    padding-top: 142px;
  }

  .hero h1 {
    max-width: 900px;
    font-size: clamp(54px, 10vw, 94px);
  }

  .product-frame-hero {
    margin-top: 70px;
  }

  .chapter,
  .chapter-reverse {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .chapter-reverse .chapter-copy,
  .chapter-reverse .product-frame {
    order: initial;
  }

  .chapter-copy {
    max-width: 740px;
  }

  .audio-story-header {
    grid-template-columns: 1fr;
  }

  .audio-story-copy {
    max-width: 740px;
  }

  .privacy-band,
  .faq,
  .download,
  .feedback-layout {
    grid-template-columns: 1fr;
  }

  .privacy-band > div:last-child,
  .download-facts {
    max-width: 620px;
  }

  .faq-heading {
    max-width: 660px;
  }

  .feedback-guidance {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 58px;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    padding-top: 126px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 50px);
    letter-spacing: 0;
  }

  .hero-lede {
    font-size: 18px;
  }

  .product-frame-hero {
    margin-top: 44px;
  }

  .product-frame-hero img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip > div {
    padding: 22px 18px;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip > div:nth-child(2) {
    border-right: 0;
  }

  .trust-strip > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .trust-strip > div:first-child,
  .trust-strip > div:nth-child(3) {
    padding-left: 0;
  }

  .output-modes {
    grid-template-columns: 1fr;
  }

  .output-modes > div:first-child {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .output-modes > div:last-child {
    padding-left: 0;
  }

  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow li:nth-child(2) {
    border-right: 0;
  }

  .workflow li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .workflow li:nth-child(3) {
    padding-left: 0;
  }

  .privacy-band {
    margin-top: 54px;
    margin-bottom: 54px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .release-facts,
  .contact-channels,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .release-facts > div:last-child {
    grid-column: auto;
  }

  .contact-channel {
    border-right: 0;
    border-bottom: 1px solid var(--line-mid);
  }

  .contact-channel:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .download-actions,
  .feedback-actions,
  .release-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .download-actions .button,
  .release-actions .button,
  .feedback-actions .button {
    width: 100%;
  }

  .hero-actions .text-link,
  .download-actions .text-link,
  .release-actions .text-link,
  .feedback-actions .text-link {
    align-self: flex-start;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip > div,
  .trust-strip > div:nth-child(2),
  .trust-strip > div:nth-last-child(-n + 2) {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip > div:last-child {
    border-bottom: 0;
  }

  .chapter h2,
  .audio-story h2,
  .section-intro h2,
  .privacy-band h2,
  .faq h2,
  .download h2 {
    font-size: 42px;
  }

  .fact-line > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .processing-summary {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .panel-heading {
    flex-direction: column;
  }

  article.release-entry h2 {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* 1.6.1 release story */

.release-page {
  max-width: var(--max);
  padding-top: clamp(132px, 14vw, 184px);
}

.release-hero {
  max-width: 1080px;
}

.release-hero h1 {
  max-width: 1040px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(58px, 7.4vw, 102px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
  text-wrap: balance;
}

.release-hero > p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 30px;
  color: var(--text-soft);
  font-size: 19px;
}

.release-hero .release-actions {
  margin-top: 36px;
}

.release-hero .release-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 54px;
}

.release-hero .release-facts > div {
  padding-right: 24px;
}

.release-hero .release-facts > div:last-child {
  grid-column: 1 / -1;
}

.release-shot {
  margin-top: clamp(66px, 8vw, 104px);
}

.release-entry-current {
  margin-top: clamp(94px, 10vw, 132px) !important;
}

.release-entry-current h3 {
  max-width: 900px;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1;
}

.release-entry-current > p {
  max-width: 820px;
  font-size: 17px;
}

.release-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
}

.release-pillars > div {
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.release-pillars > div:first-child {
  padding-left: 0;
}

.release-pillars > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.release-pillars h4 {
  margin-top: 10px;
  color: var(--text);
  font-size: 16px;
}

.release-pillars h4 + p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.release-detail {
  margin-top: clamp(62px, 7vw, 86px);
}

.release-detail > h4 {
  max-width: 820px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: 0;
  line-height: 1.08;
}

.release-detail > p,
.release-detail > ul {
  max-width: 820px;
  margin-top: 22px;
  color: var(--text-soft);
}

.release-detail > ul {
  padding-left: 21px;
}

.release-detail li + li {
  margin-top: 9px;
}

.release-page > details.release-entry {
  max-width: 900px;
}

@media (max-width: 900px) {
  .release-hero .release-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-pillars {
    grid-template-columns: 1fr;
  }

  .release-pillars > div,
  .release-pillars > div:first-child,
  .release-pillars > div:last-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .release-pillars > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .release-page {
    padding-top: 120px;
  }

  .release-hero h1 {
    font-size: clamp(50px, 14.6vw, 70px);
  }

  .release-hero .release-facts {
    grid-template-columns: 1fr;
  }

  .release-shot {
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
  }

  .release-shot img {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .release-shot figcaption {
    padding: 0 var(--gutter);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--ink);
  }
}

/* 1.6.1 — proof-led product story */

:root {
  --max: 1360px;
}

.button-primary {
  background: var(--accent-warm);
  color: #171109;
}

.button-primary:hover {
  background: #f3bd6e;
}

.product-frame img {
  border-color: var(--line);
  border-radius: 3px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.proof-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(132px, 13vw, 178px) var(--gutter) clamp(74px, 8vw, 108px);
}

.proof-hero-copy,
.audio-proof-intro,
.showcase-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: end;
}

.proof-hero h1 {
  max-width: 860px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(54px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
  text-wrap: balance;
}

.proof-hero h1 span {
  display: block;
}

.proof-hero-brief {
  padding-bottom: 5px;
}

.proof-hero .hero-lede {
  margin-top: 0;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
}

.hero-statement {
  margin-top: 20px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.proof-hero-frame {
  margin-top: clamp(64px, 7vw, 94px);
}

.proof-strip {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto;
  padding: 0 var(--gutter);
  border-top: 1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
}

.proof-strip > div {
  min-width: 0;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.proof-strip > div:first-child {
  padding-left: 0;
}

.proof-strip > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-strip dt,
.inline-facts dt {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.proof-strip dd {
  margin-top: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.audio-proof,
.product-showcase {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(100px, 11vw, 148px) var(--gutter);
  border-top: 1px solid var(--line);
}

.audio-proof {
  border-top: 0;
}

.audio-proof-intro,
.showcase-copy {
  align-items: start;
}

.audio-proof h2,
.product-showcase h2 {
  max-width: 720px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

.audio-proof-intro > div:last-child > p,
.showcase-copy > div:last-child > p {
  color: var(--text-soft);
  font-size: 17px;
}

.audio-proof-intro .text-link {
  margin-top: 24px;
}

.quality-matrix {
  margin-top: clamp(54px, 6vw, 78px);
  padding: 0;
  border-top: 1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
  list-style: none;
}

.quality-row {
  display: grid;
  grid-template-columns: 148px minmax(220px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.quality-row:last-child {
  border-bottom: 0;
}

.quality-status {
  color: var(--accent-warm);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quality-row h3 {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.quality-row h3 + p,
.quality-row > p:last-child {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.quality-row > p:last-child {
  margin-top: 0;
  color: var(--text-soft);
}

.evidence-note {
  max-width: 860px;
  margin-top: 24px;
  color: var(--faint);
  font-size: 13px;
}

.showcase-frame {
  margin-top: clamp(54px, 6vw, 78px);
}

.inline-facts {
  margin-top: 30px;
  border-top: 1px solid var(--line-mid);
}

.inline-facts > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.inline-facts dd {
  color: var(--text-soft);
  font-size: 13px;
}

.showcase-link {
  margin-top: 22px;
}

.product-showcase .workflow {
  margin-top: 32px;
}

.category-audio-contract {
  border-top: 1px solid var(--line);
}

.supporting-workflows {
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 8vw, 112px);
  margin: 0 auto;
  padding: clamp(82px, 9vw, 118px) var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.supporting-workflows-heading h2 {
  max-width: 620px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
}

.supporting-workflows-heading > p:last-child {
  max-width: 620px;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 16px;
}

.workflow-summaries {
  align-self: end;
  border-top: 1px solid var(--line-mid);
}

.workflow-summary {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 42px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line-mid);
}

.workflow-summary h3 {
  max-width: 580px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
  text-wrap: balance;
}

.workflow-summary h3 + p {
  max-width: 640px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .proof-hero-copy {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .proof-hero-brief {
    max-width: 760px;
  }
}

@media (max-width: 1020px) {
  .proof-hero-copy,
  .audio-proof-intro,
  .showcase-copy {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .proof-hero-brief,
  .audio-proof-intro > div:last-child,
  .showcase-copy > div:last-child {
    max-width: 760px;
  }

  .quality-row {
    grid-template-columns: 126px minmax(200px, 0.78fr) minmax(260px, 1.22fr);
    gap: 28px;
  }

  .proof-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof-strip > div:nth-child(3) {
    border-right: 0;
  }

  .proof-strip > div:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .supporting-workflows {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .supporting-workflows-heading {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .proof-hero {
    padding-top: 108px;
  }

  .proof-hero h1 {
    font-size: clamp(31px, 9.6vw, 42px);
  }

  .proof-hero-frame,
  .showcase-frame {
    margin-top: 44px;
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
  }

  .proof-hero-frame img,
  .showcase-frame img {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .proof-hero-frame figcaption,
  .showcase-frame figcaption {
    padding: 0 var(--gutter);
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip > div,
  .proof-strip > div:first-child,
  .proof-strip > div:last-child {
    padding: 18px 14px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .proof-strip > div:nth-child(odd) {
    padding-left: 0;
  }

  .proof-strip > div:nth-child(even) {
    padding-right: 0;
    border-right: 0;
  }

  .proof-strip > div:first-child,
  .proof-strip > div:nth-child(2) {
    border-top: 0;
  }

  .proof-strip > div:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .quality-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .quality-row > p:last-child {
    margin-top: 5px;
  }

  .audio-proof h2,
  .product-showcase h2 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .workflow-summary {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .proof-hero .hero-actions {
    align-items: stretch;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip > div,
  .proof-strip > div:first-child,
  .proof-strip > div:nth-child(2),
  .proof-strip > div:last-child {
    grid-column: auto;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .proof-strip > div:first-child {
    border-top: 0;
  }

  .inline-facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ============================================================
   Refinement layer — quiet, product-led and Rams-informed.
   Graphite surfaces, one amber accent, mono telemetry,
   hairline structure and restrained geometry.
   ============================================================ */

:root {
  --radius: 2px;
  --radius-lg: 3px;
  --shadow-frame: none;
}

body {
  font-size: 15.5px;
  line-height: 1.65;
}

/* Type — quieter, tighter, weight 600 not 700 */

h1, h2, h3 {
  letter-spacing: -0.02em;
}

.hero h1,
.page > h1,
.feedback-hero h1,
.release-hero h1,
.proof-hero h1,
.section-intro h2,
.privacy-band h2,
.faq h2,
.download h2,
.chapter h2,
.audio-story h2,
.audio-proof h2,
.product-showcase h2,
.supporting-workflows-heading h2 {
  font-weight: 600;
  letter-spacing: -0.025em;
}

.page > h1,
.feedback-hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.04;
}

.release-hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
}

.proof-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
}

.section-intro h2,
.privacy-band h2,
.faq h2,
.download h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.audio-proof h2,
.product-showcase h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.page > h2 {
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
}

article.release-entry h3,
.release-detail > h4 {
  font-weight: 600;
}

.eyebrow,
.hero-version,
.colophon,
.release-entry .date,
.panel-kicker,
.field > span,
.release-facts dt,
.download-facts dt,
.trust-strip dt,
.fact-line dt {
  font-size: 10.5px;
  letter-spacing: 0.16em;
}

.eyebrow {
  color: var(--muted);
}

/* Header — thin, blurred, hairline */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 11, 0.94);
}

.brand,
.footer-brand {
  color: var(--text);
  letter-spacing: 0.5px;
  font-size: 18px;
}

.nav-links,
.site-footer nav {
  font-size: 13.5px;
}

/* Buttons — direct, quiet and precise */

.button {
  min-height: 46px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.button-primary {
  background: var(--accent);
  color: #16110a;
  box-shadow: none;
}

.button-primary:hover {
  background: var(--accent-warm);
  transform: none;
  box-shadow: none;
}

.button-ghost {
  border-color: var(--line-mid);
  color: var(--text-soft);
  background: transparent;
}

.button-ghost:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.text-link {
  min-height: 40px;
  border-bottom: 1px solid var(--line-mid);
  color: var(--text-soft);
}

/* Product screenshots — framed as evidence, without decorative elevation */

.product-frame img {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: none;
}

/* Forms */

.field input,
.field select,
.field textarea {
  border-radius: var(--radius);
  background: var(--surface);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(229, 161, 61, 0.22);
}

.panel-badge {
  border-radius: var(--radius);
}

.mobile-nav summary {
  border-radius: var(--radius);
}

.mobile-nav nav {
  border-radius: var(--radius-lg);
  background: var(--surface-up);
  box-shadow: none;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: #080809;
}
