/* EET kasa – landing page */
:root {
  --counter: #edf1f4;      /* pult */
  --counter-2: #e2e8ed;
  --ink: #0f1e2a;          /* inkoust */
  --ink-2: #33475a;
  --muted: #5b6b76;
  --line: #cfd8df;
  --paper: #fffdf7;        /* termopapír */
  --stamp: #c8322b;        /* razítko */
  --stamp-2: #a4261f;
  --teal: #0f7b75;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1120px;
  --r: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--counter); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow--light { color: #b8c7d1; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(15,123,117,.18); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 14px 22px; border-radius: var(--r); border: 1.5px solid transparent; transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--stamp); color: #fff; box-shadow: 0 8px 20px -10px rgba(200,50,43,.7); }
.btn--primary:hover { background: var(--stamp-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--link { color: var(--ink); padding-left: 6px; padding-right: 6px; }
.btn--link:hover { color: var(--stamp); }
.cta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.cta--center { justify-content: center; margin-top: 36px; }

/* Notice */
.notice { background: var(--ink); color: #dbe5ec; font-size: .9rem; }
.notice__row { display: flex; align-items: center; gap: 14px; padding: 9px 0; flex-wrap: wrap; }
.notice__tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--stamp); padding: 3px 9px; border-radius: 4px; white-space: nowrap; }
.notice strong { color: #fff; }
.notice a { color: #fff; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(237,241,244,.9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand em { font-style: normal; color: var(--stamp); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.top .btn--ghost { padding: 9px 16px; font-size: .92rem; }
@media (max-width: 760px) { .nav { display: none; } .top .btn--ghost { margin-left: auto; } }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 72px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__text .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36em; margin-bottom: 30px; }
h1 .mark { color: var(--stamp); position: relative; white-space: nowrap; }
h1 .mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .08em; background: currentColor; opacity: .35; border-radius: 2px; }
.hero__facts { list-style: none; padding: 0; margin: 38px 0 0; display: flex; gap: 28px 40px; flex-wrap: wrap; }
.hero__facts li { display: flex; flex-direction: column; gap: 2px; }
.hero__facts b { font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.hero__facts span { font-size: .9rem; color: var(--muted); }

/* Printer + receipt (signature) */
.hero__visual { position: relative; display: flex; justify-content: center; }
.printer { width: min(340px, 100%); }
.printer__body {
  background: linear-gradient(180deg, #24343f, #0f1e2a); border-radius: 14px 14px 6px 6px; height: 54px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 18px; box-shadow: 0 20px 40px -20px rgba(15,30,42,.6);
}
.printer__led { width: 9px; height: 9px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 10px #3ddc97; animation: blink 2.4s infinite; }
.printer__label { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: #8ea3b1; text-transform: uppercase; }
.printer__slot { position: relative; margin: 0 14px; height: 520px; overflow: hidden; }
.printer__slot::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: #0f1e2a; border-radius: 0 0 6px 6px; z-index: 2; }
.printer__slot::after { content: ""; position: absolute; inset: 10px 0 auto 0; height: 26px; background: linear-gradient(180deg, rgba(15,30,42,.28), transparent); z-index: 2; pointer-events: none; }
.paper {
  position: absolute; left: 12px; right: 12px; top: 8px; background: var(--paper); color: var(--ink);
  box-shadow: 0 14px 30px -18px rgba(15,30,42,.5), 0 1px 0 rgba(15,30,42,.05);
  animation: print 2.6s steps(26, end) .4s both;
  padding-bottom: 64px;
}
.paper::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px;
  background: linear-gradient(-45deg, transparent 5.5px, var(--paper) 0) 0 0 / 8px 8px, linear-gradient(45deg, transparent 5.5px, var(--paper) 0) 0 0 / 8px 8px;
  background-repeat: repeat-x;
}
.rc { font-family: var(--mono); font-size: .74rem; line-height: 1.45; padding: 16px 16px 6px; }
.rc p { margin: 0 0 2px; }
.rc hr { border: 0; border-top: 1px dashed #9aa8b2; margin: 8px 0; }
.rc__title { font-weight: 500; text-align: center; font-size: .92rem; letter-spacing: .04em; margin-bottom: 6px !important; }
.rc__c { text-align: center; color: var(--ink-2); }
.rc__row { display: flex; justify-content: space-between; gap: 10px; }
.rc__row--sm { color: var(--ink-2); font-size: .7rem; }
.rc__total { font-weight: 500; font-size: .9rem; margin: 6px 0; }
.rc__code { color: var(--ink); font-weight: 500; letter-spacing: .02em; }
.rc__qr { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 10px 0; }
.rc__qr svg { width: 84px; height: 84px; }
.rc__qr span { font-size: .66rem; color: var(--muted); }
.stamp {
  position: absolute; right: 10%; bottom: 12px; transform: rotate(-12deg);
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.5rem;
  color: var(--stamp); border: 4px solid var(--stamp); border-radius: 8px; padding: 6px 14px;
  mix-blend-mode: multiply; opacity: 0; animation: stamp .35s cubic-bezier(.2,1.4,.4,1) 3.2s forwards;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='60'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 1.55'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='60'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 1.55'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes print { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes stamp { from { opacity: 0; transform: rotate(-12deg) scale(1.6); } to { opacity: .92; transform: rotate(-12deg) scale(1); } }
@keyframes blink { 0%, 88%, 100% { opacity: 1; } 92% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) {
  .paper, .stamp, .printer__led { animation: none; }
  .stamp { opacity: .92; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: 2; margin-top: 12px; }
  .printer__slot { height: 500px; }
  .stamp { right: 6%; }
}

/* Band */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--counter-2); }
.band__row { display: flex; flex-wrap: wrap; gap: 8px 0; padding: 14px 0; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.band__row span { padding: 4px 18px; border-right: 1px solid var(--line); }
.band__row span:last-child { border-right: 0; }
.band__row span:first-child { padding-left: 0; }

/* Sections */
.sec { padding: clamp(56px, 8vw, 108px) 0; }
.sec__head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec__lead { color: var(--ink-2); font-size: 1.08rem; }
.sec--ink { background: var(--ink); color: #dbe5ec; }
.sec--ink h2, .sec--ink h3 { color: #fff; }
.sec--ink strong { color: #fff; }
.sec--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 18px; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(15,30,42,.5); }
.card__ico { width: 30px; height: 30px; stroke: var(--stamp); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .97rem; margin: 0; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* EET 2.0 */
.eet { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.eet__text p { font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); }
.ticks li::after { content: ""; position: absolute; left: 4px; top: .32em; width: 8px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(3px) rotate(-45deg); }
.timeline { list-style: none; padding: 0 0 0 26px; margin: 8px 0 0; position: relative; border-left: 2px solid #33475a; }
.timeline li { position: relative; padding: 0 0 30px 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -33px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 3px solid #8ea3b1; }
.timeline li:last-child::before { border-color: var(--stamp); background: var(--stamp); box-shadow: 0 0 0 6px rgba(200,50,43,.25); }
.timeline time { display: block; font-family: var(--mono); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #8ea3b1; margin-bottom: 6px; }
.timeline h3 { font-size: 1.25rem; margin-bottom: 6px; }
.timeline p { margin: 0; color: #b8c7d1; }
@media (max-width: 860px) { .eet { grid-template-columns: 1fr; } }

/* Steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px 18px; position: relative; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--stamp); display: block; margin-bottom: 14px; letter-spacing: -0.04em; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Gastro */
.ticks--dark li { color: var(--ink-2); }
.ticks--dark li b { color: var(--ink); }
#gastro .two { align-items: start; }
#gastro .ticks { margin-top: 4px; gap: 14px; }
#gastro .ticks li { padding-left: 34px; line-height: 1.5; }
#gastro .ticks li::before { top: .35em; }
#gastro .ticks li::after { top: .35em; }

/* Zdarma */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.two p { color: var(--ink-2); font-size: 1.05rem; }
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-family: var(--mono); font-weight: 500; text-align: right; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 20px; display: flex; flex-direction: column; }
.plan--now { border-color: var(--teal); box-shadow: 0 18px 30px -24px rgba(15,123,117,.6); }
.plan--paid { border-color: var(--ink); }
.plan__tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }
.plan--now .plan__tag { color: var(--teal); }
.plan__price { font-family: var(--display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 0 0 4px; }
.plan--now .plan__price { color: var(--teal); }
.plan__sub { color: var(--ink-2); margin: 0 0 18px; font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: 16px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 5px; border: 2px solid var(--stamp); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.plans__note { margin: 18px 0 0; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-family: var(--display); font-weight: 700; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 1.4rem; color: var(--stamp); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0 0 20px; color: var(--ink-2); max-width: 62ch; }

/* Contact */
.contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact li { border-left: 3px solid var(--stamp); padding: 4px 0 4px 18px; }
.contact h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact p { margin: 0 0 6px; color: var(--ink-2); font-size: .95rem; }
.contact a { font-weight: 600; }
#kontakt .btn--primary { margin-top: 6px; }
.contact__who { margin: 18px 0 0; font-size: .92rem; color: var(--muted); }
#kontakt .two { align-items: start; }

/* Final CTA */
.final { padding: clamp(48px, 7vw, 88px) 0; background: linear-gradient(180deg, var(--counter), var(--counter-2)); border-top: 1px solid var(--line); }
.final__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.final h2 { margin: 0; max-width: 20ch; }

/* Footer */
.foot { background: var(--ink); color: #b8c7d1; padding: 34px 0 40px; font-size: .92rem; }
.foot__row { display: grid; gap: 14px; }
.foot strong { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { color: #dbe5ec; }
.foot__note { color: #8ea3b1; font-size: .82rem; max-width: 80ch; margin: 6px 0 0; }
