:root {
  --ink: #183b43;
  --muted: #687776;
  --paper: #f8f8f2;
  --line: #dce1d9;
  --lime: #e9fa9e;
  --orange: #cb623b;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
a:hover {
  text-decoration: underline;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.header {
  max-width: 1400px;
  margin: auto;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.brand span {
  font-weight: 400;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}
.quiet {
  background: none;
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 4px;
  color: var(--ink);
}
main {
  max-width: 1400px;
  margin: auto;
  padding: 0 5%;
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 8%;
  align-items: center;
  padding: 76px 0 65px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin: 0 0 20px;
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -2.5px;
  line-height: 1.05;
  font-size: clamp(44px, 5.3vw, 76px);
  margin: 0 0 25px;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -1.1px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.18;
  margin: 0 0 18px;
}
h3 {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin: 22px 0 12px;
}
.intro {
  font-size: 17px;
  max-width: 510px;
  color: #526462;
}
.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 30px 0 18px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}
.button:hover {
  background: #29565f;
}
.button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.secondary {
  background: none;
  color: var(--ink);
}
.secondary:hover {
  background: var(--lime);
  color: var(--ink);
}
.text-link {
  font-size: 14px;
  font-weight: 600;
}
.small {
  font-size: 12px;
  color: var(--muted);
}
.terminal {
  background: #183b43;
  color: #e9f3e5;
  border-radius: 10px;
  box-shadow: 10px 12px 0 #e6eadf;
  transform: rotate(1deg);
}
.terminal-bar {
  display: flex;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #3a5960;
  font-size: 10px;
  letter-spacing: 1.4px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
}
.terminal pre {
  font-family: Consolas, monospace;
  font-size: 13px;
  line-height: 1.75;
  padding: 22px 26px;
  margin: 0;
  white-space: pre-wrap;
}
.dim {
  color: #a6c3b7;
}
.terminal-footer {
  padding: 16px 24px;
  border-top: 1px solid #3a5960;
  font-size: 10px;
  color: #a6c3b7;
}
.runtime {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  font-size: 12px;
  flex-wrap: wrap;
}
.runtime strong {
  font-size: 12px;
}
.runtime span:not(.status-dot) {
  color: var(--muted);
}
.runtime a {
  margin-left: auto;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: #c28a4c;
  border-radius: 50%;
}
.section {
  padding: 70px 0;
}
.section-heading {
  max-width: 650px;
  margin-bottom: 38px;
}
.section-heading > p:last-child {
  color: var(--muted);
  font-size: 14px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.product {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
}
.number {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.number span {
  font-size: 10px;
  letter-spacing: 1.7px;
}
.glyph {
  height: 70px;
  width: 70px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 45px;
  margin-top: 30px;
  border-radius: 14px;
}
.document {
  background: #eaf1d8;
}
.vault {
  background: #e4eeed;
}
.oracle {
  background: #f9e6dc;
}
.product p {
  font-size: 14px;
  color: var(--muted);
  min-height: 85px;
}
.price {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
}
.price strong {
  font-size: 26px;
  color: var(--ink);
}
.price span {
  margin-left: 8px;
  color: var(--muted);
}
.product > a {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 24px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10%;
  border-radius: 10px;
  background: #eaf0e2;
  padding: 48px;
  margin-bottom: 20px;
}
.workspace > * {
  min-width: 0;
}
[hidden] {
  display: none !important;
}
.workspace > div > p:not(.eyebrow) {
  font-size: 14px;
  color: #536563;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.steps li {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 17px 0;
}
.steps span {
  width: 24px;
  height: 24px;
  border: 1px solid #9aae99;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.work-form {
  min-width: 0;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  padding: 27px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.form-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.form-top span {
  font-size: 10px;
  color: var(--muted);
}
label {
  font-size: 12px;
  font-weight: 700;
}
input,
select {
  width: 100%;
  padding: 11px;
  background: #fff;
  border: 1px solid #bac7bd;
  border-radius: 4px;
  color: var(--ink);
}
input[type="file"] {
  font-size: 12px;
}
#form-message {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
#preflight-result,
#order-result,
#text-preview {
  background: #f1f5ee;
  font-size: 11px;
  padding: 15px;
  overflow: auto;
  max-height: 250px;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.delivery-summary {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px;
}
.delivery-summary p {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.history-list button {
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}
.api-strip {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.api-strip > div:last-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: center;
  font-size: 13px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
  padding: 28px 0 55px;
  font-size: 13px;
}
.principles p {
  color: var(--muted);
  margin: 8px 0;
}
footer {
  max-width: 1400px;
  margin: auto;
  padding: 30px 5%;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  color: var(--muted);
}
footer .brand {
  font-size: 16px;
  color: var(--ink);
}
footer > div {
  margin-left: auto;
  display: flex;
  gap: 20px;
}
.page {
  max-width: 900px;
  margin: 60px auto 80px;
}
.page h1 {
  font-size: 56px;
}
.page h2 {
  font-size: 30px;
  margin-top: 45px;
}
.page p,
.page li {
  font-size: 15px;
  color: #536563;
}
.page pre {
  padding: 24px;
  background: #183b43;
  color: #edf4e8;
  border-radius: 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.page td,
.page th {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 13px;
}
.status-list {
  display: grid;
  gap: 15px;
}
.status-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
}
.status-row span {
  font-size: 13px;
}
.notice {
  color: #915030 !important;
}
.sr-only {
  position: absolute;
  left: -10000px;
}
#admin-result {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 850px) {
  .hero {
    gap: 5%;
    padding-top: 55px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .terminal pre {
    font-size: 11px;
    padding: 18px;
  }
  .product-grid {
    gap: 12px;
  }
  .product {
    padding: 20px;
  }
  .product p {
    min-height: 110px;
  }
  .workspace {
    padding: 30px;
    gap: 5%;
  }
  .price span {
    display: block;
    margin: 0;
  }
  .api-strip {
    display: block;
  }
  .api-strip > div:last-child {
    margin-top: 25px;
  }
}
@media (max-width: 620px) {
  .header {
    height: 80px;
  }
  .header nav {
    gap: 13px;
    font-size: 11px;
  }
  .brand {
    font-size: 17px;
  }
  .brand span {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 40px 0;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero .intro {
    font-size: 16px;
  }
  .terminal {
    transform: none;
    box-shadow: none;
  }
  .product-grid,
  .workspace,
  .principles {
    grid-template-columns: 1fr;
  }
  .product p {
    min-height: 0;
  }
  .workspace {
    padding: 25px 18px;
    gap: 28px;
  }
  .section {
    padding: 45px 0;
  }
  .product-grid {
    gap: 20px;
  }
  .runtime a {
    margin-left: 0;
  }
  .runtime {
    gap: 10px;
  }
  .api-strip > div:last-child {
    grid-template-columns: 1fr;
  }
  .principles {
    gap: 15px;
  }
  footer {
    flex-wrap: wrap;
  }
  footer > div {
    margin-left: 0;
  }
  .page {
    margin-top: 35px;
  }
  .page h1 {
    font-size: 43px;
  }
  .page table {
    display: block;
    overflow: auto;
  }
  .actions {
    gap: 18px;
  }
  .actions .text-link {
    font-size: 12px;
  }
}

.extracted-table{max-width:100%;overflow-x:auto;margin:16px 0}.extracted-table table{border-collapse:collapse;width:100%}.extracted-table caption{text-align:left;font-weight:600;padding:8px 0}.extracted-table td{border:1px solid #ccd8d2;padding:8px;white-space:pre-wrap;overflow-wrap:anywhere}.extracted-table tr:first-child{font-weight:600;background:#eef3e9}
.agent-page{overflow-wrap:anywhere}.agent-page input,.agent-page button{max-width:100%;white-space:normal;margin:8px 0}.agent-page pre{max-width:100%;max-height:400px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}

.analytics-choice{max-width:1080px;margin:32px auto;padding:16px 28px;border-top:1px solid #d5dfdd;color:#49666c;font-size:12px}.analytics-choice p{margin:0 0 8px}.analytics-choice button{font-size:12px}
