/*
 * Quick Image Saving — Quiet Mono marketing site
 *
 * The website uses the same square geometry, grayscale palette, Inter type,
 * and high-contrast interaction rules as the extension. Product screenshots
 * are generated from the packaged build rather than redrawn here.
 */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-variable.woff2") format("woff2-variations");
}

/* ---------------------------------------------------------------- tokens */

:root {
  --space-1000: #030303;
  --space-950: #070707;
  --space-900: #0d0d0d;
  --space-850: #141414;
  --space-800: #1c1c1c;
  --space-750: #292929;
  --line: #666666;
  --line-strong: #8c8c8c;
  --cloud: #f2f2f2;
  --mist: #d0d0d0;
  --fog: #a8a8a8;
  --accent-300: #dedede;
  --accent-200: #f0f0f0;
  --success: #67e6c2;
  --warning: #ffbc57;
  --danger: #ff91a4;

  --inverse-bg: #f2f2f2;
  --inverse-surface: #dedede;
  --inverse-text: #030303;
  --inverse-muted: #2f2f2f;
  --inverse-line: #666666;

  --font-sans: "Inter Variable", Inter, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell-width: 1840px;
  --shell-gutter: clamp(20px, 3vw, 56px);
  --measure: 66ch;
  --header-offset: 92px;
  --header-height: 72px;
  --transition: 180ms;

  color-scheme: dark;
}

html[data-theme="light"] {
  --space-1000: #ffffff;
  --space-950: #f7f7f7;
  --space-900: #ffffff;
  --space-850: #f1f1f1;
  --space-800: #e6e6e6;
  --space-750: #d4d4d4;
  --line: #6a6a6a;
  --line-strong: #454545;
  --cloud: #111111;
  --mist: #2f2f2f;
  --fog: #444444;
  --accent-300: #333333;
  --accent-200: #171717;
  --success: #005c40;
  --warning: #683900;
  --danger: #851128;

  --inverse-bg: #111111;
  --inverse-surface: #292929;
  --inverse-text: #ffffff;
  --inverse-muted: #d0d0d0;
  --inverse-line: #8c8c8c;

  color-scheme: light;
}

/* ------------------------------------------------------------------ base */

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

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

html.lenis {
  scroll-behavior: auto;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--space-950);
  color: var(--cloud);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  font-optical-sizing: auto;
  font-feature-settings: "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cloud);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

button {
  border-radius: 0;
  font: inherit;
  cursor: pointer;
}

code,
kbd,
pre,
samp {
  font-family: var(--font-mono);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--cloud);
  color: var(--space-1000);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.scroll-progress {
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  z-index: 49;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

.motion-enabled .scroll-progress {
  visibility: visible;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cloud);
  transform: scaleX(0);
  transform-origin: left center;
}

/* --------------------------------------------------------------- layout */

.shell {
  width: 100%;
  max-width: var(--shell-width);
  margin: 0 auto;
  padding-inline: var(--shell-gutter);
}

.shell-narrow {
  max-width: 60rem;
}

.section {
  padding-block: clamp(80px, 8vw, 144px);
  border-top: 1px solid var(--space-750);
  scroll-margin-top: var(--header-offset);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 6vw, 112px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.split-heading h2 {
  max-width: 15ch;
}

.section-intro {
  max-width: var(--measure);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
  color: var(--mist);
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--fog);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--cloud);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h1 {
  font-size: clamp(50px, 6.8vw, 104px);
}

h2 {
  font-size: clamp(42px, 5vw, 76px);
}

h3 {
  font-size: clamp(21px, 1.8vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.16;
}

p {
  margin: 0;
}

.body-copy {
  max-width: var(--measure);
  margin-top: 16px;
  color: var(--mist);
}

.lede {
  max-width: var(--measure);
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--mist);
}

.meta {
  color: var(--fog);
  font-size: 13px;
}

.code-inline {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid var(--space-750);
  background: var(--space-900);
  color: var(--accent-200);
  font-size: 0.86em;
  white-space: nowrap;
}

/* --------------------------------------------------------------- icons */

.ui-icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.ui-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mist);
  transition: background-color var(--transition) ease, border-color var(--transition) ease,
    color var(--transition) ease;
}

.ui-icon-button:hover {
  border-color: var(--line-strong);
  background: var(--space-800);
  color: var(--cloud);
}

html:not([data-theme="light"]) .theme-icon-sun,
html[data-theme="light"] .theme-icon-moon {
  display: none;
}

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

.ui-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding-inline: 24px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition) ease, border-color var(--transition) ease,
    color var(--transition) ease, transform var(--transition) ease;
}

.ui-button:hover {
  transform: translateY(-1px);
}

.ui-button-primary {
  border-color: var(--cloud);
  background: var(--cloud);
  color: var(--space-1000);
}

.ui-button-primary:hover {
  border-color: var(--accent-300);
  background: var(--accent-300);
  color: var(--space-1000);
}

.ui-button-secondary {
  border-color: var(--line);
  background: var(--space-850);
  color: var(--cloud);
}

.ui-button-secondary:hover {
  border-color: var(--line-strong);
  background: var(--space-800);
}

.ui-button-large {
  min-height: 58px;
  padding-inline: 30px;
  font-size: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--mist);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

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

.text-link .ui-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition) ease;
}

.text-link:hover .ui-icon {
  transform: translateX(3px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--space-750);
  background: color-mix(in srgb, var(--space-950) 94%, transparent);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--cloud);
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-sub {
  display: block;
  color: var(--fog);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.1vw, 34px);
}

.site-nav a {
  color: var(--mist);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--cloud);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions .ui-button {
  min-height: 42px;
  padding-inline: 19px;
  font-size: 14px;
}

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

.hero {
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  gap: clamp(44px, 5vw, 96px);
  align-items: center;
  min-height: min(790px, calc(100svh - 72px));
  padding-block: clamp(56px, 6vw, 96px);
}

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

.hero-copy h1 {
  max-width: 10ch;
}

.hero-lede {
  max-width: 61ch;
  margin-top: clamp(24px, 3vw, 36px);
  color: var(--mist);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 34px;
}

.hero-assurance {
  max-width: 62ch;
  margin-top: 24px;
  color: var(--fog);
  font-size: 13px;
  line-height: 1.6;
}

.product-stage {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--space-850);
}

.product-stage-rail {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  border-right: 1px solid var(--space-750);
  background: var(--space-900);
}

.product-stage-rail > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 16px;
  border-bottom: 1px solid var(--space-750);
  color: var(--mist);
  font-size: 13px;
}

.product-stage-rail > div:last-child {
  border-bottom: 0;
}

.stage-index {
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.product-stage-screen {
  min-width: 0;
  background: var(--space-900);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding-inline: 16px;
  border-bottom: 1px solid var(--space-750);
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-product-shot {
  width: min(100%, 440px);
  margin: clamp(20px, 2.5vw, 36px) auto;
  border: 1px solid var(--line);
  background: var(--space-950);
}

.themed-light {
  display: none;
}

html[data-theme="light"] .themed-dark {
  display: none;
}

html[data-theme="light"] .themed-light {
  display: block;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--space-750);
  border-bottom: 1px solid var(--space-750);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 26px clamp(16px, 2.4vw, 36px);
  border-right: 1px solid var(--space-750);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-value {
  color: var(--cloud);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.proof-label {
  color: var(--fog);
  font-size: 13px;
}

/* ------------------------------------------------------------ value grid */

.value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.value-card {
  display: flex;
  min-height: 302px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3.5vw, 56px);
  border: 1px solid var(--line);
  background: var(--space-850);
}

.value-card + .value-card {
  border-left: 0;
}

.value-card:last-child {
  border-top: 0;
}

.value-card-large {
  grid-row: span 2;
  min-height: 604px;
  justify-content: flex-start;
  background: var(--space-900);
}

.value-card-dark {
  background: var(--space-800);
}

.card-number {
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.value-icon {
  width: 42px;
  height: 42px;
  margin-block: clamp(40px, 5vw, 72px) 28px;
  color: var(--cloud);
}

.value-card:not(.value-card-large) .value-icon {
  width: 32px;
  height: 32px;
  margin-block: 32px 24px;
}

.value-card h3 {
  max-width: 19ch;
}

.value-card p {
  max-width: 60ch;
  margin-top: 18px;
  color: var(--mist);
  font-size: 15px;
}

.value-card-large > p {
  max-width: 64ch;
  font-size: 17px;
}

.selector-samples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: auto;
  padding-top: 56px;
}

.selector-samples span {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--space-750);
  border-right: 0;
  background: var(--space-950);
}

.selector-samples span:last-child {
  border-right: 1px solid var(--space-750);
}

.selector-samples code,
.selector-samples small {
  display: block;
}

.selector-samples code {
  overflow: hidden;
  color: var(--accent-200);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selector-samples small {
  margin-top: 8px;
  color: var(--fog);
  font-size: 11px;
}

/* -------------------------------------------------------------- workflow */

.workflow-section {
  background: var(--space-900);
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}

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

.workflow-steps li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.workflow-number {
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.workflow-steps h3 {
  font-size: 22px;
}

.workflow-steps p {
  max-width: 48ch;
  margin-top: 8px;
  color: var(--mist);
  font-size: 14px;
}

.workflow-demo {
  display: flex;
  flex-direction: column;
  min-height: 540px;
  border: 1px solid var(--line);
  background: var(--space-950);
}

.workflow-demo-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--space-750);
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(36px, 5vw, 72px);
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--space-900);
  color: var(--accent-200);
  font-size: clamp(14px, 1.4vw, 18px);
  overflow-x: auto;
  white-space: nowrap;
}

.terminal-prompt {
  color: var(--fog);
}

.workflow-result {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin: auto clamp(36px, 5vw, 72px);
}

.workflow-result div {
  display: flex;
  flex-direction: column;
}

.workflow-result span {
  color: var(--fog);
  font-size: 12px;
}

.workflow-result strong {
  margin-top: 4px;
  color: var(--cloud);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.workflow-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--space-750);
}

.workflow-options span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid var(--space-750);
  color: var(--mist);
  font-size: 12px;
}

.workflow-options span:last-child {
  border-right: 0;
}

.workflow-options .ui-icon {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------- product tour */

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  align-items: start;
}

.tour-card {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--space-850);
}

.tour-media {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  aspect-ratio: 4 / 5;
  min-height: 320px;
  overflow: hidden;
  padding: clamp(16px, 2vw, 28px);
  border-bottom: 1px solid var(--space-750);
  background: var(--space-900);
}

.tour-media img {
  width: 100%;
  max-width: 440px;
  height: 100%;
  border: 1px solid var(--line);
  background: var(--space-950);
  object-fit: cover;
  object-position: center top;
}

.tour-card:nth-child(2) .tour-media img,
.tour-card:nth-child(3) .tour-media img {
  object-position: center bottom;
}

.tour-card figcaption {
  padding: clamp(24px, 2.5vw, 36px);
}

.tour-card figcaption > span {
  display: block;
  margin-bottom: 16px;
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tour-card figcaption h3 {
  font-size: clamp(21px, 1.7vw, 26px);
}

.tour-card figcaption p {
  margin-top: 12px;
  color: var(--mist);
  font-size: 14px;
}

/* --------------------------------------------------------- report panel */

.report-section {
  background: var(--space-850);
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(560px, 1.28fr);
  gap: clamp(48px, 7vw, 124px);
  align-items: center;
}

.report-copy h2 {
  max-width: 10ch;
}

.report-copy .section-intro {
  margin-top: 28px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mist);
  font-size: 14px;
}

.check-list .ui-icon {
  width: 15px;
  height: 15px;
  color: var(--cloud);
}

.report-panel {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--space-900);
}

.report-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding-inline: 18px;
  border-bottom: 1px solid var(--space-750);
  background: var(--space-950);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
}

.report-head span:last-child {
  margin-left: auto;
  color: var(--fog);
}

.report-head .ui-icon {
  width: 15px;
  height: 15px;
  color: var(--fog);
}

.report-body {
  margin: 0;
  padding: clamp(24px, 3.5vw, 48px);
  overflow-x: auto;
  color: var(--mist);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.8;
  white-space: pre;
}

/* --------------------------------------------------------- feature list */

.feature-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(600px, 1.28fr);
  gap: clamp(48px, 7vw, 124px);
  align-items: start;
}

.feature-heading {
  position: sticky;
  top: calc(var(--header-offset) + 24px);
}

.feature-heading h2 {
  max-width: 10ch;
}

.feature-heading .section-intro {
  max-width: 42ch;
  margin-top: 28px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-list article {
  min-height: 230px;
  padding: clamp(26px, 3vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--space-850);
}

.feature-list article > .ui-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 44px;
}

.feature-list h3 {
  font-size: 21px;
}

.feature-list p {
  max-width: 38ch;
  margin-top: 10px;
  color: var(--mist);
  font-size: 14px;
}

/* ------------------------------------------------------------ privacy */

.privacy-band {
  border-top-color: var(--inverse-line);
  background: var(--inverse-bg);
  color: var(--inverse-text);
}

.privacy-layout {
  display: grid;
  grid-template-columns: 160px minmax(420px, 1fr) minmax(300px, 0.7fr);
  gap: clamp(36px, 6vw, 104px);
  align-items: start;
}

.privacy-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid var(--inverse-line);
}

.privacy-mark .ui-icon {
  width: 64px;
  height: 64px;
}

.privacy-band .eyebrow,
.privacy-band .section-intro {
  color: var(--inverse-muted);
}

.privacy-copy h2 {
  max-width: 13ch;
  color: var(--inverse-text);
}

.privacy-copy > p:not(.eyebrow) {
  max-width: 64ch;
  margin-top: 26px;
  color: var(--inverse-muted);
  font-size: 17px;
}

.privacy-copy .text-link {
  margin-top: 24px;
  color: var(--inverse-text);
}

.privacy-facts {
  border-top: 1px solid var(--inverse-line);
}

.privacy-facts span {
  display: flex;
  flex-direction: column;
  padding-block: 22px;
  border-bottom: 1px solid var(--inverse-line);
}

.privacy-facts strong {
  color: var(--inverse-text);
  font-size: 16px;
  font-weight: 500;
}

.privacy-facts small {
  margin-top: 4px;
  color: var(--inverse-muted);
  font-size: 13px;
}

/* --------------------------------------------------------------- faq */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(540px, 1.3fr);
  gap: clamp(48px, 8vw, 144px);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: calc(var(--header-offset) + 24px);
}

.faq-heading h2 {
  max-width: 10ch;
}

.faq-heading .section-intro {
  max-width: 40ch;
  margin-top: 26px;
}

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

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  color: var(--cloud);
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 500;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transform: rotate(0deg);
  transition: color 240ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-list details[open] summary::after,
.faq-list details[data-expanded="true"] summary::after {
  color: var(--cloud);
  transform: rotate(45deg);
}

.faq-list details[data-expanded="false"] summary::after {
  color: var(--fog);
  transform: rotate(0deg);
}

.faq-answer {
  overflow: hidden;
}

.faq-answer-inner {
  padding: 0 64px 30px 0;
}

.faq-answer p {
  max-width: 64ch;
  color: var(--mist);
  font-size: 15px;
}

/* --------------------------------------------------------- final callout */

.final-cta {
  padding-block: clamp(88px, 10vw, 180px);
  border-top: 1px solid var(--line);
  background: var(--space-850);
}

.final-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
}

.final-cta .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.final-cta h2 {
  max-width: 9ch;
  font-size: clamp(64px, 9vw, 150px);
  line-height: 0.9;
}

.final-cta-action {
  padding-bottom: 8px;
}

.final-cta-action p {
  max-width: 44ch;
  margin-bottom: 28px;
  color: var(--mist);
  font-size: 17px;
}

/* --------------------------------------------------------------- policy */

.ui-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: var(--space-900);
  color: var(--mist);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.policy {
  max-width: 760px;
  padding: 80px 0 112px;
}

.policy h1 {
  font-size: clamp(48px, 6vw, 72px);
}

.policy h2 {
  margin: 56px 0 16px;
  font-size: 26px;
  line-height: 1.15;
}

.policy h2:first-of-type {
  margin-top: 48px;
}

.policy p {
  margin-top: 16px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.75;
}

.policy .lede {
  font-size: 19px;
}

.policy ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.policy li {
  position: relative;
  margin-top: 12px;
  padding-left: 24px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.7;
}

.policy li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--line-strong);
}

.policy code {
  padding: 2px 6px;
  border: 1px solid var(--space-750);
  background: var(--space-900);
  color: var(--accent-200);
  font-size: 14px;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-card {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--space-850);
}

.contact-card dl {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px 16px;
  margin: 0;
  font-size: 15px;
}

.contact-card dt {
  color: var(--fog);
}

.contact-card dd {
  margin: 0;
  color: var(--mist);
}

/* --------------------------------------------------------------- footer */

.site-footer {
  padding-block: 42px;
  border-top: 1px solid var(--space-750);
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 42px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--cloud);
  font-size: 14px;
  font-weight: 500;
}

.footer-brand span {
  color: var(--fog);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--mist);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cloud);
}

.footer-copyright {
  color: var(--fog);
  font-size: 12px;
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 1260px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
    gap: 44px;
  }

  .product-stage {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .privacy-layout {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .privacy-facts {
    grid-column: 2;
  }
}

@media (max-width: 1060px) {
  .site-nav {
    display: none;
  }

  .hero-grid,
  .workflow-grid,
  .report-layout,
  .feature-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    min-height: 0;
  }

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

  .product-stage {
    width: 100%;
  }

  .workflow-demo {
    min-height: 480px;
  }

  .report-copy h2,
  .feature-heading h2,
  .faq-heading h2 {
    max-width: 14ch;
  }

  .feature-heading,
  .faq-heading {
    position: static;
  }

  .feature-heading .section-intro,
  .faq-heading .section-intro {
    max-width: var(--measure);
  }

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

  .tour-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  }

  .tour-card:last-child .tour-media {
    border-right: 1px solid var(--space-750);
    border-bottom: 0;
  }
}

@media (max-width: 800px) {
  :root {
    --header-offset: 78px;
  }

  .section {
    padding-block: 80px;
  }

  .split-heading,
  .final-cta-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-heading {
    align-items: start;
  }

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

  .value-card,
  .value-card-large {
    grid-row: auto;
    min-height: 0;
    border-left: 1px solid var(--line);
  }

  .value-card + .value-card,
  .value-card:last-child {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .selector-samples {
    padding-top: 48px;
  }

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

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(n + 3) {
    border-top: 1px solid var(--space-750);
  }

  .proof-item:nth-child(3) {
    padding-left: 0;
  }

  .workflow-options,
  .feature-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-options span {
    border-right: 0;
    border-bottom: 1px solid var(--space-750);
  }

  .workflow-options span:last-child {
    border-bottom: 0;
  }

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

  .tour-card:last-child {
    grid-column: auto;
    display: block;
  }

  .tour-card:last-child .tour-media {
    border-right: 0;
    border-bottom: 1px solid var(--space-750);
  }

  .privacy-layout {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .privacy-facts {
    grid-column: 1 / -1;
  }

  .final-cta .eyebrow {
    grid-column: auto;
  }

  .final-cta h2 {
    font-size: clamp(64px, 16vw, 108px);
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 64px;
  }

  .site-header-inner {
    min-height: 64px;
    gap: 8px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 14px;
    white-space: nowrap;
  }

  .brand-sub {
    display: none;
  }

  .ui-icon-button {
    width: 38px;
    height: 38px;
  }

  .header-actions .ui-button {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .hero-grid {
    gap: 48px;
    padding-block: 48px 64px;
  }

  .hero-copy h1 {
    max-width: 9ch;
    font-size: clamp(50px, 15vw, 72px);
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .ui-button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .product-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-stage-rail {
    display: none;
  }

  .window-bar span:last-child {
    display: none;
  }

  .hero-product-shot {
    width: calc(100% - 28px);
    margin-block: 14px;
  }

  .proof-item {
    padding: 20px 14px;
  }

  .proof-item:nth-child(odd) {
    padding-left: 0;
  }

  .proof-item:nth-child(even) {
    padding-right: 0;
  }

  .selector-samples {
    grid-template-columns: minmax(0, 1fr);
  }

  .selector-samples span,
  .selector-samples span:last-child {
    border-right: 1px solid var(--space-750);
    border-bottom: 0;
  }

  .selector-samples span:last-child {
    border-bottom: 1px solid var(--space-750);
  }

  .workflow-result {
    grid-template-columns: minmax(0, 1fr);
    margin-inline: 28px;
  }

  .workflow-result > .ui-icon {
    transform: rotate(90deg);
  }

  .terminal-line {
    margin: 28px;
    padding: 18px;
    font-size: 13px;
  }

  .report-layout,
  .feature-layout,
  .faq-layout {
    gap: 48px;
  }

  .report-head span:last-child {
    display: none;
  }

  .report-body {
    font-size: 11.5px;
  }

  .privacy-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .privacy-mark {
    width: 88px;
  }

  .faq-list summary {
    min-height: 76px;
    font-size: 18px;
  }

  .faq-answer-inner {
    padding-right: 0;
  }

  .final-cta h2 {
    font-size: clamp(58px, 17vw, 78px);
  }

  .ui-button-large {
    width: 100%;
  }

  .contact-card dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .contact-card dt {
    margin-top: 12px;
  }

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

  .footer-links {
    gap: 16px 22px;
  }
}

@media (max-width: 380px) {
  .header-cta {
    padding-inline: 10px !important;
  }

  .brand-name {
    max-width: 114px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
