:root {
  --bg: #f6fbf7;
  --bg-alt: #ffffff;
  --text: #132019;
  --muted: #516458;
  --line: #dceadf;
  --primary: #27a85b;
  --primary-dark: #1f8a4a;
  --primary-soft: #e7f6ed;
  --accent: #bde6ce;
  --shadow: 0 18px 55px rgba(24, 61, 36, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(39, 168, 91, 0.13), transparent 32rem),
    linear-gradient(180deg, #f8fcf9 0%, var(--bg) 34%, #fff 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand__logo {
  width: 190px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.language-switch label {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.86rem;
}

.language-switch select {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  padding: 0.45rem 0.55rem;
  min-width: 112px;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: 0 14px 28px rgba(39, 168, 91, 0.22);
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
  box-shadow: none;
}

.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: #edf8f0;
}

.btn--small {
  padding: 0.52rem 0.88rem;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  font-weight: 800;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.lead {
  max-width: 62ch;
  color: var(--muted);
}

.section-intro {
  max-width: 76ch;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.25rem 0;
}

.hero__bullets {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.hero__metrics {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.proof-strip {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfe6d7;
  background: #f4fcf7;
  color: #1b5f36;
  border-radius: 999px;
  padding: 0.36rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.85rem;
}

.metric strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.02rem;
}

.metric span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__media img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.section {
  padding: 4rem 0;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid #cfe6d7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(22, 98, 50, 0.08);
}

.app-card--wide {
  grid-column: span 2;
}

.app-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f4fcf7, #e8f6ee);
}

.app-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.app-card__tag {
  width: fit-content;
  margin-bottom: 0.7rem;
  border: 1px solid #bfe0ca;
  border-radius: 999px;
  background: #f4fcf7;
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.6rem;
  text-transform: uppercase;
}

.app-card h3 {
  margin-bottom: 0.5rem;
}

.app-card p {
  margin: 0;
  color: var(--muted);
}

.articles-section {
  background:
    linear-gradient(180deg, rgba(244, 249, 245, 0.92), rgba(255, 255, 255, 0.88)),
    var(--bg-alt);
}

.article-list {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.story-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.35fr);
  overflow: hidden;
  border: 1px solid #cfe6d7;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(19, 32, 25, 0.08);
}

.story-card--featured {
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1.45fr);
}

.story-card__media {
  min-height: 100%;
  background: linear-gradient(135deg, #f4fcf7, #e8f6ee);
}

.story-card__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.story-card__content {
  padding: clamp(1.15rem, 2.4vw, 2rem);
}

.story-card__label {
  display: inline-flex;
  margin-bottom: 0.75rem;
  border: 1px solid #bfe0ca;
  border-radius: 999px;
  background: #f4fcf7;
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.65rem;
  text-transform: uppercase;
}

.story-card h3 {
  margin-bottom: 0.8rem;
}

.story-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.story-card__source {
  display: inline-flex;
  align-items: center;
  margin-top: 0.15rem;
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.story-card__source::after {
  content: "↗";
  margin-left: 0.35rem;
}

.personas {
  margin-top: 1.5rem;
}

.persona {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mini-list {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--muted);
}

.mini-list li + li {
  margin-top: 0.3rem;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1.1rem;
}

.checklist {
  margin: 1.1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.checklist li + li {
  margin-top: 0.45rem;
}

.checklist--compact {
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.kpi-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9fdf9;
  padding: 0.85rem;
}

.kpi-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.kpi-card p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 1.2rem;
}

.feature {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.feature img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.feature p {
  color: var(--muted);
}

.feature ul {
  margin: 0.9rem 0 0;
  padding-left: 1.05rem;
  color: var(--muted);
}

.feature li + li {
  margin-top: 0.35rem;
}

.comparison {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  align-items: start;
}

.comparison img {
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.comparison__table-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eef8f1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #e8f8ee;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery img,
.security img {
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.integration-cards {
  margin-top: 1rem;
}

.panel--accent {
  border-color: #cfe6d7;
  background: linear-gradient(180deg, #ffffff 0%, #f5fcf7 100%);
}

.roi-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.roi-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.85rem;
}

.roi-item strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.02rem;
}

.roi-item span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.table-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.table-note--compact {
  margin-top: 0.9rem;
}

.timeline {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.timeline__item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
}

.timeline__item p {
  margin: 0;
  color: var(--muted);
}

.security {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1rem;
  align-items: center;
}

.security ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.section-intro--small {
  margin-top: 0.55rem;
  font-size: 0.98rem;
}

.pricing-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  max-width: 760px;
  margin-inline: auto;
}

.pricing-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1.1rem;
}

.pricing-card--hidden {
  display: none;
}

.pricing-card p {
  color: var(--muted);
}

.plan-context {
  margin: 0.55rem 0 0;
  font-size: 0.94rem;
  line-height: 1.45;
}

.plan-visual {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0.75rem 0 0.8rem;
  border-radius: 12px;
  border: 1px solid #d5eadb;
  display: block;
  background: #f6fbf8;
}

.pricing-card--featured {
  border-color: #b9ddc7;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%);
  box-shadow: var(--shadow);
}

.plan-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.plan-price {
  margin: 0.6rem 0 0;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--text) !important;
  font-weight: 800;
}

.plan-price span {
  margin-left: 0.3rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.plan-list {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.plan-list li + li {
  margin-top: 0.45rem;
}

.pricing-rail {
  margin-top: 1.35rem;
}

.format-title {
  margin: 0.9rem 0 0.5rem;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #2a7f57 !important;
  font-weight: 700;
}

.format-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.format-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  border: 1px solid #d3e8da;
  background: #f6fbf8;
}

.format-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.95rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: #e5f6ec;
  color: #145b3a;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.format-chip__suffix {
  color: #176544;
  font-size: 0.78rem;
  font-weight: 700;
}

.usage-explainer {
  margin-top: 1.2rem;
}

.usage-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 1rem;
}

.usage-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.6rem;
  margin-top: 0.9rem;
}

.usage-checklist li + li {
  margin-top: 0;
}

.usage-timeline {
  margin-top: 1.4rem;
}

.payment-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  margin-top: 1rem;
}

.payment-strip__text {
  flex: 1 1 auto;
  max-width: 72ch;
}

.payment-strip__text h3 {
  margin-top: 0;
}

.payment-strip__stripe {
  flex: 0 0 auto;
  height: 30px;
  width: auto;
  opacity: 0.8;
}

.payment-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.payment-legal {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-note {
  border: 1px solid #cfe8d7;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fffb 0%, #eefaf2 100%);
  color: var(--muted);
  padding: 0.95rem 1rem;
}

.legal-note strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--primary-dark);
}

.legal-note p {
  margin: 0;
}

.legal-note--compact {
  margin-top: 1rem;
}

.legal-note--pricing {
  margin: 1rem 0 1.2rem;
}

.pricing-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.pricing-intro-col {
  min-width: 0;
}

.legal-note--pool {
  margin-top: 0;
}

.pricing-pool-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

.pricing-pool-list li {
  margin: 0;
}

.pricing-pool-steps {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.pricing-pool-steps article h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 1rem;
}

.pricing-pool-steps article p {
  margin: 0.2rem 0 0;
}

.faq {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.faq-rail {
  margin-top: 0;
}

.faq-panels {
  margin-top: 0.35rem;
}

.faq-panel {
  display: none;
  gap: 0.8rem;
}

.faq-panel.is-active {
  display: grid;
}

.faq-panel[hidden] {
  display: none;
}

.faq-panel h3 {
  margin: 0 0 0.1rem;
  color: var(--text);
  font-size: 1.05rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.faq details.is-targeted {
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(10, 107, 54, 0.14);
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.faq p {
  color: var(--muted);
}

.cta {
  background: linear-gradient(140deg, #eefaf2 0%, #f8fffb 100%);
}

.anchor-target {
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: 96px;
}

.cta__inner {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 1.2rem;
  align-items: stretch;
  padding: 1.25rem;
  border: 1px solid #d1ead9;
  border-radius: 16px;
  background: #fff;
}

.cta__inner > img {
  align-self: center;
}

.cta__content {
  align-self: center;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.contact-detail {
  display: grid;
  gap: 0.18rem;
  padding: 0.85rem;
  border: 1px solid #dceadf;
  border-radius: 14px;
  background: #f8fffb;
  color: var(--text);
  text-decoration: none;
}

.contact-detail__label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-map {
  min-height: 280px;
  border: 1px solid #d1ead9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--primary-soft);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer__inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.footer__inner p {
  margin: 0;
}

.footer__legal {
  margin-top: 0.25rem !important;
  max-width: 640px;
  font-size: 0.84rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 0.8rem;
}

.footer__links a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--primary-dark);
  background: #fff;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.footer__social-link:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.modern-hero {
  position: relative;
  overflow: hidden;
  padding: 5.6rem 0 4.2rem;
}

.modern-hero::before {
  content: "";
  position: absolute;
  inset: 1rem clamp(1rem, 4vw, 4rem) auto auto;
  width: min(34vw, 360px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(39, 168, 91, 0.16), transparent 68%);
  pointer-events: none;
}

.modern-hero .lead {
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
}

.hero__media,
.rounded-visual {
  border: 1px solid rgba(39, 168, 91, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(231, 246, 237, 0.88)),
    var(--primary-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__media img,
.rounded-visual {
  min-height: 320px;
  object-fit: cover;
}

.video-visual {
  margin: 0;
  border: 1px solid rgba(39, 168, 91, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(231, 246, 237, 0.88)),
    var(--primary-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-visual video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0c1a12;
}

.video-visual figcaption {
  padding: 0.7rem 1.1rem 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.capabilities-section {
  background:
    radial-gradient(circle at top right, rgba(39, 168, 91, 0.1), transparent 38%),
    #fff;
}

.proof-pill--security {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
}

.value-card--certified {
  border-color: var(--primary);
  background:
    linear-gradient(150deg, rgba(39, 168, 91, 0.08), transparent 55%),
    #fff;
}

.trust-banner {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.5rem;
  padding: 1.4rem 1.6rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-dark), #132019);
  color: #fff;
  box-shadow: var(--shadow);
}

.trust-banner__main {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.trust-banner__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.trust-banner__content {
  flex: 1 1 auto;
}

.trust-banner__content h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: #fff;
}

.trust-banner__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.trust-banner__badges {
  display: flex;
  flex: 0 0 auto;
  gap: 0.6rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.trust-badge svg {
  flex: 0 0 auto;
}

.trust-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.trust-badge__text strong {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.trust-badge__text small {
  font-weight: 600;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.trust-banner__aws {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-banner__aws-logo {
  flex: 0 0 auto;
  height: 42px;
  width: auto;
}

.trust-banner__disclaimer {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 860px) {
  .trust-banner__main,
  .trust-banner__aws {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* Jednotné pozadí všech obsahových sekcí = pozadí sekce Capabilities.
   Výjimka: závěrečná CTA sekce `.cta` (Want to see DocReveal…) si drží vlastní. */
.section {
  padding: clamp(3.2rem, 7vw, 5.7rem) 0;
  background:
    radial-gradient(circle at top right, rgba(39, 168, 91, 0.1), transparent 38%),
    #fff;
}

.section.cta {
  background: linear-gradient(140deg, #eefaf2 0%, #f8fffb 100%);
}

.intro-section .split,
.pilot-section .split {
  gap: clamp(1.8rem, 4vw, 4rem);
}

.split--reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.mini-list span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfe8d7;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 800;
  padding: 0.48rem 0.82rem;
}

.value-cards .card,
.persona-list article {
  border-color: rgba(39, 168, 91, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(24, 61, 36, 0.07);
}

.value-card {
  position: relative;
  overflow: hidden;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.8rem;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 900;
}

.persona-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.persona-list article {
  padding: 1.1rem;
}

.persona-list h3,
.persona-list p {
  margin-bottom: 0.25rem;
}

.light-app-grid .app-card {
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(24, 61, 36, 0.08);
}

.light-app-grid .app-card__media img {
  min-height: 230px;
}

.timeline--light {
  grid-template-columns: 1fr;
  margin-top: 1.3rem;
}

.timeline--light .timeline__item {
  border-left: 4px solid var(--primary);
}

.switch-rail {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

.switch-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.switch-arrow:hover,
.switch-arrow:focus-visible {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.switch-cats {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem;
  scrollbar-width: none;
}

.switch-cats::-webkit-scrollbar {
  display: none;
}

.switch-cat {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

.switch-cat:hover,
.switch-cat:focus-visible {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.switch-cat.is-active {
  border-color: #b9ddc7;
  color: var(--primary-dark);
  background: linear-gradient(135deg, #f7fcf9 0%, #eff8f3 100%);
  box-shadow: 0 8px 18px rgba(39, 168, 91, 0.12);
}

.fabric-panel-wrap,
.workflow-panel-wrap {
  margin-top: 1.25rem;
}

.fabric-panel,
.workflow-panel {
  animation: fadePanel 0.25s ease;
}

.fabric-grid .card {
  border-color: rgba(39, 168, 91, 0.16);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(24, 61, 36, 0.07);
}

@keyframes fadePanel {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero__grid,
  .comparison,
  .security,
  .split,
  .usage-grid,
  .pricing-intro-grid {
    grid-template-columns: 1fr;
  }

  .cards--3,
  .cards--4,
  .app-grid,
  .story-card,
  .story-card--featured,
  .steps,
  .gallery,
  .timeline,
  .roi-grid,
  .pricing-grid,
  .cta__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .switch-arrow {
    display: none;
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .app-card--wide {
    grid-column: span 1;
  }

  .story-card__media img {
    min-height: 220px;
  }

  .cta__inner > img {
    display: none;
  }

  .contact-map {
    min-height: 240px;
  }

  .topbar__inner {
    flex-wrap: wrap;
    row-gap: 0.65rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    right: 1rem;
    left: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.65rem;
  }

  .language-switch {
    order: 3;
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.15rem;
  }

  .cards--3,
  .cards--4,
  .app-grid,
  .story-card,
  .story-card--featured,
  .steps,
  .gallery,
  .timeline,
  .hero__metrics,
  .kpi-grid,
  .roi-grid,
  .pricing-grid,
  .cta__inner {
    grid-template-columns: 1fr;
  }

  .workflow-panel .split,
  .fabric-panel .split {
    grid-template-columns: 1fr;
  }

  .plan-price {
    font-size: 1.35rem;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .format-chip {
    width: 100%;
    justify-content: space-between;
  }

  .usage-checklist {
    grid-template-columns: 1fr;
  }

  .payment-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .footer__inner {
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
  }
}
/* === Tutorials — instruktážní videa (kategorie + flip dlaždice) === */

.video-visual > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Sekce dědí jednotné světlé pozadí a typografii webu; tmavé zůstávají jen dlaždice. */
.tutorials-rail {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

.tutorials-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tutorials-arrow:hover,
.tutorials-arrow:focus-visible {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.tutorials-cats {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem;
  scrollbar-width: none;
}

.tutorials-cats::-webkit-scrollbar {
  display: none;
}

.tutorials-cat {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

.tutorials-cat:hover,
.tutorials-cat:focus-visible {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.tutorials-cat.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 10px 28px rgba(39, 168, 91, 0.3);
}

.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(var(--tut-cols, 2), minmax(0, 1fr));
  gap: clamp(0.85rem, 1.7vw, 1.2rem);
  margin-top: 1.9rem;
}

.tutorials-grid--narrow {
  max-width: 780px;
  margin-inline: auto;
}

.tutorials-grid.anim-right {
  animation: tutorials-slide-right 0.42s ease both;
}

.tutorials-grid.anim-left {
  animation: tutorials-slide-left 0.42s ease both;
}

@keyframes tutorials-slide-right {
  from {
    opacity: 0;
    transform: translateX(46px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tutorials-slide-left {
  from {
    opacity: 0;
    transform: translateX(-46px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tut-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  perspective: 1200px;
  cursor: pointer;
  z-index: 1;
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(24, 61, 36, 0.16);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.25, 1), z-index 0s 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.tut-tile:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 22px;
}

.tut-tile.is-flipped {
  transform: scale(1.16);
  z-index: 7;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.25, 1), z-index 0s;
}

.tut-tile__inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.3, 0.7, 0.25, 1);
  border-radius: 22px;
}

.tut-tile.is-flipped .tut-tile__inner {
  transform: rotateY(180deg);
}

.tut-tile__face {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(39, 168, 91, 0.28);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.tut-tile__front {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(0.8rem, 1.6vw, 1.15rem);
  background:
    radial-gradient(circle at 14% 8%, rgba(39, 168, 91, 0.22), transparent 46%),
    linear-gradient(155deg, #19241e 0%, #101b14 62%, #0d1712 100%);
}

.tut-tile__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.tut-tile__cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #a9c6b6;
}

.tut-tile__duration {
  font-size: 0.72rem;
  font-weight: 600;
  color: #cfe3d6;
  border: 1px solid rgba(246, 251, 247, 0.18);
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  white-space: nowrap;
}

.tut-tile__play {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 4.5vw, 52px);
  height: clamp(40px, 4.5vw, 52px);
  border-radius: 50%;
  background: rgba(39, 168, 91, 0.16);
  border: 1px solid rgba(39, 168, 91, 0.55);
  color: var(--primary);
  transition: background 0.25s ease, transform 0.25s ease;
}

.tut-tile:hover .tut-tile__play {
  background: var(--primary);
  color: #06130b;
  transform: scale(1.06);
}

.tut-tile__title {
  margin: 0;
  font-size: clamp(0.92rem, 1.35vw, 1.06rem);
  font-weight: 700;
  line-height: 1.32;
  color: #f6fbf7;
}

.tut-tile__back {
  background: #132019;
  transform: rotateY(180deg);
}

.tut-tile__back video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #132019;
}

.tut-tile__sound,
.tut-tile__fs {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(246, 251, 247, 0.3);
  background: rgba(10, 15, 12, 0.62);
  color: #f6fbf7;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tut-tile__sound:hover,
.tut-tile__fs:hover {
  border-color: var(--primary);
  background: rgba(39, 168, 91, 0.3);
}

.tut-tile__fs {
  right: calc(0.6rem + 34px + 0.45rem);
}

.tut-tile--placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  border: 1px dashed rgba(39, 168, 91, 0.45);
  background:
    radial-gradient(circle at 50% 30%, rgba(39, 168, 91, 0.16), transparent 58%),
    linear-gradient(155deg, rgba(25, 36, 30, 0.94), rgba(13, 23, 18, 0.9));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem;
  text-align: center;
}

.tut-tile--placeholder img {
  width: 30%;
  max-width: 84px;
  opacity: 0.45;
}

.tut-tile--placeholder span {
  font-size: 0.78rem;
  color: #8ba699;
}

@media (max-width: 860px) {
  .tutorials-grid,
  .tutorials-grid--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutorials-grid--narrow {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tut-tile,
  .tut-tile__inner,
  .tutorials-cat {
    transition: none;
  }

  .tutorials-grid.anim-right,
  .tutorials-grid.anim-left {
    animation: none;
  }
}

.tut-tile__sound .tut-ico-on {
  display: none;
}

.tut-tile__sound.is-on .tut-ico-on {
  display: block;
}

.tut-tile__sound.is-on .tut-ico-muted {
  display: none;
}

/* === Pricing: B2C/B2B audience toggle + B2B cards (2026-08-21) === */
.pricing-audience-lead {
  margin: 0.9rem auto 0.9rem;
  max-width: 62ch;
  text-align: center;
  color: var(--muted);
}

.pricing-audience {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.pricing-audience__btn {
  flex: 0 1 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  padding: 0.8rem 1.3rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-audience__btn:hover,
.pricing-audience__btn:focus-visible {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.pricing-audience__btn.is-active {
  border-color: #b9ddc7;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%);
  box-shadow: 0 8px 18px rgba(39, 168, 91, 0.14);
  color: var(--primary-dark);
}

.pricing-audience__title {
  font-weight: 800;
  font-size: 1.02rem;
  color: inherit;
}

.pricing-audience__sub {
  font-size: 0.85rem;
  font-weight: 500;
}

.pricing-audience-panel {
  margin-top: 1.5rem;
}

.pricing-audience-panel[hidden] {
  display: none;
}

.plan-price--tbd,
.plan-price--request {
  font-size: 1.28rem;
  color: var(--primary-dark) !important;
}

.pricing-card--b2b {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* --hidden musí vyhrát nad display:flex výše (stejná specificita, pozdější pravidlo) */
.pricing-card--b2b.pricing-card--hidden {
  display: none;
}

.pricing-card--b2b .plan-list {
  width: 100%;
}

.b2b-visual {
  margin: 0.75rem 0 0.15rem;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid #cfe8d7;
}

.b2b-visual svg {
  width: 24px;
  height: 24px;
}

.b2b-cta {
  margin-top: 1.1rem;
}

@media (max-width: 640px) {
  .pricing-audience__btn {
    flex-basis: 100%;
  }
}

/* === Blog (2026-08-23): dlaždice, vyhledávání, celostránková čtečka === */

.blog-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-top: 1.4rem;
}

.blog-search {
  position: relative;
  flex: 1 1 260px;
  max-width: 420px;
  color: var(--muted);
}

.blog-search svg {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.blog-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.62rem 1.1rem 0.62rem 2.55rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-search input::placeholder {
  color: var(--muted);
}

.blog-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(39, 168, 91, 0.12);
}

.blog-tags {
  flex: 1 1 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.15rem;
  margin-top: 1.4rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(39, 168, 91, 0.4);
  box-shadow: 0 18px 40px rgba(24, 61, 36, 0.13);
}

.blog-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.blog-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--primary-soft);
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__badge {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  background: rgba(19, 32, 25, 0.78);
  color: #fff;
  border-radius: 999px;
  padding: 0.26rem 0.66rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.15rem;
  gap: 0.55rem;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.blog-card__meta .dot {
  opacity: 0.55;
}

.blog-card__title {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--text);
}

.blog-card__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.blog-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.92rem;
}

.blog-card__more svg {
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-card__more svg {
  transform: translateX(3px);
}

.blog-empty {
  margin: 2rem auto 0;
  text-align: center;
  color: var(--muted);
  max-width: 46ch;
}

/* --- Čtečka článku (celostránkový overlay) --- */

html.blog-reader-open,
html.blog-reader-open body {
  overflow: hidden;
}

.blog-reader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top right, rgba(39, 168, 91, 0.08), transparent 40%),
    var(--bg);
  animation: blogReaderIn 0.24s ease;
}

.blog-reader[hidden] {
  display: none;
}

@keyframes blogReaderIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-reader__bar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.blog-reader__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.blog-reader__logo {
  width: 150px;
}

.blog-reader__close {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.blog-reader__close:hover,
.blog-reader__close:focus-visible {
  border-color: var(--primary);
  color: var(--primary-dark);
  box-shadow: 0 8px 18px rgba(39, 168, 91, 0.14);
}

.blog-reader__esc {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.08rem 0.4rem;
}

.blog-reader__scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.blog-article {
  width: min(780px, calc(100% - 2.4rem));
  margin: 2.2rem auto 4.5rem;
}

.blog-article__media {
  margin: 0 0 1.6rem;
}

.blog-article__media img,
.blog-article__media video {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #132019;
}

.blog-article h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 0.6rem;
}

.blog-article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
}

.blog-article__meta .dot {
  opacity: 0.55;
}

.blog-article__body {
  font-size: 1.03rem;
  line-height: 1.75;
}

.blog-article__body p {
  margin: 0 0 1.05rem;
}

.blog-article__body h2 {
  font-size: 1.45rem;
  margin: 2.1rem 0 0.7rem;
}

.blog-article__body h3 {
  font-size: 1.15rem;
  margin: 1.6rem 0 0.5rem;
}

.blog-article__body ul,
.blog-article__body ol {
  margin: 0 0 1.05rem;
  padding-left: 1.3rem;
}

.blog-article__body li {
  margin-bottom: 0.45rem;
}

.blog-article__body a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-article__body blockquote {
  margin: 1.5rem 0;
  padding: 1.05rem 1.25rem;
  background: #f4fcf7;
  border: 1px solid #cfe6d7;
  border-radius: 14px;
  color: #1b5f36;
}

.blog-article__body blockquote p {
  margin: 0;
}

.blog-article__body figure {
  margin: 1.5rem 0;
}

.blog-article__body figure img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.blog-article__body figcaption {
  margin-top: 0.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.blog-article__footer {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.blog-article__share {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.blog-article__share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.blog-article__share a:hover,
.blog-article__share a:focus-visible {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.blog-article__cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 12px 28px rgba(24, 61, 36, 0.07);
}

.blog-article__cta h2 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.blog-article__cta p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.blog-article__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@media (max-width: 860px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .blog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-search {
    flex: 0 0 auto;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .blog-reader__logo {
    width: 124px;
  }

  .blog-reader__esc {
    display: none;
  }

  .blog-article {
    margin-top: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-reader {
    animation: none;
  }

  .blog-card,
  .blog-card__media img,
  .blog-card__more svg {
    transition: none;
  }
}
