/* ==========================================================================
   Square Ibis — public site: header/footer, sign-in
   ========================================================================== */

.site { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }

.site-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 66px;
  padding: 0 max(20px, calc((100vw - 1240px) / 2));
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.site-top .brand { padding: 0; }
.site-links { display: flex; align-items: center; gap: 4px; margin-inline-start: 18px; }
.site-links a { height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 10px; color: var(--text-2); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: color .2s, background .2s; }
.site-links a:hover { color: var(--text); background: var(--surface-2); }
.site-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.site-menu-btn { display: none !important; }

.site-foot { margin-top: auto; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 70%, transparent); }
.sf-inner { max-width: 1240px; margin: 0 auto; padding: 42px 20px 26px; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; }
.sf-brand p { margin-top: 10px; color: var(--text-3); font-size: 13px; max-width: 320px; }
.sf-brand .brand { padding: 0; }
.sf-col { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.sf-col b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.sf-col a { color: var(--text-2); }
.sf-bottom { max-width: 1240px; margin: 0 auto; padding: 16px 20px 26px; font-size: 12px; color: var(--text-3); border-top: 1px solid var(--border); }

/* ---------- sign-in ---------- */

.auth { flex: 1; display: flex; padding: 32px 16px 48px; }
.auth-inner { margin: auto; width: 100%; max-width: 430px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.auth-logo { margin-bottom: 16px; animation: popIn .8s var(--spring) both; box-shadow: 0 0 60px -10px rgba(var(--a1-rgb), .7), inset 0 1px 0 var(--highlight); }
.auth-title { font-size: 42px; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; animation: fadeUp .8s var(--ease-out) .1s both; }
.auth-title em { font-size: 1.12em; }
.auth-sub { margin-top: 10px; color: var(--text-2); font-size: 15px; animation: fadeUp .8s var(--ease-out) .18s both; }
.auth-card {
  width: 100%;
  margin-top: 26px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: start;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow: var(--shadow), inset 0 1px 0 var(--highlight), 0 0 80px -30px rgba(var(--a0-rgb), .5);
  animation: fadeUp .9s var(--ease-out) .26s both;
}
.auth-card.is-shake { animation: shake .45s var(--ease); }
.auth-error { font-size: 13px; color: var(--rose); margin: 0; }
.auth-error:empty { display: none; }
.auth-switch { text-align: center; font-size: 13px; color: var(--text-3); display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 0; }
.auth-foot { margin-top: 18px; max-width: 360px; font-size: 12px; color: var(--text-3); line-height: 1.5; animation: fadeIn 1s var(--ease) .6s both; }
.input-group { position: relative; }
.input-group .input { padding-inline-end: 44px; }
.input-group .pw-eye { position: absolute; inset-inline-end: 5px; top: 50%; transform: translateY(-50%); }
.choose-list { display: flex; flex-direction: column; gap: 8px; }
.choose-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); text-align: start; transition: border-color .2s, transform .2s var(--ease); }
.choose-item:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.choose-item b { display: block; font-size: 14.5px; }
.choose-item small { color: var(--text-3); font-size: 12px; }
.choose-item.is-loading { opacity: .6; pointer-events: none; }

@media (max-width: 900px) {
  .site-links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; background: color-mix(in srgb, var(--panel-solid) 96%, transparent); border-bottom: 1px solid var(--border); margin: 0; }
  .site-top.is-open .site-links { display: flex; }
  .site-menu-btn { display: grid !important; }
  .sf-inner { grid-template-columns: 1fr 1fr; }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-top { gap: 8px; padding: 0 12px; }
  .site-actions .btn-ghost { display: none; }
  .site-actions .btn-primary > span { display: none; } /* icon only: the label does not fit next to the logo */
  .auth-title { font-size: 36px; }
  .auth-card { padding: 20px 18px; }
}

/* ==========================================================================
   Public site — shared pieces
   ========================================================================== */

.site-top { transition: box-shadow .3s, background .3s; }
.site-top.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .55); }
.site-links a.is-active { color: var(--text); background: var(--surface-2); }

/* serif-italic gradient accent on public headlines */
.lp-h1 em, .lp-head h2 em, .lp-wilayas h2 em, .lp-contact h2 em, .lp-cta h2 em, .jn-h2 em, .dc-hero em, .tr-search h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  background: var(--grad-3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-inline-end: .06em;
}
:root[lang="ar"] .lp-h1 em, :root[lang="ar"] .lp-head h2 em, :root[lang="ar"] .lp-wilayas h2 em, :root[lang="ar"] .lp-contact h2 em,
:root[lang="ar"] .lp-cta h2 em, :root[lang="ar"] .jn-h2 em, :root[lang="ar"] .dc-hero em, :root[lang="ar"] .tr-search h1 em {
  font-family: var(--font-ar);
  font-style: normal;
  font-weight: 700;
}

.lp-h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1.03; }
.lp-h1 em { font-size: 1.08em; }
:root[lang="ar"] .lp-h1 { letter-spacing: 0; line-height: 1.25; }
.lp-lead { margin-top: 18px; color: var(--text-2); font-size: clamp(15.5px, 1.6vw, 18px); line-height: 1.6; max-width: 580px; }
.lp-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
:root[lang="ar"] .lp-kicker { letter-spacing: 0; font-size: 13px; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lp-honey { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn-block { width: 100%; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out), border-color .3s, background .3s; transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* track-a-parcel box */
.track-box { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.tb-field { position: relative; display: flex; align-items: center; gap: 8px; padding: 5px; padding-inline-start: 14px; border-radius: 16px; border: 1px solid var(--border-strong); background: color-mix(in srgb, var(--bg-2) 75%, transparent); box-shadow: inset 0 1px 0 var(--highlight); transition: border-color .25s, box-shadow .25s; }
.tb-field:focus-within { border-color: color-mix(in srgb, var(--accent) 65%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
.tb-field > svg { width: 18px; height: 18px; color: var(--text-3); }
.tb-field .input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: none !important; height: 40px; padding: 0 4px; font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.tb-field .input::placeholder { font-family: var(--font); letter-spacing: 0; text-transform: none; }
.tb-field .btn { height: 40px; border-radius: 12px; }
.track-box.lg .tb-field { padding: 7px; padding-inline-start: 18px; border-radius: 20px; }
.track-box.lg .input { height: 52px; font-size: 19px; }
.track-box.lg .btn { height: 52px; padding: 0 22px; font-size: 15px; border-radius: 15px; }
.track-err { margin: 0; font-size: 12.5px; color: var(--rose); padding-inline-start: 6px; }
.track-err:empty { display: none; }

/* ==========================================================================
   Landing
   ========================================================================== */

.lp { overflow-x: clip; }
.lp-hero { position: relative; max-width: 1240px; width: 100%; margin: 0 auto; padding: 72px 20px 40px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-hero-text { position: relative; z-index: 2; animation: fadeUp .8s var(--ease-out) both; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding-inline: 5px 12px; margin-bottom: 22px; border-radius: 99px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 500; text-decoration: none; transition: border-color .2s, background .2s, transform .25s var(--ease); }
.lp-eyebrow:hover { text-decoration: none; border-color: color-mix(in srgb, var(--accent) 45%, var(--border-strong)); background: var(--surface-2); transform: translateY(-1px); }
.lp-eyebrow > svg { width: 14px; height: 14px; color: var(--text-3); }
.lp-reassure { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-3); }
.lp-reassure li { display: inline-flex; align-items: center; gap: 6px; }
.lp-reassure svg { width: 14px; height: 14px; color: var(--green); stroke-width: 2.4; }
.lp-track { margin-top: 34px; max-width: 500px; display: flex; flex-direction: column; gap: 9px; }
.lp-track-label { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); font-weight: 500; }
.lp-track-label svg { width: 15px; height: 15px; color: var(--accent); }

/* hero product visual */
.hero-visual { position: relative; z-index: 1; perspective: 1600px; animation: fadeIn 1s var(--ease) .2s both; }
.hv-window {
  position: relative;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow: var(--shadow), inset 0 1px 0 var(--highlight), 0 0 120px -40px rgba(var(--a0-rgb), .65);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(4deg);
  transition: transform 1s var(--ease-out);
}
:root[dir="rtl"] .hv-window { transform: rotateY(7deg) rotateX(4deg); }
.hero-visual:hover .hv-window { transform: rotateY(0) rotateX(0); }
.hv-bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--border); }
.hv-bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); flex: none; }
.hv-bar > i:nth-child(1) { background: #fb7185; }
.hv-bar > i:nth-child(2) { background: #fbbf24; }
.hv-bar > i:nth-child(3) { background: #34d399; }
.hv-title { flex: 1; text-align: center; font-size: 12.5px; color: var(--text-3); font-weight: 500; }
.hv-bar .live { height: 24px; font-size: 10.5px; padding: 0 9px; }
.hv-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.hv-map { display: block; width: 100%; height: auto; border-radius: 16px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); direction: ltr; }
.hv-dot-bg { fill: var(--border-strong); }
.hv-coast { fill: none; stroke: var(--border-strong); stroke-width: 1.4; stroke-dasharray: 2 5; }
.hv-route { fill: none; stroke: url(#hv-route); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 4 7; opacity: .75; animation: hvDash 1.6s linear infinite; }
.hv-pkt { fill: #fff; stroke: #8b6cff; stroke-width: 2; filter: drop-shadow(0 0 5px rgba(var(--a2-rgb), .9)); }
.hv-ring { fill: rgba(var(--a1-rgb), .14); stroke: rgba(var(--a1-rgb), .55); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: hvPulse 2.6s var(--ease-out) infinite; animation-delay: var(--d, 0s); }
.hv-node.is-hub .hv-ring { fill: rgba(var(--a2-rgb), .16); stroke: rgba(var(--a2-rgb), .7); }
.hv-core { fill: #8b6cff; filter: drop-shadow(0 0 6px rgba(var(--a1-rgb), .9)); }
.hv-node.is-hub .hv-core { fill: #22d3ee; }
.hv-label { fill: var(--text-2); font-family: var(--mono); font-size: 10px; font-weight: 500; }
.hv-feed { display: flex; flex-direction: column; gap: 2px; }
.hv-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 42px; padding: 0 10px; border-radius: 12px; font-size: 12.5px; }
.hv-row:nth-child(odd) { background: var(--surface); }
.hv-track { font-weight: 500; letter-spacing: .02em; }
.hv-commune { color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-pill.flip .status-pill { animation: hvFlip .55s var(--spring); }
.hv-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  padding-inline-end: 14px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel-solid) 88%, transparent);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  font-size: 12px;
  animation: lpFloat 6s ease-in-out infinite;
  white-space: nowrap;
}
.hv-float .card-icon { width: 32px; height: 32px; border-radius: 10px; }
.hv-float .card-icon svg { width: 16px; height: 16px; }
.hv-float b { display: block; font-size: 12.5px; }
.hv-float small { color: var(--text-3); font-size: 11px; }
.hv-float.f1 { bottom: -18px; inset-inline-start: -26px; animation-delay: -1s; }
.hv-float.f2 { top: 54px; inset-inline-end: -22px; animation-delay: -3s; }
.hv-float.f3 { top: 46%; inset-inline-start: -40px; animation-delay: -4.5s; }

@keyframes hvDash { to { stroke-dashoffset: -22; } }
@keyframes hvPulse { 0% { transform: scale(.7); opacity: 1; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes hvFlip { 0% { transform: rotateX(90deg) scale(.9); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes lpFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* live stats */
.lp-stats { max-width: 1240px; width: 100%; margin: 34px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.lp-stat { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.lp-stat b { font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.lp-stat span { color: var(--text-2); font-size: 13.5px; }

/* sections */
.lp-section { max-width: 1240px; width: 100%; margin: 0 auto; padding: 104px 20px 0; scroll-margin-top: 70px; }
.lp-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.lp-head h2 { margin-top: 12px; font-size: clamp(28px, 3.8vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
:root[lang="ar"] .lp-head h2 { letter-spacing: 0; line-height: 1.35; }
.lp-head h2 em { font-size: 1.08em; }
.lp-head p { margin-top: 14px; color: var(--text-2); font-size: 16px; line-height: 1.6; }

.lp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-feature { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: inset 0 1px 0 var(--highlight); }
.lp-feature:hover { border-color: var(--border-strong); background: var(--surface-2); }
.lp-feature .card-icon { width: 44px; height: 44px; border-radius: 14px; }
.lp-feature h3 { margin-top: 18px; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.lp-feature p { margin-top: 7px; color: var(--text-2); font-size: 14px; line-height: 1.6; }

.lp-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-role { padding: 22px; border-radius: 22px; background: linear-gradient(170deg, hsl(var(--h) 85% 60% / .08), var(--surface) 55%); border: 1px solid var(--border); }
.lp-role-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.lp-role-head h3 { font-size: 15.5px; font-weight: 600; }
.lp-role ol { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.lp-role li { position: relative; padding-inline-start: 34px; font-size: 13.5px; line-height: 1.55; color: var(--text-2); counter-increment: step; }
.lp-role li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 0; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 600; color: hsl(var(--h) 85% var(--chip-l)); background: hsl(var(--h) 85% 60% / .14); border: 1px solid hsl(var(--h) 85% 62% / .3); }

.lp-compare { max-width: 1000px; margin: 0 auto; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.lp-compare table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-compare th, .lp-compare td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--border); }
.lp-compare tbody tr:last-child th, .lp-compare tbody tr:last-child td { border-bottom: 0; }
.lp-compare thead th { font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface-2); }
.lp-compare tbody th { font-weight: 500; color: var(--text); width: 46%; }
.lp-compare .is-us { background: linear-gradient(180deg, rgba(var(--a1-rgb), .1), rgba(var(--a2-rgb), .06)); }
.lp-compare-brand { font-weight: 700; color: var(--text); }
.lp-compare-brand em { font-family: var(--serif); font-style: italic; font-weight: 400; background: var(--grad-3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-compare .yes, .lp-compare .meh, .lp-compare .no { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.lp-compare .yes { color: var(--green); font-weight: 600; }
.lp-compare .meh { color: var(--amber); }
.lp-compare .no { color: var(--text-3); }
.lp-compare .yes svg { stroke-width: 2.6; width: 16px; height: 16px; }
.lp-compare .meh svg, .lp-compare .no svg { width: 15px; height: 15px; }

.lp-wilayas-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 40px; border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, rgba(var(--a2-rgb), .12), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(var(--a1-rgb), .14), transparent 55%), var(--surface); border: 1px solid var(--border); }
.lp-wilayas h2 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.lp-wilayas-text p { margin-top: 14px; color: var(--text-2); line-height: 1.65; }
.lp-wilaya-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.lp-wilaya-count b { font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.lp-wilaya-count span { color: var(--text-3); font-size: 13px; margin-inline-end: 14px; }
.lp-wilaya-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 9px; }
.lp-wilaya { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 15px; background: color-mix(in srgb, var(--bg-2) 55%, transparent); border: 1px solid var(--border); }
.lp-wilaya b { font-size: 12px; color: var(--accent); }
.lp-wilaya-name { font-weight: 600; font-size: 14px; }
.lp-wilaya small { color: var(--text-3); font-size: 11.5px; }

/* pricing */
.lp-plans { min-height: 200px; }
.lp-plans > .skel.block { display: inline-block; width: calc(33.3% - 10px); height: 380px; margin-inline-end: 10px; }
.lp-plan-toggle { display: flex; justify-content: center; margin-bottom: 26px; }
.lp-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; align-items: stretch; }
.lp-plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: inset 0 1px 0 var(--highlight); transition: transform .4s var(--ease-out), border-color .3s; }
.lp-plan:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.lp-plan.is-hot { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(170deg, rgba(var(--a1-rgb), .14), var(--surface) 55%); box-shadow: 0 30px 70px -40px rgba(var(--a0-rgb), .9), inset 0 1px 0 var(--highlight); }
.lp-plan-badge { position: absolute; top: -12px; inset-inline-start: 22px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 11.5px; font-weight: 600; box-shadow: 0 8px 20px -8px rgba(var(--a0-rgb), .9); }
.lp-plan-badge svg { width: 12px; height: 12px; }
.lp-plan h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.lp-plan-tag { color: var(--text-3); font-size: 13px; min-height: 2.8em; }
.lp-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.lp-price b { font-size: 34px; font-weight: 600; letter-spacing: -.04em; }
.lp-price span { color: var(--text-3); font-size: 13px; }
.lp-price-sub { font-size: 12px; color: var(--text-3); margin-top: -4px; }
.lp-limits, .lp-included { margin: 6px 0 0; padding: 12px 0 0; list-style: none; display: flex; flex-direction: column; gap: 9px; border-top: 1px dashed var(--border-strong); font-size: 13.5px; }
.lp-limits li, .lp-included li { display: flex; align-items: center; gap: 9px; color: var(--text-2); }
.lp-limits svg { width: 16px; height: 16px; color: var(--accent); }
.lp-included li { font-size: 13px; }
.lp-included svg { width: 14px; height: 14px; color: var(--green); stroke-width: 2.6; }
.lp-plan > .btn-block { margin-top: auto; }
.lp-plan-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 18px; font-size: 12.5px; color: var(--text-3); text-align: center; }
.lp-plan-note svg { width: 15px; height: 15px; flex: none; }

/* FAQ */
.lp-faq-list { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.lp-qa { border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.lp-qa[open] { background: var(--surface-2); border-color: var(--border-strong); }
.lp-qa summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 600; font-size: 14.5px; }
.lp-qa summary::-webkit-details-marker { display: none; }
.lp-qa summary span { flex: 1; }
.lp-qa summary svg { width: 18px; height: 18px; color: var(--text-3); transition: transform .3s var(--spring); flex: none; }
.lp-qa[open] summary svg { transform: rotate(45deg); color: var(--accent); }
.lp-qa p { padding: 0 18px 18px; color: var(--text-2); font-size: 14px; line-height: 1.65; }

/* contact */
.lp-contact-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: start; }
.lp-contact h2 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.lp-contact-text > p { margin-top: 14px; color: var(--text-2); line-height: 1.65; }
.lp-steps { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.lp-steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-2); }
.lp-form { gap: 16px; }
.lp-sent { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 30px 10px; }
.lp-sent .card-icon { width: 54px; height: 54px; border-radius: 17px; }
.lp-sent .card-icon svg { width: 24px; height: 24px; }
.lp-sent h3 { font-size: 20px; font-weight: 700; }
.lp-sent p { color: var(--text-2); max-width: 380px; }

/* closing call to action */
.lp-cta { position: relative; max-width: 1200px; width: calc(100% - 40px); margin: 110px auto 80px; padding: 64px 24px; border-radius: 32px; text-align: center; overflow: hidden; isolation: isolate; border: 1px solid var(--border-strong); background: var(--surface); }
.lp-cta::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(40% 50% at 30% 40%, var(--aurora-1), transparent 70%), radial-gradient(40% 50% at 70% 60%, var(--aurora-2), transparent 70%); animation: drift1 18s ease-in-out infinite alternate; }
.lp-cta h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.lp-cta p { margin: 14px auto 0; max-width: 560px; color: var(--text-2); font-size: 16px; }
.lp-cta .lp-ctas { justify-content: center; }

/* ==========================================================================
   Sign-up (trial) & company pages
   ========================================================================== */

.su-wrap, .jn-split { max-width: 1180px; width: 100%; margin: 0 auto; padding: 56px 20px 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: start; }
.su-pitch, .jn-pitch { position: sticky; top: 100px; animation: fadeUp .7s var(--ease-out) both; }
.su-h1 { margin-top: 12px; font-size: clamp(32px, 4.2vw, 50px); }
.su-points { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.su-points li { display: flex; align-items: center; gap: 13px; font-size: 14.5px; color: var(--text-2); }
.su-already { margin-top: 30px; color: var(--text-3); font-size: 13.5px; }
.su-form, .jn-form { gap: 16px; padding: 26px; background: var(--panel); border-color: var(--border-strong); backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%); box-shadow: var(--shadow), inset 0 1px 0 var(--highlight), 0 0 90px -40px rgba(var(--a0-rgb), .6); }
.su-form-title { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: 4px; }
:root[lang="ar"] .su-form-title { letter-spacing: 0; font-size: 13px; }
.su-form-title:not(:first-child) { margin-top: 10px; padding-top: 18px; border-top: 1px dashed var(--border-strong); }
.su-slug { display: flex; align-items: center; border-radius: 11px; border: 1px solid var(--border-strong); background: color-mix(in srgb, var(--bg-2) 72%, transparent); overflow: hidden; transition: border-color .25s, box-shadow .25s; direction: ltr; }
.su-slug:focus-within { border-color: color-mix(in srgb, var(--accent) 65%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
.su-host { padding-inline: 12px 2px; font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.su-slug .input, .field .su-slug input { border: 0 !important; box-shadow: none !important; background: none !important; padding-inline-start: 0 !important; flex: 1; min-width: 60px; }
.su-slug-state { padding-inline-end: 8px; flex: none; }
.su-slug-state .tag svg { width: 11px; height: 11px; }
.su-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.su-plan { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface); text-align: start; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.su-plan:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--accent) 40%, var(--border-strong)); }
.su-plan.is-on { border-color: color-mix(in srgb, var(--accent) 70%, transparent); background: linear-gradient(160deg, rgba(var(--a1-rgb), .16), var(--surface) 70%); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.su-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.su-plan-top b { font-size: 14px; }
.su-plan-price { font-size: 15px; font-weight: 600; }
.su-plan-price small { font-family: var(--font); font-weight: 400; font-size: 11px; color: var(--text-3); margin-inline-start: 3px; }
.su-plan-lim { font-size: 11.5px; color: var(--text-3); }
.su-legal { margin: 0; font-size: 12px; color: var(--text-3); text-align: center; }

.jn-main { flex: 1; width: 100%; }
.jn-wrap { max-width: 1060px; width: 100%; margin: 0 auto; padding: 40px 20px 80px; display: flex; flex-direction: column; gap: 16px; }
.jn-wrap.jn-split { max-width: 1180px; display: grid; padding-top: 48px; }
.jn-brand { display: flex; align-items: center; gap: 16px; }
.jn-brand h1 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.jn-brand p { margin-top: 3px; font-size: 13.5px; }
.jn-h2 { margin-top: 28px; font-size: clamp(30px, 4vw, 46px); }
.jn-done { align-items: center; text-align: center; padding: 40px 24px; }
.jn-done .card-icon { width: 56px; height: 56px; border-radius: 18px; }
.jn-done .card-icon svg { width: 26px; height: 26px; }
.jn-done h2 { font-size: 22px; font-weight: 700; }
.jn-done p { color: var(--text-2); max-width: 480px; }
.jn-hero { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 26px; border: 1px solid var(--border); background: radial-gradient(90% 120% at 0% 0%, hsl(var(--bh, 262) 80% 60% / .16), transparent 60%), var(--surface); }
.jn-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.jn-track { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.jn-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.jn-mail svg { width: 16px; height: 16px; }
.jn-cover { display: flex; align-items: baseline; gap: 10px; }
.jn-cover b { font-size: 40px; font-weight: 600; letter-spacing: -.03em; }
.jn-cover span { color: var(--text-2); }
.jn-desks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.jn-desk-group h3 { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.jn-desk { display: flex; flex-direction: column; gap: 2px; padding: 11px 13px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; margin-bottom: 6px; }
.jn-desk span { color: var(--text-2); }
.jn-desk a { font-size: 12.5px; }

/* ==========================================================================
   Public tracking
   ========================================================================== */

.tr-main { flex: 1; width: 100%; max-width: 900px; margin: 0 auto; padding: 28px 16px 64px; }
.tr-search { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-top: 8vh; max-width: 620px; margin: 0 auto; }
.tr-search .lp-lead { margin-top: 0; }
.tr-search-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 22px; background: var(--grad); color: #fff; box-shadow: 0 18px 40px -16px rgba(var(--a0-rgb), .9), inset 0 1px 0 rgba(255, 255, 255, .25); animation: popIn .7s var(--spring) both; }
.tr-search-icon svg { width: 30px; height: 30px; }
.tr-search-icon.is-bad { background: linear-gradient(135deg, #fb7185, #f59e0b); box-shadow: 0 18px 40px -16px rgba(251, 113, 133, .8); }
.tr-404 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; letter-spacing: -.03em; }
.tr-tips { margin: 4px 0 8px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; text-align: start; font-size: 14px; color: var(--text-2); }
.tr-tips li { display: flex; align-items: center; gap: 9px; }
.tr-tips svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.tr-search .track-box { margin-top: 8px; }
.tr-lang { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); }
.tr-lang > svg { width: 16px; height: 16px; }
.tr-lang .segmented > button { height: 28px; padding: 0 10px; font-size: 12.5px; }
.tr-search .tr-lang { margin-top: 10px; }
.tr-loading { display: flex; flex-direction: column; gap: 14px; padding-top: 30px; }

.tr-result { display: flex; flex-direction: column; gap: 14px; animation: fadeUp .5s var(--ease-out) both; }
.tr-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tr-brand b { display: block; font-size: 15px; }
.tr-brand small { color: var(--text-3); font-size: 12.5px; }
.tr-brand-mark { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; color: #fff; font-weight: 700; font-size: 19px; text-transform: uppercase; background: linear-gradient(135deg, hsl(var(--bh, 262) 80% 60%), hsl(calc(var(--bh, 262) + 40) 85% 52%)); box-shadow: 0 10px 24px -10px hsl(var(--bh, 262) 80% 50% / .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.tr-brand-mark.lg { width: 60px; height: 60px; border-radius: 19px; font-size: 26px; }
.tr-status { align-items: center; text-align: center; gap: 12px; padding: 28px 22px 22px; background: radial-gradient(90% 90% at 50% 0%, hsl(var(--bh, 262) 80% 60% / .14), transparent 70%), var(--surface); }
.tr-status > .status-pill { height: 32px; padding-inline: 12px 14px; font-size: 14px; }
.tr-code { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-3); letter-spacing: .05em; }
.tr-title { font-size: clamp(28px, 6vw, 42px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
:root[lang="ar"] .tr-title { letter-spacing: 0; line-height: 1.3; }
.tr-sentence { color: var(--text-2); font-size: 15.5px; max-width: 520px; }
.tr-status .callout { width: 100%; max-width: 520px; text-align: start; }
.tr-desk { display: flex; gap: 12px; align-items: flex-start; width: 100%; max-width: 520px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); text-align: start; }
.tr-desk > svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.tr-desk div { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.tr-desk span { color: var(--text-2); }
.tr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tr-progress { width: 100%; margin-top: 10px; padding-top: 18px; border-top: 1px dashed var(--border-strong); }
.tr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.tr-cod { flex-direction: row; align-items: center; gap: 14px; }
.tr-cod .card-icon { width: 46px; height: 46px; border-radius: 15px; }
.tr-cod small { display: block; color: var(--text-3); font-size: 12.5px; }
.tr-cod b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.tr-cod p { color: var(--text-3); font-size: 12px; margin-top: 2px; }
.tr-details .card-title svg, .tr-contact .card-title svg, .tr-history .card-title svg, .jn-wrap .card-title svg { width: 17px; height: 17px; color: var(--accent); }
.tr-contact p { font-size: 13px; }
.tr-contact-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-foot { text-align: center; font-size: 12.5px; color: var(--text-3); margin-top: 8px; }
.tr-foot em { font-family: var(--serif); font-style: italic; }

/* ==========================================================================
   API documentation
   ========================================================================== */

.dc-layout { max-width: 1240px; width: 100%; margin: 0 auto; padding: 36px 20px 80px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 44px; align-items: start; }
.dc-toc { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; display: flex; flex-direction: column; gap: 1px; padding-inline-end: 6px; }
.dc-toc b { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding: 0 10px 8px; }
.dc-toc a { position: relative; padding: 6px 10px; border-radius: 9px; font-size: 13px; color: var(--text-2); text-decoration: none; }
.dc-toc a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.dc-toc a.is-active { color: var(--text); background: var(--surface-2); }
.dc-toc a.is-active::before { content: ""; position: absolute; inset-inline-start: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 3px; background: var(--grad); }
.dc-content { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dc-hero { padding-bottom: 20px; }
.dc-hero .lp-h1 { margin-top: 10px; font-size: clamp(32px, 4.4vw, 52px); }
.dc-hero p { margin-top: 14px; color: var(--text-2); font-size: 16.5px; max-width: 680px; line-height: 1.6; }
.dc-sec { padding-top: 34px; scroll-margin-top: 80px; display: flex; flex-direction: column; gap: 14px; }
.dc-sec h2 { position: relative; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.dc-anchor { position: absolute; inset-inline-start: -22px; color: var(--text-3); opacity: 0; text-decoration: none; transition: opacity .2s; }
.dc-sec h2:hover .dc-anchor { opacity: 1; text-decoration: none; }
.dc-sec p { color: var(--text-2); line-height: 1.7; font-size: 14.5px; }
.dc-sec p code, .dc-sec li code, .dc-table code { font-family: var(--mono); font-size: 12.5px; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); white-space: nowrap; }
.dc-list { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 7px; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.dc-code { border-radius: 16px; border: 1px solid var(--border-strong); background: color-mix(in srgb, var(--panel-solid) 92%, transparent); overflow: hidden; direction: ltr; text-align: left; }
.dc-code-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 38px; padding: 0 8px 0 14px; border-bottom: 1px solid var(--border); font-size: 11.5px; color: var(--text-3); font-weight: 500; }
.dc-copy { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 8px; font-size: 11.5px; color: var(--text-2); transition: background .2s, color .2s; }
.dc-copy:hover { background: var(--surface-3); color: var(--text); }
.dc-copy svg { width: 13px; height: 13px; }
.dc-code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: var(--text); }
.dc-code pre code { white-space: pre; font-size: inherit; }
.dc-table { overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.dc-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dc-table th { text-align: start; padding: 10px 14px; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
.dc-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: top; line-height: 1.55; }
.dc-table tr:last-child td { border-bottom: 0; }
.dc-alias { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.dc-verb { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: hsl(var(--h) 85% var(--chip-l)); background: hsl(var(--h) 85% 60% / .14); border: 1px solid hsl(var(--h) 85% 62% / .3); vertical-align: middle; }
.dc-verb.v-get { --h: 190; }
.dc-verb.v-post { --h: 152; }
.dc-verb.v-patch { --h: 40; }
.dc-verb.v-delete { --h: 350; }
.dc-wilayas td { padding-top: 7px; padding-bottom: 7px; }

/* ==========================================================================
   Responsive (public site)
   ========================================================================== */

@media (max-width: 1100px) {
  .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-float.f3 { display: none; }
}

@media (max-width: 980px) {
  .lp-hero { grid-template-columns: minmax(0, 1fr); gap: 46px; padding-top: 48px; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .hv-window, :root[dir="rtl"] .hv-window { transform: none; }
  .hv-float.f1 { inset-inline-start: 8px; }
  .hv-float.f2 { inset-inline-end: 8px; }
  .lp-wilayas-inner, .lp-contact-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .su-wrap, .jn-wrap.jn-split { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; }
  .su-pitch, .jn-pitch { position: static; }
  .dc-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .dc-toc { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 10px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
  .dc-toc b { display: none; }
  .dc-toc a { padding: 5px 9px; background: var(--surface-2); font-size: 12px; }
  .dc-anchor { display: none; }
}

@media (max-width: 680px) {
  .lp-hero { padding: 34px 16px 24px; }
  .lp-section { padding: 76px 16px 0; }
  .lp-features, .lp-roles, .lp-faq-list { grid-template-columns: minmax(0, 1fr); }
  .lp-head { margin-bottom: 30px; }
  .lp-ctas .btn { flex: 1 1 auto; }
  .hv-float { display: none; }
  .hv-row { grid-template-columns: minmax(0, 1fr) auto; }
  .hv-commune { display: none; }
  .lp-compare th, .lp-compare td { padding: 11px 12px; font-size: 13px; }
  .lp-compare tbody th { width: auto; }
  .lp-compare .meh, .lp-compare .no, .lp-compare .yes { font-size: 12px; }
  .lp-wilayas-inner { padding: 24px 18px; border-radius: 22px; }
  .lp-wilaya-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-cta { width: calc(100% - 32px); margin: 80px auto 60px; padding: 44px 18px; border-radius: 24px; }
  .lp-plans > .skel.block { width: 100%; margin: 0 0 10px; }
  .lp-plan-toggle .segmented > button { padding: 0 12px; font-size: 13px; }
  .su-wrap, .jn-wrap { padding-left: 14px; padding-right: 14px; }
  .su-form, .jn-form { padding: 20px 16px; }
  .tr-main { padding: 18px 12px 48px; }
  .tr-search { padding-top: 4vh; }
  .track-box.lg .input { font-size: 16px; height: 46px; }
  .track-box.lg .btn { height: 46px; padding: 0 14px; }
  .tb-field .btn span { display: none; }
  .tr-status { padding: 22px 14px 18px; }
  .tr-brand .tr-lang { width: 100%; justify-content: center; }
  .jn-hero { padding: 20px 16px; }
  .jn-brand h1 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hv-window { transform: none !important; }
  .hv-route, .hv-ring, .hv-float, .lp-cta::before { animation: none !important; }
}
