@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ARROWS design manuál v1.0: barvy, škála, rozestupy a zaoblení. */
:root {
  --primary: #652D8B;
  --primary-hover: #542574;
  --ink: #0C0212;
  --dark-alt: #1A0B2E;
  --lilac: #EFE7F1;
  --subtle: #F9F9FA;
  --text-2: #4B4B6A;
  --muted: #8888A8;
  --border: #DEDEDE;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(12, 2, 18, 0.10);
  --ring: 0 0 0 3px rgba(101, 45, 139, 0.18);
  --r-input: 12px;
  --r-card: 16px;
  --r-modal: 20px;
  --font: "General Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .sig path, .fl-on { stroke-dashoffset: 0 !important; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 4px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.5px; text-wrap: balance; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--primary); color: var(--white); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; color: var(--white); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* Buttons: pill, verzálky, 0,8 px prostrkání. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 16px 40px; border-radius: 999px;
  font: 600 14px/1 var(--font); letter-spacing: 0.8px; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); color: var(--white); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--lilac); color: var(--primary-hover); }
.btn-sm { min-height: 42px; padding: 12px 22px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; transition: transform .25s ease; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.04); }
.brand-name { font-weight: 600; font-size: 20px; letter-spacing: -0.4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { line-height: 22px; }
.brand-sub { margin-top: 3px; font-size: 11px; line-height: 13px; font-weight: 500; letter-spacing: .3px; color: var(--muted); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; border-radius: 12px; }
.nav-toggle .bar { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 6px 0; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--subtle) 0%, var(--white) 100%); padding: 72px 0 96px; }
.hero::before { content: ""; position: absolute; right: -240px; top: -200px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(101, 45, 139, 0.10), rgba(101, 45, 139, 0)); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.eyebrow-light { color: #C9B3D6; }
.hero h1 { font-size: 51px; line-height: 56px; letter-spacing: -1px; }
.lead { margin-top: 24px; font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 600px; }
.hero-facts li { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 2px solid var(--lilac); }
.hero-facts strong { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.5px; white-space: nowrap; }
.hero-facts span { font-size: 14px; line-height: 20px; color: var(--text-2); }

.hero-visual { margin: 0; position: relative; }
.hero-visual figcaption { margin-top: 12px; text-align: right; font-size: 12px; color: var(--muted); }
.app-card { background: var(--white); border-radius: var(--r-modal); box-shadow: 0 24px 64px rgba(26, 11, 46, 0.14), 0 2px 8px rgba(26, 11, 46, 0.06); border: 1px solid rgba(101, 45, 139, 0.08); overflow: hidden; }
.app-card-head { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid #EEEDF2; background: var(--subtle); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #DDD7E2; }
.app-card-title { margin-left: 10px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.inv-list { list-style: none; margin: 0; padding: 8px; }
.inv { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 14px 12px; border-radius: 12px; }
.inv + .inv { border-top: 1px solid #F1EFF4; }
.inv.is-active { background: var(--lilac); border-top-color: transparent; }
.inv.is-active + .inv { border-top-color: transparent; }
.inv-main, .inv-side { display: flex; flex-direction: column; gap: 2px; }
.inv-side { align-items: flex-end; }
.inv-no { font-weight: 600; font-size: 15px; }
.inv-who, .inv-late { font-size: 13px; color: var(--text-2); }
.inv-amt { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inv-action { grid-column: 1 / -1; justify-self: start; margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: var(--white); border-radius: 999px; padding: 9px 16px; font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; box-shadow: 0 6px 16px rgba(101, 45, 139, 0.28); animation: pulse 2.6s ease-in-out infinite; }
.inv-action::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
@keyframes pulse { 0%, 100% { box-shadow: 0 6px 16px rgba(101, 45, 139, 0.28); } 50% { box-shadow: 0 6px 22px rgba(101, 45, 139, 0.5); } }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--lilac); color: var(--primary); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill-strong { background: var(--primary); color: var(--white); }
.flow { list-style: none; margin: 0; padding: 18px 20px 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid #EEEDF2; background: linear-gradient(180deg, var(--white), var(--subtle)); counter-reset: flow; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 4px; padding-top: 18px; }
.flow li::before { content: ""; position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--lilac); }
.flow li::after { content: ""; position: absolute; top: 4px; left: 18px; right: -6px; height: 2px; background: var(--lilac); }
.flow li:last-child::after { display: none; }
.flow-day { font-size: 12px; font-weight: 600; color: var(--primary); letter-spacing: .6px; text-transform: uppercase; }
.flow-what { font-size: 13px; line-height: 18px; color: var(--ink); }

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--subtle); }
.section-dark { background: var(--ink); color: var(--white); background-image: radial-gradient(900px 480px at 85% 0%, rgba(101, 45, 139, 0.45), rgba(101, 45, 139, 0) 70%); }
.section h2 { font-size: 36px; line-height: 44px; letter-spacing: -1px; max-width: 760px; }
.section-lead { margin-top: 20px; font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 720px; }
.section-dark .section-lead { color: #D8CFE0; }
.fine { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--muted); }
.fine-light { color: #A99BB6; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.split-calc { align-items: center; }
.split-form { grid-template-columns: 0.9fr 1.1fr; }
.split-form > div:first-child { position: sticky; top: 112px; }

.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 24px 28px; border-radius: var(--r-card); background: var(--white); border: 1px solid #ECEAF0; transition: box-shadow .2s ease, transform .2s ease; }
.step:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.step-no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lilac); color: var(--primary); font-weight: 600; margin-bottom: 20px; }
.step h3 { font-size: 20px; line-height: 28px; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 15px; line-height: 23px; }

.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; line-height: 24px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--lilac); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 6px; height: 10px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); }

/* Letter preview: ARROWS letterhead (header and footer images from the approved Word template) */
.letter-wrap { position: relative; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid #E6E2EC; margin-bottom: 20px; }
.tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 500 14px/1 var(--font); color: var(--text-2); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--primary); color: var(--white); }
.letter { position: relative; background: var(--white); border-radius: 4px; padding: 28px 34px 22px; box-shadow: 0 1px 2px rgba(12, 2, 18, 0.06), 0 18px 48px rgba(26, 11, 46, 0.14); font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif; font-size: 13.5px; line-height: 20px; color: #1B1622; overflow: hidden; }
.lh-head { width: 100%; height: auto; margin-bottom: 22px; }
.lh-foot { width: 100%; height: auto; margin-top: 22px; opacity: .95; }
.lh-body p { margin: 0 0 10px; text-align: justify; hyphens: auto; }
.lh-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.lh-channel { font-size: 11px; letter-spacing: .6px; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.lh-addr { text-align: left !important; min-width: 44%; line-height: 19px; }
.lh-date { text-align: right !important; }
.lh-title { text-align: center !important; font-weight: 700; font-size: 16px; letter-spacing: .6px; margin: 16px 0 2px !important; }
.lh-subtitle { text-align: center !important; margin-bottom: 16px !important; color: #3A3346; }
.lh-h { font-weight: 700; margin-top: 14px !important; margin-bottom: 4px !important; }
.lh-sign { margin-top: 18px !important; text-align: left !important; line-height: 19px; }
.lh-sum { width: 100%; border-collapse: collapse; margin: 4px 0 12px; }
.lh-sum td { padding: 5px 0; border-bottom: 1px solid #ECEAF0; }
.lh-sum td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.lh-btn span { display: inline-block; padding: 8px 16px; border-radius: 6px; background: var(--primary); color: var(--white); font-weight: 700; font-size: 13px; }
.mail-meta { margin: -6px 0 18px; padding: 10px 14px; border-radius: 8px; background: var(--subtle); border: 1px solid #ECEAF0; font-family: var(--font); font-size: 12.5px; line-height: 20px; color: var(--text-2); }
.mail-meta span { display: inline-block; width: 64px; color: var(--muted); }
.letter-stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-18deg); padding: 6px 26px; border: 2px solid rgba(101, 45, 139, 0.10); color: rgba(101, 45, 139, 0.10); border-radius: 10px; font-family: var(--font); font-size: 40px; font-weight: 700; letter-spacing: 8px; text-transform: uppercase; pointer-events: none; }

/* Price */
.price-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; margin-top: 56px; align-items: start; }
.price-card { padding: 40px; border-radius: var(--r-modal); background: var(--lilac); position: relative; overflow: hidden; }
.price-card::after { content: ""; position: absolute; right: -36px; top: -36px; width: 170px; height: 170px; background: url("/assets/logo-mark.svg") center / contain no-repeat; opacity: .12; transform: rotate(14deg); pointer-events: none; }
.price-label { font-weight: 500; color: var(--text-2); }
.price { display: flex; align-items: baseline; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.price-num { font-size: 56px; line-height: 60px; font-weight: 600; letter-spacing: -1.5px; color: var(--primary); white-space: nowrap; }
.price-unit { font-weight: 500; color: var(--text-2); }
.price-card .btn { margin-top: 32px; }
.price-table-wrap { padding: 8px 0; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 23px; }
.price-table caption { text-align: left; font-weight: 600; font-size: 20px; margin-bottom: 12px; }
.price-table th, .price-table td { text-align: left; vertical-align: top; padding: 16px 12px 16px 0; border-bottom: 1px solid #ECEAF0; }
.price-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; padding-top: 0; }
.price-table tbody th { font-weight: 600; width: 42%; padding-right: 24px; }
.price-table td { color: var(--text-2); }

/* Calculator */
.calc { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-modal); padding: 32px; backdrop-filter: blur(6px); }
.calc label { color: #E7DEEE; }
.calc input { background: rgba(255, 255, 255, 0.96); }
.calc-out { display: block; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.calc-empty { color: #A99BB6; }
.calc-rows { display: grid; gap: 10px; margin: 0; }
.calc-rows div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.calc-rows dt { color: #D8CFE0; }
.calc-rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-total { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc-total span { color: #D8CFE0; }
.calc-total strong { font-size: 32px; line-height: 40px; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-note { margin-top: 12px; font-size: 13px; color: #A99BB6; }

/* Cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.card { padding: 32px; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow); }
.card h3 { font-size: 22px; line-height: 28px; margin-bottom: 12px; }
.card p { color: var(--text-2); font-size: 15px; line-height: 24px; }

.integrations { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.integrations li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: var(--r-card); background: var(--white); border: 1px solid #ECEAF0; }
.int-name { font-weight: 600; }
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--subtle); color: var(--muted); border: 1px solid #E6E2EC; white-space: nowrap; }
.badge-strong { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 14px; font-weight: 500; color: var(--ink); }
.opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-input);
  border: 1px solid rgba(101, 45, 139, 0.18); background: rgba(255, 255, 255, 0.7);
  font: 400 16px/1.4 var(--font); color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 88px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%), linear-gradient(135deg, var(--primary) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #B3261E; }
.input-suffix { position: relative; }
.input-suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-suffix input { padding-right: 44px; }
.hint { font-size: 13px; color: var(--muted); min-height: 20px; }
.hint.is-ok { color: var(--primary); font-weight: 500; }
.hint.is-error { color: #B3261E; }
.lead-form { padding: 36px; border-radius: var(--r-modal); background: var(--white); box-shadow: 0 24px 64px rgba(26, 11, 46, 0.10); border: 1px solid #EEEBF2; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px; line-height: 21px; color: var(--text-2); margin: 6px 0 22px; cursor: pointer; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 1px; flex: none; accent-color: var(--primary); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: 15px; min-height: 22px; }
.form-status.is-error { color: #B3261E; }
.form-success { text-align: left; }
.form-success h3 { font-size: 24px; line-height: 32px; margin-bottom: 12px; }
.form-success p { color: var(--text-2); }
.form-success .success-mark { width: 48px; height: 48px; border-radius: 50%; background: var(--lilac); display: grid; place-items: center; margin-bottom: 20px; }
.form-success .success-mark::after { content: ""; width: 10px; height: 18px; border-right: 3px solid var(--primary); border-bottom: 3px solid var(--primary); transform: translateY(-2px) rotate(45deg); }
.mini-steps { margin: 32px 0 0; padding: 0; list-style: none; counter-reset: ms; display: grid; gap: 14px; }
.mini-steps li { counter-increment: ms; position: relative; padding-left: 44px; line-height: 24px; color: var(--text-2); }
.mini-steps li::before { content: counter(ms); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--primary); color: var(--primary); display: grid; place-items: center; font-weight: 600; font-size: 13px; }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid #E6E2EC; }
.faq details { border-bottom: 1px solid #E6E2EC; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 600; font-size: 18px; line-height: 26px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 10px; height: 10px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--text-2); line-height: 26px; }

/* Footer */
.site-footer { background: var(--ink); color: #CFC6D8; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; gap: 48px; }
.footer-brand img { width: 160px; margin-bottom: 20px; }
.footer-brand p, .footer-legal p { font-size: 14px; line-height: 22px; }
.footer-legal p + p { margin-top: 12px; }
.footer-legal strong { color: var(--white); font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #E7DEEE; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-legal a { color: #E7DEEE; }
.footer-legal a:hover { color: var(--white); }
.footer-note { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; color: #8C8098; }

/* Reveal on scroll (only when JS runs and motion is allowed). */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--lilac); color: var(--primary); font-size: 12px; font-weight: 600; letter-spacing: .4px; white-space: nowrap; }
.chip-dark { background: var(--ink); color: var(--white); }
.chip-law { background: var(--white); color: var(--ink); border: 1px solid rgba(12, 2, 18, 0.12); }
.chip-off { background: #EEEDF2; color: var(--muted); }
.hero-tech { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.hero-tech span:last-child { margin-left: 4px; }
.app-card-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--primary); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(101, 45, 139, .5); animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(101, 45, 139, .45); } 100% { box-shadow: 0 0 0 8px rgba(101, 45, 139, 0); } }

/* Technology + stamp pairs */
.pairs { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 16px; }
.pair { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: stretch; }
.pair-side { padding: 24px 28px; border-radius: var(--r-card); }
.pair-side h3 { font-size: 20px; line-height: 28px; margin: 12px 0 6px; }
.pair-side p { font-size: 15px; line-height: 23px; }
.pair-tech { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.pair-tech p { color: #D8CFE0; }
.pair-tech .chip { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.pair-law { background: var(--white); color: var(--ink); position: relative; overflow: hidden; }
.pair-law p { color: var(--text-2); }
.pair-law::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 84px; height: 84px; background: url("/assets/logo-mark.svg") center / contain no-repeat; opacity: .1; transform: rotate(12deg); }
.pair-plus { align-self: center; justify-self: center; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--white); font-size: 22px; font-weight: 600; line-height: 1; }

/* Thread: one line from connection to money */
.thread { position: relative; margin-top: 64px; --p: 0; }
.thread-track { position: absolute; left: 50%; top: 8px; width: 2px; margin-left: -1px; height: var(--track-h, 100%); background: #E6E2EC; border-radius: 2px; }
.thread-fill { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--primary); transform-origin: top; transform: scaleY(var(--p)); border-radius: 2px; }
.thread.is-done .thread-token { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
.t-final .t-paid { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: var(--white); color: var(--primary); font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .5s ease 1.2s, transform .5s ease 1.2s; }
.thread.is-done .t-final .t-paid, .no-io .t-final .t-paid { opacity: 1; transform: none; }
.thread-token { transition: opacity .35s ease, transform .35s ease; position: absolute; left: 50%; top: calc(var(--p) * 100%); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--white); border: 1px solid rgba(101, 45, 139, 0.2); box-shadow: 0 8px 20px rgba(26, 11, 46, 0.14); font-size: 12px; font-weight: 600; white-space: nowrap; z-index: 2; }
.thread-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.t-step { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; }
.t-step .t-card { grid-column: 1; text-align: right; }
.t-step:nth-child(even) .t-card { grid-column: 2; text-align: left; }
.t-card { padding: 22px 26px; border-radius: var(--r-card); background: var(--white); border: 1px solid #ECEAF0; transition: box-shadow .3s ease, border-color .3s ease; }
.t-card h3 { font-size: 20px; line-height: 27px; margin: 10px 0 6px; }
.t-card p { font-size: 15px; line-height: 23px; color: var(--text-2); }
.t-dot { position: absolute; left: 50%; top: 30px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--white); border: 2px solid #D5CEDD; z-index: 1; transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.t-step.is-reached .t-dot { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 5px var(--lilac); }
.t-step.is-reached .t-card { border-color: rgba(101, 45, 139, 0.28); box-shadow: var(--shadow); }
.fork { position: relative; margin-top: 8px; padding-top: 12px; }
.fork-label { position: relative; z-index: 1; width: max-content; margin: 0 auto; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: .4px; }
.fork-lines, .merge-lines { display: block; width: 100%; height: 90px; overflow: visible; }
.merge-lines { height: 70px; }
.fl { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.fl-on { stroke: var(--primary); stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.1s ease; }
.fork.is-live .fl-on, .no-io .fl-on { stroke-dashoffset: 0; }
.merge-lines .fl-on { transition-delay: .6s; }
.fl-off { stroke: #C9C4D1; stroke-dasharray: 6 6; }
.branches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.branch { position: relative; padding: 22px 24px; border-radius: var(--r-card); background: var(--white); border: 1px solid rgba(101, 45, 139, 0.28); box-shadow: var(--shadow); }
.branch h3 { font-size: 19px; line-height: 26px; margin: 10px 0 6px; }
.branch p { font-size: 15px; line-height: 23px; color: var(--text-2); }
.branch-off { background: var(--subtle); border: 1.5px dashed #C9C4D1; box-shadow: none; }
.branch-off h3, .branch-off p { color: var(--muted); }
.branch-stop { position: absolute; left: 50%; bottom: -22px; width: 28px; height: 3px; margin-left: -14px; background: #C9C4D1; border-radius: 2px; }
.t-final { display: flex; align-items: center; gap: 18px; width: max-content; max-width: 100%; margin: 0 auto; padding: 20px 28px; border-radius: var(--r-modal); background: var(--primary); color: var(--white); box-shadow: 0 16px 40px rgba(101, 45, 139, 0.35); }
.t-final img { width: 44px; height: 44px; filter: drop-shadow(0 0 0 #fff); background: var(--white); border-radius: 50%; padding: 2px; }
.t-final h3 { font-size: 22px; line-height: 28px; }
.t-final p { color: #E7DEEE; font-size: 15px; }

/* MůjPodpis phones */
.split-mp { grid-template-columns: 0.8fr 1.2fr; align-items: center; }
.phones { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.phones figcaption { grid-column: 1 / -1; text-align: right; font-size: 12px; color: var(--muted); }
.phone { display: flex; flex-direction: column; gap: 10px; min-height: 250px; padding: 22px 16px 18px; border-radius: 28px; background: var(--white); border: 6px solid var(--ink); box-shadow: var(--shadow); }
.phone-mid { min-height: 290px; }
.phone-title { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); }
.phone-text { font-size: 14px; line-height: 20px; color: var(--text-2); }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 12px; }
.otp span { display: grid; place-items: center; height: 36px; border-radius: 8px; background: var(--lilac); font-weight: 600; font-variant-numeric: tabular-nums; }
.otp .is-caret { background: var(--white); border: 1.5px solid var(--primary); }
.sig { width: 100%; height: auto; margin-top: 8px; padding: 8px; border-radius: 12px; background: var(--subtle); border: 1px dashed #D5CEDD; }
.sig path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; }
.phones.is-in .sig path, .no-io .sig path { animation: draw 2.2s ease forwards .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.phone-btn { margin-top: auto; text-align: center; padding: 10px; border-radius: 999px; background: var(--primary); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.pdf { margin-top: 8px; padding: 16px 12px; border-radius: 12px; background: var(--subtle); border: 1px solid #ECEAF0; display: flex; flex-direction: column; gap: 10px; }
.pdf-name { font-weight: 600; font-size: 14px; }
.pdf-name::before { content: "PDF"; display: inline-block; margin-right: 8px; padding: 2px 6px; border-radius: 4px; background: var(--ink); color: var(--white); font-size: 10px; letter-spacing: .6px; }
.pdf-seal { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--primary); font-weight: 600; }

/* Live reporting */
.split-rep { align-items: center; }
.report-card { padding: 24px; border-radius: var(--r-modal); background: var(--white); box-shadow: 0 24px 64px rgba(26, 11, 46, 0.10); border: 1px solid #EEEBF2; }
.report-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #EEEDF2; }
.report-list { list-style: none; margin: 16px 0 0; padding: 0; position: relative; }
.report-list::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--lilac); }
.report-list li { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 9px 0 9px 24px; font-size: 14px; line-height: 20px; }
.report-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--primary); }
.report-list li.is-done::before { background: var(--primary); }
.report-list time { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.report-list li.is-done span { font-weight: 600; }
.report-note { margin-top: 12px; text-align: right; font-size: 12px; color: var(--muted); }

/* International */
.intl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.intl li { padding: 22px 22px; border-radius: var(--r-card); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.intl .chip { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.intl h3 { font-size: 18px; line-height: 25px; margin: 10px 0 6px; }
.intl p { font-size: 14px; line-height: 21px; color: #D8CFE0; }
.partners { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 14px; margin-top: 40px; }
.partner { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-card); background: var(--white); color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
a.partner:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }
.partner strong { font-size: 19px; line-height: 25px; font-weight: 600; }
.partner span:last-child { font-size: 14px; line-height: 21px; color: var(--text-2); }
.partner-kicker { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); }
.partner-person { flex-direction: row; align-items: center; gap: 16px; }
.partner-person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, var(--lilac) 70%); flex: none; }
.partner-person div { display: flex; flex-direction: column; gap: 4px; }
.consent-plain { margin: 0 0 18px; color: var(--ink); }

/* Garanti */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.person { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding: 28px; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow); }
.person img { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, var(--lilac) 70%); box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--lilac); }
.person h3 { font-size: 22px; line-height: 28px; }
.person-role { margin: 4px 0 12px; font-size: 14px; font-weight: 600; color: var(--primary); }
.person p:last-child { color: var(--text-2); font-size: 15px; line-height: 24px; }

/* Legal page */
.doc { padding: 72px 0 104px; }
.doc h1 { font-size: 40px; line-height: 48px; letter-spacing: -1px; }
.doc h2 { font-size: 22px; line-height: 30px; margin-top: 40px; }
.doc p, .doc li { color: var(--text-2); line-height: 27px; font-size: 16px; }
.doc p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 12px 0 0; }
.doc .back { display: inline-block; margin-bottom: 32px; font-weight: 500; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; }
  .people { grid-template-columns: 1fr; }
  .intl { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr; }
  .phones { max-width: 560px; }
  .price-grid, .split, .split-form { grid-template-columns: 1fr; gap: 40px; }
  .split-form > div:first-child { position: static; }
  .split-mp { grid-template-columns: 1fr; }
  .integrations { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 16px 32px rgba(12, 2, 18, 0.08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #F1EFF4; font-size: 17px; }
  .nav .btn { margin-top: 16px; }
  .nav-toggle { display: block; }
  .pair { grid-template-columns: 1fr; gap: 10px; }
  .pair-plus { width: 30px; height: 30px; font-size: 18px; }
  .thread-track { left: 11px; margin-left: 0; }
  .thread-token { left: 12px; transform: translate(-12px, -50%); }
  .t-step { grid-template-columns: 1fr; padding-left: 40px; }
  .t-step .t-card, .t-step:nth-child(even) .t-card { grid-column: 1; text-align: left; }
  .t-dot { left: 12px; }
  .fork { padding-left: 40px; }
  .fork-label { margin: 0 0 16px; }
  .fork-lines, .merge-lines { display: none; }
  .branches { grid-template-columns: 1fr; gap: 12px; }
  .branch-stop { display: none; }
  .t-final { margin: 28px 0 0 40px; width: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero { padding: 40px 0 64px; }
  .hero h1 { font-size: 36px; line-height: 42px; }
  .lead, .section-lead { font-size: 17px; line-height: 26px; }
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .hero-facts li { flex-direction: row; align-items: baseline; gap: 12px; }
  .hero-facts strong { min-width: 112px; font-size: 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .section { padding: 72px 0; }
  .section h2 { font-size: 28px; line-height: 35px; }
  .phones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .phones { align-items: stretch; }
  .phone { min-height: 210px; padding: 16px 10px 12px; border-width: 4px; border-radius: 20px; }
  .phone-mid { min-height: 230px; }
  .otp { grid-template-columns: repeat(3, 1fr); }
  .person { flex-direction: column; gap: 16px; padding: 22px; }
  .report-list li { grid-template-columns: 1fr; gap: 0; }
  .t-final { padding: 16px 18px; }
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow li { padding: 0 0 0 24px; }
  .flow li::before { top: 4px; }
  .flow li::after { display: none; }
  .letter { padding: 20px 16px 16px; font-size: 13px; }
  .lh-top { flex-direction: column; }
  .letter-stamp { font-size: 32px; }
  .price-card, .lead-form, .calc { padding: 24px; }
  .price-num { font-size: 44px; line-height: 50px; }
  .price-table tbody th { width: auto; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table thead { display: none; }
  .price-table tbody th { padding: 16px 0 4px; border-bottom: 0; }
  .price-table td { padding: 0 0 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .integrations { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
  .doc h1 { font-size: 32px; line-height: 40px; }
}
