:root {
  --ink: #202a31;
  --muted: #69757a;
  --paper: #f4f1e9;
  --paper-deep: #ebe6da;
  --panel: #fbfaf6;
  --orange: #e4572e;
  --orange-deep: #bc3c1e;
  --teal: #1d6870;
  --teal-soft: #d5e5df;
  --line: #d5d0c4;
  --mono: "SFMono-Regular", "Cascadia Code", "Liberation Mono", Consolas, monospace;
  --sans: "Avenir Next", "Century Gothic", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 20px 55px rgba(44, 42, 33, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .23;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
.site-shell { max-width: 1440px; margin: 0 auto; overflow: hidden; }
.mono { font-family: var(--mono); }
.topbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 74px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 30px; height: 30px; display: inline-flex; }
.brand-mark svg { width: 100%; height: 100%; fill: var(--orange); }
.brand-mark .mark-cut { fill: var(--paper); }
.brand-mark .mark-line { stroke: var(--paper); stroke-width: 1.6; fill: none; }
.brand-type { display: flex; align-items: baseline; gap: 7px; letter-spacing: -.03em; }
.brand-type strong { font-size: 15px; font-weight: 800; }
.brand-type span { color: var(--orange); font-family: var(--mono); font-size: 12px; }
.brand-type em { font-size: 13px; font-style: normal; color: var(--muted); }
.topbar-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.topbar-meta .mono { font-size: 10px; color: var(--ink); }
.status-dot, .reveal-dot { width: 7px; height: 7px; border-radius: 50%; background: #76a99a; display: inline-block; box-shadow: 0 0 0 4px rgba(118,169,154,.14); }
.topbar-divider { height: 13px; border-left: 1px solid var(--line); margin: 0 6px; }
main { padding: 0 clamp(22px, 5vw, 74px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); gap: clamp(45px, 9vw, 150px); align-items: center; padding: clamp(62px, 8vw, 116px) 0 108px; }
.intro-copy { max-width: 650px; animation: rise .65s ease both; }
.eyebrow, .section-kicker { margin: 0 0 20px; color: var(--orange-deep); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-line { width: 28px; height: 1px; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 600px; margin-bottom: 28px; font-size: clamp(54px, 7.3vw, 106px); line-height: .97; letter-spacing: -.075em; font-weight: 800; }
h1 span { color: var(--orange); }
.lede { max-width: 490px; margin-bottom: 37px; color: #536066; font-size: 16px; line-height: 1.72; }
.intro-note { display: flex; align-items: center; gap: 14px; color: var(--muted); font-family: var(--mono); font-size: 10px; line-height: 1.5; }
.note-rule { width: 42px; border-top: 1px solid var(--orange); }
.schematic { position: relative; min-height: 336px; padding: 35px 24px 28px; overflow: hidden; background: var(--ink); color: var(--paper); box-shadow: var(--shadow); animation: rise .65s .12s ease both; }
.schematic-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px); background-size: 34px 34px; }
.schematic::after { content: ""; position: absolute; right: -65px; top: -90px; width: 230px; height: 230px; border: 1px solid rgba(228,87,46,.6); border-radius: 50%; box-shadow: 0 0 0 28px rgba(228,87,46,.06), 0 0 0 56px rgba(228,87,46,.06); }
.schematic-label { position: relative; z-index: 1; color: #aab5b4; font-size: 9px; letter-spacing: .12em; }
.pipeline { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 36px 1fr 36px 1fr; align-items: center; gap: 5px; margin-top: 65px; }
.pipeline-node { min-width: 0; height: 123px; display: flex; flex-direction: column; align-items: flex-start; padding: 15px 13px; border: 1px solid rgba(244,241,233,.22); background: rgba(244,241,233,.06); }
.pipeline-node .node-index { display: block; align-self: flex-end; color: #9aa9a8; font-size: 9px; }
.node-icon { width: 23px; height: 23px; margin: 12px 0 12px; }
.node-icon svg { width: 100%; height: 100%; stroke: var(--orange); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.node-build .node-icon svg { stroke: #d8ba80; }
.android-icon svg { stroke: var(--teal-soft); }
.pipeline-node strong { overflow: hidden; max-width: 100%; font-family: var(--mono); font-size: 11px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.pipeline-node small { margin-top: 4px; color: #93a09f; font-size: 9px; }
.pipeline-connector { display: flex; align-items: center; justify-content: center; gap: 3px; }
.pipeline-connector span { width: 3px; height: 3px; border-radius: 50%; background: var(--orange); }
.schematic-foot { position: absolute; bottom: 27px; left: 24px; right: 24px; z-index: 1; display: flex; justify-content: space-between; color: #8d9998; font-size: 8px; letter-spacing: .08em; }
.schematic-foot span:last-child { color: var(--orange); }
.endpoint-strip { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 7vw, 110px); align-items: center; padding: 39px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.endpoint-intro h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 36px); line-height: 1; letter-spacing: -.06em; }
.endpoint-intro p:last-child { max-width: 360px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.endpoint-list { display: grid; gap: 10px; }
.endpoint-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 13px; min-height: 48px; padding: 8px 10px 8px 15px; border: 1px solid var(--line); background: var(--panel); }
.endpoint-label { color: var(--orange-deep); font-size: 9px; letter-spacing: .1em; }
.endpoint-row code { min-width: 0; overflow: hidden; color: var(--ink); font-family: var(--mono); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.copy-endpoint { min-height: 31px; padding: 0 11px; border: 1px solid var(--line); color: var(--ink); background: transparent; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.copy-endpoint:hover { border-color: var(--orange); color: var(--orange-deep); background: #f8e6dd; }
.endpoint-hint { margin: 4px 0 0; padding-left: 15px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.desk { padding: 83px 0 110px; border-top: 1px solid var(--line); }
.desk-heading, .job-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.desk-heading h2, .job-heading h2 { margin-bottom: 0; font-size: clamp(30px, 4vw, 51px); line-height: 1; letter-spacing: -.065em; }
.desk-caption { margin: 0 0 3px; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: right; }
.auth-panel { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 92px; margin-top: 42px; padding: 20px 25px; border: 1px solid var(--line); background: var(--panel); }
.auth-panel-main { display: flex; align-items: center; gap: 18px; }
.panel-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--orange); border: 1px solid rgba(228,87,46,.35); background: #f9e0d6; }
.panel-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.auth-panel h3 { margin-bottom: 5px; font-size: 14px; letter-spacing: -.02em; }
.auth-panel p { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.button { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 0; padding: 0 17px 0 20px; font-size: 11px; font-weight: 700; transition: background-color .2s ease, transform .2s ease, opacity .2s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover:not(:disabled) { background: var(--teal); }
.button-primary { color: var(--paper); background: var(--orange); min-width: 220px; }
.button-primary:hover:not(:disabled) { background: var(--orange-deep); }
.button:disabled { opacity: .42; }
.button-arrow { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.key-reveal { margin-top: 12px; padding: 22px 25px 19px; border-left: 3px solid var(--orange); background: #f8e6dd; animation: reveal .35s ease both; }
.reveal-top { display: flex; justify-content: space-between; align-items: center; }
.reveal-badge { color: var(--orange-deep); font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.reveal-dot { width: 5px; height: 5px; margin-right: 7px; vertical-align: 1px; background: var(--orange); box-shadow: none; }
.text-button { padding: 0; border: 0; color: var(--muted); background: transparent; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: var(--ink); }
.reveal-warning { max-width: 650px; margin: 15px 0 14px; color: #684438; font-size: 12px; }
.secret-row { display: flex; align-items: center; gap: 9px; }
.secret-row code { flex: 1; min-width: 0; padding: 13px 14px; overflow: auto; color: var(--ink); background: rgba(255,255,255,.6); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.copy-button { display: inline-flex; align-items: center; gap: 8px; min-height: 43px; padding: 0 15px; border: 1px solid rgba(32,42,49,.3); color: var(--ink); background: transparent; font-size: 11px; font-weight: 700; }
.copy-button:hover { background: rgba(255,255,255,.45); }
.copy-button svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.security-copy { display: flex; gap: 8px; margin: 13px 0 0; color: var(--orange-deep); font-family: var(--mono); font-size: 10px; }
.security-copy span { display: inline-grid; width: 13px; height: 13px; place-items: center; border-radius: 50%; color: #f8e6dd; background: var(--orange-deep); font-size: 9px; font-weight: 700; }
.upload-heading { margin-top: 92px; }
.build-form { display: grid; grid-template-columns: minmax(210px, .65fr) minmax(350px, 1.35fr); column-gap: clamp(24px, 5vw, 80px); row-gap: 32px; margin-top: 43px; }
.field-label, .field label { display: block; margin-bottom: 12px; color: var(--ink); font-size: 11px; font-weight: 700; }
.field label span { color: var(--muted); font-weight: 500; }
.input-wrap { position: relative; }
input[type="text"] { width: 100%; height: 53px; padding: 0 65px 0 16px; border: 1px solid var(--line); outline: 0; color: var(--ink); background: var(--panel); font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
input[type="text"]:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(29,104,112,.12); }
input::placeholder { color: #9aa09b; }
.input-count { position: absolute; right: 13px; top: 20px; color: #9aa09b; font-size: 9px; }
input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dropzone { min-height: 142px; position: relative; display: flex; align-items: center; gap: 16px; padding: 25px; border: 1px dashed #aaa99e; color: var(--ink); background: rgba(251,250,246,.5); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.dropzone:hover, .dropzone.is-dragging, .dropzone:focus-within { border-color: var(--orange); background: #f8e6dd; }
.dropzone.is-dragging { transform: scale(1.01); }
.dropzone-icon { width: 44px; height: 44px; display: grid; flex: 0 0 auto; place-items: center; color: var(--orange); border: 1px solid rgba(228,87,46,.35); background: #f9e0d6; }
.dropzone-icon svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dropzone-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.dropzone-copy strong { font-size: 13px; }
.dropzone-copy span { color: var(--muted); font-size: 11px; }
.dropzone-copy u { color: var(--orange-deep); text-underline-offset: 3px; }
.dropzone-meta { position: absolute; right: 16px; bottom: 13px; color: #a3a49c; font-size: 9px; }
.submit-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; margin-top: 4px; }
.submit-help { margin: 0; color: var(--muted); font-size: 11px; }
.submit-help.ready { color: var(--teal); }
.job-section { padding: 0 0 110px; }
.job-heading { padding-top: 80px; border-top: 1px solid var(--line); }
.job-live { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 4px; color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.job-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 1.4s ease-in-out infinite; }
.job-live.complete { color: var(--teal); }
.job-live.complete i { background: var(--teal); animation: none; }
.job-live.failed { color: var(--orange-deep); }
.job-card { margin-top: 37px; padding: clamp(23px, 4vw, 39px); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.job-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 29px; border-bottom: 1px solid var(--line); }
.job-label, .meta-label { display: block; margin-bottom: 9px; color: #8c9592; font-size: 9px; letter-spacing: .11em; }
.job-card h3 { margin: 0; font-size: clamp(22px, 3vw, 34px); letter-spacing: -.05em; }
.job-status { padding: 7px 9px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.status-queued { color: #85692e; background: #f4e8c9; }
.status-building { color: var(--orange-deep); background: #f8ddd3; }
.status-completed { color: var(--teal); background: var(--teal-soft); }
.status-failed { color: var(--orange-deep); background: #f8ddd3; }
.progress-area { padding: 29px 0 32px; }
.progress-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; color: var(--muted); font-size: 11px; }
.progress-meta strong { color: var(--ink); font-size: 12px; font-weight: 500; }
.progress-track { height: 8px; overflow: hidden; background: var(--paper-deep); }
.progress-fill { width: 0; height: 100%; background: var(--orange); transition: width .45s ease; }
.progress-stages { display: flex; justify-content: space-between; margin-top: 11px; color: #9ca29e; font-size: 9px; letter-spacing: .08em; }
.progress-stages .stage-active { color: var(--orange-deep); }
.job-meta-grid { display: grid; grid-template-columns: 1.6fr 1.5fr 1.2fr 1fr; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); }
.job-meta-grid code { overflow: hidden; color: var(--ink); font-family: var(--mono); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.job-download { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 25px; padding: 18px 20px; border: 1px solid rgba(72,133,119,.3); background: var(--teal-soft); }
.job-download-copy { min-width: 0; flex: 1; }
.job-download strong { display: block; margin-bottom: 4px; color: var(--teal); font-size: 12px; }
.job-download span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.download-url-row { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 11px; }
.download-url-row > span { flex: 0 0 auto; color: var(--teal); font-size: 9px; letter-spacing: .08em; }
.download-url-row code { min-width: 0; overflow: hidden; color: var(--ink); font-family: var(--mono); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.download-url-row button { flex: 0 0 auto; min-height: 27px; }
.job-error { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 25px; padding: 15px; color: var(--orange-deep); background: #f8e6dd; font-size: 11px; }
.job-error strong { font-weight: 700; }
.job-error span { color: #684438; }
.job-error .text-button { margin-left: auto; color: var(--orange-deep); }
.footer { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 clamp(22px, 5vw, 74px); border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.footer-mark { width: 8px; height: 8px; background: var(--orange); }
.footer p { margin: 0; }
.footer-code { color: var(--orange-deep); font-size: 9px; }
.toast { position: fixed; right: 25px; bottom: 25px; z-index: 20; padding: 13px 17px; color: var(--paper); background: var(--ink); font-size: 11px; box-shadow: 0 12px 28px rgba(32,42,49,.18); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
[hidden] { display: none !important; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 58px; padding-bottom: 82px; }
  .schematic { max-width: 680px; }
  .endpoint-strip { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 680px) {
  .topbar { height: 67px; padding: 0 19px; }
  .topbar-meta { gap: 6px; font-size: 8px; }
  .topbar-divider, .topbar-meta .mono { display: none; }
  main { padding: 0 19px; }
  .brand-type em { display: none; }
  .intro-grid { padding: 56px 0 69px; }
  h1 { font-size: clamp(51px, 16vw, 76px); }
  .lede { font-size: 14px; }
  .schematic { min-height: 284px; padding: 25px 15px 20px; }
  .pipeline { margin-top: 51px; grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr); gap: 2px; }
  .pipeline-node { height: 110px; padding: 10px 8px; }
  .node-icon { width: 20px; height: 20px; margin: 10px 0 9px; }
  .pipeline-node strong { font-size: 9px; }
  .pipeline-node small { font-size: 8px; }
  .schematic-foot { left: 15px; right: 15px; bottom: 20px; font-size: 7px; }
  .endpoint-strip { padding: 31px 0; }
  .endpoint-row { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 8px; padding-left: 11px; }
  .endpoint-row code { font-size: 9px; }
  .copy-endpoint { padding: 0 8px; font-size: 8px; }
  .desk { padding: 65px 0 76px; }
  .desk-heading, .job-heading { display: block; }
  .desk-caption { margin-top: 18px; text-align: left; }
  .auth-panel { display: block; padding: 20px; }
  .auth-panel .button { width: 100%; margin-top: 22px; }
  .key-reveal { padding: 19px 17px 17px; }
  .secret-row { display: block; }
  .secret-row code { display: block; margin-bottom: 9px; }
  .copy-button { width: 100%; }
  .upload-heading { margin-top: 68px; }
  .build-form { display: block; margin-top: 35px; }
  .field + .field { margin-top: 27px; }
  .dropzone { padding: 20px 15px; }
  .dropzone-meta { right: 12px; }
  .submit-row { display: block; margin-top: 31px; }
  .submit-row .button { width: 100%; }
  .submit-help { margin-top: 13px; text-align: center; }
  .job-section { padding-bottom: 70px; }
  .job-heading { padding-top: 63px; }
  .job-live { margin-top: 20px; }
  .job-card { margin-top: 28px; padding: 21px 17px; }
  .job-card-top { padding-bottom: 23px; }
  .job-meta-grid { grid-template-columns: 1fr 1fr; gap: 23px 14px; }
  .job-meta-grid code { font-size: 10px; }
  .job-download { align-items: flex-start; flex-direction: column; }
  .job-download .button { width: 100%; }
  .download-url-row { width: 100%; flex-wrap: wrap; }
  .download-url-row code { flex: 1 1 180px; }
  .footer { display: block; padding: 21px 0; margin: 0 19px; }
  .footer p { margin: 12px 0; }
}