
:root {
  color-scheme: light;
  --canvas: #d5d9df;
  --surface: #fbfbfc;
  --sidebar: #e9ebef;
  --list: #f3f4f6;
  --ink: #17181c;
  --muted: #686d76;
  --faint: #9298a2;
  --line: #c8cdd4;
  --line-soft: #dde1e6;
  --primary: #5e5ce6;
  --primary-soft: #ececff;
  --cyan: #00a9b4;
  --orange: #f05a34;
  --yellow: #f2c94c;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
  scrollbar-color: #9da4ad #e4e7eb;
  scrollbar-width: thin;
}

*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-track { background: #e4e7eb; }
*::-webkit-scrollbar-thumb { border: 3px solid #e4e7eb; border-radius: 999px; background: #9da4ad; }
*::-webkit-scrollbar-thumb:hover { background: #7c838d; }
*::-webkit-scrollbar-thumb:active { background: #5f6670; }

html { scroll-behavior: smooth; background: var(--canvas); }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

::selection { background: #c8c7ff; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }

.mono { font-family: var(--mono); }
.site-page { padding: 18px; }

.clipboard-shell {
  width: min(100%, 1320px);
  min-height: calc(100vh - 36px);
  margin: 0 auto;
  overflow: clip;
  border: 1px solid #aeb4bc;
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgb(40 46 55 / 0.18), 0 2px 5px rgb(40 46 55 / 0.12);
}

.titlebar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f2f3f5;
}

.window-dots { display: flex; gap: 7px; }
.window-dots span { width: 11px; height: 11px; border: 1px solid rgb(21 23 28 / 0.12); border-radius: 50%; }
.window-dots span:first-child { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:last-child { background: #28c840; }

.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; font-size: 0.88rem; font-weight: 700; }
.brand img { display: block; border-radius: 7px; }
.titlebar-status { justify-self: center; color: var(--faint); font-size: 0.62rem; letter-spacing: 0.04em; }
.titlebar-status::before { content: "●"; margin-right: 7px; color: #28a745; font-size: 0.5rem; }
.titlebar-nav { display: flex; align-items: center; gap: 15px; }
.titlebar-nav a { color: var(--muted); font-size: 0.74rem; font-weight: 600; }
.titlebar-nav a:hover { color: var(--ink); }
.version-link { padding: 6px 9px; border: 1px solid #b9bec6; border-radius: 6px; background: #fff; color: var(--ink) !important; font-family: var(--mono); font-size: 0.65rem !important; }
.version-link:hover { border-color: #8e959f; background: #f7f7f8; }

.download-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}
.download-button { background: var(--primary); color: white; }
.download-button:hover { background: #4f4dd5; }
.secondary-button { border-color: var(--line); background: white; color: var(--ink); }
.secondary-button:hover { border-color: #9ca4ae; background: #f1f3f5; }

.workspace { display: grid; grid-template-columns: 176px minmax(0, 1fr); min-height: 720px; }
.sidebar { position: relative; padding: 16px 10px; border-right: 1px solid var(--line); background: var(--sidebar); }
.sidebar-inner { position: sticky; top: 16px; }
.sidebar-heading { margin: 0 9px 8px; color: var(--faint); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tab-list { display: grid; gap: 2px; }
.sidebar-tab { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 7px; min-height: 34px; padding: 0 9px; border-radius: 6px; color: #4d525a; font-size: 0.75rem; font-weight: 600; }
.sidebar-tab:hover { background: rgb(255 255 255 / 0.62); color: var(--ink); }
.sidebar-tab.active { background: #d5d8dd; color: var(--ink); box-shadow: inset 0 0 0 1px rgb(21 23 28 / 0.05); }
.sidebar-icon { width: 15px; text-align: center; color: var(--faint); font-family: var(--mono); font-size: 0.64rem; }
.sidebar-tab.active .sidebar-icon { color: var(--primary); }
.tab-count { color: var(--faint); font-family: var(--mono); font-size: 0.58rem; }
.sidebar-divider { height: 1px; margin: 14px 9px; background: var(--line); }
.sidebar-note { margin: 0 9px; color: var(--muted); font-size: 0.66rem; line-height: 1.5; }

.content-pane { min-width: 0; background: var(--surface); }
.content-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 0 15px; border-bottom: 1px solid var(--line); background: #f8f8f9; }
.content-toolbar h1 { margin: 0; font-size: 0.76rem; font-weight: 700; }
.toolbar-meta { display: flex; gap: 14px; color: var(--faint); font-family: var(--mono); font-size: 0.58rem; }

.clipboard-browser { display: grid; grid-template-columns: minmax(310px, 37%) minmax(0, 1fr); align-items: stretch; }
.clipboard-list { min-width: 0; border-right: 1px solid var(--line); background: var(--list); }
.list-heading { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line-soft); color: var(--faint); font-family: var(--mono); font-size: 0.58rem; }
.list-heading h2 { margin: 0; color: var(--muted); font-family: var(--sans); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }

.clip-row {
  position: relative;
  display: grid;
  grid-template-columns: 23px 44px minmax(0, 1fr) 16px;
  gap: 10px;
  align-items: start;
  min-height: 100px;
  padding: 13px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: #f7f8f9;
}
.clip-row:hover { background: #fff; }
.clip-row.selected { background: #fff; box-shadow: inset 3px 0 0 var(--primary); }
.clip-number { padding-top: 4px; color: #a0a5ad; font-family: var(--mono); font-size: 0.56rem; }
.clip-icon { display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border: 1px solid #c3c8cf; border-radius: 8px; background: #fff; color: var(--primary); font-family: var(--mono); font-size: 0.56rem; font-weight: 800; }
.clip-icon.app-icon { border: 0; background: transparent; }
.clip-icon img { display: block; border-radius: 9px; }
.clip-row.image .clip-icon { border-color: #86d9de; background: #e5f9fa; color: #087f87; }
.clip-row.file .clip-icon { border-color: #f3b49f; background: #fff0ea; color: #b93e1d; }
.clip-row.theme .clip-icon { border-color: #e1c46e; background: #fff8dc; color: #8b6b09; }
.clip-row.privacy .clip-icon { border-color: #9cc9ab; background: #edf8f0; color: #2d7041; }
.clip-row.package .clip-icon { border-color: #a9a7ee; background: var(--primary-soft); color: #4543b8; }
.clip-copy { display: grid; min-width: 0; gap: 4px; }
.clip-copy strong { overflow: hidden; font-size: 0.84rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.clip-copy > span:last-child { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 0.7rem; line-height: 1.38; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.clip-source { color: var(--faint) !important; font-family: var(--mono); font-size: 0.55rem !important; line-height: 1.2 !important; white-space: nowrap; }
.clip-star { padding-top: 3px; color: #9da2aa; font-size: 0.7rem; }
.clip-row.selected .clip-star { color: var(--primary); }

.preview-pane { min-width: 0; background: #fff; }
.preview-overview { padding: clamp(30px, 5vw, 54px); border-bottom: 1px solid var(--line); scroll-margin-top: 18px; }
.preview-caption { margin: 0 0 26px; color: var(--faint); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.03em; }
.product-heading { display: flex; align-items: center; gap: 16px; }
.product-heading img { display: block; border-radius: 13px; }
.product-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; letter-spacing: -0.045em; }
.product-heading p { margin: 6px 0 0; color: var(--muted); font-size: 0.9rem; }
.overview-copy { max-width: 660px; margin: 26px 0 0; color: #4f545c; font-size: clamp(0.98rem, 1.7vw, 1.16rem); line-height: 1.62; }

.shortcut-rack { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.shortcut-label { margin-right: 8px; color: var(--faint); font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.06em; }
.keycap { display: grid; place-items: center; width: 42px; height: 38px; border: 1px solid #afb5bd; border-radius: 7px; background: #f6f7f8; box-shadow: 0 2px 0 #b6bbc2; font-family: var(--mono); font-size: 1.08rem; font-weight: 600; }
.shortcut-note { margin-left: 6px; color: var(--muted); font-size: 0.72rem; }

.install-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 13px; align-items: center; max-width: 660px; margin-top: 24px; padding: 13px; border: 1px solid #bbbfe3; border-radius: 9px; background: #f8f8ff; scroll-margin-top: 18px; }
.install-row:hover { border-color: var(--primary); background: #f1f1ff; }
.pkg-icon { display: grid; place-items: center; width: 48px; height: 54px; border: 1px solid #a9a7ee; border-radius: 7px; background: #fff; color: #4644bd; font-family: var(--mono); font-size: 0.62rem; font-weight: 800; }
.install-row > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.install-row strong { overflow: hidden; font-size: 0.82rem; text-overflow: ellipsis; white-space: nowrap; }
.install-row small { color: var(--muted); font-size: 0.66rem; }
.install-arrow { color: var(--primary); font-size: 1.25rem; }
.checksum-link { display: inline-block; margin-top: 11px; color: #4d4bc5; font-family: var(--mono); font-size: 0.64rem; text-decoration: underline; text-underline-offset: 3px; }
.checksum-link:hover { color: #2f2d9e; }

.detail-row { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 24px; padding: 27px clamp(24px, 4vw, 42px); border-bottom: 1px solid var(--line-soft); scroll-margin-top: 18px; }
.detail-label { display: grid; align-content: start; justify-items: start; gap: 9px; color: var(--faint); font-family: var(--mono); font-size: 0.57rem; }
.detail-marker { display: inline-flex; align-items: center; min-height: 24px; padding: 0 7px; border: 1px solid #aaa8ee; border-radius: 5px; background: var(--primary-soft); color: #4543b8; font-size: 0.58rem; font-weight: 800; }
.detail-marker.image { border-color: #86d9de; background: #e5f9fa; color: #087f87; }
.detail-marker.file { border-color: #f3b49f; background: #fff0ea; color: #b93e1d; }
.detail-marker.theme { border-color: #e1c46e; background: #fff8dc; color: #806109; }
.detail-marker.privacy { border-color: #9cc9ab; background: #edf8f0; color: #2d7041; }
.detail-copy h3 { margin: 0; font-size: 1.02rem; letter-spacing: -0.018em; }
.detail-copy p { max-width: 650px; margin: 9px 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.62; }
.key-sequence { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: var(--faint) !important; font-family: var(--mono); font-size: 0.58rem !important; }
.key-sequence kbd { padding: 4px 7px; border: 1px solid #bcc1c8; border-radius: 5px; background: #f5f6f7; color: var(--ink); box-shadow: 0 1px 0 #c6cad0; font-family: var(--mono); }
.theme-swatches { display: flex; gap: 5px; margin-top: 13px; }
.theme-swatches i { width: 22px; height: 13px; border: 1px solid rgb(21 23 28 / 0.16); border-radius: 3px; background: var(--primary); }
.theme-swatches i:nth-child(2) { background: var(--cyan); }
.theme-swatches i:nth-child(3) { background: var(--orange); }
.theme-swatches i:nth-child(4) { background: var(--yellow); }
.privacy-detail { background: #fbfdfb; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; border-top: 1px solid var(--line); background: #eef0f2; color: var(--muted); font-size: 0.66rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a:hover { color: var(--ink); }

.doc-shell { min-height: 720px; }
.doc-content { min-width: 0; }
.doc-intro { padding: clamp(28px, 5vw, 52px); border-bottom: 1px solid var(--line); }
.doc-intro h1 { max-width: 760px; margin: 14px 0 14px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -0.045em; }
.doc-intro p { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.65; }
.type-label { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border: 1px solid #aaa8ee; border-radius: 5px; background: var(--primary-soft); color: #4543b8; font-family: var(--mono); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.06em; }
.doc-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 28px; padding: 27px 22px; border-bottom: 1px solid var(--line-soft); }
.doc-row h2 { margin: 8px 0 0; font-size: 0.96rem; }
.doc-row p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.65; }
.doc-row ul { display: grid; gap: 8px; margin: 13px 0 0; padding: 0; list-style: none; color: #4f545c; font-size: 0.78rem; }
.doc-row li::before { content: "↳"; margin-right: 9px; color: var(--primary); font-family: var(--mono); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 22px; }

@media (max-width: 980px) {
  .clipboard-browser { grid-template-columns: minmax(285px, 42%) minmax(0, 1fr); }
  .detail-row { grid-template-columns: 1fr; gap: 12px; }
  .detail-label { grid-auto-flow: column; justify-content: start; align-items: center; }
}

@media (max-width: 760px) {
  .site-page { padding: 10px; }
  .clipboard-shell { min-height: calc(100vh - 20px); }
  .titlebar { grid-template-columns: auto auto 1fr; gap: 12px; }
  .titlebar-status { display: none; }
  .titlebar-nav a:not(.header-download) { display: none; }
  .workspace { grid-template-columns: 1fr; }
  .sidebar { position: static; overflow-x: auto; padding: 7px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar-inner { position: static; min-width: 540px; }
  .sidebar-heading, .sidebar-divider, .sidebar-note { display: none; }
  .tab-list { display: flex; }
  .sidebar-tab { grid-template-columns: 16px auto auto; flex: 0 0 auto; }
  .clipboard-browser { grid-template-columns: 1fr; }
  .clipboard-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .preview-overview { padding: 32px 24px; }
}

@media (max-width: 520px) {
  .site-page { padding: 0; }
  .clipboard-shell { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .titlebar { min-height: 50px; padding: 0 10px; }
  .window-dots { display: none; }
  .brand { font-size: 0.82rem; }
  .version-link { padding: 5px 7px; }
  .content-toolbar { padding: 0 12px; }
  .toolbar-meta span:first-child { display: none; }
  .clip-row { grid-template-columns: 20px 40px minmax(0, 1fr) 14px; min-height: 91px; gap: 8px; padding: 12px 10px; }
  .clip-icon { width: 40px; height: 40px; }
  .clip-copy strong { font-size: 0.8rem; }
  .clip-copy > span:last-child { font-size: 0.67rem; }
  .preview-overview { padding: 28px 16px; }
  .product-heading img { width: 50px; height: 50px; }
  .product-heading h2 { font-size: 2rem; }
  .overview-copy { font-size: 0.94rem; }
  .shortcut-rack { align-items: center; }
  .shortcut-label { flex-basis: 100%; }
  .shortcut-note { flex-basis: 100%; margin: 5px 0 0; }
  .install-row { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 11px; }
  .pkg-icon { width: 44px; height: 50px; }
  .install-row small { line-height: 1.4; }
  .detail-row { padding: 23px 16px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .doc-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 14px; }
  .doc-actions { padding: 18px 14px; }
}

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

@media (forced-colors: active) {
  * { scrollbar-color: auto; }
  .clipboard-shell, .clip-row, .sidebar-tab, .download-button, .secondary-button, .keycap, .install-row { forced-color-adjust: auto; }
}

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

.header-download {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #17181c;
  border-radius: 7px;
  background: #17181c;
  color: #fff !important;
  cursor: pointer;
  font-size: 0.69rem !important;
  font-weight: 800 !important;
}
.header-download small { color: #b8bbc1; font-family: var(--mono); font-size: 0.55rem; font-weight: 600; }
.header-download b { color: #9ff5e0; font-size: 0.92rem; }
.header-download:hover { background: #655dff; }

.paper-site {
  --field: #655dff;
  --paper: #f7f7f1;
  --paper-muted: #e6e7e2;
  --graphite: #17181c;
  --signal: #ff6846;
  --mint: #9ff5e0;
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 650px;
  overflow: hidden;
  background: var(--field);
  isolation: isolate;
}

.paper-field {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.paper-interface {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  min-height: 100%;
  pointer-events: none;
}

.paper-interface a { pointer-events: auto; }

.paper-site .titlebar {
  min-height: 66px;
  border-bottom: 2px solid var(--graphite);
  background: var(--paper);
  color: var(--graphite);
  box-shadow: none;
  pointer-events: auto;
}
.paper-site .brand { color: var(--graphite); }
.paper-site .brand img { width: 40px; height: 40px; border-radius: 10px; }
.paper-site .brand span { font-size: 1rem; }
.paper-site .titlebar-status { color: #6f747d; }
.paper-site .titlebar-nav > a:not(.header-download) { color: var(--graphite); }
.paper-site .titlebar-nav > a:not(.header-download):hover { color: #4a42db; }
.paper-site .header-download { border-width: 2px; border-radius: 0; box-shadow: 4px 4px 0 var(--signal); }
.paper-site .header-download:hover,
.paper-site .header-download:focus-visible { background: var(--graphite); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--signal); }

.paper-hero {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  padding: 34px 64px 44px;
}

.hero-label-card {
  position: relative;
  z-index: 4;
  width: min(650px, 68vw);
  padding: clamp(22px, 3.3vw, 42px);
  border: 2px solid var(--graphite);
  border-radius: 2px;
  background: var(--paper);
  color: var(--graphite);
  box-shadow: 14px 14px 0 var(--graphite);
  transform: rotate(-1.2deg);
  transition: transform 420ms cubic-bezier(0.2, 0.85, 0.2, 1), box-shadow 420ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.is-organized .hero-label-card { box-shadow: 8px 8px 0 var(--graphite); transform: rotate(0deg) scale(1.015); }

.label-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--graphite);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}
.label-card-topline > span:last-child { color: #737780; font-size: 0.55rem; }
.label-card-brand { display: flex; align-items: center; gap: 12px; color: var(--graphite) !important; }
.label-card-brand img { display: block; width: 62px; height: 62px; border-radius: 14px; }
.label-card-brand > span { display: grid; gap: 4px; color: var(--graphite) !important; }
.label-card-brand strong { font-size: 0.92rem; letter-spacing: 0.045em; }
.label-card-brand small { color: #777c85; font-size: 0.5rem; letter-spacing: 0.09em; }

.hero-label-card h1 {
  margin: clamp(25px, 4vh, 42px) 0 0;
  font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.55rem, 7.4vw, 6.8rem);
  font-stretch: condensed;
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}
.hero-label-card h1 em { color: var(--field); font-style: normal; }
.hero-label-card > p { max-width: 560px; margin: 25px 0 0; color: #525760; font-size: clamp(0.82rem, 1.25vw, 1rem); line-height: 1.55; }

.download-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 76px;
  margin-top: 28px;
  padding: 11px 14px 11px 18px;
  border: 2px solid var(--graphite);
  border-radius: 0;
  background: var(--graphite);
  color: #fff;
  box-shadow: 7px 7px 0 var(--signal);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}
.download-cta:hover,
.download-cta:focus-visible { background: #22242a; box-shadow: 3px 3px 0 var(--signal); transform: translate(4px, 4px); }
.download-cta-copy { display: grid; gap: 4px; }
.download-cta-copy strong { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1; letter-spacing: -0.02em; }
.download-cta-copy small { color: #c4c7ce; font-family: var(--mono); font-size: 0.61rem; }
.download-cta-arrow { display: grid; place-items: center; width: 49px; height: 49px; background: var(--mint); color: var(--graphite); font-size: 1.5rem; font-weight: 900; }

.organize-hint { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: #6f747d; font-family: var(--mono); font-size: 0.6rem; }
.organize-hint i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.is-organized .organize-hint i { background: #2ab067; }
.is-organized .organize-hint { color: #2b7145; }

.command-sequence {
  position: absolute;
  z-index: 4;
  bottom: 30px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 2px solid var(--graphite);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--graphite);
  color: var(--graphite);
}
.command-sequence > span { margin-right: 4px; font-family: var(--mono); font-size: 0.54rem; font-weight: 800; }
.command-sequence kbd { display: grid; place-items: center; width: 36px; height: 32px; border: 1px solid var(--graphite); background: #fff; box-shadow: 0 2px 0 #999da5; font-family: var(--mono); font-size: 0.9rem; }

.edge-note {
  position: absolute;
  z-index: 3;
  top: 50%;
  color: rgb(255 255 255 / 0.74);
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}
.edge-note-left { left: 22px; transform: translateY(-50%) rotate(180deg); }
.edge-note-right { right: 22px; transform: translateY(-50%); }

.hero-utility-links {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 28px;
  display: flex;
  gap: 7px;
}
.hero-utility-links a { padding: 7px 9px; border: 2px solid var(--graphite); background: var(--paper); color: var(--graphite); font-family: var(--mono); font-size: 0.55rem; font-weight: 800; }
.hero-utility-links a:hover { background: var(--mint); }

.paper-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
  padding: 0 16px;
  border-top: 2px solid var(--graphite);
  background: var(--paper);
  color: #626771;
  font-family: var(--mono);
  font-size: 0.54rem;
  pointer-events: auto;
}

.no-webgl .paper-hero::before,
.no-webgl .paper-hero::after {
  content: "PASSWORD  ••••••••••  /  IMAGE  Screenshot.png  /  FILE  Launch-notes.pdf";
  position: absolute;
  width: 280px;
  padding: 18px;
  border: 2px solid var(--graphite);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--graphite);
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.6;
}
.no-webgl .paper-hero::before { top: 14%; left: 8%; transform: rotate(-12deg); }
.no-webgl .paper-hero::after { right: 8%; bottom: 14%; transform: rotate(10deg); }

@media (max-width: 760px) {
  .paper-site { min-height: 620px; }
  .paper-site .titlebar { grid-template-columns: auto 1fr; min-height: 60px; padding: 0 10px; }
  .paper-site .window-dots, .paper-site .titlebar-status { display: none; }
  .paper-site .brand img { width: 34px; height: 34px; border-radius: 8px; }
  .paper-site .brand span { font-size: 0.86rem; }
  .paper-site .titlebar-nav { justify-self: end; }
  .paper-site .titlebar-nav > a:not(.header-download) { display: none; }
  .paper-site .header-download { min-height: 38px; padding: 0 8px; box-shadow: 3px 3px 0 var(--signal); }
  .paper-site .header-download small { display: none; }
  .paper-hero { padding: 20px 14px 54px; }
  .hero-label-card { width: min(100%, 520px); padding: 19px; box-shadow: 9px 9px 0 var(--graphite); transform: rotate(-0.6deg); }
  .label-card-topline { font-size: 0.55rem; }
  .label-card-topline > span:last-child { display: none; }
  .label-card-brand img { width: 50px; height: 50px; border-radius: 11px; }
  .label-card-brand strong { font-size: 0.76rem; }
  .label-card-brand small { font-size: 0.43rem; }
  .hero-label-card h1 { margin-top: 24px; font-size: clamp(2.9rem, 14.7vw, 4.4rem); line-height: 0.84; }
  .hero-label-card > p { margin-top: 19px; font-size: 0.78rem; line-height: 1.48; }
  .download-cta { min-height: 68px; margin-top: 21px; padding: 9px 10px 9px 14px; box-shadow: 5px 5px 0 var(--signal); }
  .download-cta-copy strong { font-size: 1.08rem; }
  .download-cta-copy small { font-size: 0.53rem; }
  .download-cta-arrow { width: 43px; height: 43px; }
  .organize-hint { margin-top: 13px; font-size: 0.54rem; }
  .edge-note, .hero-utility-links { display: none; }
  .command-sequence { bottom: 12px; left: 12px; padding: 6px 8px; box-shadow: 3px 3px 0 var(--graphite); }
  .command-sequence > span { display: none; }
  .paper-footer { min-height: 34px; padding: 0 10px; }
  .paper-footer span:last-child { display: none; }
}

@media (max-height: 720px) and (min-width: 761px) {
  .hero-label-card { width: min(600px, 64vw); padding: 22px 30px; }
  .hero-label-card h1 { margin-top: 22px; font-size: clamp(3.2rem, 6.7vw, 5.5rem); }
  .hero-label-card > p { margin-top: 16px; }
  .download-cta { min-height: 66px; margin-top: 19px; }
  .organize-hint { margin-top: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-label-card, .download-cta, .header-download { transition: none; }
}

@media (forced-colors: active) {
  .paper-site, .hero-label-card, .download-cta, .command-sequence, .hero-utility-links a, .paper-footer { forced-color-adjust: auto; }
}
