:root {
  --bg: #ffffff; --bg-2: #f4f6f4; --text: #14201e; --muted: #5d6865; --line: #e2e7e5;
  --brand: #0f766e; --brand-2: #0b5a54; --brand-soft: #e3f4f1; --warm: #ea580c; --warm-soft: #fff1e6;
  --card: #ffffff; --shadow: 0 1px 2px rgb(16 40 36 / .06), 0 12px 32px rgb(16 40 36 / .08);
  --dev: #1d2a28; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1514; --bg-2: #151d1c; --text: #e8efed; --muted: #9aa8a4; --line: #26312f;
    --brand: #2dd4bf; --brand-2: #5eead4; --brand-soft: #123a36; --warm: #fb923c; --warm-soft: #3a2414;
    --card: #18211f; --shadow: 0 12px 32px rgb(0 0 0 / .35); --dev: #050807; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: hidden; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 18px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap; font-family: inherit; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-2); }
@media (prefers-color-scheme: dark) { .btn.primary { color: #062421; } }
.btn.ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn.ghost:hover { background: var(--brand-soft); }
.btn.big { padding: 13px 26px; font-size: 17px; border-radius: 12px; }
.btn.full { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; }
.mark { display: inline-grid; place-items: center; height: 38px; padding: 0 10px; border-radius: 10px; background: var(--brand); color: #fff; font: 700 18px/1 system-ui, sans-serif; letter-spacing: 1px; }
@media (prefers-color-scheme: dark) { .mark { color: #062421; } }
.logo-sub { font-weight: 600; color: var(--muted); font-size: 14px; border-inline-start: 1px solid var(--line); padding-inline-start: 10px; }
/* the logo is black on transparent; dark mode turns it white */
.logo-img { height: 48px; width: auto; display: block; }
.foot-logo { height: 56px; }
@media (max-width: 640px) { .logo-img { height: 40px; } }
@media (prefers-color-scheme: dark) { .logo-img { filter: invert(1); } }
.links { display: flex; gap: 22px; margin-inline-start: 12px; }
.links a { color: var(--muted); font-weight: 500; }
.links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; margin-inline-start: auto; align-items: center; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; font-size: 20px; color: var(--text); cursor: pointer; }

/* hero */
.hero { padding: 72px 0 40px; text-align: center; background: radial-gradient(1000px 420px at 50% -80px, var(--brand-soft), transparent 70%); }
.eyebrow { color: var(--brand); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 700; letter-spacing: -.5px; }
.hero h1 span { display: block; }
/* the first line never breaks: on phones the size follows the screen width instead */
.hero h1 .l1 { white-space: nowrap; }
.hero h1 .l2 { color: var(--brand); }
.lead { max-width: 720px; margin: 20px auto 0; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* device mockups (drawn in CSS) */
.devices { position: relative; margin: 56px auto 0; height: 430px; max-width: 980px; }
.dev { position: absolute; background: var(--dev); border-radius: 22px; padding: 10px; box-shadow: var(--shadow); text-align: start; }
.dev .scr { background: #fff; color: #14201e; border-radius: 14px; height: 100%; overflow: hidden; font-size: 12px; }
.tablet { width: 600px; height: 380px; inset-inline-start: 50%; transform: translateX(50%); top: 0; }
[dir=ltr] .tablet { transform: translateX(-50%); }
.pos { display: flex; flex-direction: column; }
.pos-top { display: flex; gap: 6px; align-items: center; padding: 10px 12px; border-bottom: 1px solid #e8ecea; }
.pos-top b { margin-inline-end: auto; font-size: 13px; }
.chip { padding: 2px 10px; border-radius: 99px; background: #f0f3f2; font-size: 11px; }
.chip.on { background: #0f766e; color: #fff; }
.pos-body { flex: 1; display: grid; grid-template-columns: 1fr 190px; min-height: 0; }
.pos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; align-content: start; }
.pos-grid i { font-style: normal; border: 1px solid #e8ecea; border-radius: 10px; padding: 30px 8px 8px; position: relative; background: linear-gradient(#fff4ea 0 26px, #fff 26px); }
.pos-grid i b { display: block; font-size: 12px; }
.pos-grid i em { font-style: normal; color: #0f766e; font-weight: 700; font-size: 11px; }
.pos-cart { border-inline-start: 1px solid #e8ecea; padding: 10px; display: flex; flex-direction: column; gap: 5px; background: #fafbfa; }
.pos-cart p { display: flex; justify-content: space-between; font-size: 11px; }
.pos-cart .muted { color: #7a8481; }
.pos-cart .tot { font-weight: 700; font-size: 13px; border-top: 1px dashed #cfd6d3; padding-top: 6px; margin-top: auto; }
.pay { background: #0f766e; color: #fff; text-align: center; border-radius: 8px; padding: 7px; font-weight: 700; }
.kds { width: 190px; height: 190px; inset-inline-end: 0; top: 40px; border-radius: 16px; padding: 8px; }
.kds .scr { padding: 10px; display: flex; flex-direction: column; gap: 4px; background: #fffaf3; }
.tk-h { display: flex; gap: 6px; align-items: center; border-bottom: 1px solid #f1e2cc; padding-bottom: 6px; margin-bottom: 4px; }
.tk-h span:first-of-type { margin-inline-end: auto; }
.late { background: #fde8de; color: #c2410c; border-radius: 99px; padding: 0 7px; font-weight: 700; }
.kds .done { color: #15803d; text-decoration: line-through; }
.bump { margin-top: auto; background: #15803d; color: #fff; text-align: center; border-radius: 8px; padding: 5px; font-weight: 700; }
.phone { width: 180px; height: 350px; inset-inline-start: 0; top: 70px; border-radius: 30px; }
.phone .scr { border-radius: 22px; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; }
.m-t { font-size: 13px; text-align: center; }
.m-i { display: flex; gap: 8px; align-items: center; border: 1px solid #e8ecea; border-radius: 10px; padding: 6px; }
.m-i .ph { width: 38px; height: 38px; border-radius: 8px; background: linear-gradient(135deg, #f6c38d, #e6833f); flex: none; }
.m-i .ph.b { background: linear-gradient(135deg, #c9d89a, #7f9a45); } .m-i .ph.c { background: linear-gradient(135deg, #f5dd9a, #c8902d); }
.m-i b { display: block; font-size: 12px; } .m-i small { color: #7a8481; font-size: 10px; } .m-i em { display: block; font-style: normal; color: #0f766e; font-weight: 700; font-size: 11px; }
.m-btn { margin-top: auto; background: #ea580c; color: #fff; text-align: center; border-radius: 99px; padding: 8px; font-weight: 700; }
.receipt { width: 160px; inset-inline-end: 24px; top: 262px; transform: rotate(-3deg); background: #fff; color: #14201e; border-radius: 6px; padding: 12px; font-size: 11px; display: flex; flex-direction: column; gap: 4px;
  border: 1px solid #e2e7e5; mask: radial-gradient(5px at 50% 100%, #0000 98%, #000) 50% / 12px 100%; }
.receipt b { text-align: center; font-size: 12px; } .receipt p { display: flex; justify-content: space-between; }
.qr { width: 62px; height: 62px; margin: 4px auto; background:
  conic-gradient(#14201e 25%, #fff 0 50%, #14201e 0 75%, #fff 0) 0 0 / 12px 12px, #fff; border: 4px solid #14201e; }
.receipt small { text-align: center; color: #5d6865; font-size: 10px; }

/* strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; }
.strip-in div { display: flex; align-items: center; gap: 12px; justify-content: center; }
.strip-in b { flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); font-size: 22px; }
.strip-in p { display: grid; gap: 1px; line-height: 1.35; }
.strip-in strong { font-size: 16px; font-weight: 700; }
.strip-in small { font-size: 13.5px; color: var(--muted); }

/* sections */
.sec { padding: 88px 0; }
.sec.alt { background: var(--bg-2); }
.sec h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; }
.sub { color: var(--muted); max-width: 720px; margin-top: 14px; font-size: 17px; }
.grid { display: grid; gap: 18px; margin-top: 40px; }
.feats { grid-template-columns: repeat(4, 1fr); }
.feats article { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: transform .2s, box-shadow .2s; }
.feats article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); font-size: 22px; margin-bottom: 14px; }
.feats h3 { font-size: 18px; margin-bottom: 6px; }
.feats p { color: var(--muted); font-size: 15px; }
.types { grid-template-columns: repeat(7, 1fr); gap: 12px; }
.types div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 10px; text-align: center; font-size: 30px; display: flex; flex-direction: column; gap: 4px; }
.types b { font-size: 15px; } .types small { font-size: 12px; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--card); }
.steps li > b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--warm-soft); color: var(--warm); font-size: 18px; margin-bottom: 12px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; } .steps p { color: var(--muted); }
.devices-note { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.devices-note div { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; background: var(--bg-2); font-weight: 600; font-size: 14px; }
/* pricing */
.price-head { text-align: center; }
.price-head .sub { margin-inline: auto; }
.billing { display: inline-flex; gap: 4px; padding: 4px; margin-top: 26px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
.billing button { border: 0; background: none; color: var(--muted); font: 600 15px/1 inherit; font-family: inherit; padding: 10px 22px; border-radius: 99px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.billing button.on { background: var(--brand); color: #fff; }
@media (prefers-color-scheme: dark) { .billing button.on { color: #062421; } }
.save { background: var(--warm-soft); color: var(--warm); border-radius: 99px; padding: 3px 8px; font-size: 12px; }
.billing button.on .save { background: rgb(255 255 255 / .22); color: inherit; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.ribbon { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(50%); background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 99px; white-space: nowrap; }
[dir=ltr] .ribbon { transform: translateX(-50%); }
@media (prefers-color-scheme: dark) { .ribbon { color: #062421; } }
.plan h3 { font: 700 24px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .3px; }
.plan-for { color: var(--muted); font-size: 14px; margin-top: 6px; min-height: 3em; }
.amount { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.amount b { font: 700 46px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.amount span { color: var(--muted); font-weight: 600; }
.amount em { font-style: normal; }
.bill-note { color: var(--muted); font-size: 13px; margin-top: 6px; min-height: 1.6em; }
.bill-note b { color: var(--good, #15803d); }
.setup { font-size: 14px; margin: 14px 0 18px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); }
.incl { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; }
.incl li::before { content: "✓"; flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px; margin-top: 3px; }
.incl li.all { font-weight: 700; }
.compare-wrap { margin-top: 44px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare caption { text-align: start; padding: 16px 20px 6px; font-weight: 700; font-size: 18px; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th[scope=row] { text-align: start; font-weight: 500; }
.compare thead th { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 700; }
.compare td { color: var(--brand); font-weight: 700; }
.compare td.no { color: var(--muted); font-weight: 400; }
.compare .hl { background: var(--brand-soft); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .money td { color: var(--text); font-variant-numeric: tabular-nums; }
.price-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin-top: 10px; }

/* demo */
.demo { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; }
@media (prefers-color-scheme: dark) { .demo { background: linear-gradient(160deg, #0f4f49, #0a3330); } }
.demo .eyebrow { color: #a7f3e6; }
.demo-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.demo-txt p { opacity: .9; margin-top: 14px; font-size: 17px; }
.demo-txt ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-weight: 600; }
.card { background: var(--card); color: var(--text); border-radius: 18px; padding: 24px; box-shadow: 0 20px 50px rgb(0 0 0 / .2); display: grid; gap: 14px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; font-weight: 400; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; }
.form-msg { min-height: 1.5em; font-weight: 600; text-align: center; }
.form-msg.good { color: #15803d; } .form-msg.bad { color: #c2410c; }
@media (prefers-color-scheme: dark) { .form-msg.good { color: #4ade80; } .form-msg.bad { color: #fb923c; } }

/* footer */
.foot { padding: 40px 0; border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.foot-in p { color: var(--muted); margin-top: 8px; font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); }
.foot small { color: var(--muted); }

/* responsive */
@media (max-width: 1020px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
  .types { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; gap: 28px; }
  .plan-for { min-height: 0; }
  .devices { transform: scale(.8); transform-origin: top center; height: 350px; margin-bottom: -10px; }
}
@media (max-width: 820px) {
  .links { display: none; position: absolute; top: 68px; inset-inline: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); margin: 0; padding: 8px 16px; }
  .links.open { display: flex; }
  .links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .links a:last-child { border-bottom: 0; }
  .burger { display: inline-grid; place-items: center; }
  .nav-cta .btn.ghost { display: none; }
  .demo-in { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .strip-in div { justify-content: flex-start; }
}
/* phones: four small cards, icon on top, centred two-line text */
@media (max-width: 640px) {
  .strip-in { gap: 10px; padding: 18px 0; }
  .strip-in div { flex-direction: column; justify-content: flex-start; text-align: center; gap: 8px; padding: 14px 8px; border-radius: 16px;
    background: var(--card); border: 1px solid var(--line); }
  .strip-in b { width: 42px; height: 42px; font-size: 20px; }
  .strip-in strong { font-size: 15px; }
  .strip-in small { font-size: 12.5px; }
  .hero h1 { font-size: min(8vw, 40px); letter-spacing: 0; }
  .hero h1 .l2 { font-size: .9em; margin-top: 4px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 44px; }
  .devices { transform: none; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
  .dev { position: static; transform: none !important; }
  .tablet { display: none; }
  .phone { width: auto; height: 330px; grid-row: span 2; }
  .kds { width: auto; height: 170px; }
  .receipt { width: auto; mask: none; }
  .feats, .types { grid-template-columns: 1fr 1fr; }
  .feats article { padding: 16px; }
  .g2 { grid-template-columns: 1fr; }
  .sec { padding: 60px 0; }
  .nav-cta .btn.primary { padding: 8px 12px; font-size: 14px; }
  .logo-sub { display: none; }
}
@media (max-width: 380px) { .feats { grid-template-columns: 1fr; } }
