@charset "UTF-8";

/* SIGNAL / STUDIO — presentation only; original HTML and converter stay intact. */
:root {
  color-scheme: light;
  --paper: #f6f8fb;
  --surface: #ffffff;
  --ink: #111927;
  --muted: #667283;
  --line: #e1e7ee;
  --accent: #67e5d5;
  --accent-ink: #08796d;
  --night: #111b29;
  --night-line: #2a394b;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: radial-gradient(ellipse 65% 520px at 80% 160px, #dff5f14d, transparent 80%), var(--paper); }
button, input { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }
::selection { background: #a4f1e7; color: #111927; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #078f83; outline-offset: 5px; }
.shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; left: 20px; top: -100px; z-index: 40; padding: 14px 20px; background: var(--ink); color: white; border-radius: 10px; }
.skip:focus { top: 16px; }

/* Quiet navigation; the product remains the first thing on the page. */
.masthead { min-height: 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font-size: 19px; font-weight: 650; letter-spacing: -.55px; }
.brand svg { width: 39px; height: 39px; flex: none; fill: var(--ink); filter: drop-shadow(0 4px 6px #14202d0d); }
.brand svg path { fill: none; stroke: var(--accent); stroke-width: 2.1; stroke-linejoin: round; }
.brand-sub { display: block; font-size: 9px; font-weight: 650; line-height: 1.75; letter-spacing: 2.3px; color: var(--muted); }
.masthead nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 550; color: #566170; }
.masthead nav a { position: relative; padding: 13px 0; text-decoration: none; transition: color .18s; }
.masthead nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--accent-ink); transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.masthead nav a:hover { color: var(--ink); }
.masthead nav a:hover::after { transform: scaleX(1); }
.intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 43px 0 30px; }
.eyebrow { margin: 0 0 14px; font: 600 10px/1.6 var(--mono); letter-spacing: 1.8px; color: var(--muted); }
.intro .eyebrow { display: flex; align-items: center; gap: 9px; }
.intro .eyebrow::before { content: ""; height: 7px; width: 7px; border-radius: 50%; background: #0cae98; box-shadow: 0 0 0 4px #0cae980d; }
.intro h1 { margin: 0; font-size: clamp(52px, 5.4vw, 82px); line-height: 1.04; font-weight: 640; letter-spacing: -4.4px; }
.title-dot { color: #20bba7; }
.intro-note { margin: 0 1px 5px 0; padding-left: 18px; border-left: 2px solid #a8dcd4; text-align: left; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* A light input workbench + a dark, actual note monitor. */
.converter { padding: 22px 26px 0; background: var(--surface); border: 1px solid #dce3eb; border-radius: 24px; color: var(--ink); box-shadow: 0 24px 65px -38px #25334b4d, 0 2px 6px #15263803; }
.instrument-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 3px 20px; font: 600 11px/1.5 var(--mono); letter-spacing: 1.15px; color: #677486; }
.instrument-header > span:first-child { display: flex; align-items: center; gap: 9px; }
.instrument-header i { width: 6px; height: 6px; border-radius: 50%; background: #13ad98; }
.local-label { padding: 5px 9px; border: 1px solid #e5ebf0; border-radius: 6px; color: #6a7888; font-size: 9px; letter-spacing: .9px; }
.converter-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: 24px; align-items: stretch; }
.input-side { padding: 5px 2px 4px; min-width: 0; }
.step-label { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 0 0 15px; font: 500 10px/1.5 var(--mono); letter-spacing: .8px; color: #657589; }
.step-label > span:first-child { font-weight: 650; color: #46566a; }
.drop-zone { position: relative; min-height: 244px; padding: 24px; border: 1px dashed #b8c8d6; border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-direction: column; overflow: hidden; cursor: pointer; background: linear-gradient(155deg, #f8fafc, #f0f5f8); transition: border-color .18s, background .18s, box-shadow .18s; }
.drop-zone::after { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; background: #75e9d90b; top: -150px; right: -80px; pointer-events: none; }
.drop-zone:hover, .drop-zone.dragging { border-color: #19b39f; background: #f0fbf9; box-shadow: inset 0 0 0 1px #23bba51a; }
.drop-zone:focus-within { outline: 3px solid #079c89; outline-offset: 4px; }
.drop-zone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }
.upload-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border: 1px solid #e0e7ee; border-radius: 17px; background: white; box-shadow: 0 5px 14px #283a4e08; transition: transform .18s; }
.upload-icon svg { width: 28px; fill: none; stroke: #1b746f; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.drop-zone:hover .upload-icon { transform: translateY(-3px); }
.drop-zone strong { font-size: 25px; font-weight: 620; letter-spacing: -.8px; line-height: 1.3; }
.drop-help { margin-top: 5px; color: #788493; font-size: 14px; line-height: 1.7; }
.input-hint { margin-top: 20px; font-size: 11px; font-weight: 500; color: #5e6d80; letter-spacing: .1px; }
.actions { display: grid; grid-template-columns: 1fr auto; align-items: stretch; gap: 12px; margin-top: 16px; }
.primary-button, .download-button { min-height: 50px; padding: 14px 21px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 650; line-height: 1.4; transition: background .18s, box-shadow .18s, transform .18s; }
.primary-button { color: #fff; background: var(--ink); }
.primary-button:hover:not(:disabled) { background: #26364b; transform: translateY(-1px); box-shadow: 0 6px 14px #172a4124; }
.primary-button:disabled { background: #e9eef3; color: #80909f; border-color: #e5ebf0; box-shadow: none; }
.sample-button { min-height: 50px; padding: 13px 14px; border: 1px solid #e0e7ed; border-radius: 10px; background: white; color: #49586a; font-size: 12px; font-weight: 600; white-space: nowrap; transition: background .18s, border-color .18s; }
.sample-button:hover:not(:disabled) { border-color: #bac9d4; background: #f5f8fb; }
.sample-button:disabled { opacity: .5; }
.sample-button span { margin-left: 10px; color: #24a893; }
.file-row { display: flex; align-items: center; gap: 12px; min-width: 0; margin-top: 12px; padding: 9px 13px; border: 1px solid #e3e9ef; border-radius: 10px; background: #fafcfd; }
.file-icon { display: grid; place-items: center; width: 30px; height: 34px; color: #198a7c; font-size: 25px; background: #e9f7f3; border-radius: 6px; flex: none; }
.file-row > div { min-width: 0; flex: 1; }
.file-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; line-height: 1.7; }
.file-row span:not(.file-icon) { display: block; font: 10px/1.7 var(--mono); color: #657589; }
.file-row button { min-height: 36px; padding: 8px 6px; border: 0; background: transparent; color: #6a788a; font-size: 11px; }
.file-row button:hover { color: var(--ink); }
.status { margin-top: 16px; font-size: 11px; color: #5a6b7c; }
.status > div:first-child { display: flex; justify-content: space-between; gap: 12px; line-height: 1.6; }
.progress-track { height: 4px; margin-top: 9px; border-radius: 5px; background: #e7eef3; overflow: hidden; }
#progress-bar { width: 0; height: 100%; border-radius: inherit; background: #16b9a4; transition: width .2s; }
.drop-zone.error { border-color: #e89b8a; background: #fff5f2; }
.input-side:has(.error) .status { color: #ad3e32; }
.input-side:has(.error) #progress-bar { background: #d75c48; }

.output-side { min-width: 0; padding: 22px; border: 1px solid #192739; border-radius: 16px; background: radial-gradient(ellipse 90% 70% at 90% 0%, #19344566, transparent 90%), var(--night); color: #eef4f8; }
.output-side .step-label { margin-bottom: 16px; color: #8fa1b6; font-size: 10px; letter-spacing: .65px; }
.output-side .step-label > span:first-child { color: #bccbd8; }
.roll-shell { overflow: hidden; background: #0c1521; border: 1px solid var(--night-line); border-radius: 10px; box-shadow: 0 3px 16px #030c1617; }
.roll-heading, .roll-caption { display: flex; justify-content: space-between; align-items: center; padding: 14px 15px; font: 500 9px/1.5 var(--mono); letter-spacing: 1px; color: #8295aa; }
.signal-dot { width: 5px; height: 5px; border-radius: 50%; background: #67e5d5; box-shadow: 0 0 0 3px #67e5d50d; }
.roll { position: relative; height: 196px; overflow: hidden; background: repeating-linear-gradient(to right, transparent 0, transparent calc(25% - 1px), #243349 25%), repeating-linear-gradient(to top, transparent 0, transparent 26px, #1e2d40 27px); }
.roll-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #a8b7c7; background: #0c15219c; }
.roll-empty > span { font-size: 42px; line-height: 1; color: #6faba9; font-weight: 400; }
.roll-empty p { margin: 15px 0 7px; font-size: 14px; font-weight: 550; letter-spacing: -.15px; color: #becbd6; }
.roll-empty small { font-size: 10px; color: #687e94; }
.roll svg { display: block; width: 100%; height: 100%; }
#note-svg path { stroke: #293c51; }
#note-svg text { fill: #8c9eaf; }
#note-svg rect { fill: #67e5d5; }
.roll-caption { padding: 10px 15px; border-top: 1px solid #203044; font-size: 8px; }
.output-hint { margin: 21px 0 1px; color: #889aaf; font-size: 12px; line-height: 1.8; }
.result-card { margin-top: 21px; outline-offset: 5px; }
.result-heading { display: flex; align-items: center; gap: 10px; }
.result-check { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #54dac532; border-radius: 50%; color: var(--accent); background: #67e5d50d; flex: none; }
.result-heading h2 { margin: 0; font-size: 19px; font-weight: 550; letter-spacing: -.45px; }
.result-heading p { margin: 4px 0 0; font: 10px/1.8 var(--mono); color: #a5b8c8; }
.download-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 17px; text-decoration: none; color: #092b2b; background: var(--accent); }
.download-button:hover { transform: translateY(-1px); background: #90f1e5; box-shadow: 0 6px 20px #1de1bf12; }
.download-button span { font-size: 20px; line-height: 1; }
.download-feedback { min-height: 0; margin: 9px 0 0; font: 9px/1.5 var(--mono); color: #8fa8b6; }
.download-feedback:empty { display: none; }
.privacy-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 21px; padding: 17px 3px 18px; border-top: 1px solid #edf1f5; color: #5e7082; font-size: 11px; line-height: 1.6; }
.privacy-line > span:first-child { display: flex; align-items: center; gap: 8px; }
.privacy-line i { display: inline-block; width: 5px; height: 5px; flex: none; border-radius: 50%; background: #17a78f; }
.privacy-line > span:last-child { font: 9px/1.6 var(--mono); letter-spacing: .7px; color: #657589; }
.under-tool { display: flex; justify-content: space-between; gap: 20px; margin: 18px 4px 0; color: #65758a; font-size: 12px; line-height: 1.7; }
.under-tool a { color: #566575; text-decoration: none; white-space: nowrap; }
.under-tool a:hover { color: #078b7b; }
.under-tool a span { margin-left: 6px; }

/* The same content, given an editorial rhythm and a single component language. */
.details-section { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 44px; padding: 78px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.workspace + .details-section { margin-top: 38px; }
.section-number { display: flex; align-items: flex-start; gap: 13px; padding-top: 5px; color: #9aabb8; font: 500 13px/1.6 var(--mono); }
.section-number::after { content: ""; width: 46px; height: 1px; margin-top: 10px; background: #ccd7e1; }
.section-main { min-width: 0; }
.section-main .eyebrow { color: #60738a; margin-bottom: 14px; }
.section-main h2 { margin: 0 0 24px; font-size: clamp(34px, 3.3vw, 47px); font-weight: 600; line-height: 1.13; letter-spacing: -1.9px; text-wrap: balance; }
.section-copy { max-width: 720px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.format-groups { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; margin-top: 31px; }
.format-groups > div { padding: 24px; border: 1px solid #e3e9f0; border-radius: 14px; background: #fff; }
.format-groups h3 { margin: 0 0 21px; color: #5f6e7f; font-size: 12px; font-weight: 600; letter-spacing: .2px; }
.format-list { display: flex; flex-wrap: wrap; gap: 13px 19px; padding: 0; margin: 0; list-style: none; }
.format-list li { display: flex; align-items: center; gap: 7px; padding: 0; color: #25374a; font-size: 13px; font-weight: 600; line-height: 1.6; }
.format-list li::before { content: ""; width: 5px; height: 5px; border-radius: 2px; background: #6bbaa9; opacity: .8; }
.footnote { max-width: 760px; margin: 22px 0 0; padding-left: 14px; border-left: 2px solid #d8e5e8; color: #637489; font-size: 12px; line-height: 1.85; }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 34px; counter-reset: method; }
.method-grid article { position: relative; padding: 27px 24px 25px; border: 1px solid #dfe7ee; border-radius: 14px; background: white; transition: border-color .18s, box-shadow .18s; }
.method-grid article:hover { border-color: #9fcfc8; box-shadow: 0 8px 24px #19354a05; }
.method-grid article::before { counter-increment: method; content: "0" counter(method); display: grid; place-items: center; width: 33px; height: 33px; margin-bottom: 27px; border: 1px solid #d9e8e7; border-radius: 9px; background: #f3f9f8; color: #38897f; font: 11px var(--mono); }
.method-grid article > span { font: 500 10px/1.5 var(--mono); letter-spacing: 1.3px; color: #60748a; }
.method-grid h3 { margin: 10px 0 13px; font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -.8px; }
.method-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.limits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 42px; margin-top: 30px; }
.limits-grid > div { position: relative; padding: 24px 0 25px 25px; border-top: 1px solid #dce5ec; }
.limits-grid > div::before { content: ""; position: absolute; top: 31px; left: 1px; width: 7px; height: 7px; border: 1px solid #91a8b4; border-radius: 2px; transform: rotate(45deg); }
.limits-grid h3 { margin: 0 0 11px; font-size: 16px; font-weight: 600; letter-spacing: -.25px; }
.limits-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.faq-section { border-bottom: 0; padding-bottom: 86px; }
.faq-section h2 { margin-bottom: 32px; }
.faq-section details { border-top: 1px solid #dce4ec; }
.faq-section details:last-child { border-bottom: 1px solid #dce4ec; }
summary { position: relative; padding: 23px 54px 23px 0; font-size: 16px; font-weight: 550; line-height: 1.6; letter-spacing: -.15px; cursor: pointer; list-style: none; transition: color .18s; }
summary:hover { color: #087f73; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; display: grid; place-items: center; position: absolute; right: 0; top: 21px; width: 30px; height: 30px; border: 1px solid #e1e8ed; border-radius: 50%; color: #738296; background: #fff; font-size: 17px; font-weight: 400; }
details[open] summary::after { content: "−"; color: #08796d; background: #e8f7f3; border-color: #c8e9e2; }
details p { max-width: 760px; margin: -1px 54px 24px 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 138px; border-top: 1px solid #dce4ec; }
.footer .brand { font-size: 17px; font-weight: 600; letter-spacing: -.5px; }
.footer .brand span { margin-left: 10px; color: #28a593; font-size: 22px; }
.footer p { color: #627185; font-size: 12px; }

@media (min-width: 1600px) {
  .intro { padding-top: 50px; }
  .converter-grid { gap: 30px; }
  .drop-zone { min-height: 262px; }
  .output-side { padding: 24px; }
  .roll { height: 208px; }
}

@media (max-width: 1000px) {
  .shell { width: calc(100% - 56px); }
  .intro h1 { font-size: 66px; letter-spacing: -3.5px; }
  .converter { padding: 20px 20px 0; border-radius: 20px; }
  .converter-grid { gap: 19px; }
  .output-side { padding: 19px; }
  .drop-zone { min-height: 238px; }
  .drop-zone strong { font-size: 23px; }
  .actions { grid-template-columns: 1fr; gap: 9px; }
  .sample-button { min-height: 42px; padding: 9px; }
  .privacy-line > span:last-child { display: none; }
  .details-section { grid-template-columns: 74px minmax(0,1fr); gap: 26px; padding: 61px 0; }
  .section-number::after { width: 22px; }
  .method-grid { gap: 12px; }
  .method-grid article { padding: 23px 18px; }
  .method-grid h3 { font-size: 23px; }
  .format-groups { gap: 15px; }
  .format-groups > div { padding: 22px; }
  .limits-grid { gap: 0 28px; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 40px); }
  .masthead { min-height: 79px; }
  .brand { font-size: 16px; gap: 10px; }
  .brand svg { width: 33px; height: 33px; }
  .brand-sub { font-size: 8px; letter-spacing: 1.8px; }
  .masthead nav { gap: 20px; font-size: 12px; }
  .intro { padding: 34px 0 26px; }
  .intro h1 { font-size: 57px; letter-spacing: -3px; }
  .intro-note { display: none; }
  .eyebrow { font-size: 9px; letter-spacing: 1.45px; }
  .converter-grid { grid-template-columns: 1fr; gap: 24px; }
  .converter { padding: 19px 19px 0; border-radius: 20px; }
  .instrument-header { padding: 0 1px 21px; font-size: 9px; }
  .local-label { font-size: 8px; padding: 4px 6px; }
  .input-side { padding: 0; }
  .step-label { font-size: 9px; margin-bottom: 12px; }
  .drop-zone { min-height: 200px; padding: 22px; border-radius: 12px; }
  .upload-icon { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 16px; }
  .drop-zone strong { font-size: 24px; }
  .drop-help { font-size: 13px; }
  .input-hint { margin-top: 15px; }
  .actions { grid-template-columns: 1fr auto; gap: 10px; }
  .sample-button { min-height: 50px; padding: 11px; font-size: 11px; }
  .output-side { padding: 20px; border-radius: 13px; }
  .output-side .step-label { font-size: 9px; }
  .roll { height: 155px; }
  .roll-heading { padding: 12px; font-size: 8px; }
  .roll-caption { padding: 9px 12px; font-size: 8px; }
  .output-hint { font-size: 11px; margin-top: 16px; }
  .privacy-line { align-items: flex-start; margin-top: 19px; padding: 17px 0; font-size: 10px; }
  .privacy-line > span:first-child { align-items: flex-start; gap: 7px; }
  .privacy-line i { margin-top: 5px; }
  .under-tool { font-size: 10px; margin-top: 15px; gap: 17px; align-items: flex-start; }
  .details-section { grid-template-columns: 1fr; gap: 18px; padding: 45px 0; }
  .workspace + .details-section { margin-top: 24px; }
  .section-number { font-size: 10px; gap: 10px; }
  .section-number::after { width: 31px; margin-top: 8px; }
  .section-main .eyebrow { font-size: 9px; margin-bottom: 12px; }
  .section-main h2 { font-size: 36px; line-height: 1.15; letter-spacing: -1.6px; margin-bottom: 20px; }
  .section-copy { font-size: 14px; line-height: 1.85; }
  .format-groups { margin-top: 26px; grid-template-columns: 1fr; gap: 13px; }
  .format-groups > div { padding: 22px; }
  .format-groups h3 { font-size: 12px; margin-bottom: 18px; }
  .format-list { gap: 13px 19px; }
  .footnote { font-size: 11px; line-height: 1.9; }
  .method-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 27px; }
  .method-grid article { padding: 23px; }
  .method-grid article::before { margin-bottom: 20px; }
  .method-grid h3 { font-size: 27px; }
  .method-grid p { font-size: 14px; }
  .limits-grid { grid-template-columns: 1fr; margin-top: 26px; }
  .limits-grid > div { padding-top: 23px; padding-bottom: 24px; }
  .limits-grid h3 { font-size: 16px; }
  .limits-grid p { font-size: 14px; }
  .faq-section h2 { font-size: 34px; margin-bottom: 26px; }
  summary { font-size: 14px; padding: 20px 42px 20px 0; }
  summary::after { top: 19px; width: 27px; height: 27px; font-size: 16px; }
  details p { margin-right: 15px; font-size: 13px; line-height: 1.9; }
  .footer { flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; min-height: 125px; }
  .footer .brand { font-size: 17px; }
  .footer p { margin: 0; font-size: 11px; }
}

@media (max-width: 420px) {
  .shell { width: calc(100% - 32px); }
  .masthead { min-height: 73px; }
  .masthead nav a:last-child { display: none; }
  .intro { padding: 29px 0 24px; }
  .intro h1 { font-size: clamp(39px, 12.7vw, 51px); letter-spacing: -2.65px; }
  .intro .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  .converter { padding: 16px 15px 0; border-radius: 17px; }
  .instrument-header { gap: 9px; font-size: 9px; letter-spacing: .65px; }
  .local-label { font-size: 8px; letter-spacing: .3px; }
  .drop-zone { min-height: 194px; }
  .drop-zone strong { font-size: 23px; }
  .actions { grid-template-columns: 1fr; gap: 8px; margin-top: 13px; }
  .primary-button { min-height: 49px; }
  .sample-button { min-height: 40px; padding: 9px; }
  .converter-grid { gap: 21px; }
  .output-side { padding: 16px; }
  .roll { height: 132px; }
  .roll-empty p { font-size: 12px; }
  .roll-empty small { font-size: 9px; }
  .output-hint { font-size: 11px; }
  .result-card { margin-top: 17px; }
  .result-heading h2 { font-size: 17px; }
  .result-heading p { font-size: 9px; }
  .download-button { min-height: 49px; margin-top: 15px; }
  .download-feedback { font-size: 9px; }
  .under-tool { font-size: 9px; gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Existing evidence archive and information links retained during promotion. */
.signal-research{border-top:1px solid var(--line);padding:68px 0 76px;margin-top:10px}
.signal-research .studio-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:30px}
.signal-research h2{font-size:44px;line-height:1.13;letter-spacing:-1.7px;font-weight:600;margin:0}.signal-research em{font-style:normal}
.signal-research .studio-section-head>p{max-width:400px;font-size:14px;line-height:1.9;color:var(--muted);margin:0}
.signal-research .studio-kicker,.studio-research-label,.note-card>span:first-child,.studio-note-copy>span:first-child{font:10px/1.6 var(--mono);letter-spacing:1px;color:#60738a}
.studio-research-label{display:flex;justify-content:space-between;margin:25px 0 15px}
.studio-featured{display:grid;grid-template-columns:1fr 1fr;gap:22px}.studio-featured>a{background:white;border:1px solid var(--line);border-radius:15px;text-decoration:none;overflow:hidden}
.studio-note-image{padding:20px;background:#eef4f7}.studio-note-image>span{display:block;font:9px/1.7 var(--mono);color:#60738a;margin-bottom:14px}.studio-note-image img{display:block;width:100%;height:auto;border-radius:7px}
.studio-note-copy{padding:24px}.signal-research h3{font-size:24px;line-height:1.25;letter-spacing:-.6px;font-weight:600;margin:10px 0}.signal-research p{font-size:13px;line-height:1.85;color:var(--muted)}
.note-cta{display:block;color:#08796d;font-size:12px;font-weight:600;margin-top:18px}.studio-archive-top{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin:45px 0 22px}.studio-archive-top h3{margin-bottom:0}.studio-search{width:min(380px,100%)}
.note-search-label{font-size:11px;color:#60738a}.note-search-control{display:flex;border:1px solid #ccd8e2;border-radius:9px;background:white;margin-top:7px;overflow:hidden}.note-search-control input{width:100%;min-width:0;border:0;padding:12px;font:13px var(--sans);outline-offset:-3px}.note-search-control button{border:0;background:white;font:11px var(--sans);padding:0 12px;color:#08796d}.note-results{margin:7px 0 0;font-size:11px!important}
.studio-archive{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.studio-archive>a{position:relative;padding:23px;border:1px solid var(--line);border-radius:12px;background:white;text-decoration:none}.studio-archive>a:hover,.studio-featured>a:hover{border-color:#8cc8bf}.studio-archive h3{font-size:20px}.studio-archive p{font-size:12px}.studio-archive-arrow{display:none}
.signal-research:not([data-expanded="true"]):not([data-searching="true"]) .studio-archive>a:nth-child(n+7){display:none}.studio-archive-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;color:#60738a;font-size:11px}.studio-outline-button{padding:12px 17px;border:1px solid #cbd8e2;border-radius:9px;background:white;color:var(--ink);font:12px var(--sans)}.note-empty{padding:25px;border:1px dashed var(--line);border-radius:10px}
.footer{padding-block:30px;flex-wrap:wrap}.signal-footer-nav{display:flex;flex-wrap:wrap;gap:14px 24px;width:100%;font-size:12px;color:#627185}.signal-footer-nav a{text-decoration:none}.signal-footer-nav a:hover{text-decoration:underline}.signal-all-experiments{width:100%;margin-top:0}.signal-all-experiments summary{font-size:12px}.signal-all-experiments nav{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:15px 0;font-size:11px;color:#627185}
@media(max-width:800px){.signal-research .studio-section-head{align-items:flex-start;flex-direction:column;gap:22px}.signal-research .studio-archive{grid-template-columns:1fr 1fr}.studio-archive-top{align-items:flex-start;flex-direction:column;gap:20px}.signal-research h2{font-size:36px}}
@media(max-width:560px){.signal-research{padding-top:45px}.studio-featured,.signal-research .studio-archive{grid-template-columns:1fr}.studio-research-label{font-size:8px;gap:10px}.studio-archive-bottom{align-items:flex-start;flex-direction:column}.signal-all-experiments nav{grid-template-columns:1fr 1fr}.signal-research h2{font-size:34px}.signal-footer-nav{gap:15px 22px}}

/* Visual system 2026-10-23 — layer 1: palette. */
:root {
  --paper: #F7F8F4;
  --surface: #FFFFFF;
  --ink: #18231F;
  --muted: rgb(24 35 31 / .68);
  --line: rgb(24 35 31 / .12);
  --accent: #087D70;
  --accent-ink: var(--accent);
  --night: var(--ink);
  --night-line: var(--line);
  --tint: rgb(8 125 112 / .06);
}
body { background: var(--paper); }
::selection { background: rgb(8 125 112 / .18); color: var(--ink); }
button:focus-visible, a:focus-visible, summary:focus-visible,
.drop-zone:focus-within { outline-color: var(--accent); }
.masthead nav, .brand-sub, .eyebrow, .intro-note,
.instrument-header, .local-label, .step-label,
.step-label > span:first-child, .drop-help, .input-hint,
.file-row span:not(.file-icon), .file-row button, .status,
.privacy-line, .privacy-line > span:last-child, .under-tool,
.under-tool a, .section-number, .section-main .eyebrow,
.format-groups h3, .footnote, .method-grid article > span,
.signal-research .studio-kicker, .studio-research-label,
.note-card > span:first-child, .studio-note-copy > span:first-child,
.studio-note-image > span, .note-search-label, .studio-archive-bottom,
.footer p, .signal-footer-nav, .signal-all-experiments nav { color: var(--muted); }
.title-dot, .sample-button span, .note-cta,
.footer .brand span, .upload-icon svg, .file-icon { color: var(--accent); }
.upload-icon svg { stroke: var(--accent); }
.intro-note { border-color: var(--line); }
.intro .eyebrow::before, .instrument-header i,
.privacy-line i, .signal-dot, .format-list li::before,
#progress-bar { background: var(--accent); box-shadow: none; }
.brand svg { fill: var(--ink); filter: none; }
.brand svg path { stroke: var(--surface); }
.converter, .local-label, .upload-icon, .sample-button,
.file-row, .format-groups > div, .method-grid article,
.faq-section details, .faq-section details:last-child,
.studio-featured > a, .studio-archive > a,
.note-search-control, .studio-outline-button,
.signal-research, .footer, .limits-grid > div { border-color: var(--line); }
.drop-zone { border-color: rgb(8 125 112 / .4); background: var(--tint); }
.drop-zone::after { background: none; }
.drop-zone:hover, .drop-zone.dragging { border-color: var(--accent); background: rgb(8 125 112 / .1); box-shadow: none; }
.upload-icon, .sample-button, .format-groups > div,
.method-grid article, .studio-featured > a, .studio-archive > a,
.note-search-control, .note-search-control button, .studio-outline-button,
summary::after { background: var(--surface); }
.primary-button, .download-button { background: var(--accent); color: var(--surface); }
.primary-button:hover:not(:disabled), .download-button:hover { background: var(--accent); }
.primary-button:disabled { background: rgb(24 35 31 / .06); color: rgb(24 35 31 / .45); border-color: transparent; }
.sample-button, .studio-outline-button { color: var(--ink); }
.sample-button:hover:not(:disabled) { background: var(--paper); border-color: var(--line); }
.file-row, .studio-note-image, .method-grid article::before { background: var(--paper); }
.file-icon { background: var(--tint); }
.progress-track { background: var(--line); }
.drop-zone.error { border-color: var(--ink); border-style: double; background: var(--paper); }
.input-side:has(.error) .status { color: var(--ink); }
.input-side:has(.error) #progress-bar { background: var(--ink); }
.output-side { background: var(--paper); color: var(--ink); border-color: var(--line); }
.output-side .step-label, .output-side .step-label > span:first-child,
.roll-heading, .roll-caption, .roll-empty, .roll-empty small,
.output-hint, .result-heading p, .download-feedback { color: var(--muted); }
.roll-shell { background: var(--surface); border-color: var(--line); }
.roll { background: repeating-linear-gradient(to right, transparent 0, transparent calc(25% - 1px), rgb(24 35 31 / .06) 25%), repeating-linear-gradient(to top, transparent 0, transparent 26px, rgb(24 35 31 / .06) 27px); }
.roll-empty { background: rgb(255 255 255 / .5); }
.roll-empty > span { color: var(--accent); }
.roll-empty p, .result-heading h2 { color: var(--ink); }
.roll-caption { border-color: var(--line); }
#note-svg path { stroke: var(--line); }
#note-svg text { fill: var(--muted); }
#note-svg rect { fill: var(--accent); }
.result-check { color: var(--accent); background: var(--tint); border-color: var(--line); }
.privacy-line, .details-section { border-color: var(--line); }
.section-number::after { background: var(--line); }
.format-list li { color: var(--ink); }
.footnote, .method-grid article::before, .limits-grid > div::before { border-color: var(--line); }
.method-grid article::before, details[open] summary::after { color: var(--accent); }
.method-grid article:hover, .studio-archive > a:hover, .studio-featured > a:hover { border-color: var(--accent); }
summary::after { color: var(--muted); border-color: var(--line); }
details[open] summary::after { background: var(--tint); border-color: var(--line); }
.masthead nav a:hover, .under-tool a:hover, summary:hover,
.note-search-control button { color: var(--accent); }

/* Layer 2: four type levels, one system font family. */
:root {
  --sans: Arial, "Helvetica Neue", "Segoe UI", sans-serif;
  --mono: var(--sans);
  --type-display: 72px;
  --type-section: 40px;
  --type-heading: 20px;
  --type-body: 14px;
}
body { font-family: var(--sans); font-size: var(--type-body); line-height: 1.6; }
body * { font-size: var(--type-body) !important; line-height: 1.6; }
.intro h1, .intro h1 * {
  font-size: var(--type-display) !important; line-height: 1.05;
  font-weight: 600; letter-spacing: -.055em;
}
.section-main h2, .signal-research h2, .signal-research h2 * {
  font-size: var(--type-section) !important; line-height: 1.15;
  font-weight: 600; letter-spacing: -.04em;
}
.brand, .footer .brand, .drop-zone strong, .result-heading h2,
.method-grid h3, .limits-grid h3, .format-groups h3,
.signal-research h3, .signal-research h3 *, .roll-empty > span {
  font-size: var(--type-heading) !important; line-height: 1.3;
  font-weight: 600; letter-spacing: -.025em;
}
.brand-sub, .eyebrow, .instrument-header, .local-label,
.step-label, .roll-heading, .roll-caption,
.privacy-line > span:last-child, .section-number,
.method-grid article::before, .method-grid article > span,
.signal-research .studio-kicker, .studio-research-label,
.note-card > span:first-child, .studio-note-copy > span:first-child,
.studio-note-image > span { letter-spacing: .04em; line-height: 1.4; font-weight: 500; }
.masthead nav, .primary-button, .download-button, .sample-button,
.note-cta, .studio-outline-button, summary { font-weight: 600; }
.intro-note, .section-copy, .footnote, .method-grid p,
.limits-grid p, details p, .signal-research p { line-height: 1.7; }
.roll-empty p { font-weight: 500; }
.section-main h2, .signal-research h2, .signal-research h3 { text-wrap: balance; }
@media (max-width: 680px) {
  :root { --type-display: 48px; --type-section: 32px; }
}

/* Layer 3: space, hierarchy, components. Every spacing value is on the 8px scale. */
:root { --shadow: 0 16px 48px rgb(24 35 31 / .08); }
.shell { width: min(1200px, calc(100% - 96px)); }
.masthead { min-height: 80px; }
.brand { gap: 16px; }
.brand > span:not(.brand-sub) { font-size: var(--type-heading) !important; line-height: 1.3; }
.brand svg { width: 40px; height: 40px; }
.brand svg rect { rx: 12px; }
.brand-sub { margin: 0; }
.masthead nav { gap: 32px; }
.masthead nav a { padding: 16px 0; }
.intro { display: block; padding: 64px 0 48px; text-align: center; }
.intro .eyebrow { justify-content: center; gap: 8px; margin: 0 0 16px; }
.intro .eyebrow::before { width: 8px; height: 8px; }
.intro-note { display: block; margin: 16px 0 0; padding: 0; border: 0; text-align: center; }
.converter { padding: 32px; border-radius: 24px; box-shadow: var(--shadow); }
.instrument-header { padding: 0 0 24px; gap: 16px; flex-wrap: wrap; }
.instrument-header > span:first-child { gap: 8px; }
.local-label { padding: 0; border: 0; border-radius: 12px; }
.converter-grid { grid-template-columns: 1.1fr 1fr; gap: 32px; }
.input-side { padding: 0; }
.step-label { gap: 16px; margin: 0 0 16px; align-items: flex-start; }
.step-label > span:last-child { text-align: right; }
.drop-zone { min-height: 240px; padding: 32px; border-radius: 12px; }
.upload-icon { width: 48px; height: 48px; margin: 0 0 16px; border: 0; border-radius: 12px; background: transparent; box-shadow: none; }
.drop-zone strong { padding: 8px 24px; border-radius: 12px; background: var(--accent); color: var(--surface); }
.drop-help { margin: 8px 0 0; }
.input-hint { margin: 16px 0 0; }
.actions { grid-template-columns: 1fr; gap: 0; margin: 16px 0 0; }
.primary-button, .download-button { min-height: 48px; padding: 8px 24px; border-radius: 12px; box-shadow: none; }
.sample-button { min-height: 48px; padding: 8px 16px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.sample-button:hover:not(:disabled) { background: transparent; color: var(--ink); }
.sample-button span { margin-left: 8px; color: currentColor; }
.input-side:has(#file-row:not([hidden])) .drop-zone strong { color: var(--accent); background: transparent; }
.converter:has(#result-card:not([hidden])) .primary-button { color: var(--ink); background: var(--paper); border-color: var(--line); }
.file-row { gap: 16px; margin: 16px 0 0; padding: 8px 16px; border-radius: 12px; }
.file-icon { width: 32px; height: 40px; border-radius: 12px; }
.file-row button { min-height: 48px; padding: 8px; }
.status { margin: 16px 0 0; }
.status > div:first-child { gap: 16px; }
.progress-track { margin: 8px 0 0; border-radius: 12px; }
.output-side { padding: 24px; border-radius: 12px; }
.output-side .step-label { margin: 0 0 16px; }
.roll-shell { border-radius: 12px; box-shadow: none; }
.roll-heading, .roll-caption { padding: 16px; }
.roll { height: 192px; }
.roll-empty p { margin: 16px 0 8px; }
.output-hint { margin: 16px 0 0; }
.result-card { margin: 24px 0 0; }
.result-heading { gap: 16px; }
.result-check { width: 32px; height: 32px; border-radius: 12px; }
.result-heading p { margin: 8px 0 0; }
.download-button { margin: 16px 0 0; }
.download-feedback { margin: 8px 0 0; }
.privacy-line { gap: 24px; margin: 24px 0 0; padding: 24px 0 0; }
.privacy-line > span:first-child { gap: 8px; }
.privacy-line i { margin: 0; }
.under-tool { margin: 24px 0 0; gap: 24px; }
.under-tool a span { margin-left: 8px; }
.details-section { grid-template-columns: 64px minmax(0, 1fr); gap: 32px; padding: 80px 0; scroll-margin-top: 24px; }
.workspace + .details-section { margin: 0; }
.section-number { gap: 16px; padding: 0; }
.section-number::after { width: 32px; margin: 8px 0 0; }
.section-main .eyebrow { margin: 0 0 16px; }
.section-main h2 { margin: 0 0 24px; }
.section-copy { max-width: 720px; }
.format-groups { grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0 0; }
.format-groups > div { padding: 24px; border-radius: 12px; }
.format-groups h3 { margin: 0 0 16px; }
.format-list { gap: 16px 24px; }
.format-list li { gap: 8px; }
.footnote { margin: 24px 0 0; padding-left: 16px; }
.method-grid { gap: 32px; margin: 32px 0 0; }
.method-grid article { padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.method-grid article:hover { border-color: var(--line); box-shadow: none; }
.method-grid article::before { width: 32px; height: 32px; margin: 0 0 24px; border-radius: 12px; }
.method-grid h3 { margin: 8px 0 16px; }
.method-grid p { margin: 0; }
.limits-grid { gap: 0 32px; margin: 32px 0 0; }
.limits-grid > div { padding: 24px 0 24px 24px; }
.limits-grid > div::before { top: 32px; left: 0; width: 8px; height: 8px; }
.limits-grid h3 { margin: 0 0 16px; }
.limits-grid p { margin: 0; }
.faq-section { padding-bottom: 80px; }
.faq-section h2 { margin-bottom: 32px; }
summary { padding: 24px 48px 24px 0; }
summary::after { top: 24px; width: 24px; height: 24px; border-radius: 12px; }
details p { margin: 0 48px 24px 0; }
.signal-research { padding: 80px 0; margin: 0; }
.signal-research .studio-section-head { gap: 32px; margin: 0 0 32px; align-items: flex-start; }
.signal-research .studio-section-head > p { max-width: 400px; }
.studio-research-label { margin: 32px 0 16px; gap: 24px; }
.studio-featured { gap: 24px; }
.studio-featured > a { border-radius: 12px; }
.studio-note-image { padding: 24px; }
.studio-note-image > span { margin: 0 0 16px; }
.studio-note-image img { border-radius: 12px; }
.studio-note-copy { padding: 24px; }
.signal-research h3 { margin: 16px 0; }
.signal-research p { margin: 0; }
.note-cta { margin: 24px 0 0; }
.studio-archive-top { gap: 32px; margin: 48px 0 24px; }
.studio-archive-top h3 { margin: 16px 0 0; }
.studio-search { width: min(400px, 100%); }
.note-search-control { margin: 8px 0 0; border-radius: 12px; }
.note-search-control input { min-height: 48px; padding: 8px 16px; }
.note-search-control button { min-width: 64px; padding: 8px 16px; }
.signal-research .note-results { margin: 8px 0 0; }
.studio-archive { gap: 24px; }
.studio-archive > a { padding: 24px; border-radius: 12px; }
.studio-archive-bottom { gap: 24px; margin: 32px 0 0; }
.studio-outline-button { min-height: 48px; padding: 8px 24px; border-radius: 12px; }
.note-empty { padding: 24px; border-radius: 12px; }
.footer { gap: 24px; padding: 32px 0; min-height: 0; }
.footer p { margin: 0; }
.footer .brand span { margin-left: 8px; }
.signal-footer-nav { gap: 16px 24px; }
.signal-footer-nav a { min-height: 48px; display: inline-flex; align-items: center; }
.signal-all-experiments nav { gap: 16px 24px; padding: 16px 0; }
.signal-all-experiments nav a { min-height: 48px; display: inline-flex; align-items: center; }
.skip { left: 24px; padding: 16px 24px; border-radius: 12px; }
.skip:focus { top: 16px; }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .converter-grid { gap: 24px; }
  .studio-archive { grid-template-columns: 1fr 1fr; }
  .details-section { grid-template-columns: 1fr; gap: 24px; }
  .privacy-line > span:last-child { display: block; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 48px); }
  .masthead { min-height: 80px; }
  .masthead nav { gap: 16px; }
  .intro { padding: 32px 0; }
  .intro-note { display: block; margin-top: 16px; }
  .converter { padding: 24px; border-radius: 24px; }
  .converter-grid { grid-template-columns: 1fr; gap: 32px; }
  .instrument-header { padding-bottom: 24px; gap: 8px 16px; }
  .drop-zone { min-height: 200px; padding: 24px 16px; }
  .upload-icon { width: 48px; height: 48px; margin-bottom: 16px; }
  .actions { grid-template-columns: 1fr; gap: 0; margin-top: 16px; }
  .primary-button, .sample-button, .download-button { min-height: 48px; }
  .output-side { padding: 16px; border-radius: 12px; }
  .roll { height: 160px; }
  .privacy-line { flex-direction: column; gap: 8px; margin-top: 24px; padding-top: 24px; }
  .privacy-line > span:first-child { align-items: flex-start; }
  .privacy-line i { margin-top: 8px; }
  .under-tool { flex-direction: column; gap: 8px; margin-top: 24px; }
  .details-section { padding: 64px 0; gap: 16px; }
  .section-number { gap: 16px; }
  .section-number::after { width: 32px; margin-top: 8px; }
  .format-groups, .method-grid, .limits-grid { grid-template-columns: 1fr; margin-top: 32px; gap: 24px; }
  .limits-grid { gap: 0; }
  .format-groups > div { padding: 24px; }
  .method-grid article { padding: 24px 0 0; }
  .method-grid article::before { margin-bottom: 24px; }
  .faq-section h2 { margin-bottom: 32px; }
  summary { padding: 24px 48px 24px 0; }
  summary::after { top: 24px; width: 24px; height: 24px; }
  details p { margin-right: 0; }
  .signal-research { padding: 64px 0; }
  .signal-research .studio-section-head { flex-direction: column; gap: 24px; margin-bottom: 32px; }
  .studio-research-label { gap: 16px; }
  .studio-featured, .signal-research .studio-archive { grid-template-columns: 1fr; gap: 24px; }
  .studio-archive-top { flex-direction: column; align-items: stretch; gap: 24px; }
  .studio-archive-bottom { flex-direction: column; align-items: stretch; gap: 24px; }
  .footer { align-items: flex-start; gap: 24px; padding: 32px 0; min-height: 0; }
  .signal-footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
  .signal-all-experiments nav { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 360px) {
  .converter { padding: 16px; }
  .brand { gap: 8px; }
}

/* Layer 4: one motion location, with immediate states elsewhere. */
html { scroll-behavior: auto; scroll-padding-top: 32px; }
*, *::before, *::after { transition: none !important; animation: none !important; }
.primary-button:hover:not(:disabled), .download-button:hover { transform: none; box-shadow: none; }
.drop-zone:hover .upload-icon, .drop-zone:focus-within .upload-icon { transform: translateY(-4px); }
.upload-icon { transition: transform 180ms cubic-bezier(.2,.8,.2,1) !important; }
button:focus-visible, a:focus-visible, summary:focus-visible,
.drop-zone:focus-within { outline: 3px solid var(--accent); outline-offset: 8px; }
.note-search-control input:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.result-card { outline-offset: 8px; }
.note-results, body *::before, body *::after { font-size: var(--type-body) !important; }
@media (prefers-reduced-motion: reduce) {
  .upload-icon { transition: none !important; }
  .drop-zone:hover .upload-icon, .drop-zone:focus-within .upload-icon { transform: none; }
}

/* Motion v2: one coordinated motion treatment in the actual converter. */
@keyframes workspace-entry {
  from { opacity: .6; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes actual-note-entry {
  from { opacity: 0; transform: scaleX(.5); }
  to { opacity: 1; transform: scaleX(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .converter { animation: workspace-entry 500ms cubic-bezier(.2,.8,.2,1) both !important; }
  .drop-zone { transition: border-color 180ms cubic-bezier(.2,.8,.2,1), background-color 180ms cubic-bezier(.2,.8,.2,1), box-shadow 180ms cubic-bezier(.2,.8,.2,1) !important; }
  .drop-zone strong, .primary-button, .download-button {
    transition: background-color 180ms cubic-bezier(.2,.8,.2,1), transform 180ms cubic-bezier(.2,.8,.2,1) !important;
  }
  .drop-zone:hover strong, .drop-zone:focus-within strong,
  .primary-button:hover:not(:disabled), .download-button:hover { transform: translateY(-2px); }
  .primary-button:active:not(:disabled), .download-button:active { transform: translateY(0); }
  #progress-bar { transition: width 200ms cubic-bezier(.2,.8,.2,1) !important; }
  #note-svg rect {
    transform-box: fill-box; transform-origin: left center;
    animation: actual-note-entry 380ms cubic-bezier(.2,.8,.2,1) both !important;
  }
  #note-svg rect:nth-of-type(2) { animation-delay: 40ms !important; }
  #note-svg rect:nth-of-type(3) { animation-delay: 80ms !important; }
  #note-svg rect:nth-of-type(n+4) { animation-delay: 120ms !important; }
  .result-card:not([hidden]), .file-row:not([hidden]) { animation: workspace-entry 380ms cubic-bezier(.2,.8,.2,1) both !important; }
}

/* Panel refinement v3: matched geometry before the motion layer. */
.converter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.input-side, .output-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.input-side > .step-label, .output-side > .step-label { flex: none; margin: 0 0 16px; }
.input-side > .drop-zone { flex: 1; min-height: 240px; }
.input-side > .actions, .input-side > .file-row, .input-side > .status { flex: none; }
.output-side > .roll-shell { flex: 1; display: flex; flex-direction: column; }
.output-side .roll { flex: 1; min-height: 192px; }
.roll-heading, .roll-caption { flex: none; }
.output-side > .output-hint, .output-side > .result-card { flex: none; }
@media (max-width: 900px) {
  .converter-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 680px) {
  .converter-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .input-side, .output-side { padding: 16px; }
  .step-label { flex-wrap: wrap; gap: 8px 16px; }
  .input-side > .drop-zone { min-height: 240px; padding: 24px 16px; }
  .output-side .roll { min-height: 160px; }
}
@media (max-width: 440px) {
  .input-side, .output-side { padding: 16px; }
  .step-label { flex-direction: column; gap: 8px; }
  .step-label > span:last-child { text-align: left; }
  .drop-zone { padding-inline: 8px !important; }
  .input-hint { max-width: 24ch; }
  .roll-heading, .roll-caption { padding: 16px 8px; }
  .roll-empty { padding: 16px 8px; text-align: center; }
}

/* AutoClaw's existing equalizer cadence, scoped to a decorative upload cue. */
.upload-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 144px;
  height: 48px;
  gap: 8px;
  color: var(--accent);
}
.upload-wave > i {
  display: block;
  flex: none;
  width: 4px;
  height: 48px;
  border-radius: 12px;
  background: currentColor;
  opacity: .72;
  transform: scaleY(var(--h));
  transform-origin: center;
}
@keyframes autoclaw-upload-wave {
  from { transform: scaleY(.16); }
  to { transform: scaleY(var(--h)); }
}
@media (prefers-reduced-motion: no-preference) {
  .upload-wave > i {
    animation: autoclaw-upload-wave 1.3s ease-in-out calc(var(--i) * -.11s) infinite alternate !important;
  }
  .input-side:has(#file-row:not([hidden])) .upload-wave > i { animation-play-state: paused !important; }
}
@media (prefers-reduced-motion: reduce) {
  .upload-wave > i { animation: none !important; }
}

/* Empty output: a readable note icon, separate from the actual note SVG. */
.roll-empty > .empty-note-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 96px;
  height: 64px;
  color: var(--accent);
}
.empty-note-icon svg { display: block; width: 96px; height: 64px; overflow: visible; }
.empty-note-plate { fill: currentColor; fill-opacity: .06; stroke: currentColor; stroke-opacity: .16; }
.empty-note-stem { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.empty-note-head { fill: currentColor; }
@keyframes empty-note-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: no-preference) {
  .empty-note-glyph { animation: empty-note-float 3.2s ease-in-out infinite !important; }
}

/* Featured evidence cards share one media frame without altering the SVGs. */
.studio-featured > a { display: flex; flex-direction: column; }
.studio-featured .studio-note-copy { display: flex; flex-direction: column; flex: 1; }
.studio-featured .note-cta { margin-top: auto; padding-top: 24px; }
@media (min-width: 681px) {
  .studio-featured .studio-note-image > span { min-height: 40px; line-height: 20px; }
  .studio-featured .studio-note-image img { aspect-ratio: 520 / 149; height: auto; object-fit: contain; }
}

/* A locally served, open-source display face; the readable body tier is kept. */
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./fonts/syne-latin-wght.woff2") format("woff2");
}
:root { --display-face: "Syne", Arial, "Helvetica Neue", "Segoe UI", sans-serif; }
.intro h1, .intro h1 *, .section-main h2, .section-main h2 *,
.signal-research h2, .signal-research h2 * { font-family: var(--display-face) !important; }
.intro h1, .intro h1 * { font-weight: 650; letter-spacing: -.045em; }
.section-main h2, .signal-research h2 { letter-spacing: -.035em; }
