/* NFC Batch Writer: atelier / outil pro */
:root {
  --ink: #0c1210;
  --ink-soft: #1a2420;
  --paper: #e8efe8;
  --mist: #c5d4c8;
  --accent: #1f8a5a;
  --accent-deep: #0f5c3a;
  --accent-glow: rgba(31, 138, 90, 0.35);
  --warn: #c45c26;
  --white: #f7faf7;
  --muted: #5a6b60;
  --radius: 14px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: #0a4630;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* -- Nav -- */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: max(0.75rem, env(safe-area-inset-top, 0px)) 0 0.75rem;
  background: linear-gradient(180deg, rgba(12, 18, 16, 0.92), transparent);
  transition: background 0.3s ease;
}

.site-nav.is-scrolled {
  background: rgba(12, 18, 16, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand span {
  color: #2aa86a;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  list-style: none;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.nav-links a {
  color: rgba(247, 250, 247, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-inline-start: auto;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  min-height: 44px;
  border-radius: 999px;
  background: #18724c;
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #0f5c3a;
  transform: translateY(-1px);
}

/* -- Hero -- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--accent-glow), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(196, 92, 38, 0.18), transparent 50%),
    linear-gradient(160deg, #06100c 0%, #0c1a14 45%, #122018 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 250, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 250, 247, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
  animation: gridDrift 28s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}

.hero-visual {
  position: absolute;
  inset: 8% 0 auto;
  height: 52%;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.nfc-ring {
  width: min(320px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(31, 138, 90, 0.45);
  box-shadow:
    0 0 0 24px rgba(31, 138, 90, 0.08),
    0 0 0 48px rgba(31, 138, 90, 0.04),
    inset 0 0 60px rgba(31, 138, 90, 0.12);
  animation: pulseRing 3.2s ease-in-out infinite;
  display: grid;
  place-items: center;
}

.nfc-ring::after {
  content: "";
  width: 42%;
  height: 42%;
  border-radius: 18%;
  background: linear-gradient(145deg, #1a3d2e, #0f241c);
  border: 1px solid rgba(247, 250, 247, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.nfc-waves {
  position: absolute;
  width: 28%;
  height: 28%;
  top: 36%;
  left: 50%;
  transform: translateX(-50%);
}

.nfc-waves span {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: waveOut 2.4s ease-out infinite;
}

.nfc-waves span:nth-child(2) { animation-delay: 0.4s; }
.nfc-waves span:nth-child(3) { animation-delay: 0.8s; }

@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.92; }
}

@keyframes waveOut {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 4.5rem;
  animation: riseIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.1rem;
}

.hero-brand em {
  font-style: normal;
  color: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 0.75rem;
  color: rgba(247, 250, 247, 0.95);
}

.hero p.lead {
  max-width: 38ch;
  color: rgba(247, 250, 247, 0.68);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.trust-strip {
  margin-top: 1rem;
  max-width: 42ch;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(247, 250, 247, 0.58);
  letter-spacing: 0.01em;
}

.soft-cta {
  padding: 2.5rem 0;
  background: linear-gradient(180deg, #122018 0%, #0c1a14 100%);
  color: var(--white);
}

.soft-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.soft-cta__text {
  flex: 1 1 18rem;
  max-width: 42ch;
  font-size: 1.05rem;
  color: rgba(247, 250, 247, 0.82);
  margin: 0;
}

.soft-cta .btn-primary {
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #18724c;
  color: var(--white) !important;
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-primary:hover {
  background: #0f5c3a;
}

.btn-ghost {
  background: rgba(247, 250, 247, 0.08);
  color: var(--white) !important;
  border: 1px solid rgba(247, 250, 247, 0.55);
}

.btn-ghost:hover {
  background: rgba(247, 250, 247, 0.14);
}

.price-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(247, 250, 247, 0.55);
  margin-left: 0.25rem;
}

/* -- Sections -- */
section {
  padding: 5rem 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.65rem;
}

section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.65rem;
  max-width: 18ch;
}

.section-intro {
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.features {
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(12, 18, 16, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(12, 18, 16, 0.08);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: rgba(31, 138, 90, 0.12);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.feature p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* -- How -- */
.how {
  background:
    linear-gradient(180deg, var(--paper), #dfe8e1);
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(12, 18, 16, 0.06);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-deep);
  padding-top: 0.15rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* -- Pricing -- */
.pricing {
  background: var(--ink);
  color: var(--white);
}

.pricing .section-label {
  color: #34b074;
}

.pricing .section-intro {
  color: rgba(247, 250, 247, 0.6);
}

.price-card {
  max-width: 420px;
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(160deg, #15241c, #0e1814);
  border: 1px solid rgba(31, 138, 90, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.price-card .amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.2rem;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0.75rem 0 0.35rem;
}

.price-card .amount small {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(247, 250, 247, 0.55);
}

.price-card .note {
  color: rgba(247, 250, 247, 0.55);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.price-card ul {
  list-style: none;
  margin-bottom: 1.75rem;
}

.price-card li {
  padding: 0.4rem 0;
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
  color: rgba(247, 250, 247, 0.82);
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34b074;
  font-weight: 700;
}

/* -- FAQ -- */
.faq details {
  border-bottom: 1px solid rgba(12, 18, 16, 0.1);
  padding: 1.1rem 0;
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 44px;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent-deep);
  font-size: 1.2rem;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin-top: 0.65rem;
  color: var(--muted);
  max-width: 55ch;
  font-size: 0.95rem;
}

/* -- Footer -- */
.site-footer {
  background: var(--ink-soft);
  color: rgba(247, 250, 247, 0.65);
  padding: 2.5rem 0;
  font-size: 0.88rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: rgba(247, 250, 247, 0.75);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}
.footer-links a,
.site-footer .footer-cookie {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* -- Legal pages -- */
.legal-page {
  padding: 7rem 0 4rem;
  min-height: 100svh;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  max-width: none;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  max-width: 65ch;
  margin-bottom: 0.75rem;
}

.legal-page ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-nav {
  background: var(--ink) !important;
}

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

/* -- Language switcher -- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.lang-switch label {
  color: #e7f3ea;
  font-size: 0.75rem;
  font-weight: 650;
  white-space: nowrap;
}

.lang-switch select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(247, 250, 247, 0.1);
  color: rgba(247, 250, 247, 0.9);
  border: 1px solid rgba(247, 250, 247, 0.22);
  border-radius: 999px;
  padding: 0.45rem 1.85rem 0.45rem 0.75rem;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f7faf7' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  max-width: 9.5rem;
  line-height: 1.2;
}

.lang-switch select:hover,
.lang-switch select:focus-visible {
  background-color: rgba(247, 250, 247, 0.16);
  border-color: #7dceaa;
}

.lang-switch select option {
  color: var(--ink);
  background: var(--white);
}

/* -- RTL -- */
html[dir="rtl"] .lang-switch select {
  padding: 0.45rem 0.75rem 0.45rem 1.85rem;
  background-position: left 0.55rem center;
}

html[dir="rtl"] .nav-links,
html[dir="rtl"] .nav-actions,
html[dir="rtl"] .cta-row,
html[dir="rtl"] .footer-links,
html[dir="rtl"] .site-footer .wrap,
html[dir="rtl"] .site-nav .wrap {
  direction: rtl;
}

html[dir="rtl"] .nav-actions {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

html[dir="rtl"] .price-card li {
  padding-left: 0;
  padding-right: 1.4rem;
}

html[dir="rtl"] .price-card li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .faq summary {
  text-align: right;
}

/* ============================================================
   Responsive: desktop (≥961) · tablet (701–960) · mobile (≤700)
   ============================================================ */

/* Desktop: keep polished look; prevent lang+CTA collision */
@media (min-width: 961px) {
  .site-nav .wrap {
    gap: 1rem;
  }

  .nav-links {
    gap: 1.35rem;
  }

  .nav-actions {
    gap: 0.65rem;
  }
}

/* Tablet: show nav links when space allows; 2-col features; balanced hero */
@media (min-width: 701px) and (max-width: 960px) {
  .wrap {
    width: min(100% - 2rem, var(--max));
  }

  .nav-links {
    gap: 0.85rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .nav-cta {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }

  .lang-switch select {
    max-width: 8rem;
    font-size: 0.75rem;
  }

  .hero {
    min-height: min(100svh, 880px);
  }

  .hero-visual {
    height: 46%;
    inset: 10% 0 auto;
  }

  .nfc-ring {
    width: min(260px, 55vw);
  }

  .hero-content {
    padding: 5.5rem 0 3.5rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: 4rem 0;
  }
}

/* Mobile (phones and small tablets ≤700): hide text nav; stack CTAs */
@media (max-width: 700px) {
  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .site-nav .wrap {
    gap: 0.5rem;
  }

  .brand {
    font-size: 0.95rem;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .nav-cta {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    min-height: 44px;
  }

  .lang-switch select {
    max-width: 7rem;
    font-size: 0.72rem;
    padding: 0.4rem 1.6rem 0.4rem 0.6rem;
    min-height: 44px;
  }

  html[dir="rtl"] .lang-switch select {
    padding: 0.4rem 0.6rem 0.4rem 1.6rem;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .hero-visual {
    position: relative;
    inset: auto;
    height: auto;
    padding: 5.5rem 0 0.5rem;
    opacity: 0.85;
  }

  .nfc-ring {
    width: min(160px, 42vw);
    box-shadow:
      0 0 0 14px rgba(31, 138, 90, 0.08),
      0 0 0 28px rgba(31, 138, 90, 0.04),
      inset 0 0 40px rgba(31, 138, 90, 0.12);
  }

  .hero-content {
    padding: 0.5rem 0 2.75rem;
  }

  .hero-brand {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
    margin-bottom: 0.85rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.05rem, 4.2vw, 1.25rem);
  }

  .hero p.lead {
    max-width: none;
    font-size: 0.98rem;
    margin-bottom: 1.35rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .cta-row .btn {
    width: 100%;
    min-height: 48px;
  }

  .price-pill {
    margin-left: 0;
    margin-top: 0.15rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(247, 250, 247, 0.7);
  }

  section {
    padding: 3rem 0;
  }

  .section-intro {
    margin-bottom: 1.75rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .feature {
    padding: 1.2rem;
  }

  .step {
    padding: 1.1rem 1.15rem;
    gap: 0.9rem;
  }

  .price-card {
    max-width: none;
    width: 100%;
    padding: 1.5rem;
  }

  .price-card .amount {
    font-size: 2.6rem;
  }

  .faq summary {
    font-size: 0.98rem;
    align-items: flex-start;
    gap: 0.75rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .faq summary::after {
    flex-shrink: 0;
  }

  .site-footer {
    padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  }

  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-links {
    gap: 0.85rem 1.1rem;
  }

  .legal-page {
    padding: 6rem 0 3rem;
  }
}

/* Narrow phones ≤480 */
@media (max-width: 480px) {
  .wrap {
    width: min(100% - 1.25rem, var(--max));
  }

  .brand {
    font-size: 0.88rem;
    letter-spacing: -0.03em;
  }

  .nav-cta {
    padding: 0.45rem 0.65rem;
    font-size: 0.72rem;
  }

  .lang-switch select {
    max-width: 5.75rem;
    font-size: 0.7rem;
    padding-inline-start: 0.5rem;
  }

  .hero-visual {
    padding-top: 5rem;
  }

  .nfc-ring {
    width: min(130px, 38vw);
  }

  .hero-brand {
    font-size: clamp(1.65rem, 8.5vw, 2.1rem);
  }

  section {
    padding: 2.5rem 0;
  }

  .price-card {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .price-card .amount {
    font-size: 2.25rem;
  }

  .btn {
    padding: 0.8rem 1.1rem;
    font-size: 0.9rem;
  }
}


/* -- Sticky mobile App Store CTA -- */
.sticky-cta {
  display: none;
}

@media (max-width: 700px) {
  .sticky-cta:not([hidden]) {
    display: flex;
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(12, 18, 16, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(31, 138, 90, 0.35);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
  }

  body.has-sticky-cta {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }

  body.has-sticky-cta .site-footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  }

  .sticky-cta__btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: #18724c;
    color: var(--white) !important;
    font-weight: 650;
    font-size: 0.95rem;
    text-decoration: none !important;
    box-shadow: 0 6px 20px var(--accent-glow);
  }

  .sticky-cta__btn:hover {
    background: #0f5c3a;
    color: var(--white) !important;
  }

  .sticky-cta__close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(247, 250, 247, 0.22);
    border-radius: 50%;
    background: rgba(247, 250, 247, 0.08);
    color: rgba(247, 250, 247, 0.85);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
  }

  .sticky-cta__close:hover {
    background: rgba(247, 250, 247, 0.16);
  }

  html[dir="rtl"] .sticky-cta {
    direction: rtl;
  }
}

/* ============================================================
   Blog
   ============================================================ */
.blog-hero {
  padding: 6.5rem 0 2.5rem;
  background: #0c1210;
  color: var(--white);
}
.blog-hero .section-label {
  color: #34b074;
}
.blog-hero h1 {
  font-family: Syne, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.75rem;
  line-height: 1.15;
}
.blog-hero .lead {
  max-width: 42rem;
  color: rgba(247, 250, 247, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
}
.blog-list {
  padding: 2.5rem 0 4.5rem;
  background: var(--white);
  color: var(--ink);
}
.blog-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 701px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(12, 18, 16, 0.12);
  border-radius: 14px;
  background: #f7faf7;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.blog-card:hover {
  border-color: rgba(46, 160, 120, 0.45);
  box-shadow: 0 8px 28px rgba(12, 18, 16, 0.08);
  transform: translateY(-1px);
}
.blog-card .meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(12, 18, 16, 0.72);
  letter-spacing: 0.02em;
}
.blog-card h2 {
  font-family: Syne, system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: var(--ink);
}
.blog-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(12, 18, 16, 0.72);
  flex: 1;
}
.blog-card .more {
  font-size: 0.88rem;
  font-weight: 650;
  color: #1a7a58;
  margin-top: 0.25rem;
}

.blog-post {
  padding: 5.75rem 0 3.5rem;
  background: var(--white);
  color: var(--ink);
}
.blog-post .post-wrap {
  max-width: 44rem;
  margin: 0 auto;
}
.blog-post .crumbs {
  font-size: 0.85rem;
  color: rgba(12, 18, 16, 0.72);
  margin-bottom: 1.25rem;
}
.blog-post .crumbs a {
  color: #0f5c3a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-post .crumbs a:hover {
  color: #0a4630;
}
.blog-post .post-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: rgba(12, 18, 16, 0.72);
  margin: 0 0 1rem;
}
.blog-post h1 {
  font-family: Syne, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 1rem;
}
.blog-post .dek {
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(12, 18, 16, 0.78);
  margin: 0 0 1.75rem;
}
.blog-post h2 {
  font-family: Syne, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  margin: 2.1rem 0 0.7rem;
  line-height: 1.25;
}
.blog-post h3 {
  font-family: Syne, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 1.4rem 0 0.45rem;
}
.blog-post p,
.blog-post li {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(12, 18, 16, 0.88);
}
.blog-post p {
  margin: 0 0 1rem;
}
.blog-post ul,
.blog-post ol {
  margin: 0 0 1.15rem;
  padding-inline-start: 1.25rem;
}
.blog-post li {
  margin-bottom: 0.4rem;
}
.blog-post a {
  color: #1a7a58;
}
.blog-post .cta-box {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  background: #0c1210;
  color: #f7faf7;
}
.blog-post .cta-box p {
  color: rgba(247, 250, 247, 0.82);
  margin: 0 0 0.85rem;
}
.blog-post .cta-box .btn {
  margin-top: 0.15rem;
}
.blog-post .related {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(12, 18, 16, 0.12);
}
.blog-post .related h2 {
  margin-top: 0;
}
.blog-post .related ul {
  list-style: none;
  padding: 0;
}
.blog-post .faq-block details {
  border: 1px solid rgba(12, 18, 16, 0.12);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
  background: #f7faf7;
}
.blog-post .faq-block summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.blog-post .faq-block details p {
  margin: 0.65rem 0 0;
  font-size: 0.98rem;
}
.sitemap-page ul {
  columns: 1;
}
@media (min-width: 701px) {
  .sitemap-page ul {
    columns: 2;
    column-gap: 2rem;
  }
}
.sitemap-page li {
  break-inside: avoid;
  margin-bottom: 0.45rem;
}
.aso-note {
  margin-top: 2rem;
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  background: #f0f5f2;
  border: 1px solid rgba(12, 18, 16, 0.1);
}
.aso-note h2 {
  margin-top: 0;
}
.aso-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(12, 18, 16, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}


/* -- Perf / a11y: reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  html:not(.a11y-motion-allow) {
    scroll-behavior: auto;
  }

  html:not(.a11y-motion-allow),
  html:not(.a11y-motion-allow) *,
  html:not(.a11y-motion-allow) *::before,
  html:not(.a11y-motion-allow) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html:not(.a11y-motion-allow) .hero::before,
  html:not(.a11y-motion-allow) .nfc-ring,
  html:not(.a11y-motion-allow) .nfc-waves span,
  html:not(.a11y-motion-allow) .hero-content {
    animation: none !important;
  }

  html:not(.a11y-motion-allow) .btn:hover,
  html:not(.a11y-motion-allow) .nav-cta:hover,
  html:not(.a11y-motion-allow) .feature:hover,
  html:not(.a11y-motion-allow) .blog-card:hover {
    transform: none;
  }
}

/* Lighter blur cost on narrow viewports */
@media (max-width: 700px) {
  .site-nav.is-scrolled {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .sticky-cta:not([hidden]) {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .hero p.lead {
    margin-bottom: 0.85rem;
  }

  .hero .section-intro {
    margin-bottom: 1rem;
  }

  .trust-strip {
    margin-top: 0.75rem;
    font-size: 0.78rem;
    max-width: none;
  }

  .cta-row .btn-primary {
    box-shadow: 0 10px 32px var(--accent-glow);
    font-size: 1rem;
  }

  .soft-cta__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .soft-cta__text {
    max-width: none;
  }

  .soft-cta .btn-primary {
    width: 100%;
    min-height: 48px;
  }
}

/* Ultra-narrow: prevent lang + nav CTA collision */
@media (max-width: 390px) {
  .brand {
    font-size: 0.82rem;
  }

  .nav-actions {
    gap: 0.3rem;
    max-width: 62%;
  }

  .lang-switch select {
    max-width: 4.8rem;
    font-size: 0.65rem;
    padding: 0.35rem 1.35rem 0.35rem 0.4rem;
  }

  .nav-cta {
    padding: 0.4rem 0.55rem;
    font-size: 0.68rem;
    min-height: 44px;
  }

  .site-nav .wrap {
    flex-wrap: wrap;
  }

  .nav-actions {
    max-width: none;
  }
}

/* Cookie consent. Visuals are also injected by consent.js so a cached stylesheet cannot hide the choice. */
.footer-cookie {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer .footer-cookie {
  color: rgba(247, 250, 247, 0.75);
}
.site-footer .footer-cookie:hover {
  color: var(--white);
}

/* Skip link, focus, screen-reader only text */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  transform: translateY(-200%);
  background: #f7faf7;
  color: #0c1210;
  font-weight: 700;
  text-decoration: none;
  padding: 0.7rem 1rem;
  min-height: 44px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid #18724c;
  outline-offset: 3px;
}
#main {
  scroll-margin-top: 5.5rem;
}
:focus-visible {
  outline: 3px solid #f7faf7;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #18724c;
}
.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;
}
