@font-face {
  font-family: Manrope;
  src: url('/static/studio-fonts/Manrope-400.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url('/static/studio-fonts/Manrope-600.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url('/static/studio-fonts/Manrope-800.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  --primary: #2563eb;
  --brand-blue: #2563eb;
  --ink: #12213e;
  --muted: #526580;
  --line: #d5e2f0;
  --page-width: 1440px;
  color-scheme: light;
  font-family: Manrope,Arial,sans-serif;
  font-size: 18px;
  color: var(--ink);
  background: #f4f8ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 90% 5%,#d2f6ff 0,transparent 45%),radial-gradient(ellipse at 0 30%,#e2ebff 0,transparent 50%);
  min-height: 100vh;
}

[hidden] {
  display: none!important;
}

a {
  color: #1d4ed8;
  text-underline-offset: 3px;
}

button,input,textarea,select {
  font: inherit;
}

button,a,input,textarea,select,summary {
  touch-action: manipulation;
}

button,a,summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: .65;
}

button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline: 3px solid #0a7e9d;
  outline-offset: 4px;
}

.shell {
  max-width: 1504px;
  margin: auto;
  padding: 28px 32px;
}

.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  background: white;
  padding: 14px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.08fr);
  gap: 64px;
  align-items: start;
  padding: 42px 0 64px;
}

.hero-copy {
  padding-top: 30px;
  min-width: 0;
}

.eyebrow {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #17557d;
}

.eyebrow:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #06b6d4;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 0 4px #06b6d414;
}

h1 {
  font-size: clamp(42px,3.5vw,58px);
  line-height: 1.16;
  letter-spacing: -1.6px;
  margin: 17px 0 20px;
  font-weight: 800;
}

h1 span {
  color: #2563eb;
}

h2 {
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -.8px;
  margin: 10px 0 16px;
}

h3 {
  font-size: 24px;
  line-height: 1.3;
}

p {
  line-height: 1.65;
}

.lead {
  font-size: 21px;
  color: var(--muted);
  max-width: 620px;
}

.trust-line {
  font-size: 17px;
  line-height: 1.8;
  color: #526580;
}

.panel {
  background: #ffffffed;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 40px #16365508;
  padding: 32px;
}

.source-form {
  min-width: 0;
}

.form-heading h2 {
  margin-bottom: 17px;
}

.source-tabs {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 7px;
  margin-bottom: 16px;
}

.source-tabs button {
  background: #f2f7ff;
  color: #334965;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 50px;
  padding: 9px;
  font-size: 16px;
  font-weight: 600;
  min-width: 0;
}

.source-tabs button[aria-selected=true] {
  color: white;
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 5px 12px #2563eb20;
}

.source-methods {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.source-methods button {
  border: 0;
  background: transparent;
  color: #526580;
  font-size: 16px;
  padding: 3px 0;
  min-height: 44px;
}

.source-methods button[aria-pressed=true] {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 5px;
}

label {
  font-size: 16px;
  font-weight: 600;
  display: block;
  line-height: 1.5;
  margin: 18px 0 8px;
}

input,select,textarea {
  width: 100%;
  min-width: 0;
  background: #fbfdff;
  border: 1px solid #cbd8e7;
  color: var(--ink);
  border-radius: 11px;
  padding: 13px 14px;
  font-size: 17px;
  line-height: 1.5;
  min-height: 50px;
}

textarea {
  resize: vertical;
  min-height: 76px;
}

select {
  min-height: 50px;
}

input::placeholder,textarea::placeholder {
  color: #6e7c90;
  opacity: 1;
}

.hint {
  font-size: 15px;
  line-height: 1.6;
  color: #526580;
  margin: 7px 0;
}

.brief-details {
  font-size: 16px;
  margin: 15px 0;
}

.brief-details summary {
  cursor: pointer;
  color: #245179;
  font-weight: 600;
}

.price-note {
  font-size: 15px;
  line-height: 1.65;
  background: #eef7ff;
  border-radius: 12px;
  padding: 11px 13px;
  margin: 14px 0;
}

.price-note strong {
  font-size: 18px;
  display: inline-block;
  margin-bottom: 5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 800;
  border: 1px solid transparent;
}

.primary {
  background: linear-gradient(110deg,#2563eb,#1b69c8);
  color: white;
  box-shadow: 0 7px 17px #2563eb20;
}

.source-form>.btn {
  width: 100%;
}

.secondary {
  background: white;
  color: #1d4ed8;
  border-color: #bdd1ec;
}

.text-button {
  padding: 6px 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
}

.review {
  margin: 0 auto 36px;
  border-top: 5px solid #2563eb;
  max-width: 900px;
  scroll-margin-top: 24px;
}

.task-title {
  font-size: 22px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.order-facts {
  display: grid;
  gap: 0;
}

.order-facts>div {
  display: grid;
  grid-template-columns: 110px 1fr;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  gap: 15px;
}

.order-facts dt {
  color: #526580;
  font-size: 17px;
}

.order-facts dd {
  font-size: 17px;
  margin: 0;
  overflow-wrap: anywhere;
}

.review-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.review-actions a:not(.btn) {
  font-size: 17px;
}

.review #studio-edit {
  margin-top: 17px;
}

.error {
  color: #a02235;
  font-weight: 600;
}

.example-section {
  padding: 0 0 45px;
  scroll-margin-top: 20px;
}

.example-section>p {
  font-size: 17px;
  color: #526580;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 24px 0;
}

.comparison article {
  min-width: 0;
}

.comparison .before {
  background: #f4f5f8;
}

.comparison .after {
  background: linear-gradient(135deg,#e5f9f3,#e5f3ff);
  border-color: #9dd7de;
}

.comparison p,.comparison li {
  font-size: 17px;
  color: #526580;
}

.comparison li {
  margin: 10px 0;
}

.pill {
  font-size: 15px;
  font-weight: 800;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
}

.after .pill {
  color: #126451;
  border-color: #a3d9cb;
}

.delivery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 20px;
}

.delivery p,.delivery li {
  font-size: 17px;
  color: #526580;
}

.delivery ul {
  padding-left: 20px;
}

.delivery li {
  padding: 5px 0;
}

.limitations {
  font-size: 15px;
  color: #526580;
  max-width: 1000px;
}

footer {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  padding: 27px 0 12px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
}

footer a {
  font-size: 16px;
  color: #526580;
}

.hero-demo-action {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 0;
  margin-top: 28px;
}

.hero-demo-action .btn {
  max-width: 100%;
  text-align: center;
  border-color: #7fa8e5;
  background: #ffffffcf;
}

.hero-demo-action>span {
  font-size: 15px;
  color: #526580;
}

.demo-page-main {padding: 44px 0;}
.demo-page-heading h1 {font-size: 48px; line-height: 1.12; margin: 14px 0 22px;}
.demo-page-heading .lead {max-width: 850px;}
.demo-recorded {display: inline-block; padding: 10px 14px; background: #dcf6ef; color: #17675b; border-radius: 10px; font-size: 16px;}
.demo-task-summary {display: grid; grid-template-columns: 1fr 1.5fr .6fr; gap: 20px; margin: 28px 0; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 18px;}
.demo-task-summary div {min-width: 0;}
.demo-task-summary dt {font-size: 16px; color: var(--muted); margin-bottom: 7px;}
.demo-task-summary dd {margin: 0; font-size: 18px; font-weight: 650; overflow-wrap: anywhere;}
.demo-controls {display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 24px 0;}
.demo-controls .btn {min-height: 48px; font-size: 16px;}
.demo-controls .btn.primary {margin-left: auto;}
.demo-player {margin: 26px 0; padding: 24px; background: #eaf4ff; border: 1px solid #bfd8ef; border-radius: 18px;}
.demo-player-heading {display: flex; justify-content: space-between; gap: 20px; font-size: 20px;}
.demo-player-heading>span {color: #2563eb; font-weight: 800;}
.demo-player progress {display: block; width: 100%; height: 16px; margin: 18px 0; accent-color: #2563eb;}
.demo-player p {font-size: 16px; margin: 8px 0 0;}
.demo-player .btn {margin-top: 18px;}
.demo-workspace {display: grid; grid-template-columns: minmax(340px,.9fr) minmax(0,1.3fr); gap: 26px; align-items: start;}
.demo-workspace .panel {padding: 24px;}
.demo-workspace h2 {font-size: 25px; margin: 0 0 20px;}
.demo-stages {list-style: none; padding: 0; margin: 0; display: grid; gap: 0;}
.demo-stages li {display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; padding: 13px 8px; border-bottom: 1px solid #e0eaf3; font-size: 16px;}
.demo-stages li>span:first-child {color: #67809a; font-variant-numeric: tabular-nums;}
.demo-stages strong {font-size: 16px; line-height: 1.4;}
.demo-stage-state {font-size: 15px; color: #63768c;}
.demo-stages li[data-state=active] {background: #e6f1ff; border-radius: 8px; color: #1755bc;}
.demo-stages li[data-state=done] .demo-stage-state {color: #16785a;}
.demo-live-explanation {min-height: 56px; font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-line; color: var(--muted);}
#studio-demo-pages {list-style: none; display: grid; gap: 10px; padding: 0; margin: 20px 0 0;}
.demo-extraction-card {padding: 13px 15px; border: 1px solid #d4e3ef; border-radius: 10px; background: #f8fbff; overflow-wrap: anywhere;}
.demo-extraction-card strong {font-size: 17px; display: block;}
.demo-extraction-card span {font-size: 15px; color: #536d83; display: block; margin-top: 5px;}
.demo-extraction-card p {font-size: 16px; line-height: 1.5; margin: 6px 0 0; color: var(--muted);}
.demo-extraction-card[data-state=active] {background: #eaf3ff; border-color: #2563eb;}
.demo-extraction-card[data-state=done] {background: #effaf5; border-color: #acd8c8;}
.demo-result-section {margin-top: 30px;}
.demo-comparison {margin: 22px 0;}
.demo-comparison article {border: 1px solid var(--line); border-radius: 16px; padding: 24px;}
.demo-comparison p {font-size: 18px; line-height: 1.7; white-space: pre-line;}
.demo-result-links {display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 24px 0;}
@media(max-width:850px) {
  .demo-page-main {padding: 26px 0;}
  .demo-page-heading h1 {font-size: 36px;}
  .demo-workspace,.demo-task-summary {grid-template-columns: 1fr;}
  .demo-pages-panel {order: -1;}
  .demo-controls .btn.primary {margin-left: 0;}
  .demo-stages li {grid-template-columns: 24px 1fr auto;}
  .demo-workspace .panel,.demo-player {padding: 18px;}
}

#studio-result {
  padding: 20px 0;
}

#studio-result progress {
  width: 100%;
  height: 12px;
  margin: 10px 0 22px;
  accent-color: #2563eb;
}

.studio-preview-wrap {
  margin: 12px 0 26px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  overflow: auto;
}

#studio-preview {
  display: block;
  border: 0;
  width: 100%;
  height: 650px;
  background: white;
  margin: auto;
}

#studio-preview[data-size=mobile] {
  width: min(375px,100%);
}

#studio-result .delivery ol {
  font-size: 17px;
  line-height: 1.7;
  padding-left: 20px;
}

#studio-ready {
  margin-top: 32px;
}

.search-advantages {
  padding: 16px 0 56px;
}

.section-intro {
  max-width: 930px;
}

.section-intro h2 {
  font-size: 40px;
}

.section-intro>p {
  max-width: 890px;
  color: var(--muted);
  font-size: 18px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px;
  margin-top: 32px;
}

.advantage-grid article {
  min-width: 0;
  padding: 26px;
  border: 1px solid #cddff0;
  border-radius: 22px;
  background: #ffffffb8;
}

.advantage-grid article:nth-child(2) {
  background: #e8f8f8;
  border-color: #bddfe2;
}

.advantage-grid article:nth-child(3) {
  background: #e9efff;
  border-color: #ccdaf4;
}

.advantage-grid article:nth-child(4) {
  background: #f0f9f8;
  border-color: #c3e1db;
}

.advantage-number {
  color: #2563eb;
  font-size: 18px;
  font-weight: 800;
}

.advantage-grid h3 {
  margin: 16px 0 12px;
}

.advantage-grid p {
  margin: 0;
  color: #405873;
  font-size: 17px;
}

.chat-comparison {
  max-width: 1120px;
  margin-top: 32px;
  padding: 2px 0 2px 24px;
  border-left: 4px solid #2a6de7;
}

.chat-comparison h3 {
  margin: 0 0 12px;
}

.chat-comparison p {
  color: var(--muted);
  font-size: 18px;
  margin: 12px 0 0;
}

.related-project {
  border-top: 1px solid var(--line);
  padding: 24px 0 0;
  max-width: 1080px;
  color: var(--muted);
  font-size: 16px;
}

.related-project h2 {
  color: var(--ink);
  font-size: 19px;
  margin: 0 0 10px;
}

.related-project p {
  margin: 0;
  line-height: 1.7;
}

.delivery h2 {
  font-size: 32px;
}

@media(max-width:1000px) {
  .hero {
    gap: 26px;
  }

  .shell {
    padding: 18px;
  }

  .panel {
    padding: 22px;
  }

  h1 {
    font-size: 42px;
  }

  .source-tabs button {
    padding: 8px 5px;
  }

}

@media(max-width:850px) {
  .shell {
    padding: 12px 15px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 8px 0 28px;
  }

  .hero-copy {
    padding: 3px 0;
    padding-top: 8px;
  }

  .hero-copy .mini-page,.hero-copy .trust-line {
    display: none;
  }

  h1 {
    font-size: 39px;
    letter-spacing: -1.2px;
    margin: 14px 0;
  }

  .lead {
    font-size: 19px;
    line-height: 1.65;
    margin: 12px 0;
  }

  .panel {
    padding: 20px;
    border-radius: 20px;
  }

  .source-form {
    margin-top: 0;
  }

  .source-form h2 {
    font-size: 24px;
  }

  .source-tabs button {
    font-size: 15px;
  }

  .hint {
    font-size: 15px;
  }

  .comparison,.delivery {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .order-facts>div {
    grid-template-columns: 80px 1fr;
    gap: 10px;
  }

  .task-title {
    font-size: 19px;
  }

  h2 {
    font-size: 25px;
  }

  .review .btn {
    width: 100%;
  }

  footer {
    gap: 14px;
  }

  footer strong {
    width: 100%;
  }

  .hero-demo-action {
    margin-top: 15px;
    gap: 5px;
  }

  .hero-demo-action .btn {
    width: 100%;
    font-size: 16px;
    padding: 11px;
  }

  .hero-demo-action>span {
    font-size: 15px;
  }

.demo-controls .btn {
    min-width: 0;
    font-size: 16px;
    padding: 11px 14px;
  }

.demo-player-heading>strong {
    font-size: 16px;
  }

  .hero-copy .trust-line {
    display: block;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .advantage-grid h3 {
    margin: 10px 0;
  }

  .section-intro h2 {
    font-size: 32px;
  }


}

@media(max-width:350px) {
  .shell {
    padding: 10px;
  }

  .panel {
    padding: 15px;
  }

  h1 {
    font-size: 35px;
  }

  .source-tabs {
    gap: 4px;
  }

  .source-tabs button {
    font-size: 15px;
  }

  .btn {
    padding: 12px 14px;
  }

}

@media(prefers-reduced-motion:no-preference) {
  a,button {
    transition: background-color .15s,box-shadow .15s;
  }

  .primary:hover {
    box-shadow: 0 10px 25px #2563eb30;
  }

}

@media(max-width:1150px) {
  .hero {
    gap: 32px;
  }

  .source-tabs button {
    font-size: 15px;
    padding-inline: 5px;
  }

  .advantage-grid {
    gap: 18px;
  }

  .advantage-grid article {
    padding: 22px;
  }

}

@media(max-width:540px) {
  .shell {
    padding: 12px 16px;
  }

  .hero {
    gap: 24px;
  }

  h1 {
    font-size: 39px;
  }

  .lead {
    font-size: 18px;
  }

  .panel {
    padding: 22px 18px;
  }

  .source-tabs button {
    font-size: 15px;
    min-height: 54px;
    line-height: 1.35;
  }

  .btn {
    font-size: 16px;
    padding: 14px 16px;
  }

.order-facts>div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

}
