@font-face { font-family: Geist; src: url('/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url('/fonts/instrument-serif.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url('/fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
:root { color-scheme: dark; --bg:#08090a; --text:#fafafa; --muted:#a1a1aa; --line:rgba(255,255,255,.12); --accent:#c7d2fe; --card:#121316; --danger:#fca5a5; --ok:#bbf7d0; --sans:Geist,Inter,ui-sans-serif,system-ui,sans-serif; --serif:"Instrument Serif",Georgia,serif; --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); }
body { min-height: 100vh; line-height: 1.5; }
a { color: var(--accent); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: 12px; top: -40px; background: #fff; color: #111; padding: 8px 12px; z-index: 5; }
.skip:focus { top: 12px; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
header.site, footer.site { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
header.site { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0 8px; }
header.site nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
header.site a, footer.site a { color: var(--muted); text-decoration: none; }
header.site a:hover, footer.site a:hover { color: var(--text); }
.brand { color: var(--text) !important; font-weight: 650; letter-spacing: -0.04em; }
footer.site { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 28px 0 48px; color: var(--muted); font-size: .92rem; }
main { padding: 12px 0 24px; }
h1 { font-size: clamp(2.5rem, 7vw, 5rem); line-height: .96; letter-spacing: -0.045em; font-weight: 560; margin: 0 0 .4em; }
h1 .soft { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; color: #e4e4e7; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.04em; font-weight: 560; margin: 0 0 .4em; }
.eyebrow { margin: 0 0 12px; font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 1.12rem; color: #d4d4d8; max-width: 42rem; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 16px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.btn, button, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 999px; font: inherit; font-weight: 650; text-decoration: none; border: 0; cursor: pointer; }
.btn { background: #fafafa; color: #0a0a0a; }
.btn:hover { background: #fff; color: #0a0a0a; }
.btn-ghost, button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn[aria-disabled="true"], button:disabled { opacity: .55; cursor: not-allowed; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
label { font-weight: 620; }
input, textarea, select { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #0c0d10; color: var(--text); font: inherit; }
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus, button:focus, a:focus, summary:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.hint { margin: 0; color: var(--muted); font-size: .92rem; }
.error, .alert { color: var(--danger); }
.ok { color: var(--ok); }
.alert, .note { border-radius: 14px; padding: 12px 14px; background: rgba(252,165,165,.08); }
.note { background: rgba(199,210,254,.08); color: var(--text); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.scroll { overflow-x: auto; }
code, .mono { font-family: var(--mono); }
ol.guide { padding-left: 1.2rem; }
ol.guide li, .faq details { margin: .55rem 0; }
.faq details { border-top: 1px solid var(--line); padding-top: .55rem; }
summary { cursor: pointer; font-weight: 640; }
.price { font-family: var(--serif); font-size: 3rem; line-height: 1; margin: .2em 0; }
.steps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); list-style: none; padding: 0; }
.steps li { margin: 0; }
.step-no { font-family: var(--mono); color: var(--muted); font-size: .8rem; letter-spacing: .08em; }
.voucher { width: min(420px, 100%); margin: 18px auto; background: #f7f3ea; color: #1c1915; border-radius: 18px; padding: 28px 24px 22px; text-align: center; }
.voucher h2 { color: #1c1915; font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.amount { font-family: var(--serif); font-size: clamp(3.2rem, 10vw, 4.6rem); line-height: .9; margin: 8px 0; }
.voucher .code { font-family: var(--mono); font-size: 1.25rem; letter-spacing: .08em; margin: 8px 0 4px; }
.voucher p, .voucher li { color: #44403c; }
.voucher .terms { text-align: left; font-size: .88rem; }
.qr { width: min(220px, 70%); height: auto; margin: 8px auto; }
.badge { display: inline-block; margin-top: 12px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #57534e; }
.shop-card { display: flex; flex-direction: column; gap: 8px; min-height: 180px; }
.shop-card .sum { font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.status { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; margin: 0; }
.wizard { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.wizard a { color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; }
.wizard a[aria-current="step"] { color: #111; background: #fafafa; border-color: #fafafa; }
.compare td:last-child, .compare th:last-child { font-weight: 650; }
@media (max-width: 640px) {
  .wrap, header.site, footer.site { width: min(100% - 24px, 1080px); }
  h1 { font-size: 2.45rem; }
}
@media print {
  header.site, footer.site, .no-print { display: none !important; }
  body { background: #fff; }
  .voucher { box-shadow: none; margin: 0 auto; }
}
/* ---- free tools additions ---- */
.tool { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; margin: 8px 0 40px; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } }
.two { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
.three { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 520px) { .two, .three { grid-template-columns: 1fr; } }
input[type="color"] { padding: 4px; height: 48px; }
input[type="checkbox"] { width: 20px; min-height: 20px; height: 20px; accent-color: #c7d2fe; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; margin: 0 0 14px; }
fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 2px; margin: 0 0 14px; }
legend { padding: 0 6px; font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sticky { position: sticky; top: 12px; }
@media (max-width: 860px) { .sticky { position: static; } }
.preview-box { background: #fff; border-radius: 18px; padding: 18px; display: flex; justify-content: center; align-items: center; min-height: 260px; }
.preview-box svg, .preview-box canvas, .preview-box img { max-width: 100%; height: auto; display: block; }
.cta { margin: 32px 0; padding: 24px; border-radius: 22px; border: 1px solid rgba(199,210,254,.35); background: linear-gradient(135deg, rgba(199,210,254,.10), rgba(18,19,22,1)); }
.cta h2 { margin-top: 0; }
.cta .price-tag { font-family: var(--serif); font-size: 1.6rem; }
.tool-cards a.panel { text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 6px; }
.tool-cards a.panel:hover { border-color: rgba(199,210,254,.5); }
.small { font-size: .88rem; }
.items-table input { min-height: 40px; padding: 6px 8px; }
.items-table td, .items-table th { padding: 6px 4px; }
.items-table .num { width: 90px; }
.items-table .vat { width: 70px; }
button.x { min-height: 36px; padding: 0 10px; background: transparent; color: var(--muted); border: 1px solid var(--line); }
.bar { height: 12px; border-radius: 999px; background: #1c1d22; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--accent); width: 0; transition: width .2s; }
.bar.over > span { background: var(--danger); }
.stat { font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.prose { max-width: 46rem; }
.prose p, .prose li { color: #d4d4d8; }
.crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--muted); }
/* gift voucher preview */
.gv { width: 100%; aspect-ratio: 1.75 / 1; border-radius: 16px; overflow: hidden; position: relative; display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 6% 6%; color: var(--gv-ink, #1c1915); background: var(--gv-bg, #f7f3ea); font-family: var(--sans); }
.gv .gv-l { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.gv .gv-biz { font-family: var(--mono); font-size: clamp(.55rem, 1.6vw, .8rem); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.gv .gv-title { font-family: var(--serif); font-size: clamp(1.4rem, 4.6vw, 2.4rem); line-height: 1; }
.gv .gv-amt { font-family: var(--serif); font-size: clamp(2rem, 7vw, 3.6rem); line-height: .9; color: var(--gv-accent, #9a3412); }
.gv .gv-meta { font-size: clamp(.6rem, 1.7vw, .85rem); line-height: 1.35; }
.gv .gv-r { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.gv .gv-qr { width: clamp(70px, 20vw, 130px); background: #fff; padding: 6px; border-radius: 8px; }
.gv .gv-code { font-family: var(--mono); font-size: clamp(.6rem, 1.7vw, .85rem); letter-spacing: .08em; }
.gv::after { content: ""; position: absolute; inset: 10px; border: 1.5px dashed currentColor; border-radius: 10px; opacity: .25; pointer-events: none; }
/* invoice preview / print */
.inv { background: #fff; color: #111; border-radius: 12px; padding: 32px; font-size: .9rem; line-height: 1.4; }
.inv h2 { color: #111; font-size: 1.8rem; margin: 0; }
.inv table { margin-top: 14px; }
.inv th, .inv td { border-bottom: 1px solid #e5e5e5; padding: 6px 4px; }
.inv th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #555; }
.inv .r { text-align: right; }
.inv .parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.inv .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #666; margin: 0 0 4px; }
.inv .tot { margin-left: auto; width: min(320px, 100%); }
.inv .tot td { border: 0; padding: 3px 4px; }
.inv .tot tr.grand td { font-weight: 700; font-size: 1.05rem; border-top: 2px solid #111; padding-top: 8px; }
.inv .head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.inv .foot { margin-top: 24px; font-size: .8rem; color: #444; white-space: pre-wrap; }
.inv p { margin: 0; color: #111; }
@media (max-width: 560px) { .inv { padding: 16px; font-size: .78rem; } .inv .parties { grid-template-columns: 1fr; } }
@media print {
  @page { margin: 12mm; }
  :root { color-scheme: light; }
  html, body { background: #fff !important; color: #111 !important; }
  .print-hide, .skip { display: none !important; }
  main { padding: 0; }
  .wrap { width: 100%; }
  .tool { display: block; margin: 0; }
  .sticky { position: static; }
  .panel.print-plain { background: #fff; border: 0; padding: 0; }
  .inv { border-radius: 0; padding: 0; font-size: 10.5pt; }
  .gv { width: 180mm; margin: 0 auto; }
  .gv, .gv * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
fieldset textarea { min-height: 76px; }
.note.warn { background: rgba(252,165,165,.1); color: var(--danger); }
.faq { margin: 32px 0; }
fieldset { min-width: 0; }
.tool > *, .two > *, .three > * { min-width: 0; }
input, select, textarea { min-width: 0; }
.tool-cards h2 { font-size: 1.45rem; }
@media (max-width: 860px) { .tool.preview-first > .sticky { order: -1; } }
.tool.tool-invoice { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 860px) { .tool.tool-invoice { grid-template-columns: 1fr; } }
.items-table .num { width: 84px; }
.items-table .vat { width: 62px; }
.items-table td:first-child { min-width: 110px; }
@media (max-width: 520px) {
  .panel { padding: 14px; }
  fieldset { padding: 10px 10px 2px; }
  .items-table .num { width: 66px; }
  .items-table .vat { width: 50px; }
  .items-table td, .items-table th { padding: 4px 2px; }
}
