@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;800&family=JetBrains+Mono:wght@500&display=swap");
:root {
  color-scheme: light;
  --bg: #eef0f2; --fg: #15181c; --muted: #5d6670; --accent: #14306b; --border: #d4d9de;
  --radius: 6px; --font: "Archivo", system-ui, sans-serif; --mono: "JetBrains Mono", monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); }
a { color: inherit; }
.wrap { max-width: 78rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 28rem; padding-top: 3rem; padding-bottom: 3rem; }
.row { display: flex; gap: .75rem; align-items: center; }
.between { justify-content: space-between; }
.wrapflex { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.muted { color: var(--muted); }
.top { background: #111418; color: #fff; padding: .9rem 0; border-bottom: 3px solid #2b4f9e; }
.logo { font-weight: 800; font-size: 1.4rem; text-decoration: none; letter-spacing: -.02em; }
.logo span { color: #9db8ee; }
.toplink { font-family: var(--mono); font-size: .85rem; text-decoration: none; border: 1px solid #444; padding: .4rem .8rem; border-radius: var(--radius); }
.hero { background-size: cover; background-position: center; color: #fff; padding: 3rem 0; }
.herogrid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .herogrid { grid-template-columns: 1fr 1.15fr; align-items: start; } .pitch { position: sticky; top: 2rem; padding-top: 2rem; } }
.kicker { font-family: var(--mono); color: #9db8ee; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; margin: .4rem 0 1rem; letter-spacing: -.03em; }
.lead { font-size: 1.1rem; color: #d3d8dd; max-width: 34rem; }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .6rem; }
.steps li { display: flex; gap: 1rem; align-items: center; border-top: 1px solid rgba(255,255,255,.2); padding-top: .6rem; }
.steps b { font-family: var(--mono); color: #9db8ee; }
.card { background: #fff; color: var(--fg); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.card h2 { margin-top: 0; }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 520px) { .formgrid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; font-weight: 600; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.input { font: inherit; font-weight: 400; padding: .6rem .7rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fafbfc; width: 100%; }
.input:focus, .btn:focus-visible, .seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.seg button { font: inherit; padding: .55rem .9rem; border: 1px solid var(--border); background: #fafbfc; border-radius: var(--radius); cursor: pointer; }
.seg button.on { background: var(--fg); color: #fff; border-color: var(--fg); }
.seg.small button { font-size: .8rem; padding: .4rem .7rem; }
.drop { display: flex; flex-direction: column; align-items: center; gap: .2rem; border: 2px dashed var(--border); padding: 1.2rem; border-radius: var(--radius); cursor: pointer; text-align: center; background: #eef2fa; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop { position: relative; }
.drop:focus-within { outline: 2px solid var(--accent); }
.drop span { font-weight: 400; color: var(--muted); }
.btn { font: inherit; font-weight: 600; background: var(--accent); color: #fff; border: 0; padding: .65rem 1.2rem; border-radius: var(--radius); cursor: pointer; }
.btn:disabled { opacity: .6; }
.btn.big { width: 100%; margin-top: 1.2rem; padding: .9rem; font-size: 1.05rem; }
.done h2 { color: var(--accent); }
.services { display: grid; gap: 1.5rem; padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 760px) { .services { grid-template-columns: repeat(3, 1fr); } }
.services div { border-top: 3px solid var(--fg); padding-top: .8rem; }
.foot { background: #111418; color: #9aa3ad; padding: 1.5rem 0; font-size: .85rem; }
.board { padding-top: 2rem; padding-bottom: 3rem; }
.cards { display: grid; gap: 1.2rem; margin-top: 1rem; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); } }
@media print {
  body.print-one * { visibility: hidden; }
  body.print-one .print-me, body.print-one .print-me * { visibility: visible; }
  body.print-one .print-me { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; }
  body.print-one .no-print { display: none !important; }
}
.jobcard { background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 1.2rem; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.jc-head { display: flex; justify-content: space-between; gap: .5rem; align-items: start; }
.jc-head h3 { margin: .1rem 0 0; }
.jc-num { font-family: var(--mono); color: var(--accent); font-size: .85rem; }
.jc-desc { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .5rem; margin: 0; }
.specs div { background: var(--bg); padding: .45rem .6rem; border-radius: 4px; }
.specs dt { font-family: var(--mono); font-size: .7rem; color: var(--muted); text-transform: uppercase; }
.specs dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.jc-file { font-size: .9rem; overflow-wrap: anywhere; }
.jc-client { font-size: .9rem; border-top: 1px dashed var(--border); padding-top: .7rem; overflow-wrap: anywhere; }
.badge { font-family: var(--mono); font-size: .72rem; padding: .25rem .55rem; border-radius: 99px; background: #e3e6ea; white-space: nowrap; }
.st-New { background: #dde4f3; color: #14306b; }
.st-Reviewing { background: #fff0c2; color: #7a5a00; }
.st-Inproduction { background: #d6e8ff; color: #0b4aa0; }
.st-Done { background: #d5f2dd; color: #146b2e; }
.st-un-Invoiced { background: #e8dcf5; color: #5a2a8a; }
.note-warn { color: #9b1c10; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.period h3 { margin: 0 0 .2rem; }
.bars { display: flex; flex-direction: column; gap: .5rem; margin: .8rem 0; }
.barrow { display: grid; grid-template-columns: 9rem 1fr 2rem; gap: .5rem; align-items: center; font-size: .85rem; }
.bartrack { background: #e3e6ea; border-radius: 99px; height: .7rem; overflow: hidden; }
.barfill { background: var(--accent); height: 100%; border-radius: 99px; }
.pcts { display: flex; flex-wrap: wrap; gap: 1rem; border-top: 1px dashed var(--border); padding-top: .8rem; }
.pcts div { display: flex; flex-direction: column; min-width: 7rem; }
.pcts b { font-size: 1.4rem; color: var(--accent); }
@media (max-width: 480px) { .barrow { grid-template-columns: 1fr 2rem; } .barrow .bartrack { grid-column: 1 / -1; grid-row: 2; } }
.loading { display: flex; gap: .5rem; align-items: center; color: var(--muted); }
.spinner { width: 18px; height: 18px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: #e3e6ea; border-radius: 4px; min-height: 1rem; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-title { font-weight: 600; color: var(--fg); }
.alert { padding: .7rem .9rem; border-radius: var(--radius); margin-top: .8rem; }
.alert-error { background: #fde4e1; color: #9b1c10; }
.list { list-style: none; padding: 0; } .list-item { padding: .5rem 0; }
.shell { max-width: 78rem; margin: 0 auto; padding: 1rem; }
.grid { display: grid; gap: 1rem; }
.table { width: 100%; border-collapse: collapse; }
