/* Self-hostovane fonty (GDPR: zadne pozadavky na Google) — variabilni woff2. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --ink: #10231f;
  --ink-2: #243833;
  --muted: #60716b;
  --line: #d8ded8;
  --paper: #f7f5ef;
  --paper-2: #ebe6dc;
  --white: #ffffff;
  --green: #225c4f;
  --green-2: #2f7a67;
  --amber: #d19a43;
  --danger: #9f3f32;
  --shadow: 0 18px 50px rgba(16, 35, 31, 0.12);
  --soft-shadow: 0 8px 28px rgba(16, 35, 31, 0.08);
  --radius: 8px;
  --focus-ring: 0 0 0 3px rgba(209, 154, 67, 0.55);
  --font-body: "Inter", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --font-display: "Space Grotesk", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
}

::selection {
  color: var(--ink);
  background: rgba(209, 154, 67, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 40;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--amber);
  border-radius: 6px;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  color: var(--ink);
  background: rgba(247, 245, 239, 0.94);
  box-shadow: 0 1px 0 rgba(16, 35, 31, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: var(--amber);
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: inherit;
  font-size: 0.94rem;
}

.main-nav a,
.nav-cta {
  opacity: 0.94;
}

.main-nav a:hover,
.nav-cta:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 15px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 26, 23, 0.9) 0%, rgba(12, 26, 23, 0.74) 42%, rgba(12, 26, 23, 0.16) 100%),
    linear-gradient(0deg, rgba(12, 26, 23, 0.7) 0%, rgba(12, 26, 23, 0.06) 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 820px;
  width: min(870px, calc(100% - 40px));
  padding: 122px 0 46px clamp(24px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: #f0c46e;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5.2vw, 4.9rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.22;
  text-wrap: balance;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.button,
button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button.primary,
button {
  color: var(--ink);
  background: var(--amber);
}

.button.primary:hover,
button:hover {
  background: #e1aa4f;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
button:hover {
  transform: translateY(-1px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(680px, 100%);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hero-proof div {
  min-width: 0;
  padding: 16px;
}

.hero-proof dt {
  margin-bottom: 4px;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.hero-proof dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.pilot-note {
  background: #fff7e6;
  border-bottom: 1px solid #e6d6b6;
}

.pilot-note-inner {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  color: #4b3a16;
  font-size: 0.96rem;
}

.pilot-note strong {
  white-space: nowrap;
}

.section {
  padding: clamp(76px, 8vw, 118px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.pain-section {
  background: var(--paper);
}

.pain-list {
  display: grid;
  gap: 16px;
}

.pain-list article,
.economics-grid article,
.security-grid article,
.flow-step,
.interest-box,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.pain-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 6px 20px;
  padding: 24px;
}

.pain-list article h3,
.pain-list article p {
  grid-column: 2;
}

.pain-list article p {
  margin-bottom: 0;
}

.pain-list article p,
.flow-step p,
.economics-grid p,
.faq-list p,
.interest-box p,
.section-heading p,
.shield-copy p,
.pilot-layout p {
  color: var(--muted);
}

.metric {
  grid-row: 1 / span 2;
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.flow-section {
  background: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-heading.compact {
  max-width: 840px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow-step {
  position: relative;
  min-height: 250px;
  padding: 26px;
}

.flow-step::after {
  content: "→";
  position: absolute;
  top: 32px;
  right: -14px;
  color: var(--amber);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.flow-step:last-child::after {
  display: none;
}

.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 36px;
  color: var(--white);
  background: var(--green);
  border-radius: 6px;
  font-weight: 700;
}

.shield-section {
  color: var(--white);
  background: var(--ink);
}

.shield-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.shield-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.shield-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.check-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.check-row:last-child {
  border-bottom: 0;
}

.check-mark {
  display: grid;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
}

.check-mark::before {
  content: "";
  width: 10px;
  height: 6px;
  margin-top: -2px;
  border-left: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: rotate(-45deg);
}

.check-row p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.check-row strong {
  color: var(--white);
}

.security-section {
  background: var(--white);
}

.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
}

.security-grid {
  display: grid;
  gap: 16px;
}

.security-grid article {
  padding: 24px;
}

.security-grid article p {
  margin-bottom: 0;
  color: var(--muted);
}

.economics-section {
  background: var(--paper-2);
}

.economics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.economics-grid article {
  min-height: 198px;
  padding: 24px;
}

.trial-section {
  background: var(--white);
}

.trial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trial-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  padding: 26px;
}

.trial-step .step-number {
  background: var(--amber);
  color: var(--ink);
}

.trial-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.pilot-section {
  background: var(--green);
  color: var(--white);
}

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.pilot-layout > div > p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.interest-box {
  position: relative;
  padding: 26px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.interest-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--amber);
}

.interest-box h3 {
  margin-bottom: 20px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid #ccd5ce;
  border-radius: 6px;
  background: var(--white);
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(47, 122, 103, 0.2);
  border-color: var(--green-2);
}

.interest-box button {
  width: 100%;
  margin-top: 4px;
}

.interest-box p {
  margin: 14px 0 0;
  font-size: 0.85rem;
}

/* Honeypot pro boty — vizualne i pro čtečky neexistuje. */
.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-status {
  min-height: 1.2em;
  color: var(--green);
  font-weight: 600;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status:empty {
  margin: 0;
  min-height: 0;
}

label.field-error {
  color: var(--danger);
}

input[aria-invalid="true"] {
  border-color: var(--danger);
  outline: 3px solid rgba(159, 63, 50, 0.18);
}

.form-note {
  color: var(--muted);
}

.form-note a {
  font-weight: 600;
  text-decoration: underline;
}

.faq-section {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 80px);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
  box-shadow: none;
}

.faq-list summary {
  position: relative;
  padding-right: 28px;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 2px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list p {
  margin: 12px 0 0;
}

.site-footer {
  padding: 38px 0 26px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

.site-footer a:last-child {
  color: var(--white);
  font-weight: 600;
}

.legal-line {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
}

/* ---- Pravni stranky --------------------------------------------------------- */

.legal-body {
  background: var(--paper);
}

.legal-page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 90px;
}

.legal-page h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.legal-page h2 {
  margin-top: 40px;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.legal-page p {
  color: var(--ink-2);
}

.legal-page a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-back {
  display: inline-block;
  margin-top: 34px;
}

.legal-links {
  display: flex;
  gap: 16px;
}

.legal-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-links a:hover {
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 920px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: 86svh;
    padding: 112px 20px 38px;
    width: 100%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 26, 23, 0.9) 0%, rgba(12, 26, 23, 0.68) 100%),
      linear-gradient(0deg, rgba(12, 26, 23, 0.75) 0%, rgba(12, 26, 23, 0.18) 52%);
  }

  .hero-proof,
  .split,
  .shield-grid,
  .security-layout,
  .pilot-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .flow,
  .economics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trial-grid {
    grid-template-columns: 1fr;
  }

  .flow-step::after {
    display: none;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-line {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    padding: 14px 16px;
  }

  .nav-cta {
    padding: 9px 11px;
    font-size: 0.9rem;
  }

  .hero-content {
    min-height: 92svh;
  }

  .hero-proof,
  .flow,
  .economics-grid,
  .pain-list article {
    grid-template-columns: 1fr;
  }

  .pilot-note-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .pain-list article h3,
  .pain-list article p,
  .metric {
    grid-column: 1;
  }

  .metric {
    grid-row: auto;
  }

  .hero-proof div {
    padding: 13px 14px;
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 32px, 1180px);
  }

  .flow-step,
  .economics-grid article {
    min-height: auto;
  }
}
