@font-face { font-family: Archivo; src: url(/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
:root { --plate: #e6ebea; --paper: #f6f8f7; --ink: #17211f; --soft: #566663; --line: #c5cfcc; --hot: #d63f10; --hot-2: #b5330b; --deep: #1c3a39; --ok: #1d7a4c; --bad: #b3261e; --r: 6px; color-scheme: light; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--plate); color: var(--ink); font: 16px/1.55 Archivo, system-ui, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3 { font-stretch: 112%; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 750; }
h2 { font-size: 26px; font-weight: 700; }
h3 { font-size: 21px; }
p { margin: 0 0 1em; max-width: 66ch; }
a { color: inherit; text-decoration-color: var(--hot); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--hot-2); }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 2px; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 620px; }
.page { padding-block: 40px 72px; }
.sec { padding-block: 64px; }
.lead { font-size: 19px; color: var(--soft); }
.sub { color: var(--soft); font-size: 14px; }
.vh, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.err { color: var(--bad); font-size: 14px; margin: 0; }
.err:empty { display: none; }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; margin-top: 16px; max-width: none; }
.note.bad { border-color: var(--bad); color: var(--bad); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--ink); border-radius: var(--r); background: transparent; color: var(--ink); font: 650 15px/1.2 Archivo, sans-serif; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.hot { background: var(--hot); border-color: var(--hot); color: #fff; }
.btn.hot:hover { background: var(--hot-2); border-color: var(--hot-2); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--deep); }
.btn.quiet { border-color: transparent; }
.btn.quiet:hover { background: var(--line); color: var(--ink); }
.btn.big { min-height: 52px; padding-inline: 24px; font-size: 17px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.top { position: sticky; top: 0; z-index: 10; background: var(--plate); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-stretch: 115%; font-size: 19px; text-decoration: none; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; fill: currentColor; }
.brand .hot { fill: var(--hot); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 12px; text-decoration: none; font-weight: 600; border-radius: var(--r); }
.nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--hot); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.top-end { margin-left: auto; display: flex; gap: 6px; }

.hero { background-color: #dbe2e0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-block: 28px; }
.hero h1 { font-size: clamp(38px, 4.8vw, 60px); font-weight: 800; }
.hero .lead { color: var(--ink); max-width: 46ch; margin-bottom: 1.5em; }
.slicer { margin: 0; }
.stage { position: relative; display: grid; place-items: center; }
.stage img { display: block; width: min(100%, 390px); height: auto; grid-area: 1 / 1; }
.stage .ghost { filter: grayscale(1) brightness(1.5); opacity: .28; }
.stage .solid { clip-path: inset(var(--cut, 30%) 0 0 0); }
.slicer figcaption { max-width: 430px; margin: 10px auto 0; }
.slicer label { display: block; font-weight: 650; font-variant-numeric: tabular-nums; }
.slicer input { accent-color: var(--hot); padding: 0; height: 32px; }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sec-head h2 { margin: 0; }
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 20px; }
.m-card { display: block; text-decoration: none; min-width: 0; }
.m-card strong { display: block; margin-top: 10px; line-height: 1.3; overflow-wrap: anywhere; }
.plate { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.plate img { width: 100%; height: 100%; object-fit: contain; }
.m-card:hover .plate { border-color: var(--ink); }
.nothumb { color: var(--soft); font-size: 14px; }
.band { background: var(--deep); color: #eef4f2; }
.band .btn:focus-visible { outline-color: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-block: 64px; align-items: center; }
.band h2 { font-size: 34px; }
.costs, .specs { margin: 0; }
.costs div, .specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #ffffff33; }
.costs dd, .specs dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.specs div { border-color: var(--line); padding: 8px 0; }
.specs { margin-bottom: 28px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; }
.plan.hl { border: 2px solid var(--ink); }
.plan .price b { display: block; font-size: 38px; font-stretch: 110%; letter-spacing: -.03em; line-height: 1.1; }
.plan ul { padding: 0; margin: 0 0 24px; list-style: none; }
.plan li { padding: 10px 0; border-top: 1px solid var(--line); }
.plan .btn { margin-top: auto; }
.faq details { border-top: 1px solid var(--line); max-width: 760px; }
.faq summary { padding: 14px 0; font-weight: 650; cursor: pointer; }

label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #8a9996; border-radius: var(--r); padding: 10px 12px; width: 100%; min-width: 0; min-height: 44px; }
textarea { min-height: 120px; resize: vertical; }
input[type=checkbox], input[type=radio] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--hot); margin: 0; flex: none; }
.bool { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.stack { display: grid; gap: 16px; margin: 20px 0; max-width: 620px; }
.find { display: flex; gap: 8px; max-width: 620px; margin: 8px 0 20px; }
.cats { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 20px; }
.cats a { text-decoration: none; padding: 8px 0; font-weight: 600; }
.cats a[aria-current] { text-decoration: underline; text-decoration-color: var(--hot); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.cats span { color: var(--soft); font-weight: 400; }
.none { padding: 48px 0; }
.pager { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.crumb { font-size: 14px; }
.model { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.model > * { min-width: 0; }
model-viewer:not(:defined) { display: block; }
model-viewer { width: 100%; height: 100%; --poster-color: transparent; }
.files { list-style: none; margin: 0 0 16px; padding: 0; }
.files li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.files small { color: var(--soft); white-space: nowrap; }

.acct { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 24px 0 40px; }
.acct section { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.acct h2 { font-size: 16px; color: var(--soft); letter-spacing: 0; }
.figure { font-size: 30px; font-weight: 750; font-stretch: 110%; margin: 0; line-height: 1.2; font-variant-numeric: tabular-nums; }
progress { width: 100%; accent-color: var(--hot); }
.scroll { overflow-x: auto; margin-bottom: 24px; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { font-size: 14px; color: var(--soft); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.page > section { margin-top: 48px; }

.app { display: grid; grid-template-columns: 240px minmax(0, 1fr) 340px; gap: 32px; max-width: 1500px; margin: 0 auto; padding: 24px 20px 64px; align-items: start; }
.ops, .history { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding: 3px; scrollbar-width: thin; scrollbar-color: #8a9996 transparent; }
.group-title { font-size: 14px; color: var(--soft); margin: 18px 0 4px; font-weight: 600; }
.op-btn { display: block; width: 100%; text-align: left; font: inherit; font-weight: 600; background: none; border: 0; border-left: 3px solid var(--line); padding: 9px 12px; min-height: 42px; cursor: pointer; color: inherit; }
.op-btn:hover { background: #d8e0de; }
.op-btn.active { border-color: var(--hot); background: var(--paper); }
.workspace { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; min-width: 0; }
.workspace h1 { font-size: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 18px; }
.field-full { grid-column: 1 / -1; }
.field-hint { display: block; font-size: 13px; color: var(--soft); margin-top: 4px; }
.seg, .chips { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.seg label, .chip { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.dropzone { display: block; border: 2px dashed #8a9996; border-radius: var(--r); padding: 22px; text-align: center; cursor: pointer; background: #fff; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--hot); }
.dropzone input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.dz-preview img { max-height: 130px; }
.actions-list { max-height: 260px; overflow: auto; border: 1px solid var(--line); background: #fff; padding: 8px; }
.action-item { display: flex; gap: 10px; align-items: center; padding: 8px; }
.cost-bar { margin: 24px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cost-bar strong { font-size: 26px; font-stretch: 110%; }
.viewer { margin-bottom: 20px; }
.viewer strong { display: block; margin: 10px 0; overflow-wrap: anywhere; }
.file-links { display: flex; flex-wrap: wrap; gap: 8px; }
.file-links a { font-size: 14px; padding: 8px 10px; border: 1px solid var(--ink); border-radius: var(--r); text-decoration: none; font-weight: 600; }
.job-list { list-style: none; margin: 0; padding: 0; }
.job { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); cursor: pointer; }
.job:hover, .job.sel { background: var(--paper); }
.job img, .job .thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; color: var(--soft); }
.job-title { font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.job-meta { font-size: 13px; color: var(--soft); }
.badge { font-size: 13px; font-weight: 600; }
.b-done { color: var(--ok); } .b-failed, .err-text { color: var(--bad); } .b-running { color: var(--hot-2); }
.err-text { font-size: 13px; }
.bar { height: 6px; background: var(--line); margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--hot); }
.toasts { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 50; max-width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--ink); color: #fff; border-radius: var(--r); padding: 12px 16px; }
.toast.err { background: var(--bad); color: #fff; font-size: inherit; }
.foot { border-top: 1px solid var(--line); margin-top: auto; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; font-size: 14px; }
.foot p { margin: 0; } .foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 1100px) { .app { grid-template-columns: 220px minmax(0, 1fr); } .history { grid-column: 1 / -1; position: static; max-height: none; } }
@media (max-width: 800px) {
  .hero-in, .two, .model, .plans { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .top-in { flex-wrap: wrap; gap: 0 12px; padding-block: 8px; } .nav { order: 3; width: 100%; margin-left: -12px; overflow-x: auto; }
  .top-end .btn { padding-inline: 12px; }
  .stage img { width: min(78%, 320px); }
  .app { grid-template-columns: minmax(0, 1fr); } .ops { position: static; max-height: 260px; } .workspace { padding: 18px; } .cost-bar .btn { width: 100%; }
  .m-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } .sec, .two { padding-block: 44px; }
}
@media (max-width: 420px) { .top-end .btn.quiet { padding-inline: 8px; } .brand { font-size: 17px; } }
