@font-face {
  font-family: 'Presentation';
  src: local('Aptos'), local('Segoe UI'), local('Arial');
  font-display: swap;
}
:root {
  font-family: Presentation, system-ui, sans-serif;
  color: #263331;
  background: #f5f5f0;
  font-synthesis: none;
  --muted: #65706b;
  --line: #dce1d8;
  --accent: #cddd93;
  --ink: #253c35;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}
button,
input,
textarea {
  font: inherit;
}
button,
summary,
.dropzone {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button,
input,
textarea,
summary,
audio,
pre {
  outline-offset: 5px;
}
:focus-visible {
  outline: 3px solid #7a953c;
}
.page {
  max-width: 1520px;
  margin: auto;
  padding: 0 56px;
}
.brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 128px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.logmedia-logo {
  width: 240px;
  height: 64px;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 26px;
  border-radius: 14px;
  background: #293533;
}
.partner img {
  display: block;
  width: 240px;
  height: auto;
}
.intro {
  padding: 56px 0 42px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin: 0 0 22px;
  color: var(--muted);
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #91a95d;
  border-radius: 50%;
}
h1 {
  font-size: clamp(38px, 4.1vw, 64px);
  line-height: 1.1;
  font-weight: 550;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
}
h1 span {
  color: #7c886d;
}
.intro-copy {
  color: var(--muted);
  font-size: 21px;
  margin: 0;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  min-width: 0;
  box-shadow: 0 8px 26px #26333104;
}
.section-heading {
  display: flex;
  gap: 14px;
  align-items: center;
}
.step {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef1e8;
  color: #6c795d;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 650;
  flex: 0 0 auto;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
}
.section-copy {
  margin: 16px 0 26px;
  color: var(--muted);
  font-size: 17px;
}
.dropzone {
  display: flex;
  position: relative;
  min-height: 296px;
  border: 1.5px dashed #b7c2ab;
  border-radius: 18px;
  background: #f8faf4;
  padding: 32px 20px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.dropzone:hover,
.dropzone.dragover {
  background: #edf3e2;
  border-color: #6f873b;
}
.dropzone:focus-within {
  outline: 3px solid #7a953c;
  outline-offset: 4px;
}
.dropzone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.dropzone strong {
  font-size: 23px;
  font-weight: 550;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.dropzone span {
  font-size: 16px;
  color: var(--muted);
}
.dropzone .file-formats {
  font-size: 12px;
  margin-top: 24px;
  letter-spacing: 0.04em;
}
.upload-icon {
  width: 48px;
  height: 48px;
  color: #7e9158;
  margin-bottom: 22px;
}
.limits-note {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 0;
}
audio {
  width: 100%;
  margin-top: 20px;
}
.recording-note {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.small-label {
  font-size: 11px;
  letter-spacing: 0.13em;
  color: #6c795d;
  font-weight: 700;
}
.recording-note p {
  font-size: 17px;
  color: var(--muted);
  margin: 10px 0 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field {
  min-width: 0;
  margin-bottom: 18px;
}
.values-grid .field {
  margin: 0;
}
.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  min-height: 30px;
}
.field-label label {
  font-size: 16px;
  font-weight: 600;
}
input:not([type='file'], [type='checkbox']),
textarea {
  width: 100%;
  min-height: 52px;
  color: #253c35;
  background: #fbfcf9;
  border: 1px solid #dce1d8;
  border-radius: 10px;
  padding: 12px 14px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
textarea {
  display: block;
  resize: vertical;
  line-height: 1.5;
}
input:not([type='file'], [type='checkbox']):focus,
textarea:focus {
  background: white;
  border-color: #7e9158;
}
input:disabled,
textarea:disabled {
  opacity: 0.65;
}
.optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}
.help {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}
.help-button {
  border-radius: 50%;
  border: 1px solid #d8dfd0;
  background: transparent;
  color: #768369;
  font-size: 13px;
  line-height: 1;
  width: 28px;
  height: 28px;
  padding: 0;
}
.help [role='tooltip'] {
  display: none;
  position: absolute;
  z-index: 10;
  bottom: calc(100% + 12px);
  right: -3px;
  width: min(290px, calc(100vw - 72px));
  background: #283d35;
  color: #fff;
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 24px #17231d26;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}
.help:hover [role='tooltip'],
.help:focus-within [role='tooltip'] {
  display: block;
}
.advanced {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 20px;
}
summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 550;
}
.advanced summary span {
  display: block;
  margin: 5px 0 0 19px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.advanced-content {
  padding-top: 24px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
input[type='checkbox'] {
  width: 21px;
  height: 21px;
  accent-color: var(--ink);
  flex: 0 0 auto;
}
.contact-toggle {
  margin-bottom: 18px;
}
.custom-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0 12px;
}
h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 550;
}
.custom-field {
  background: #f5f7f0;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
}
.custom-field .field:last-of-type {
  margin-bottom: 8px;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: #506843;
  font-size: 15px;
  font-weight: 550;
  text-align: left;
}
.text-button:hover {
  color: #263331;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 36px;
}
.action-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.actions {
  display: flex;
  gap: 14px;
  flex: 0 0 auto;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  min-width: 190px;
  min-height: 64px;
  padding: 16px 26px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.07em;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button span {
  font-size: 23px;
  line-height: 1;
}
.primary {
  background: var(--ink);
  color: #fff;
}
.primary:hover {
  background: #375449;
  transform: translateY(-1px);
}
.secondary {
  background: #e8eedb;
  color: #33492e;
  border-color: #ccd7b9;
}
.secondary:hover {
  background: #dce6cb;
  transform: translateY(-1px);
}
.output-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  min-height: 280px;
}
.output-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.output-actions {
  display: flex;
  gap: 24px;
}
.status-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  font-size: 22px;
  margin-top: 26px;
}
#elapsed {
  white-space: nowrap;
  color: var(--muted);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.empty-output {
  color: var(--muted);
  font-size: 19px;
  margin: 14px 0 0;
}
.processing {
  padding: 8px 0 30px;
  text-align: center;
}
.processing p {
  color: var(--muted);
  font-size: 17px;
}
.arrow-track {
  position: relative;
  max-width: 370px;
  height: 88px;
  margin: 14px auto 0;
  overflow: hidden;
}
.process-arrow {
  position: absolute;
  color: #8da261;
  font-size: 74px;
  line-height: 1;
  width: 92px;
  animation: processing 3.6s ease-in-out infinite;
}
@keyframes processing {
  0% {
    left: 0;
    transform: scaleX(1);
    opacity: 0.35;
  }
  45% {
    left: calc(100% - 92px);
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    left: calc(100% - 92px);
    transform: scaleX(-1);
    opacity: 0.6;
  }
  95% {
    left: 0;
    transform: scaleX(-1);
    opacity: 1;
  }
  100% {
    left: 0;
    transform: scaleX(1);
    opacity: 0.35;
  }
}
.request-info {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
  margin: 12px 0 20px;
}
.result-summary {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 22px;
}
.result-summary h3 {
  font-size: 27px;
  letter-spacing: -0.02em;
}
.result-summary p {
  font-size: 19px;
  color: #53635b;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 14px 0 20px;
}
.transcript {
  margin-bottom: 24px;
}
.transcript summary {
  font-size: 15px;
  color: #657453;
}
.json-output {
  background: #263733;
  color: #e4ece6;
  border-radius: 16px;
  padding: 26px;
  overflow: auto;
  max-height: 600px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.65;
  tab-size: 2;
  margin: 22px 0 0;
}
.json-output code {
  font-family: Consolas, 'Cascadia Code', ui-monospace, monospace;
}
.json-key {
  color: #d7e7ac;
}
.json-string {
  color: #d8e3e0;
}
.json-number {
  color: #f3cf94;
}
.json-literal {
  color: #a9c9ee;
}
.output-card[data-state='error'] .status-line {
  color: #a13e34;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #768174;
}
@media (min-width: 1200px) {
  .recording {
    position: sticky;
    top: 24px;
  }
}
@media (max-width: 1000px) {
  .page {
    padding: 0 28px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 18px;
  }
  .card {
    padding: 24px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .action-bar {
    flex-wrap: wrap;
  }
  .actions {
    margin-left: auto;
  }
}
@media (max-width: 700px) {
  .page {
    padding: 0 18px;
  }
  .brand-bar {
    min-height: 96px;
    gap: 16px;
  }
  .logmedia-logo {
    width: 140px;
    height: 46px;
  }
  .partner {
    padding: 15px 12px;
    border-radius: 10px;
  }
  .partner img {
    width: 140px;
  }
  .intro {
    padding: 36px 0 30px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .intro-copy {
    font-size: 18px;
  }
  .desktop-break {
    display: none;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 24px;
    border-radius: 20px;
  }
  .dropzone {
    min-height: 240px;
  }
  .action-bar {
    gap: 18px;
  }
  .actions {
    width: 100%;
    gap: 10px;
  }
  .button {
    min-width: 0;
    flex: 1;
    padding: 16px 20px;
    gap: 16px;
  }
  .output-card {
    padding: 24px;
    border-radius: 20px;
  }
  .status-line {
    font-size: 19px;
  }
  .output-actions {
    gap: 18px;
  }
  .json-output {
    font-size: 16px;
    padding: 18px;
  }
  .result-summary h3 {
    font-size: 23px;
  }
  footer {
    flex-direction: column;
    gap: 4px;
  }
}
@media (max-width: 380px) {
  .page {
    padding: 0 12px;
  }
  .logmedia-logo {
    width: 125px;
  }
  .partner img {
    width: 125px;
  }
  .card,
  .output-card {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .process-arrow {
    position: static;
    opacity: 0.7;
  }
}
