.wrap { max-width: 1160px; margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); }
:root[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 85% 30%, rgba(224,154,37,.20), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(31,170,89,.22), transparent 60%),
    var(--green-900);
}
/* eight-point star lattice, a nod to zellige tiling */
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.2'%3E%3Crect x='20' y='20' width='32' height='32'/%3E%3Crect x='20' y='20' width='32' height='32' transform='rotate(45 36 36)'/%3E%3Cpath d='M0 36h13M59 36h13M36 0v13M36 59v13'/%3E%3C/g%3E%3C/svg%3E");
}
.nav { position: relative; display: flex; align-items: center; gap: 22px; padding-block: 20px; }
.nav > * { flex: none; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-inline-start: auto; }
.nav-links a, .nav-login, .nav .btn { white-space: nowrap; }
.nav-links a { text-decoration: none; opacity: .82; font-size: 15px; font-weight: 500; line-height: 1.3; }
.nav-links a:hover { opacity: 1; }
.nav .btn { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.nav-login { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .9; }
.nav-login:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; padding-block: clamp(36px, 6vw, 72px) clamp(72px, 9vw, 118px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); font-size: 14px; font-weight: 600; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.hero h1 { font-size: clamp(34px, 4.3vw, 54px); font-weight: 800; margin-top: 22px; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--amber); display: block; }
.hero .lead { margin-top: 20px; font-size: clamp(17px, 1.55vw, 19.5px); opacity: .86; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn-ghost, .cta-band .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32); }
.hero .btn-ghost:hover, .cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; opacity: .9; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .ico { width: 18px; height: 18px; color: var(--amber); stroke-width: 2.6; }

/* ---------- hero invoice mock ---------- */
.mock { position: relative; justify-self: center; width: min(100%, 430px); direction: ltr; }
.mock-paper { background: #fff; color: #1b2421; border-radius: 14px; padding: 26px 26px 20px; box-shadow: var(--sh-3); transform: rotate(2deg); font-size: 12.5px; line-height: 1.5; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; }
.mock-head b { font-size: 15px; }
.mock-head small { display: block; color: #6c7672; font-size: 11px; }
.mock-title { text-align: right; font-weight: 800; font-size: 20px; color: var(--green); letter-spacing: .04em; line-height: 1; }
.mock-title small { display: block; margin-top: 6px; font-weight: 600; font-size: 11px; color: #6c7672; letter-spacing: 0; }
.mock-rule { height: 3px; border-radius: 2px; background: var(--green); margin: 16px 0 14px; }
.mock-client { background: #f5f2eb; border-radius: 8px; padding: 9px 12px; width: 62%; }
.mock-client small { color: #6c7672; font-size: 10.5px; display: block; }
.mock-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.mock-table th { background: var(--green); color: #fff; font-size: 10.5px; font-weight: 600; padding: 6px 8px; text-align: right; }
.mock-table th:first-child, .mock-table td:first-child { text-align: left; }
.mock-table td { padding: 7px 8px; border-bottom: 1px solid #e9e5db; text-align: right; }
.mock-total { margin: 12px 0 0 auto; width: 58%; }
.mock-total div { display: flex; justify-content: space-between; padding: 3px 8px; }
.mock-total .grand { background: var(--green); color: #fff; font-weight: 700; padding: 8px; border-radius: 6px; margin-top: 4px; font-size: 13.5px; }
.mock-words { margin-top: 12px; padding: 7px 10px; border-left: 3px solid var(--green); background: #f5f2eb; font-size: 10.5px; color: #3d4844; }
.mock-ids { margin-top: 14px; padding-top: 10px; border-top: 1px solid #e9e5db; text-align: center; color: #6c7672; font-size: 9.5px; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); white-space: nowrap; }
.chip > span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.chip .ico { width: 17px; height: 17px; stroke-width: 2.4; }
.chip b { display: block; font-size: 13.5px; line-height: 1.2; } .chip small { display: block; font-size: 11.5px; color: var(--muted); }
.chip-1 { top: 10%; left: -12%; } .chip-1 > span { background: var(--green); }
.chip-2 { top: 50%; right: -10%; } .chip-2 > span { background: var(--wa); }
.chip-3 { bottom: -5%; left: 6%; } .chip-3 > span { background: var(--amber); color: var(--green-900); }
:root[dir="rtl"] .chip { direction: rtl; padding: 10px 10px 10px 14px; }

/* ---------- compliance strip ---------- */
.proof { margin-top: -34px; position: relative; z-index: 1; }
.proof-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; background: #fff; border-radius: 20px; padding: 18px 24px; box-shadow: var(--sh-2); }
.proof-row span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink); }
.proof-row .ico { width: 18px; height: 18px; color: var(--green); }
.proof-row b { font-weight: 600; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.kicker { color: var(--amber-700); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
:lang(ar) .kicker { letter-spacing: 0; font-size: 15px; }
.section h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin-top: 10px; max-width: 18em; }
.section .sub { color: var(--muted); margin-top: 12px; font-size: 18px; max-width: 36em; }

/* ---------- the cycle, step by step ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(44px, 6vw, 76px); }
.story.rev .story-txt { order: 2; }
.story-txt h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin-top: 14px; }
.story-txt > p { color: var(--muted); margin-top: 10px; font-size: 17px; max-width: 32em; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 800; }
.story-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.story-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.story-list .ico { width: 18px; height: 18px; color: var(--green); stroke-width: 2.6; margin-top: 3px; }
.story-ui { position: relative; padding: clamp(20px, 3vw, 36px); border-radius: 28px; background: radial-gradient(360px 220px at 90% 10%, rgba(224,154,37,.18), transparent 70%), var(--green-50); }
.story.rev .story-ui { background: radial-gradient(360px 220px at 10% 90%, rgba(14,90,75,.14), transparent 70%), var(--amber-50); }

/* app-like cards inside the illustrations (sample data, not live) */
.ui-card { background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--sh-2); display: grid; gap: 12px; direction: ltr; text-align: left; font-size: 14px; }
.ui-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ui-tag { font-weight: 700; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ui-amount { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ui-muted { color: var(--muted); margin-top: -8px; }
.pill { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pill.ok { background: var(--green-50); color: var(--green); } .pill.info { background: #e8eef9; color: #2a4f8f; }
.pill.warn { background: var(--amber-50); color: var(--amber-700); } .pill.bad { background: #fbe9e5; color: #a3301f; }
.sig { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--canvas); }
.sig-line { width: 120px; height: 36px; flex: none; fill: none; stroke: #1d3a6b; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sig b { display: block; font-size: 13.5px; } .sig small { color: var(--muted); font-size: 12px; }
.ui-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ui-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; font-weight: 700; font-size: 13.5px; box-shadow: inset 0 0 0 1.5px var(--line); }
.ui-btn .ico { width: 16px; height: 16px; }
.ui-btn.primary { background: var(--green); color: #fff; box-shadow: none; } .ui-btn.wa { background: var(--wa); color: #fff; box-shadow: none; }
.checks ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--canvas); font-weight: 600; }
.checks li .ico { width: 18px; height: 18px; color: #fff; background: var(--green); border-radius: 50%; padding: 3px; stroke-width: 3; }
.checks li em { margin-left: auto; font-style: normal; font-weight: 500; color: var(--muted); font-size: 13px; text-align: right; }
.ar-words { font-family: "Plex Arabic", var(--font); padding: 10px 12px; border-right: 3px solid var(--green); background: var(--green-50); border-radius: 6px; font-size: 14px; text-align: right; }
.ui-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui-sum div { padding: 12px 14px; border-radius: 12px; background: var(--canvas); }
.ui-sum small { display: block; color: var(--muted); font-size: 12.5px; } .ui-sum b { font-size: 19px; } .ui-sum b.bad { color: #a3301f; }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.ui-row small { display: block; color: var(--muted); font-size: 12.5px; }
.decl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.decl-grid div { padding: 14px; border-radius: 12px; background: var(--canvas); } .decl-grid div:first-child { background: var(--green-900); color: #fff; }
.decl-grid small { display: block; font-size: 12.5px; opacity: .75; } .decl-grid b { font-size: 21px; }
.cap-top { display: flex; justify-content: space-between; color: var(--muted); }
.cap-bar { display: block; height: 8px; border-radius: 4px; background: var(--line); margin-top: 6px; overflow: hidden; }
.cap-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--amber)); }

/* ---------- more features ---------- */
.features-band { background: #fff; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.feature { padding: 26px; border-radius: var(--r-lg); background: var(--canvas); transition: transform .15s ease, box-shadow .15s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.feature-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--green-50); color: var(--green); margin-bottom: 16px; }
.feature:nth-child(3n+2) .feature-ico { background: var(--amber-50); color: var(--amber-700); }
.feature h3 { font-size: 18px; font-weight: 700; }
.feature p { color: var(--muted); margin-top: 6px; font-size: 15.5px; }

/* ---------- who it is for ---------- */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.who-card { background: var(--surface); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 10px; }
.who-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--green-50); color: var(--green); }
.who-card h3 { font-size: 21px; font-weight: 800; margin-top: 6px; }
.who-card > p { color: var(--muted); }
.who-card ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; }
.who-card li { position: relative; padding-inline-start: 22px; font-size: 15px; }
.who-card li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .55em; width: 9px; height: 9px; border-radius: 3px; background: var(--amber); transform: rotate(45deg); }
.who-card.acc { color: #fff; background: radial-gradient(340px 220px at 100% 0, rgba(224,154,37,.30), transparent 65%), var(--green-900); box-shadow: var(--sh-2); }
.who-card.acc > p { color: rgba(255,255,255,.78); } .who-card.acc .who-ico { background: rgba(255,255,255,.12); color: var(--amber); }
.who-card .btn { margin-top: auto; align-self: flex-start; } .who-card.acc .btn { background: var(--amber); color: var(--green-900); box-shadow: none; }

/* ---------- prices ---------- */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; margin-top: 36px; }
.price-card { position: relative; background: var(--surface); border-radius: 26px; padding: 30px; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.price-card h3 { font-size: 20px; font-weight: 700; }
.price-card .amount { margin-top: 8px; color: var(--muted); } .price-card .amount b { font-size: 46px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.price-card .alt { color: var(--muted); font-size: 14.5px; }
.price-card .save { display: inline-block; margin-inline-start: 6px; padding: 2px 9px; border-radius: 999px; background: rgba(224,154,37,.22); color: var(--amber); font-weight: 700; font-size: 12.5px; }
.price-card .save:empty { display: none; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; } .price-card li .ico { color: var(--green); width: 18px; height: 18px; stroke-width: 2.6; margin-top: 3px; }
.price-card .btn { margin-top: auto; }
.price-card.pro { color: #fff; background: radial-gradient(380px 240px at 100% 0, rgba(224,154,37,.34), transparent 65%), var(--green-900); box-shadow: var(--sh-2); }
.price-card.pro .amount, .price-card.pro .alt { color: rgba(255,255,255,.76); } .price-card.pro .amount b, .price-card.pro li .ico { color: var(--amber); }
.price-card.pro .alt b { color: #fff; }
.pro-badge { position: absolute; top: 22px; inset-inline-end: 22px; padding: 4px 12px; border-radius: 999px; background: var(--amber); color: var(--green-900); font-weight: 800; font-size: 12.5px; }
.price-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; max-width: 860px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.price-note .ico { width: 18px; height: 18px; color: var(--green); }

/* ---------- e-invoicing, faq, end ---------- */
.law { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; background: var(--amber-50); border-radius: 28px; padding: clamp(28px, 5vw, 56px); box-shadow: inset 0 0 0 1px #f1dfb6; }
.law h2 { margin-top: 10px; }
.law p { margin-top: 14px; color: #4f4a3c; font-size: 17px; max-width: 38em; }
.law-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.law-list li { display: flex; align-items: flex-start; gap: 12px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--sh-1); font-weight: 600; }
.law-list .ico { width: 20px; height: 20px; color: var(--green); stroke-width: 2.6; margin-top: 1px; }

.faq { max-width: 820px; margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--r); box-shadow: var(--sh-1); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--green); line-height: 1; transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 20px; color: var(--muted); }

.cta-band { background: radial-gradient(500px 300px at 90% 0, rgba(224,154,37,.25), transparent 65%), var(--green); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 68px); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { margin-inline: auto; }
.cta-band p { opacity: .85; margin: 12px auto 28px; font-size: 18px; max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.footer { padding-block: 36px 44px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.footer .logo { color: var(--ink); font-size: 18px; }
.footer p { max-width: 46em; }
.foot-links { display: flex; gap: 18px; } .foot-links a, .footer p a { color: inherit; } .foot-links a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .feature { transition: none; } .feature:hover { transform: none; } }

/* mid-size screens: keep the four main links, drop the two the page reaches by scrolling */
@media (max-width: 1180px) { .nav-links .nav-opt { display: none; } }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav { gap: 12px; } .nav .seg { margin-inline-start: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .mock { width: min(84%, 400px); }
  .story, .story.rev { grid-template-columns: minmax(0, 1fr); }
  .story.rev .story-txt { order: 0; }
  .features, .who { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: 1fr 1fr; }
  .law { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .nav .btn { display: none; }
  .hero-cta .btn, .cta-row .btn { width: 100%; }
  .chip-1 { left: -8%; } .chip-2 { right: -8%; }
  .chip small { display: none; }
  .mock-paper { font-size: 11px; padding: 20px 18px 16px; }
  .proof { margin-top: -26px; } .proof-row { justify-content: flex-start; padding: 16px 18px; }
  .features, .prices { grid-template-columns: minmax(0, 1fr); }
  .ui-card { padding: 16px; } .ui-amount { font-size: 24px; }
  .sig-line { width: 80px; }
  .checks li { flex-wrap: wrap; } .checks li em { margin-left: 28px; text-align: left; }
}
/* the sample invoice keeps its amounts on one line on a phone */
.mock-table td, .mock-total span { white-space: nowrap; }
@media (max-width: 600px) {
  .mock { width: min(92%, 360px); }
  .mock-paper { font-size: 10px; padding: 18px 14px 14px; }
  .mock-table th, .mock-table td { padding: 5px 5px; }
  .mock-table th { font-size: 9px; }
  .mock-total { width: 76%; } .mock-total .grand { font-size: 12px; }
  .mock-title { font-size: 17px; }
  .checks li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; }
  .checks li em { grid-column: 2; margin: 0; text-align: start; }
}

/* ---------- the previews in Arabic: right to left, numbers kept whole ---------- */
.ltr { direction: ltr; unicode-bidi: isolate; }
:root[dir="rtl"] .mock-paper { direction: rtl; transform: rotate(-2deg); }
:root[dir="rtl"] .mock-title { text-align: left; }
:root[dir="rtl"] .mock-table th, :root[dir="rtl"] .mock-table td { text-align: left; }
:root[dir="rtl"] .mock-table th:first-child, :root[dir="rtl"] .mock-table td:first-child { text-align: right; }
:root[dir="rtl"] .mock-total { margin: 12px auto 0 0; }
:root[dir="rtl"] .mock-words { border-left: 0; border-right: 3px solid var(--green); }
:root[dir="rtl"] .ui-card { direction: rtl; text-align: right; }
:root[dir="rtl"] .checks li em { margin-left: 0; margin-right: auto; text-align: left; }
:root[dir="rtl"] .ui-amount, :root[dir="rtl"] .ui-tag { unicode-bidi: isolate; }
@media (max-width: 600px) { :root[dir="rtl"] .checks li em { margin: 0; text-align: right; } }
/* the floating cards mirror with the invoice, so none covers its title */
:root[dir="rtl"] .chip-1 { left: auto; right: -12%; }
:root[dir="rtl"] .chip-2 { right: auto; left: -10%; }
:root[dir="rtl"] .chip-3 { left: auto; right: 6%; }
:root[dir="rtl"] .mock-total { width: 72%; }
@media (max-width: 600px) { :root[dir="rtl"] .chip-1 { right: -8%; } :root[dir="rtl"] .chip-2 { left: -8%; } :root[dir="rtl"] .mock-total { width: 86%; } }

/* ---------- Word / Excel against the app ---------- */
.vs { margin-top: 36px; background: var(--surface); border-radius: 24px; box-shadow: var(--sh-1); overflow: hidden; }
.vs-head, .vs-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 24px; }
.vs-head { background: var(--canvas); font-size: 14px; } .vs-head b { font-weight: 700; color: var(--muted); }
.vs-head .vs-us { color: var(--green); font-size: 16px; font-weight: 800; }
.vs-row { border-top: 1px solid var(--line); }
.vs-row > span { font-weight: 600; }
.vs-row em { font-style: normal; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.vs-row em::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 12px; }
.vs-row em.no { color: var(--muted); }
.vs-row em.no::before { background-color: #f3e3df; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3402f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.vs-row em.yes { color: var(--green-700); font-weight: 600; }
.vs-row em.yes::before { background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ---------- auto-entrepreneur simulator ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--surface); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--sh-1); }
.sim-txt > p:not(.kicker) { color: var(--muted); margin-top: 12px; font-size: 17px; }
.sim-in { margin-top: 24px; display: grid; gap: 16px; }
.sim-act { justify-self: start; flex-wrap: wrap; } .sim-act button { padding: 8px 16px; }
.sim-field { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-weight: 700; }
.sim-num { position: relative; } .sim-num input { width: 170px; min-height: 52px; padding: 10px 46px 10px 14px; font-size: 20px; font-weight: 800; border: 1.5px solid var(--line); border-radius: 14px; background: #fbfaf7; text-align: right; font-variant-numeric: tabular-nums; }
.sim-num input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(14,90,75,.14); background: #fff; }
.sim-num em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); font-weight: 700; }
#simRange { width: 100%; accent-color: var(--green); height: 28px; }
.sim-note { font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.sim-out { background: radial-gradient(360px 240px at 100% 0, rgba(224,154,37,.22), transparent 65%), var(--green-900); color: #fff; border-radius: 22px; padding: clamp(20px, 3vw, 30px); display: grid; gap: 16px; }
.sim-big small, .sim-grid small, .sim-out .cap-top small { display: block; font-size: 13px; opacity: .75; }
.sim-big b { display: block; font-size: clamp(34px, 4vw, 46px); font-weight: 800; color: var(--amber); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sim-big span { font-size: 13.5px; opacity: .75; }
.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sim-grid div { background: rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px; } .sim-grid b { font-size: 19px; font-variant-numeric: tabular-nums; }
.sim-out .cap-top { color: #fff; } .sim-out .cap-bar { background: rgba(255,255,255,.15); }
.sim-out .cap-bar i { transition: width .25s ease; }
.sim-out .cap-bar i.over { background: #e4664f; }
.sim-msg { font-size: 14.5px; font-weight: 600; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.08); }
.sim-msg.warn { background: rgba(224,154,37,.2); color: #ffd58f; } .sim-msg.bad { background: rgba(228,102,79,.2); color: #ffc2b6; }
.sim-client { font-size: 13.5px; opacity: .8; }
.sim-out .btn { justify-self: start; }
:root[dir="rtl"] .sim-num input { padding: 10px 14px 10px 46px; } :root[dir="rtl"] .sim-num em { right: auto; left: 14px; }

/* ---------- start in three steps ---------- */
.start { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.start li { counter-increment: st; position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-1); }
.start li::before { content: counter(st); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 14px; }
.start-time { position: absolute; top: 26px; inset-inline-end: 24px; padding: 4px 11px; border-radius: 999px; background: var(--amber-50); color: var(--amber-700); font-weight: 700; font-size: 12.5px; }
.start h3 { font-size: 19px; font-weight: 700; } .start p { color: var(--muted); margin-top: 6px; }

/* ---------- guarantees under the prices ---------- */
.promise { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; max-width: 860px; }
.promise li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-1); font-size: 14px; font-weight: 600; }
.promise li[hidden] { display: none; }
.promise .ico { width: 17px; height: 17px; color: var(--green); } .promise .wa-help .ico { color: var(--wa); }

/* ---------- sticky sign-up bar and WhatsApp help ---------- */
.stickybar { position: fixed; inset-inline: 0; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 6px 24px -14px rgba(20,32,28,.4); transform: translateY(-110%); transition: transform .22s ease; }
.stickybar[hidden] { display: none; }
.stickybar.on { transform: none; }
.stickybar-in { display: flex; align-items: center; gap: 18px; padding-block: 10px; }
.stickybar .logo { color: var(--ink); font-size: 18px; } .stickybar .logo-mark { width: 24px; height: 28px; }
.stickybar-txt { margin-inline-start: auto; color: var(--muted); font-size: 14.5px; }
.stickybar .btn { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.wa-float { position: fixed; z-index: 41; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px 12px 12px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(31,170,89,.8); }
.wa-float[hidden] { display: none; }
.wa-float .ico { width: 24px; height: 24px; }
:root[dir="rtl"] .wa-float { right: auto; left: 20px; padding: 12px 12px 12px 16px; }
@media (prefers-reduced-motion: reduce) { .stickybar, .sim-out .cap-bar i { transition: none; } }

@media (max-width: 960px) {
  .sim { grid-template-columns: minmax(0, 1fr); }
  .start { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .vs-head, .vs-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 12px 16px; }
  .vs-row > span { grid-column: 1 / -1; } .vs-head > span { display: none; }
  .vs-row em { font-size: 13.5px; }
  /* on a phone the bar sits under the thumb */
  .stickybar { top: auto; bottom: 0; transform: translateY(110%); box-shadow: 0 -6px 24px -14px rgba(20,32,28,.4); }
  .stickybar .logo, .stickybar-txt { display: none; }
  .stickybar-in { padding-block: 10px calc(10px + env(safe-area-inset-bottom)); }
  .stickybar .btn { width: 100%; min-height: 48px; }
  .wa-float { bottom: 84px; right: 14px; padding: 12px; } .wa-float span { display: none; }
  :root[dir="rtl"] .wa-float { left: 14px; padding: 12px; }
  .footer { padding-bottom: 100px; }
  .sim-field { flex-direction: column; align-items: stretch; } .sim-num input { width: 100%; }
}
/* a jump from the menu lands below the sticky bar */
main section[id] { scroll-margin-top: 76px; }

/* ---------- guides ---------- */
.guide-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; max-width: 900px; }
.guide-links a { padding: 11px 18px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-1); text-decoration: none; font-weight: 600; font-size: 15px; transition: box-shadow .15s ease, color .15s ease; }
.guide-links a:hover { color: var(--green); box-shadow: var(--sh-2); }
.guide-links a.all { background: var(--green); color: #fff; box-shadow: none; }
.guide-links a.all:hover { background: var(--green-700); color: #fff; }
