:root {
  --bg: #f7f6f2;
  --paper: #fff;
  --ink: #252b29;
  --muted: #7a807b;
  --line: #e5e7e0;
  --accent: #ed6547;
  --accent-hover: #dc5235;
  --green: #3e6253;
  --soft-green: #edf2ec;
  --radius: 20px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #fbd4c8;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
pre:focus-visible {
  outline: 3px solid #ef9a81;
  outline-offset: 3px;
}
.site-shell {
  max-width: 1280px;
  padding: 0 48px;
  margin: auto;
}
.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: var(--accent);
  color: #fff;
  border-radius: 11px;
  font-size: 15px;
  padding-left: 2px;
}
.brand-dot {
  color: var(--accent);
}
.back-link {
  font-size: 13px;
  color: var(--muted);
}
.back-link span {
  margin-left: 7px;
  color: var(--ink);
}
.intro {
  padding: 57px 0 37px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--green);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
h1 {
  font-size: clamp(44px, 4.5vw, 62px);
  letter-spacing: -2.8px;
  line-height: 1.08;
  margin: 19px 0 19px;
  font-weight: 650;
}
h1 span {
  color: var(--green);
}
.intro-copy {
  font-size: 16px;
  color: #767c77;
  line-height: 1.65;
  margin: 0;
}
.workspace {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.input-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 5px 24px #26332903;
}
.card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.small-number {
  font-size: 10px;
  letter-spacing: 0.3px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--green);
  font-weight: 700;
}
.card-heading h2 {
  font-size: 17px;
  letter-spacing: -0.4px;
  margin: 0;
  font-weight: 650;
}
.input-tabs {
  display: flex;
  background: #f4f5f1;
  border-radius: 9px;
  padding: 4px;
  margin-bottom: 23px;
  gap: 4px;
}
.input-tab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 7px 2px;
  color: var(--muted);
  font-size: 12px;
  border-radius: 6px;
}
.input-tab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px #0000000b;
  font-weight: 600;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
.url-input-wrap {
  position: relative;
}
.url-input-wrap > span {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #a4aaa3;
}
.url-input-wrap input {
  width: 100%;
  min-width: 0;
  padding: 13px 10px 13px 34px;
  border: 1px solid #dedfd9;
  border-radius: 9px;
  font-size: 12px;
  background: #fdfdfa;
  color: var(--ink);
}
input::placeholder,
textarea::placeholder {
  color: #a5aaa3;
}
.field-note {
  font-size: 10px;
  line-height: 1.65;
  color: #92988f;
  margin-top: 9px;
}
.language-label {
  margin-top: 23px;
}
.language-label span {
  font-size: 10px;
  font-weight: 400;
  color: #9aa094;
  margin-left: 5px;
}
select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: #687168;
  font-size: 12px;
}
textarea {
  resize: vertical;
  min-height: 180px;
  max-height: 440px;
  width: 100%;
  border: 1px solid #dedfd9;
  border-radius: 9px;
  padding: 12px;
  background: #fdfdfa;
  font-size: 13px;
  color: var(--ink);
}
.primary-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  padding: 14px 17px;
  margin-top: 23px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.15s,
    transform 0.15s;
}
.primary-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.primary-button > span:last-child {
  font-size: 19px;
  font-weight: 400;
}
.form-footnote {
  font-size: 10px;
  color: #8e958b;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 17px;
}
.form-footnote > span {
  color: var(--accent);
}
.notice {
  padding: 12px 14px;
  border-radius: 9px;
  background: #f0f2e9;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 14px;
  color: #59654e;
  border: 1px solid #e2e7d7;
}
.notice.error {
  background: #fff1eb;
  color: #9a422e;
  border-color: #f7dacd;
}
.how-it-works {
  padding: 28px 16px 0;
}
.how-it-works > h2 {
  font-size: 17px;
  letter-spacing: -0.4px;
  line-height: 1.45;
  margin: 0 0 20px;
  font-weight: 550;
}
.benefit {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.benefit-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid #e0e5da;
  border-radius: 9px;
  color: #6f886b;
  font-size: 18px;
}
.benefit h3 {
  font-size: 12px;
  margin: 0 0 3px;
  font-weight: 600;
}
.benefit p {
  font-size: 11px;
  margin: 0;
  color: #93998f;
}
.scope-note {
  font-size: 10px;
  line-height: 1.8;
  color: #93998f;
  max-width: 280px;
  margin: 23px 0 0;
}
.result-column {
  min-width: 0;
}
.empty-state,
.progress-state {
  min-height: 516px;
  border: 1px dashed #d6dcd0;
  background: linear-gradient(135deg, #f0f3eb99, #f5f5ee55);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 45px 25px;
}
.paper-stack {
  position: relative;
  width: 145px;
  height: 139px;
  margin-bottom: 27px;
}
.paper-back {
  position: absolute;
  width: 93px;
  height: 115px;
  left: 31px;
  top: 6px;
  background: #dfe8d9;
  border: 1px solid #d5dfce;
  border-radius: 9px;
  transform: rotate(12deg);
}
.paper-front {
  position: absolute;
  width: 93px;
  height: 115px;
  left: 21px;
  top: 5px;
  background: #fff;
  border: 1px solid #e0e6db;
  border-radius: 9px;
  box-shadow: 0 9px 15px #3e62530b;
  transform: rotate(-7deg);
  padding: 18px;
}
.paper-play {
  display: grid;
  place-items: center;
  height: 30px;
  width: 31px;
  border-radius: 8px;
  background: #ffede6;
  color: var(--accent);
  font-size: 11px;
  padding-left: 2px;
  margin-bottom: 13px;
}
.paper-front i {
  display: block;
  background: #e7ebe3;
  height: 4px;
  border-radius: 4px;
  margin: 6px 0;
  width: 53px;
}
.paper-front i:last-of-type {
  width: 35px;
}
.paper-spark {
  position: absolute;
  font-size: 34px;
  color: #8caa7d;
  right: -36px;
  bottom: 17px;
  transform: rotate(5deg);
}
.empty-label {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.8px;
  color: #8e9b85;
}
.empty-state h2,
.progress-state h2 {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.8px;
  margin: 12px 0 11px;
}
.empty-state p,
.progress-state > p {
  font-size: 13px;
  color: #929c8c;
  line-height: 1.8;
  margin: 0;
}
.empty-tags {
  display: flex;
  gap: 7px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.empty-tags span {
  font-size: 10px;
  color: #8a9781;
  border: 1px solid #dfe5d7;
  border-radius: 6px;
  padding: 4px 10px;
  background: #f8f9f4;
}
.loading-orbit {
  color: var(--accent);
  font-size: 65px;
  animation: orbit 5s linear infinite;
  margin-bottom: 20px;
}
.progress-steps {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 33px 0;
  gap: 0;
  counter-reset: step;
}
.progress-steps li {
  font-size: 11px;
  color: #a2ac9a;
  min-width: 90px;
  position: relative;
  counter-increment: step;
}
.progress-steps li:before {
  content: counter(step);
  display: grid;
  place-items: center;
  height: 29px;
  width: 29px;
  border-radius: 50%;
  background: #e7ecdf;
  margin: 0 auto 9px;
  color: #93a287;
  font-size: 11px;
}
.progress-steps li.active {
  color: var(--green);
}
.progress-steps li.active:before {
  background: var(--green);
  color: #fff;
}
.progress-state .progress-note {
  font-size: 10px;
  max-width: 290px;
}
.result-card {
  padding: 29px 31px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.result-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cache-badge {
  font-size: 9px;
  background: var(--soft-green);
  color: var(--green);
  border-radius: 4px;
  padding: 3px 7px;
}
.result-card > h2 {
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -0.9px;
  font-weight: 600;
  margin: 19px 0 13px;
  overflow-wrap: anywhere;
}
.result-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #969d92;
}
.result-meta a {
  color: #64815b;
}
.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-top: 23px;
}
.result-tabs {
  display: flex;
  gap: 19px;
}
.result-tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 11px 0 13px;
  color: #9ba193;
  font-size: 12px;
  white-space: nowrap;
}
.result-tab.active {
  color: var(--ink);
  border-color: var(--green);
  font-weight: 600;
}
.download-button {
  font-size: 11px;
  white-space: nowrap;
  color: var(--green);
  padding: 7px 0 7px 8px;
}
.download-button:hover,
.text-button:hover {
  text-decoration: underline;
}
.summary-section {
  background: var(--soft-green);
  padding: 20px;
  border-radius: 11px;
  margin-top: 23px;
}
.section-kicker {
  color: #688262;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.3px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.section-kicker span {
  font-size: 13px;
}
.summary-section > p {
  font-size: 14px;
  line-height: 1.85;
  color: #40533c;
  margin: 10px 0 0;
  white-space: pre-line;
}
.analysis-section {
  margin-top: 28px;
}
.analysis-section h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: -0.2px;
}
.analysis-section h3 > span {
  font-size: 9px;
  color: #9aaa93;
  margin-right: 8px;
  font-weight: 500;
}
.analysis-section ul,
.caveats-section ul {
  padding-left: 17px;
  margin: 0;
}
.analysis-section li,
.caveats-section li {
  padding-left: 4px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.8;
  color: #697263;
}
.analysis-section li::marker {
  color: #a6b59a;
}
.key-points {
  list-style: none;
  padding: 0 !important;
  counter-reset: point;
}
.key-points li {
  position: relative;
  padding-left: 30px;
  counter-increment: point;
}
.key-points li:before {
  content: counter(point, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 9px;
  color: #8ba17c;
}
.caveats-section {
  padding: 18px 19px;
  background: #faf7f0;
  border: 1px solid #eee7d7;
  border-radius: 10px;
  margin-top: 26px;
}
.caveats-section h3 {
  font-size: 12px;
  font-weight: 600;
  color: #8e7853;
  margin: 0 0 10px;
}
.caveats-section li {
  font-size: 12px;
  color: #8d816b;
}
.conclusion-section {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 26px;
}
.conclusion-section h3 {
  font-size: 14px;
  margin: 0 0 9px;
  font-weight: 600;
}
.conclusion-section p {
  font-size: 13px;
  line-height: 1.85;
  color: #64715e;
  margin: 0;
}
.analysis-disclaimer {
  font-size: 10px;
  color: #a1a898;
  line-height: 1.8;
  margin: 22px 0 13px;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--green);
  font-size: 11px;
}
.transcript-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0 14px;
  font-size: 11px;
  color: #8d9687;
  gap: 10px;
}
#transcript-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.95;
  max-height: 720px;
  overflow: auto;
  margin: 0;
  color: #697263;
}
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 65px;
  padding: 23px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #969e8e;
}
.footer-separator {
  margin: 0 8px;
  color: #c0c8b8;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 12px 21px;
  border-radius: 10px;
  box-shadow: 0 7px 20px #0002;
  font-size: 13px;
  z-index: 20;
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1200px) {
  .intro {
    padding-top: 64px;
  }
  .workspace {
    gap: 36px;
    grid-template-columns: 380px minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .site-shell {
    padding: 0 28px;
  }
  .workspace {
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 20px;
  }
  .input-card {
    padding: 22px;
  }
  .result-card {
    padding: 24px;
  }
  .result-card > h2 {
    font-size: 25px;
  }
  .download-button span {
    display: none;
  }
  .empty-state h2 {
    font-size: 20px;
  }
  .site-footer {
    font-size: 9px;
  }
}
@media (max-width: 680px) {
  .site-shell {
    padding: 0 20px;
  }
  .site-header {
    height: 78px;
  }
  .brand {
    font-size: 21px;
  }
  .back-link {
    font-size: 11px;
  }
  .intro {
    padding: 38px 0 29px;
  }
  h1 {
    font-size: 47px;
    letter-spacing: -2px;
    margin-top: 16px;
  }
  .intro-copy {
    font-size: 14px;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .input-card {
    padding: 23px;
  }
  .how-it-works {
    display: none;
  }
  .empty-state {
    min-height: 350px;
    padding: 29px 20px;
  }
  .paper-stack {
    margin-bottom: 8px;
  }
  .empty-state h2 {
    font-size: 22px;
  }
  .result-card {
    padding: 24px 21px;
  }
  .result-card > h2 {
    font-size: 26px;
  }
  .download-button span {
    display: inline;
  }
  .site-footer {
    margin-top: 38px;
    flex-direction: column;
    gap: 7px;
    padding-top: 21px;
  }
  .result-tabs {
    gap: 17px;
  }
  .empty-tags {
    margin-top: 17px;
  }
  .progress-state {
    min-height: 360px;
  }
  .desktop-break {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
