/* RankedFeeds v20 — public website.
   Facebook-blue product language shared with the workspace and sign-in pages.
   Written with logical properties (inline/block) so Arabic RTL works without
   a second stylesheet. */
:root {
  --ink: #1c1e21;
  --ink-strong: #0b0f19;
  --muted: #5d6168;
  --soft-ink: #8a8d91;
  --line: #e4e6eb;
  --line-strong: #ced0d4;
  --canvas: #f0f2f5;
  --paper: #ffffff;
  --blue: #0866ff;
  --blue-600: #0759e0;
  --blue-700: #0047c2;
  --blue-900: #00296f;
  --tint: #e7f0ff;
  --green: #31a24c;
  --green-tint: #e7f6ea;
  --red: #f33e58;
  --amber: #f7b928;
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 24px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-2: 0 12px 32px rgba(16, 24, 40, 0.1);
  --shadow-3: 0 30px 80px rgba(0, 32, 100, 0.22);
  --max: 1200px;
  --font: "Segoe UI Historic", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, "Noto Sans Arabic", Tahoma, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--ink-strong);
  letter-spacing: -0.03em;
  line-height: 1.08;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: rgba(8, 102, 255, 0.18);
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .btn,
[dir="rtl"] * {
  letter-spacing: 0 !important;
}
[dir="rtl"] body {
  line-height: 1.75;
}
[dir="rtl"] .flip-rtl {
  transform: scaleX(-1);
}
.wrap {
  width: min(var(--max), 100% - 40px);
  margin-inline: auto;
}
.narrow {
  width: min(820px, 100% - 40px);
}
.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-2);
}
.skip-link:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.1s ease,
    box-shadow 0.15s ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(8, 102, 255, 0.28);
}
.btn-primary:hover {
  background: var(--blue-600);
}
.btn-secondary {
  background: var(--paper);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-secondary:hover {
  background: var(--canvas);
}
.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding-inline: 8px;
}
.btn-ghost:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-white {
  background: #fff;
  color: var(--blue-700);
}
.btn-white:hover {
  background: #eef4ff;
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
  box-shadow: none;
}
.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
}
.btn-block {
  width: 100%;
}

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-block-end: 1px solid rgba(0, 0, 0, 0.06);
}
.site-header-inner {
  width: min(1280px, 100% - 32px);
  margin-inline: auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
  flex: none;
}
.site-brand img {
  display: block;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}
.site-nav > a:not(.btn) {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}
.site-nav > a:not(.btn):hover,
.site-nav > a[aria-current="page"] {
  color: var(--ink-strong);
  background: var(--canvas);
}
.nav-spacer {
  flex: 1;
}
.site-nav .btn {
  margin-inline-start: 6px;
}
.menu-toggle {
  display: none;
  margin-inline-start: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--canvas);
  padding: 12px 11px;
  flex-direction: column;
  justify-content: space-between;
}
.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.lang-menu {
  position: relative;
}
.lang-menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
}
.lang-menu summary::-webkit-details-marker {
  display: none;
}
.lang-menu summary:hover,
.lang-menu[open] summary {
  background: var(--canvas);
  color: var(--ink-strong);
}
.lang-menu summary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.lang-list {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  padding: 6px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-2), 0 0 0 1px var(--line);
  display: grid;
  animation: pop 0.16s var(--ease);
}
.lang-list a {
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 600;
}
.lang-list a:hover {
  background: var(--canvas);
}
.lang-list a[aria-current="true"] {
  color: var(--blue);
  background: var(--tint);
}
.nav-login {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-strong);
}
.nav-login:hover {
  background: var(--canvas);
}
.lang-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 16px;
  background: var(--ink-strong);
  color: #fff;
  font-size: 14px;
}
.lang-hint a {
  font-weight: 700;
  color: #9fc5ff;
}
.lang-hint .lang-hint-close {
  color: #fff;
  opacity: 0.7;
  padding: 2px 8px;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}

/* Shared section scaffolding ------------------------------------------------- */
.section {
  padding-block: 96px;
}
.section-alt {
  background: var(--canvas);
}
.section-head {
  max-width: 760px;
  margin-block-end: 48px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
}
.section-head p {
  margin-block-start: 16px;
  font-size: 19px;
  color: var(--muted);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 18px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 700;
}
.kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(49, 162, 76, 0.18);
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-inline-start: 32px;
}
.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tint) no-repeat center / 14px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230866ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
}
.check-list.on-dark li::before {
  background-color: rgba(255, 255, 255, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
}
.cross-list li::before {
  background-color: #fdecee;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d1283b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E");
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-block-start: 22px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-row svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero ---------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 64px 88px;
  background:
    radial-gradient(60% 55% at 85% 10%, rgba(8, 102, 255, 0.12) 0%, rgba(8, 102, 255, 0) 70%),
    radial-gradient(45% 50% at 0% 90%, rgba(49, 162, 76, 0.07) 0%, rgba(49, 162, 76, 0) 70%),
    var(--paper);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(8, 102, 255, 0.13) 1px, transparent 1.3px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 70% 30%, #000 0%, transparent 75%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 4.7vw, 62px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.hero-lead {
  margin-block-start: 22px;
  max-width: 600px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 32px;
}

/* Live ranked-feed demo */
.demo {
  position: relative;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.demo-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding-inline: 14px;
  background: #f6f7f9;
  border-block-end: 1px solid var(--line);
}
.demo-chrome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d8dadf;
}
.demo-chrome span:nth-child(1) {
  background: #ff5f57;
}
.demo-chrome span:nth-child(2) {
  background: #febc2e;
}
.demo-chrome span:nth-child(3) {
  background: #28c840;
}
.demo-chrome b {
  margin-inline-start: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--soft-ink);
  direction: ltr;
}
.demo-body {
  padding: 16px;
  background: var(--canvas);
}
.demo-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding-inline: 16px 5px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
  font-size: 16px;
  font-weight: 600;
}
.demo-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  flex: none;
}
.demo-query {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}
.demo-caret {
  width: 2px;
  height: 20px;
  margin-inline-start: -8px;
  background: var(--blue);
  animation: caret 1s steps(1) infinite;
}
.demo-search button {
  margin-inline-start: auto;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.demo-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  flex-wrap: wrap;
}
.demo-chips span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #e4e6eb;
}
.demo-chips .demo-status {
  margin-inline-start: auto;
  background: var(--green-tint);
  color: #1e7b35;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.demo-status.is-busy {
  background: var(--tint);
  color: var(--blue-700);
}
.demo-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.demo-status.is-busy i {
  animation: pulse 1s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(8, 102, 255, 0.5);
  }
  100% {
    box-shadow: 0 0 0 8px rgba(8, 102, 255, 0);
  }
}
.demo-progress {
  height: 3px;
  border-radius: 3px;
  background: #dfe1e5;
  overflow: hidden;
  margin-block-end: 10px;
}
.demo-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--blue);
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 1.2s var(--ease);
}
[dir="rtl"] .demo-progress span {
  transform-origin: right center;
}
.demo-feed {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.demo-post {
  position: relative;
  display: grid;
  grid-template-columns: auto 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
  will-change: transform;
}
.demo-post.is-top {
  box-shadow:
    0 0 0 2px var(--blue),
    0 10px 24px rgba(8, 102, 255, 0.16);
}
.demo-rank {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--canvas);
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
}
.demo-post.is-top .demo-rank {
  background: var(--blue);
  color: #fff;
}
.demo-post img {
  width: 96px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  background: var(--canvas);
}
.demo-post strong {
  display: block;
  font-size: 14px;
  color: var(--ink-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-post small {
  display: block;
  font-size: 12px;
  color: var(--soft-ink);
}
.demo-post p {
  margin-block: 3px 4px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.demo-metrics {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}
.demo-bubbles {
  display: inline-flex;
}
.demo-bubbles i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-sizing: content-box;
  background: linear-gradient(180deg, #18afff, #0062df);
}
.demo-bubbles i + i {
  margin-inline-start: -5px;
  background: linear-gradient(180deg, #ff6680, #e61739);
}
.demo-metrics b {
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}
.demo-score {
  position: absolute;
  inset-inline-end: 10px;
  top: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--canvas);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}
.demo-post.is-top .demo-score {
  background: var(--tint);
  color: var(--blue-700);
}
.demo-foot {
  margin-block-start: 10px;
  padding-inline-end: 4px;
  font-size: 12px;
  color: var(--soft-ink);
  text-align: end;
}
.demo-float {
  position: absolute;
  inset-inline-start: -30px;
  bottom: -26px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow-2), 0 0 0 1px var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  animation: float 6s ease-in-out infinite;
}
.demo-float b {
  display: block;
  font-size: 18px;
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}
.demo-float span.icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--green-tint);
  color: var(--green);
}
.demo-float svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.demo-wrap {
  position: relative;
}
@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

/* Facts strip */
.facts {
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.facts ul {
  list-style: none;
  margin-block: 0;
  padding: 26px 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.facts b {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}
.facts span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

/* Problem / solution */
.versus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.versus-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-l);
  background: var(--paper);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.versus-card.is-good {
  background: linear-gradient(160deg, #0866ff 0%, #0050d6 60%, #003fae 100%);
  color: #fff;
  box-shadow: var(--shadow-3);
}
.versus-card.is-good h3,
.versus-card.is-good .versus-label {
  color: #fff;
}
.versus-label {
  display: inline-block;
  margin-block-end: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.versus-card h3 {
  font-size: 26px;
  margin-block-end: 18px;
}
.versus-card .check-list {
  font-size: 16px;
}
.mini-feed {
  margin-block-start: 24px;
  display: grid;
  gap: 8px;
}
.mini-feed span {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding-inline: 10px;
  border-radius: 10px;
  background: var(--canvas);
  font-size: 13px;
  color: var(--soft-ink);
}
.mini-feed span::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #dfe1e5;
  flex: none;
}
.mini-feed.is-blur span {
  filter: blur(0.6px);
  opacity: 0.8;
}
.mini-feed.is-ranked span {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
}
.mini-feed.is-ranked span::before {
  content: attr(data-rank);
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
  border-radius: 50%;
}
.mini-feed.is-ranked span b {
  margin-inline-start: auto;
  font-variant-numeric: tabular-nums;
}

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
  padding-block: 40px;
}
.feature-row.reverse > :first-child {
  order: 2;
}
.feature-copy h3 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
}
.feature-copy p {
  margin-block: 16px 22px;
  font-size: 18px;
  color: var(--muted);
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}
.feature-tag svg,
.feature-card .icon svg,
.step-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shot {
  position: relative;
  margin: 0;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.shot img {
  display: block;
  width: 100%;
}
.shot figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--soft-ink);
  background: var(--paper);
  border-block-start: 1px solid var(--line);
}
.shot-tilt {
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  transform-origin: left center;
  transition: transform 0.5s var(--ease);
}
[dir="rtl"] .shot-tilt {
  transform: perspective(1600px) rotateY(6deg) rotateX(2deg);
  transform-origin: right center;
}
.shot-tilt:hover {
  transform: none;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-block-start: 40px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-1), 0 0 0 1px var(--line);
}
.section-alt .feature-card {
  box-shadow: var(--shadow-1);
}
.feature-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--blue);
  margin-block-end: 18px;
}
.feature-card h3 {
  font-size: 20px;
  margin-block-end: 8px;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 16px;
  color: var(--muted);
}
.feature-visual {
  margin-block-start: auto;
  padding-block-start: 20px;
}
.ui-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ui-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--canvas);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.ui-chip.is-on {
  background: var(--tint);
  color: var(--blue-700);
}
.ui-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
}
.ui-bars i {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: #d6e4ff;
}
.ui-bars i.h1 { height: 30%; }
.ui-bars i.h2 { height: 55%; }
.ui-bars i.h3 { height: 42%; }
.ui-bars i.h4 { height: 78%; }
.ui-bars i.h5 { height: 64%; }
.ui-bars i.h6 { height: 100%; background: var(--blue); }
.ui-bars i.h7 { height: 50%; }
.ui-heat {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
}
.ui-heat i {
  aspect-ratio: 1;
  border-radius: 3px;
  background: #e8efff;
}
.ui-heat i.l1 { background: #c9dcff; }
.ui-heat i.l2 { background: #8db7ff; }
.ui-heat i.l3 { background: #4a8dff; }
.ui-heat i.l4 { background: var(--blue); }
.ui-progress {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.ui-progress div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ui-progress span {
  flex: 1;
  height: 8px;
  border-radius: 8px;
  background: var(--canvas);
  overflow: hidden;
}
.ui-progress span i {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: var(--blue);
}
.ui-progress span i.w100 { width: 100%; background: var(--green); }
.ui-progress span i.w70 { width: 70%; }
.ui-progress span i.w35 { width: 35%; }
.ui-progress b {
  font-variant-numeric: tabular-nums;
  min-width: 46px;
  text-align: end;
}
.ui-csv {
  font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 12px;
  border-radius: 10px;
  background: #0f172a;
  color: #cbd5e1;
  overflow: hidden;
  white-space: nowrap;
  direction: ltr;
  text-align: left;
}
.ui-csv b {
  color: #7dd3fc;
  font-weight: 600;
}
.ui-lock {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--canvas);
  font-size: 14px;
  font-weight: 600;
}
.ui-lock i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-tint) no-repeat center / 18px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2331a24c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
  flex: none;
}

/* Steps (a real sequence, so numbered) */
.steps-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 56px;
  color: #fff;
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(120, 180, 255, 0.45) 0%, rgba(120, 180, 255, 0) 60%),
    linear-gradient(150deg, #0866ff 0%, #0050d6 50%, #00349a 100%);
}
.steps-band h2 {
  color: #fff;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
}
.steps-band > p {
  margin-block-start: 14px;
  max-width: 620px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}
.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-block-end: 16px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-700);
  font-weight: 800;
}
.steps h3 {
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-block-end: 8px;
}
.steps p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
}
.steps small {
  display: inline-block;
  margin-block-start: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 700;
}
.steps-band .btn {
  margin-block-start: 34px;
}

/* Audience cards */
.audience {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.audience article {
  padding: 26px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-1), 0 0 0 1px var(--line);
}
.audience h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-block: 14px 10px;
}
.audience p {
  font-size: 15px;
  color: var(--muted);
}
.audience blockquote {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--canvas);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.aud-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--blue);
}
.aud-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.audience article:nth-child(2) .aud-icon {
  background: var(--green-tint);
  color: var(--green);
}
.audience article:nth-child(3) .aud-icon {
  background: #f3ecff;
  color: #7b3fe4;
}
.audience article:nth-child(4) .aud-icon {
  background: #fff3e0;
  color: #d9730d;
}

/* Gallery tabs */
.gallery {
  display: grid;
  gap: 22px;
}
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.gallery-tabs button {
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
  font-weight: 700;
  color: var(--muted);
}
.gallery-tabs button[aria-selected="true"] {
  background: var(--ink-strong);
  color: #fff;
}
.gallery-panel {
  animation: fade 0.3s ease;
}
.gallery-panel[hidden] {
  display: none;
}
.gallery-panel p {
  margin-block-start: 16px;
  text-align: center;
  color: var(--muted);
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* Pricing ---------------------------------------------------------------------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 940px;
  margin-inline: auto;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-1), 0 0 0 1px var(--line);
}
.price-card.is-featured {
  box-shadow:
    0 0 0 2px var(--blue),
    var(--shadow-3);
}
.price-badge {
  position: absolute;
  top: -14px;
  inset-inline-start: 34px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.price-card .price-sub {
  margin-block-start: 4px;
  color: var(--muted);
  font-size: 15px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-block: 22px 6px;
}
.price b {
  font-size: 58px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink-strong);
}
.price span {
  font-size: 17px;
  color: var(--muted);
  font-weight: 600;
}
.price-note {
  font-size: 14px;
  color: var(--muted);
  min-height: 22px;
}
.price-card .btn {
  margin-block: 24px;
}
.price-card .check-list {
  font-size: 15px;
}
.price-fine {
  max-width: 760px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.price-fine p + p {
  margin-block-start: 8px;
}
.price-fine a {
  color: var(--blue);
  font-weight: 600;
}
.mini-steps + .price-fine {
  margin-block-start: 48px;
}
.price-mini {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 44px;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow-2), 0 0 0 1px var(--line);
}
.price-mini .price {
  margin-block: 8px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-block-start: 30px;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-block-end: 1px solid var(--line);
  text-align: start;
}
.compare-table th {
  font-size: 14px;
  color: var(--muted);
}
.compare-table td:nth-child(n + 2),
.compare-table th:nth-child(n + 2) {
  text-align: center;
}
.compare-table .yes {
  color: var(--green);
  font-weight: 800;
}
.compare-table .no {
  color: var(--soft-ink);
}

/* FAQ */
.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-1), 0 0 0 1px var(--line);
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-strong);
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--canvas) no-repeat center / 14px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1e21' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details > div {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 16px;
}
.faq details > div p + p {
  margin-block-start: 10px;
}

/* Final call to action */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 72px 40px;
  border-radius: 32px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(120, 180, 255, 0.5) 0%, rgba(120, 180, 255, 0) 70%),
    linear-gradient(160deg, #0b1a3a 0%, #0a2a6b 55%, #0047c2 100%);
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 850;
  max-width: 820px;
  margin-inline: auto;
}
.cta-band p {
  max-width: 600px;
  margin: 16px auto 30px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.82);
}
.cta-band .trust-row {
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
}
.cta-band .trust-row svg {
  stroke: #7ee29a;
}

/* Page intro (inner pages) -------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 72px 56px;
  background:
    radial-gradient(55% 70% at 85% 0%, rgba(8, 102, 255, 0.1) 0%, rgba(8, 102, 255, 0) 70%),
    var(--paper);
  border-block-end: 1px solid var(--line);
}
.page-hero.center {
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 850;
  letter-spacing: -0.04em;
  max-width: 900px;
}
.page-hero.center h1,
.page-hero.center p {
  margin-inline: auto;
}
.page-hero p {
  margin-block-start: 18px;
  max-width: 680px;
  font-size: 20px;
  color: var(--muted);
}
.page-hero .hero-actions {
  margin-block-start: 28px;
}
.page-hero.center .hero-actions,
.page-hero.center .trust-row {
  justify-content: center;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-end: 18px;
  font-size: 14px;
  color: var(--soft-ink);
}
.breadcrumbs a:hover {
  color: var(--blue);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

/* Prose (legal, blog, guides) */
.prose {
  font-size: 18px;
  line-height: 1.75;
  color: #2c2f33;
}
.prose > * + * {
  margin-block-start: 1.1em;
}
.prose h2 {
  margin-block-start: 1.8em;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.prose h3 {
  margin-block-start: 1.5em;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose ul,
.prose ol {
  padding-inline-start: 1.3em;
}
.prose li + li {
  margin-block-start: 0.4em;
}
.prose blockquote {
  margin-inline: 0;
  padding: 14px 20px;
  border-inline-start: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: var(--canvas);
}
[dir="rtl"] .prose blockquote {
  border-radius: 12px 0 0 12px;
}
.prose img {
  border-radius: 14px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border-block-end: 1px solid var(--line);
  text-align: start;
}
.prose code {
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--canvas);
}
.prose pre {
  overflow: auto;
  padding: 16px;
  border-radius: 12px;
  background: #0f172a;
  color: #e2e8f0;
}

/* Legal layout */
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-block: 56px 96px;
}
.toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 2px;
  font-size: 14px;
}
.toc b {
  margin-block-end: 8px;
  font-size: 13px;
  color: var(--soft-ink);
}
.toc a {
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--muted);
}
.toc a:hover {
  background: var(--canvas);
  color: var(--ink-strong);
}
.legal-meta {
  display: inline-flex;
  gap: 10px;
  margin-block-start: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--canvas);
  font-size: 14px;
  color: var(--muted);
}
.note-box {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--blue-900);
  font-size: 15px;
}

/* Calculator */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: stretch;
}
.calc-form,
.calc-result {
  padding: 30px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-2), 0 0 0 1px var(--line);
}
.calc-form .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.calc-form .hint {
  margin-block: 2px 18px;
}
.calc-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: linear-gradient(160deg, #0866ff 0%, #0047c2 100%);
  box-shadow: var(--shadow-3);
}
.calc-result small {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}
.calc-result output {
  display: block;
  margin-block: 6px 12px;
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  text-align: start;
}
.calc-result p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}
.calc-formula {
  margin-block-start: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 15px;
  font-weight: 600;
}
.hint {
  font-size: 14px;
  color: var(--muted);
}

/* Forms */
.field {
  display: grid;
  gap: 7px;
  margin-block-end: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-strong);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  font-size: 16px;
  font-weight: 400;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 102, 255, 0.18);
}
.field small {
  font-weight: 400;
  color: var(--muted);
}
.error-box,
.success-box {
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 15px;
  margin-block-end: 16px;
}
.error-box {
  background: #fdecee;
  color: #b4232f;
  border: 1px solid #f6c5cb;
}
.success-box {
  background: var(--green-tint);
  color: #1d5a2f;
  border: 1px solid #bfe3c8;
}
.hp-field {
  position: absolute;
  inset-inline-start: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
  padding-block: 56px 96px;
}
.contact-card {
  padding: 32px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-2), 0 0 0 1px var(--line);
}
.contact-topics {
  display: grid;
  gap: 12px;
  margin-block-start: 26px;
}
.contact-topics div {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: var(--canvas);
}
.contact-topics b {
  display: block;
  color: var(--ink-strong);
}
.contact-topics span {
  font-size: 15px;
  color: var(--muted);
}
.contact-topics i {
  font-style: normal;
  font-size: 22px;
}

/* Blog */
.blog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-block-end: 26px;
  flex-wrap: wrap;
}
.search-form {
  display: flex;
  gap: 8px;
}
.search-form input {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  min-width: 240px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.article-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-1), 0 0 0 1px var(--line);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.article-card:hover {
  box-shadow: var(--shadow-2), 0 0 0 1px var(--line);
}
.article-cover {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--canvas);
  overflow: hidden;
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-art {
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  color: var(--blue-700);
  background: linear-gradient(135deg, #e7f0ff, #f7f9ff);
}
.article-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}
.article-cat {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.article-card h3 {
  margin-block: 8px 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.article-card h3 a:hover {
  color: var(--blue);
}
.article-card p {
  font-size: 15px;
  color: var(--muted);
}
.article-more {
  margin-block-start: auto;
  padding-block-start: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-block-start: 40px;
  font-size: 15px;
}
.pagination a {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--canvas);
  font-weight: 700;
}
.article-header {
  padding-block: 56px 30px;
}
.article-header h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 850;
  letter-spacing: -0.035em;
}
.article-header > p {
  margin-block-start: 16px;
  font-size: 20px;
  color: var(--muted);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-block-start: 20px;
  font-size: 15px;
  color: var(--soft-ink);
}
.article-hero {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-2);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: start;
  padding-block: 40px 80px;
}
.article-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}
.aside-card {
  padding: 22px;
  border-radius: 18px;
  background: var(--canvas);
}
.aside-card b {
  display: block;
  margin-block-end: 10px;
  color: var(--ink-strong);
}
.aside-card a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--muted);
}
.aside-card a:hover {
  color: var(--blue);
}
.aside-cta {
  padding: 24px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(160deg, #0866ff, #0047c2);
}
.aside-cta b {
  display: block;
  font-size: 19px;
  margin-block-end: 8px;
}
.aside-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-block-end: 16px;
}
.article-cta {
  margin-block-start: 48px;
  padding: 32px;
  border-radius: 22px;
  background: var(--canvas);
}
.article-cta h2 {
  margin: 0 0 10px;
  font-size: 26px;
}
.notice-bar {
  margin-block: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff6e0;
  color: #6b4600;
  font-size: 15px;
}

/* About */
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.values article {
  padding: 26px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-1), 0 0 0 1px var(--line);
}
.values h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-block-end: 8px;
}
.values p {
  font-size: 16px;
  color: var(--muted);
}

/* Error */
.error-page {
  padding-block: 120px;
  text-align: center;
}
.error-page b {
  display: block;
  font-size: clamp(90px, 14vw, 160px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--blue);
}
.error-page h1 {
  margin-block-start: 10px;
  font-size: 32px;
}
.error-page p {
  margin: 14px auto 28px;
  max-width: 520px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  margin-block-start: 0;
  padding-block: 64px 28px;
  background: #0b0f19;
  color: #b9bec7;
  font-size: 15px;
}
.site-footer .site-brand {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-brand p {
  margin-block: 16px 20px;
  max-width: 340px;
}
.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-col b {
  color: #fff;
  margin-block-end: 4px;
}
.footer-col a:hover,
.footer-langs a:hover {
  color: #fff;
}
.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-langs a {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 600;
}
.footer-langs a[aria-current="true"] {
  background: #fff;
  color: #0b0f19;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-block-start: 48px;
  padding-block-start: 22px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #8a909c;
}

/* Inner pages (v20) ------------------------------------------------------------ */
.ic {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[dir="rtl"] .ic-dir {
  transform: scaleX(-1);
}
h1,
h2,
h3 {
  text-wrap: balance;
}
.section-head p,
.page-hero p,
.cta-band p,
.hero-lead {
  text-wrap: pretty;
}
.page-hero .search-mock-note {
  max-width: none;
  margin-block-start: 10px;
  font-size: 12px;
}
.text-link {
  color: var(--blue);
  font-weight: 700;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-split {
  align-items: center;
}
.hero-split h1 {
  font-size: clamp(36px, 4vw, 54px);
}
.page-hero .kicker {
  margin-block-end: 16px;
}
.use-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  flex: none;
  background: var(--tint);
  color: var(--blue);
}
.use-icon .ic {
  width: 22px;
  height: 22px;
}
.use-icon.is-green {
  background: var(--green-tint);
  color: var(--green);
}

/* Hero mock-ups built in HTML (crisp at any size, translatable) */
.search-mock,
.report-mock {
  position: relative;
  padding: 18px;
  border-radius: 20px;
  background: var(--canvas);
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.search-mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding-inline: 16px 5px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
  font-weight: 600;
}
.search-mock-bar .ic {
  color: var(--muted);
}
.search-mock-bar b {
  margin-inline-start: auto;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
}
.search-mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block: 12px;
  font-size: 12px;
  font-weight: 700;
}
.search-mock-chips span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #e4e6eb;
}
.search-mock-chips .is-on {
  background: var(--tint);
  color: var(--blue-700);
}
.search-mock-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.search-mock-list li {
  display: grid;
  grid-template-columns: auto 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
}
.search-mock-list li:first-child {
  box-shadow:
    0 0 0 2px var(--blue),
    0 10px 24px rgba(8, 102, 255, 0.16);
}
.search-mock-list i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--canvas);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}
.search-mock-list li:first-child i {
  background: var(--blue);
  color: #fff;
}
.search-mock-list img {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.search-mock-list b {
  display: block;
  font-size: 14px;
  color: var(--ink-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-mock-list small {
  font-size: 12px;
  color: var(--soft-ink);
}
.search-mock-list em {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-700);
  white-space: nowrap;
}
.search-mock-note {
  margin-block-start: 10px;
  font-size: 12px;
  color: var(--soft-ink);
  text-align: end;
}
.report-mock {
  background: var(--paper);
}
.report-mock-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block-end: 14px;
  border-block-end: 1px solid var(--line);
}
.report-mock-head img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.report-mock-head b {
  display: block;
  color: var(--ink-strong);
}
.report-mock-head small {
  font-size: 13px;
  color: var(--soft-ink);
}
.report-mock-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-block: 14px;
}
.report-mock-stats div {
  padding: 12px;
  border-radius: 12px;
  background: var(--canvas);
}
.report-mock-stats small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.report-mock-stats b {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}
.report-mock-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 11px 4px;
  border-block-end: 1px solid var(--line);
  font-size: 14px;
}
.report-mock-row span {
  color: var(--muted);
}
.report-mock-row b {
  color: var(--ink-strong);
}
.report-mock-row em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-tint);
  color: #1e7b35;
}
.report-mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
  margin-block-start: 16px;
}
.report-mock-bars i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #4d94ff, var(--blue));
}
.report-mock-bars .h2 { height: 30%; }
.report-mock-bars .h3 { height: 42%; }
.report-mock-bars .h4 { height: 55%; }
.report-mock-bars .h5 { height: 66%; }
.report-mock-bars .h6 { height: 82%; }
.report-mock-bars .h7 { height: 100%; }

/* Steps (light) */
.mini-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.mini-steps li {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: start;
  padding-block-start: 52px;
  counter-increment: step;
}
.mini-steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(8, 102, 255, 0.3);
}
.mini-steps b {
  font-size: 18px;
  color: var(--ink-strong);
  letter-spacing: -0.01em;
}
.mini-steps span {
  font-size: 15px;
  color: var(--muted);
}
.mini-steps.is-cards li {
  padding: 74px 24px 24px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-1), 0 0 0 1px var(--line);
}
.section-alt .mini-steps.is-cards li {
  box-shadow: var(--shadow-1);
}
.mini-steps.is-cards li::before {
  inset-inline-start: 24px;
  top: 24px;
}
.mini-steps.is-five {
  max-width: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.shot-wide {
  margin-block-start: 48px;
}

/* Use-case / feature cards */
.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.use-grid article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-1), 0 0 0 1px var(--line);
}
.section-alt .use-grid article {
  box-shadow: var(--shadow-1);
}
.use-grid h3 {
  margin-block-start: 6px;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.use-grid p {
  font-size: 15px;
  color: var(--muted);
}
.use-grid code {
  align-self: flex-start;
  margin-block-start: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--canvas);
  font: 600 13px/1.4 var(--font);
  color: var(--ink);
}
.use-grid code::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-inline-end: 6px;
  vertical-align: -1px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230866ff' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
}

/* Comparison tables */
.table-card {
  max-width: 940px;
  margin-inline: auto;
  padding: 8px 24px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-2), 0 0 0 1px var(--line);
  overflow-x: auto;
}
.table-card .compare-table {
  margin: 0;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-block-end: 0;
}
.compare-table th[scope="row"] {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.compare-table thead th {
  padding-block: 18px;
}
.compare-table .is-us {
  color: var(--blue);
  font-weight: 800;
}
.compare-table td .ic {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  stroke-width: 2.6;
}
.compare-table td.yes {
  background: rgba(8, 102, 255, 0.04);
}

/* Pricing additions */
.pricing-section {
  padding-block-start: 64px;
}
.price-title {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.price-assure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-block-start: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.price-assure span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.price-assure .ic {
  width: 18px;
  height: 18px;
  color: var(--green);
}
.include-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.include-grid div {
  display: grid;
  align-content: start;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  padding: 20px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
}
.include-grid .ic {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  margin-block-start: 1px;
  color: var(--blue);
}
.include-grid b {
  color: var(--ink-strong);
  font-size: 16px;
}
.include-grid span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Guides list */
.guide-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-inline: auto;
}
.guide-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-1), 0 0 0 1px var(--line);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.guide-list a:hover {
  box-shadow: var(--shadow-2), 0 0 0 1px var(--line);
  transform: translateY(-2px);
}
.guide-list a > .ic:first-child {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--blue);
}
.guide-list span {
  flex: 1;
  display: grid;
}
.guide-list b {
  color: var(--ink-strong);
}
.guide-list small {
  font-size: 14px;
  color: var(--muted);
}
.guide-list a > .ic:last-child {
  color: var(--soft-ink);
}

/* Values (about) */
.values article .use-icon {
  margin-block-end: 14px;
}

/* Contact additions */
.contact-side .hint {
  margin-block-start: 22px;
}
.contact-topics div {
  align-items: flex-start;
}
.contact-topics p {
  display: grid;
  gap: 2px;
}
.contact-card h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-block-end: 18px;
}
.contact-form .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.contact-form .hint {
  margin-block-start: 12px;
}
.sent-box {
  display: grid;
  justify-items: start;
  gap: 12px;
}
.sent-box h2 {
  margin: 4px 0 0;
}
.sent-box p {
  color: var(--muted);
  margin-block-end: 8px;
}

/* Legal additions */
.legal-body > section + section {
  margin-block-start: 2.2em;
}
.legal-body section {
  scroll-margin-top: 96px;
}
.legal-body h2 {
  margin-block: 0 0.45em;
  font-size: 24px;
}
.legal-body section p + p {
  margin-block-start: 0.8em;
}
.legal-body .note-box {
  margin-block-start: 2em;
}
.legal-body > .note-box:first-child {
  margin-block: 0 1.5em;
}
.page-hero .legal-meta {
  margin-block-start: 18px;
  font-size: 14px;
}

/* Blog additions */
.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 40px;
  align-items: end;
}
.blog-hero .search-form input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  font-size: 16px;
  background: var(--paper);
}
.blog-hero .search-form .btn {
  min-height: 48px;
}
.blog-section {
  padding-block-start: 56px;
}
.blog-lang-note {
  margin-block-end: 24px;
}
.blog-results {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-block-end: 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-strong);
}
.article-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  margin-block-end: 28px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-2), 0 0 0 1px var(--line);
}
.article-feature-cover {
  display: block;
  min-height: 100%;
  background: var(--canvas);
}
.article-feature-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 40px;
}
.article-feature-body h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.article-feature-body h2 a:hover {
  color: var(--blue);
}
.article-feature-body > p {
  color: var(--muted);
}
.article-feature-body .btn {
  align-self: flex-start;
  margin-block-start: 6px;
}
.article-info {
  font-size: 14px;
  color: var(--soft-ink);
}
.article-card .article-info {
  margin-block-start: auto;
  padding-block-start: 14px;
}
.empty-state {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 56px 20px;
  text-align: center;
}
.empty-state h2 {
  font-size: 26px;
}
.empty-state p {
  color: var(--muted);
}
.tool-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
}
.tool-promo > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 18px;
  align-items: center;
}
.tool-promo .use-icon {
  grid-row: span 2;
}
.tool-promo h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.tool-promo p {
  color: var(--muted);
}
.article-header .article-cat {
  display: inline-block;
  margin-block-end: 12px;
}
.article-header .breadcrumbs {
  margin-block-end: 22px;
}
.article-lang {
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--canvas);
  font-size: 13px;
  font-weight: 600;
}
.article-content h2 {
  scroll-margin-top: 96px;
}
.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-block-start: 40px;
  padding-block-start: 24px;
  border-block-start: 1px solid var(--line);
  font-size: 15px;
}
.article-share b {
  margin-inline-end: 6px;
}
.prose .article-share a {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--canvas);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.prose .article-share a:hover {
  background: var(--tint);
  color: var(--blue-700);
}
.toc-card a {
  font-size: 14px;
  line-height: 1.4;
  padding: 7px 0;
}

/* Error page links */
.error-page .hero-actions {
  justify-content: center;
}
.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-block-start: 34px;
  font-size: 15px;
  font-weight: 600;
}
.error-links a {
  color: var(--blue);
}

@media (max-width: 1100px) {
  .include-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mini-steps.is-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-feature {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-feature-cover {
    aspect-ratio: 1200 / 630;
  }
}
@media (max-width: 920px) {
  .mini-steps,
  .mini-steps.is-five {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .tool-promo {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .use-grid,
  .include-grid,
  .contact-form .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .table-card {
    padding: 4px 12px;
    border-radius: 18px;
  }
  .article-feature-body,
  .tool-promo {
    padding: 24px;
  }
  .search-mock,
  .report-mock {
    padding: 12px;
  }
  .search-mock-list li {
    grid-template-columns: auto 52px minmax(0, 1fr);
  }
  .search-mock-list em {
    grid-column: 3;
  }
  .search-mock-list img {
    width: 52px;
    height: 40px;
  }
  .report-mock-stats b {
    font-size: 18px;
  }
}

/* Reveal on scroll (one orchestrated entrance per section, not per element) */
.reveal {
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-armed {
  opacity: 0;
  transform: translateY(22px);
}

/* Responsive ------------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .hero-grid,
  .feature-row,
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .feature-row.reverse > :first-child {
    order: 0;
  }
  .shot-tilt,
  [dir="rtl"] .shot-tilt {
    transform: none;
  }
  .facts ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .feature-grid,
  .audience,
  .article-grid,
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-aside {
    position: static;
  }
  .demo-float {
    inset-inline-start: 12px;
  }
}
@media (max-width: 920px) {
  .menu-toggle {
    display: flex;
  }
  .site-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    background: var(--paper);
    border-block-end: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s;
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .site-nav > a:not(.btn) {
    padding: 12px;
    font-size: 17px;
  }
  .site-nav .btn {
    margin: 8px 0 0;
    min-height: 48px;
  }
  .nav-spacer {
    display: none;
  }
  .lang-list {
    position: static;
    box-shadow: none;
    padding: 0 0 0 8px;
  }
  .versus,
  .price-grid,
  .price-mini,
  .calc,
  .contact-grid,
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    position: static;
    display: none;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps-band {
    padding: 36px 24px;
  }
  .section {
    padding-block: 72px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .wrap,
  .narrow {
    width: calc(100% - 32px);
  }
  .hero {
    padding-block: 36px 56px;
  }
  .hero-lead,
  .page-hero p {
    font-size: 18px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .facts ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facts li:last-child {
    grid-column: 1 / -1;
  }
  .feature-grid,
  .audience,
  .article-grid,
  .values,
  .calc-form .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .demo-post {
    grid-template-columns: auto 72px minmax(0, 1fr);
  }
  .demo-post img {
    width: 72px;
    height: 60px;
  }
  .demo-float {
    display: none;
  }
  .price-card,
  .price-mini,
  .calc-form,
  .calc-result,
  .contact-card {
    padding: 24px;
  }
  .cta-band {
    padding: 48px 22px;
    border-radius: 24px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-form input {
    min-width: 0;
    flex: 1;
  }
  .search-form {
    width: 100%;
  }
  .compare-table {
    font-size: 14px;
  }
  .compare-table th,
  .compare-table td {
    padding: 10px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal.is-armed {
    opacity: 1;
    transform: none;
  }
}
@media print {
  .site-header,
  .site-footer,
  .lang-hint {
    display: none;
  }
}

/* v21: Cloudflare Turnstile security check on the contact form */
.rf-turnstile {
  min-height: 65px;
  margin: 4px 0 12px;
}

/* v22.1: Viral Track on the public site ----------------------------------------- */
:root {
  --flame: #c2410c;
  --flame-tint: #fff1e6;
}
.hero-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-block-end: 18px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow-1);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: box-shadow 0.2s var(--ease);
}
[dir="rtl"] .hero-new {
  padding: 5px 5px 5px 14px;
}
.hero-new:hover {
  box-shadow:
    0 0 0 1px var(--flame),
    var(--shadow-2);
}
.hero-new:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.hero-new-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: var(--flame);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
}
.hero-new-badge .ic {
  width: 14px;
  height: 14px;
}
.hero-new-text {
  min-width: 0;
}
.hero-new > .ic {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.tag-new,
.nav-new-dot {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--flame-tint);
  color: var(--flame);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}
.feature-tag .ic {
  width: 20px;
  height: 20px;
}
#viral-track .feature-tag {
  color: var(--flame);
}
#viral-track {
  scroll-margin-top: 96px;
}
.feature-plan {
  margin-block-start: 22px;
  font-size: 15px;
  color: var(--muted);
}
.nav-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.price-badge .ic {
  width: 14px;
  height: 14px;
}
.price-card.is-featured .price-badge {
  background: var(--flame);
}
#plans .price-grid {
  margin-block-start: 8px;
}
.plans-more {
  margin-block-start: 26px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
.include-grid .is-viral {
  box-shadow: 0 0 0 2px var(--flame-tint), var(--shadow-1);
}
.include-grid .is-viral .ic {
  color: var(--flame);
}
#pro,
#viral {
  scroll-margin-top: 96px;
}

/* Monthly / yearly switch on the pricing page (no JavaScript needed) */
.cycle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cycle-toggle {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 34px;
  padding: 4px;
  border-radius: 999px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
}
.cycle-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.cycle-toggle small {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--green-tint);
  color: #1d6b31;
  font-size: 12px;
  font-weight: 800;
}
#cycle-monthly:checked ~ .cycle-toggle label[for="cycle-monthly"],
#cycle-yearly:checked ~ .cycle-toggle label[for="cycle-yearly"] {
  background: var(--paper);
  color: var(--ink-strong);
  box-shadow: var(--shadow-1), 0 0 0 1px var(--line);
}
#cycle-monthly:focus-visible ~ .cycle-toggle label[for="cycle-monthly"],
#cycle-yearly:focus-visible ~ .cycle-toggle label[for="cycle-yearly"] {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
#cycle-yearly:checked ~ .price-grid .cycle-monthly,
#cycle-monthly:checked ~ .price-grid .cycle-yearly {
  display: none;
}
.cycle-switch .price-card .btn {
  margin-block: 24px;
}
/* The header links never break over two lines: below 1180px they move into
   the menu button, like on phones. */
.site-nav > a:not(.btn),
.nav-login {
  white-space: nowrap;
}
@media (max-width: 1180px) {
  .menu-toggle {
    display: flex;
  }
  .site-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    background: var(--paper);
    border-block-end: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s;
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .site-nav > a:not(.btn) {
    padding: 12px;
    font-size: 17px;
  }
  .site-nav .btn {
    margin: 8px 0 0;
    min-height: 48px;
  }
  .nav-spacer {
    display: none;
  }
  .lang-list {
    position: static;
    box-shadow: none;
    padding: 0 0 0 8px;
  }
  .nav-new {
    justify-content: flex-start;
  }
}
/* Long call-to-action labels (Spanish, French) wrap on phones instead of being cut. */
@media (max-width: 640px) {
  .hero-actions .btn,
  .cta-band .btn,
  .price-card .btn {
    white-space: normal;
    text-align: center;
    padding-block: 10px;
  }
}
@media (max-width: 640px) {
  .hero-new {
    font-size: 13px;
  }
  .cycle-toggle label {
    padding: 0 14px;
  }
}
@media (min-width: 921px) {
  .price-grid .price-sub {
    min-height: 48px;
  }
}
/* The tilted screenshots can stick out a couple of pixels between 1100 and 1200px;
   never let that create a sideways scroll. clip (unlike hidden) keeps sticky elements working. */
.page-home main {
  overflow-x: clip;
}
