/* ==========================================================================
   DZPay — Design System
   Brand: DZ (green) + Pay (orange) — Algerian fintech, payments & wallet
   ========================================================================== */

:root{
  /* Brand colors */
  --green-900:#0E4A27;
  --green-700:#146C38;
  --green-600:#188A47;
  --green-500:#1FA456;
  --green-100:#E6F6EC;
  --green-50:#F3FBF6;

  --orange-700:#C85F11;
  --orange-600:#E96E12;
  --orange-500:#F4801F;
  --orange-100:#FDEADA;
  --orange-50:#FFF6EE;

  --ink-900:#13181D;
  --ink-700:#3A4450;
  --ink-500:#697480;
  --ink-300:#B6C0C9;
  --ink-150:#E1E6EA;
  --ink-100:#EEF1F3;
  --white:#FFFFFF;

  --success:#1FA456;
  --warning:#E9A312;
  --danger:#D8412C;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(19,24,29,.06), 0 1px 1px rgba(19,24,29,.04);
  --shadow-md: 0 6px 16px rgba(19,24,29,.08), 0 2px 6px rgba(19,24,29,.05);
  --shadow-lg: 0 20px 45px rgba(19,24,29,.12), 0 6px 16px rgba(19,24,29,.06);
  --shadow-green: 0 14px 30px rgba(24,138,71,.22);
  --shadow-orange: 0 14px 30px rgba(244,128,31,.22);

  /* Layout */
  --maxw: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --font-display: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink-900);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
h1,h2,h3,h4{
  font-family:var(--font-display);
  line-height:1.18;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); font-weight:700; }
h2{ font-size:clamp(1.65rem, 1.3rem + 1.4vw, 2.35rem); font-weight:700; }
h3{ font-size:1.3rem; font-weight:600; }
h4{ font-size:1.05rem; font-weight:600; }
p{ margin:0 0 1em; color:var(--ink-700); }
a{ color:var(--green-700); text-decoration:none; }
ul{ margin:0; padding:0; }
li{ list-style:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; }

.container{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 24px;
}
.section{ padding:88px 0; }
.section.alt{ background:var(--green-50); }
.section-sm{ padding:56px 0; }
.section-title{ text-align:center; max-width:640px; margin:0 auto 16px; }
.section-lead{ text-align:center; max-width:560px; margin:0 auto 48px; font-size:1.05rem; color:var(--ink-500); }
@media (max-width:720px){
  .section{ padding:56px 0; }
  .section-sm{ padding:40px 0; }
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--green-700);
  background:var(--green-100);
  padding:6px 14px;
  border-radius:var(--radius-pill);
  margin-bottom:18px;
}
.eyebrow.is-orange{ color:var(--orange-700); background:var(--orange-100); }

.section-head{ max-width:680px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head p{ font-size:1.08rem; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:.96rem;
  padding:13px 26px;
  border-radius:var(--radius-pill);
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn svg{ width:18px; height:18px; flex:none; }
.btn-primary{
  background:linear-gradient(135deg, var(--green-600), var(--green-700));
  color:var(--white);
  box-shadow:var(--shadow-green);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 18px 34px rgba(24,138,71,.3); }
.btn-orange{
  background:linear-gradient(135deg, var(--orange-500), var(--orange-700));
  color:var(--white);
  box-shadow:var(--shadow-orange);
}
.btn-orange:hover{ transform:translateY(-2px); box-shadow:0 18px 34px rgba(244,128,31,.3); }
.btn-outline{
  background:var(--white);
  color:var(--ink-900);
  border-color:var(--ink-150);
}
.btn-outline:hover{ border-color:var(--green-600); color:var(--green-700); }
.btn-ghost{
  background:transparent;
  color:var(--ink-900);
  padding:10px 16px;
}
.btn-ghost:hover{ color:var(--green-700); }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 18px; font-size:.86rem; }
.btn-lg{ padding:16px 32px; font-size:1.02rem; }

/* ---------- Top bar / header ---------- */
.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--ink-100);
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
}
.logo{
  display:flex;
  align-items:center;
  gap:9px;
  font-family:var(--font-display);
  font-weight:800;
  font-size:1.5rem;
  letter-spacing:-0.02em;
}
.logo .l-dz{ color:var(--green-600); }
.logo .l-pay{ color:var(--orange-500); }
.logo .l-tech{
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.14em;
  color:var(--ink-500);
  writing-mode:vertical-rl;
  margin-right:2px;
}
.logo-mark{
  width:34px;height:34px;border-radius:10px;flex:none;
  background:linear-gradient(135deg, var(--green-600), var(--orange-500));
  display:flex;align-items:center;justify-content:center;
  color:var(--white); font-family:var(--font-display); font-weight:800; font-size:1rem;
}

.nav{ display:flex; align-items:center; gap:6px; }
.nav a{
  color:var(--ink-700);
  font-weight:600;
  font-size:.94rem;
  padding:10px 14px;
  border-radius:var(--radius-pill);
  position:relative;
}
.nav a:hover{ color:var(--green-700); background:var(--green-50); }
.nav a.is-active{ color:var(--green-700); background:var(--green-100); }

.topbar-actions{ display:flex; align-items:center; gap:10px; }

.lang-switch{
  display:flex; align-items:center; background:var(--ink-100);
  border-radius:var(--radius-pill); padding:3px; gap:2px;
}
.lang-switch button{
  border:none; background:transparent; padding:6px 11px;
  border-radius:var(--radius-pill); font-weight:700; font-size:.78rem;
  color:var(--ink-500); cursor:pointer; transition:all .15s ease;
}
.lang-switch button.is-active{ background:var(--white); color:var(--ink-900); box-shadow:var(--shadow-sm); }

.menu-toggle{
  display:none; flex-direction:column; gap:4px; background:none; border:none; cursor:pointer; padding:8px;
}
.menu-toggle span{ width:22px; height:2px; background:var(--ink-900); border-radius:2px; }

@media (max-width:980px){
  .nav{
    position:fixed; inset:76px 0 0 0; background:var(--white);
    flex-direction:column; align-items:stretch; padding:18px; gap:4px;
    transform:translateY(-12px); opacity:0; pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
    border-top:1px solid var(--ink-100);
    overflow-y:auto;
  }
  .nav.is-open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .nav a{ padding:14px 16px; font-size:1.02rem; }
  .menu-toggle{ display:flex; }
  .topbar-actions .btn{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  padding:64px 0 40px;
  background:
    radial-gradient(880px 420px at 82% -8%, var(--green-50), transparent 60%),
    radial-gradient(700px 360px at 100% 30%, var(--orange-50), transparent 60%);
}
.hero .container{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
}
@media (max-width:940px){
  .hero .container{ grid-template-columns:1fr; }
}
.hero h1{ color:var(--ink-900); }
.hero h1 .accent{ color:var(--green-600); }
.hero-lead{ font-size:1.15rem; max-width:480px; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-top:8px; }
.hero-trust{
  display:flex; gap:24px; margin-top:36px; flex-wrap:wrap;
}
.hero-trust div{ display:flex; align-items:center; gap:9px; font-size:.86rem; font-weight:600; color:var(--ink-700); }
.hero-trust svg{ width:18px; height:18px; color:var(--green-600); flex:none; }

/* ---------- Phone mockup (CSS, no external image needed) ---------- */
.phone-stage{ position:relative; display:flex; justify-content:center; }
.phone{
  width:280px;
  background:var(--ink-900);
  border-radius:34px;
  padding:10px;
  box-shadow:var(--shadow-lg);
  position:relative;
  z-index:2;
}
.phone::before{
  content:"";
  position:absolute; top:18px; left:50%; transform:translateX(-50%);
  width:74px; height:18px; background:var(--ink-900); border-radius:10px;
}
.phone-screen{
  background:var(--white);
  border-radius:24px;
  overflow:hidden;
  padding-top:30px;
}
.phone-app-bar{
  display:flex; align-items:center; justify-content:space-between;
  padding:0 18px 14px; font-family:var(--font-display); font-weight:700; font-size:1.02rem;
}
.phone-balance{
  margin:0 14px 14px; padding:20px 18px;
  background:linear-gradient(135deg, var(--green-600), var(--green-900));
  border-radius:18px; color:var(--white);
}
.phone-balance .label{ font-size:.72rem; opacity:.8; font-weight:600; letter-spacing:.03em; }
.phone-balance .amount{ font-family:var(--font-display); font-size:1.55rem; font-weight:700; margin-top:6px; }
.phone-actions{ display:grid; grid-template-columns:repeat(4,1fr); gap:6px; padding:0 14px 16px; }
.phone-actions div{ text-align:center; font-size:.62rem; font-weight:600; color:var(--ink-700); }
.phone-actions .ic{
  width:38px; height:38px; border-radius:12px; background:var(--green-100);
  display:flex; align-items:center; justify-content:center; margin:0 auto 6px;
  color:var(--green-700);
}
.phone-actions .ic svg{ width:17px; height:17px; }
.phone-list{ padding:0 14px 18px; }
.phone-list .row{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0; border-top:1px solid var(--ink-100); font-size:.78rem;
}
.phone-list .row:first-child{ border-top:none; }
.phone-list .who{ font-weight:600; color:var(--ink-900); }
.phone-list .when{ color:var(--ink-500); font-size:.7rem; }
.phone-list .amt.neg{ color:var(--ink-900); font-weight:700; }
.phone-list .amt.pos{ color:var(--green-700); font-weight:700; }

.qr-card{
  position:absolute; right:-18px; bottom:6%;
  background:var(--white); border-radius:16px; padding:14px;
  box-shadow:var(--shadow-lg); width:128px; text-align:center; z-index:3;
}
.qr-card .qr{
  width:100%; aspect-ratio:1; border-radius:8px;
  background:
    repeating-linear-gradient(0deg, var(--ink-900) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(90deg, var(--ink-900) 0 4px, transparent 4px 8px);
  background-blend-mode:multiply;
  margin-bottom:8px;
  opacity:.88;
}
.qr-card .cap{ font-size:.66rem; font-weight:700; color:var(--ink-700); }

.float-badge{
  position:absolute; left:-22px; top:14%;
  background:var(--white); border-radius:14px; padding:10px 14px;
  box-shadow:var(--shadow-md); display:flex; align-items:center; gap:9px;
  font-size:.78rem; font-weight:700; z-index:3;
}
.float-badge svg{ width:20px; height:20px; color:var(--green-600); flex:none; }
@media (max-width:600px){
  .float-badge, .qr-card{ display:none; }
}

/* ---------- Feature strip ---------- */
.strip{
  background:var(--white);
  border:1px solid var(--ink-100);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
  margin-top:-26px;
  position:relative; z-index:5;
}
.strip-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:0;
}
.strip-item{
  display:flex; align-items:flex-start; gap:12px;
  padding:26px 24px;
  border-right:1px solid var(--ink-100);
}
.strip-item:last-child{ border-right:none; }
.strip-item .ic{
  width:42px; height:42px; border-radius:12px; flex:none;
  display:flex; align-items:center; justify-content:center;
  background:var(--green-100); color:var(--green-700);
}
.strip-item:nth-child(2) .ic{ background:var(--orange-100); color:var(--orange-600); }
.strip-item:nth-child(4) .ic{ background:var(--orange-100); color:var(--orange-600); }
.strip-item .ic svg{ width:20px; height:20px; }
.strip-item h4{ margin-bottom:3px; font-size:.96rem; }
.strip-item p{ margin:0; font-size:.82rem; color:var(--ink-500); }
@media (max-width:980px){
  .strip-grid{ grid-template-columns:repeat(2,1fr); }
  .strip-item{ border-bottom:1px solid var(--ink-100); }
  .strip-item:nth-child(odd){ border-right:1px solid var(--ink-100); }
}
@media (max-width:600px){
  .strip-grid{ grid-template-columns:1fr; }
  .strip-item{ border-right:none !important; }
}

/* ---------- Split audience cards (users / merchants) ---------- */
.audience-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
@media (max-width:860px){ .audience-grid{ grid-template-columns:1fr; } }
.audience-card{
  border-radius:var(--radius-lg);
  padding:38px;
  position:relative;
  overflow:hidden;
  border:1px solid var(--ink-100);
}
.audience-card.is-user{ background:var(--green-50); }
.audience-card.is-merchant{ background:var(--orange-50); }
.audience-tag{
  display:inline-block; font-size:.74rem; font-weight:800; letter-spacing:.06em;
  text-transform:uppercase; padding:6px 12px; border-radius:var(--radius-pill);
  margin-bottom:16px;
}
.audience-card.is-user .audience-tag{ background:var(--green-600); color:var(--white); }
.audience-card.is-merchant .audience-tag{ background:var(--orange-500); color:var(--white); }
.audience-card .avatar{
  width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.audience-card.is-user .avatar{ background:var(--green-100); color:var(--green-700); }
.audience-card.is-merchant .avatar{ background:var(--orange-100); color:var(--orange-600); }
.audience-card .avatar svg{ width:26px; height:26px; }
.audience-list{ margin-top:20px; display:flex; flex-direction:column; gap:13px; }
.audience-list li{ display:flex; gap:10px; align-items:flex-start; font-weight:500; color:var(--ink-900); font-size:.95rem; }
.audience-list svg{ width:19px; height:19px; flex:none; margin-top:2px; }
.audience-card.is-user .audience-list svg{ color:var(--green-600); }
.audience-card.is-merchant .audience-list svg{ color:var(--orange-500); }
.audience-card .btn{ margin-top:24px; }

/* ---------- Two-col feature rows (security / tech) ---------- */
.duo-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
@media (max-width:860px){ .duo-grid{ grid-template-columns:1fr; } }
.duo-card{
  background:var(--white); border:1px solid var(--ink-100); border-radius:var(--radius-lg);
  padding:34px; box-shadow:var(--shadow-sm);
}
.duo-card .head{ display:flex; align-items:center; gap:12px; margin-bottom:22px; }
.duo-card .head .ic{
  width:46px; height:46px; border-radius:13px; display:flex; align-items:center; justify-content:center; flex:none;
}
.duo-card.is-green .head .ic{ background:var(--green-100); color:var(--green-700); }
.duo-card.is-orange .head .ic{ background:var(--orange-100); color:var(--orange-600); }
.duo-card .head .ic svg{ width:22px; height:22px; }
.duo-card .head h3{ margin:0; }
.duo-card ul{ display:flex; flex-direction:column; gap:14px; }
.duo-card li{ display:flex; gap:11px; align-items:flex-start; font-size:.93rem; color:var(--ink-700); }
.duo-card li svg{ width:18px; height:18px; flex:none; margin-top:2px; }
.duo-card.is-green li svg{ color:var(--green-600); }
.duo-card.is-orange li svg{ color:var(--orange-600); }
.duo-card li b{ color:var(--ink-900); }

/* ---------- Generic card grid ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
@media (max-width:920px){ .grid-3{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-3, .grid-2{ grid-template-columns:1fr; } }

.card{
  background:var(--white); border:1px solid var(--ink-100); border-radius:var(--radius-md);
  padding:30px; box-shadow:var(--shadow-sm); transition:box-shadow .2s ease, transform .2s ease;
}
.card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.card .ic{
  width:46px; height:46px; border-radius:13px; display:flex; align-items:center; justify-content:center;
  background:var(--green-100); color:var(--green-700); margin-bottom:18px;
}
.card .ic svg{ width:22px; height:22px; }
.card.acc-orange .ic{ background:var(--orange-100); color:var(--orange-600); }
.card .ic.ic-green{ background:var(--green-100); color:var(--green-700); }
.card .ic.ic-orange{ background:var(--orange-100); color:var(--orange-600); }
.card p:last-child{ margin-bottom:0; }
.card .tag{
  display:inline-block; font-size:.72rem; font-weight:700; color:var(--green-700);
  background:var(--green-100); padding:4px 10px; border-radius:var(--radius-pill); margin-bottom:14px;
}

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg, var(--green-700) 0%, var(--green-600) 55%, var(--orange-600) 130%);
  border-radius:var(--radius-lg);
  padding:56px;
  color:var(--white);
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta-band h2{ color:var(--white); margin-bottom:8px; }
.cta-band p{ color:rgba(255,255,255,.86); margin-bottom:0; max-width:480px; }
.waitlist-form{ width:100%; max-width:520px; }
.waitlist-row{ display:flex; gap:8px; }
.waitlist-input{
  flex:1; min-width:0;
  padding:0 16px; height:48px;
  border:2px solid rgba(255,255,255,.35);
  border-radius:var(--radius);
  background:rgba(255,255,255,.15);
  color:var(--white);
  font-size:.95rem;
  outline:none;
  transition:border-color .2s;
}
.waitlist-input::placeholder{ color:rgba(255,255,255,.55); }
.waitlist-input:focus{ border-color:var(--white); background:rgba(255,255,255,.22); }
.waitlist-note{ margin-top:10px; font-size:.8rem; color:rgba(255,255,255,.6); }
.waitlist-success{
  display:flex; align-items:center; gap:8px; margin-top:12px;
  color:var(--white); font-weight:600; font-size:.95rem;
}
@media(max-width:480px){
  .waitlist-row{ flex-direction:column; }
  .waitlist-input{ width:100%; }
}
.cta-band .btn-outline{ background:var(--white); border-color:var(--white); }
.cta-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.cta-actions .btn-ghost{ color:var(--white); border:2px solid rgba(255,255,255,.5); }
@media (max-width:720px){
  .cta-band{ padding:36px 28px; flex-direction:column; align-items:flex-start; }
}

/* ---------- Footer ---------- */
.footer{ background:var(--ink-900); color:var(--ink-300); padding-top:64px; }
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr 1fr; gap:32px; padding-bottom:46px;
}
@media (max-width:920px){ .footer-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer h4{ color:var(--white); font-size:.86rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:18px; }
.footer .logo .l-dz{ color:var(--green-500); }
.footer .logo .l-pay{ color:var(--orange-500); }
.footer .logo .l-tech{ color:var(--ink-300); }
.footer-about p{ color:var(--ink-300); font-size:.9rem; max-width:280px; }
.footer ul{ display:flex; flex-direction:column; gap:11px; }
.footer a{ color:var(--ink-300); font-size:.9rem; }
.footer a:hover{ color:var(--white); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding:22px 0 30px;
  display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  font-size:.82rem; color:var(--ink-500);
}
.social-row{ display:flex; gap:10px; }
.social-row a{
  width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:center; color:var(--ink-300);
}
.social-row a:hover{ background:var(--green-600); color:var(--white); }
.social-row svg{ width:16px; height:16px; }
.status-pill{
  display:inline-flex; align-items:center; gap:7px; font-size:.78rem; font-weight:600; color:var(--green-500);
}
.status-pill .dot{ width:8px; height:8px; border-radius:50%; background:var(--green-500); box-shadow:0 0 0 4px rgba(31,164,86,.18); }

/* ---------- Page header (non-home pages) ---------- */
.page-hero{
  padding:56px 0 44px;
  background:linear-gradient(180deg, var(--green-50), var(--white));
  border-bottom:1px solid var(--ink-100);
}
.breadcrumb{ font-size:.84rem; color:var(--ink-500); margin-bottom:14px; }
.breadcrumb a{ color:var(--ink-500); }
.breadcrumb a:hover{ color:var(--green-700); }
.page-hero h1{ max-width:680px; }
.page-hero p{ max-width:600px; font-size:1.08rem; }

/* ---------- About page images ---------- */
.about-hero-img{
  position:relative;
  width:100%;
  height:320px;
  overflow:hidden;
}
.about-hero-img img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 35%;
}
.about-team-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.about-team-text .eyebrow{ margin-bottom:16px; }
.about-team-text h2{ margin-bottom:16px; }
.about-team-text p{ margin-bottom:28px; }
.about-team-imgs{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.about-team-imgs img{
  width:100%;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
  object-fit:cover;
  display:block;
}
.about-team-imgs img:first-child{ height:260px; object-position:center 30%; }
.about-team-imgs img:last-child{ height:180px; object-position:center 50%; }
@media(max-width:860px){
  .about-hero-img{ height:220px; }
  .about-team-split{ grid-template-columns:1fr; gap:40px; }
  .about-team-imgs{ flex-direction:row; }
  .about-team-imgs img:first-child,
  .about-team-imgs img:last-child{ height:180px; flex:1; }
}
@media(max-width:560px){
  .about-team-imgs{ flex-direction:column; }
}

/* ---------- Tabs ---------- */
.tabs{ display:flex; gap:8px; border-bottom:1px solid var(--ink-100); margin-bottom:34px; flex-wrap:wrap; }
.tab-btn{
  background:none; border:none; padding:13px 6px; margin-right:22px; font-weight:700; color:var(--ink-500);
  cursor:pointer; border-bottom:3px solid transparent; font-size:.96rem; font-family:var(--font-display);
}
.tab-btn.is-active{ color:var(--green-700); border-color:var(--green-600); }
.tab-panel{ display:none; }
.tab-panel.is-active{ display:block; }

/* ---------- Pricing ---------- */
.pricing-toggle{
  display:flex; justify-content:center; align-items:center; gap:14px; margin-bottom:48px;
}
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; }
@media (max-width:920px){ .pricing-grid{ grid-template-columns:1fr; max-width:440px; margin:0 auto; } }
.price-card{
  background:var(--white); border:1px solid var(--ink-100); border-radius:var(--radius-lg);
  padding:34px; display:flex; flex-direction:column; box-shadow:var(--shadow-sm);
}
.price-card.is-featured{
  border-color:var(--green-600); box-shadow:var(--shadow-green); position:relative; transform:translateY(-6px);
}
.price-card .ribbon{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--green-600); color:var(--white); font-size:.72rem; font-weight:700;
  padding:5px 16px; border-radius:var(--radius-pill); white-space:nowrap;
}
.price-card h3{ margin-bottom:4px; }
.price-card .sub{ color:var(--ink-500); font-size:.86rem; margin-bottom:20px; }
.price-card .amount{ font-family:var(--font-display); font-size:2.2rem; font-weight:800; margin-bottom:4px; }
.price-card .amount span{ font-size:.95rem; font-weight:500; color:var(--ink-500); }
.price-card .per{ color:var(--ink-500); font-size:.84rem; margin-bottom:24px; }
.price-card ul{ display:flex; flex-direction:column; gap:13px; margin-bottom:28px; flex:1; }
.price-card li{ display:flex; gap:10px; align-items:flex-start; font-size:.9rem; color:var(--ink-700); }
.price-card li svg{ width:17px; height:17px; flex:none; margin-top:3px; color:var(--green-600); }

/* ---------- FAQ accordion ---------- */
.faq-list{ display:flex; flex-direction:column; gap:12px; }
.faq-item{
  border:1px solid var(--ink-100); border-radius:var(--radius-md); background:var(--white); overflow:hidden;
}
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:20px 22px; font-family:var(--font-display); font-weight:600; font-size:.98rem; color:var(--ink-900);
}
.faq-q .chev{ width:18px; height:18px; flex:none; color:var(--ink-500); transition:transform .2s ease; }
.faq-item.is-open .faq-q .chev{ transform:rotate(180deg); color:var(--green-600); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-a-inner{ padding:0 22px 20px; color:var(--ink-700); font-size:.92rem; }
.faq-item.is-open .faq-a{ max-height:600px; }
.faq-cat-label{
  font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-500);
  margin:34px 0 14px;
}
.faq-cat-label:first-child{ margin-top:0; }

/* ---------- Help center ---------- */
.help-search{
  max-width:640px; margin:0 auto 40px; position:relative;
}
.help-search input{
  width:100%; padding:18px 22px 18px 52px; border-radius:var(--radius-pill);
  border:1px solid var(--ink-150); font-size:1rem; font-family:var(--font-body);
  box-shadow:var(--shadow-sm);
}
.help-search input:focus{ outline:2px solid var(--green-500); border-color:transparent; }
.help-search svg{
  position:absolute; left:20px; top:50%; transform:translateY(-50%); width:20px; height:20px; color:var(--ink-500);
}
.help-cats{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:60px; }
@media (max-width:860px){ .help-cats{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .help-cats{ grid-template-columns:1fr; } }
.help-cat{
  display:block; background:var(--white); border:1px solid var(--ink-100); border-radius:var(--radius-md);
  padding:24px; text-align:left; cursor:pointer; transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.help-cat:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); border-color:var(--green-500); }
.help-cat .ic{ width:42px; height:42px; border-radius:12px; background:var(--green-100); color:var(--green-700); display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.help-cat .ic svg{ width:20px; height:20px; }
.help-cat .count{ font-size:.8rem; color:var(--ink-500); margin-top:4px; }

.support-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:860px){ .support-grid{ grid-template-columns:1fr; } }
.support-card{
  background:var(--white); border:1px solid var(--ink-100); border-radius:var(--radius-md); padding:28px; text-align:center;
}
.support-card .ic{
  width:52px; height:52px; border-radius:50%; background:var(--green-100); color:var(--green-700);
  display:flex; align-items:center; justify-content:center; margin:0 auto 16px;
}
.support-card .ic svg{ width:24px; height:24px; }
.support-card .meta{ font-size:.82rem; color:var(--ink-500); margin-bottom:16px; }

.no-results{ text-align:center; padding:40px 0; color:var(--ink-500); display:none; }
.no-results.is-visible{ display:block; }

/* ---------- Status page ---------- */
.status-board{ border:1px solid var(--ink-100); border-radius:var(--radius-lg); overflow:hidden; }
.status-row{
  display:flex; align-items:center; justify-content:space-between; padding:18px 26px;
  border-bottom:1px solid var(--ink-100); font-weight:600; font-size:.94rem;
}
.status-row:last-child{ border-bottom:none; }
.status-ok{ display:flex; align-items:center; gap:8px; color:var(--green-600); font-size:.86rem; font-weight:700; }
.status-ok .dot{ width:8px; height:8px; border-radius:50%; background:var(--green-500); }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:.95fr 1.05fr; gap:48px; align-items:start; }
@media (max-width:920px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{
  display:flex; gap:16px; padding:22px; border:1px solid var(--ink-100); border-radius:var(--radius-md); margin-bottom:16px;
}
.contact-card .ic{
  width:44px; height:44px; border-radius:12px; background:var(--green-100); color:var(--green-700);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.contact-card .ic svg{ width:20px; height:20px; }
.contact-card h4{ margin-bottom:3px; }
.contact-card p{ margin:0; font-size:.9rem; }

.form-card{
  background:var(--white); border:1px solid var(--ink-100); border-radius:var(--radius-lg);
  padding:36px; box-shadow:var(--shadow-md);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.86rem; font-weight:600; margin-bottom:7px; color:var(--ink-900); }
.field input, .field select, .field textarea{
  width:100%; padding:13px 15px; border-radius:var(--radius-sm); border:1px solid var(--ink-150);
  font-family:var(--font-body); font-size:.95rem; background:var(--white); color:var(--ink-900);
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:2px solid var(--green-500); border-color:transparent; }
.field textarea{ resize:vertical; min-height:120px; }
.field-check{ display:flex; align-items:flex-start; gap:10px; font-size:.84rem; color:var(--ink-500); }
.field-check input{ width:auto; margin-top:3px; }
.form-success{
  display:none; text-align:center; padding:40px 10px;
}
.form-success.is-visible{ display:block; }
.form-success .ic{
  width:64px; height:64px; border-radius:50%; background:var(--green-100); color:var(--green-700);
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px;
}
.form-success .ic svg{ width:30px; height:30px; }

/* ---------- About / timeline ---------- */
.value-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:920px){ .value-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .value-grid{ grid-template-columns:1fr; } }
.stat-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; text-align:center; }
@media (max-width:760px){ .stat-row{ grid-template-columns:repeat(2,1fr); } }
.stat-row .num{ font-family:var(--font-display); font-size:2.2rem; font-weight:800; color:var(--green-700); }
.stat-row .lbl{ font-size:.86rem; color:var(--ink-500); }

.timeline{ position:relative; padding-left:34px; }
.timeline::before{ content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background:var(--ink-150); }
.timeline-step{ position:relative; padding-bottom:34px; }
.timeline-step:last-child{ padding-bottom:0; }
.timeline-step::before{
  content:""; position:absolute; left:-34px; top:2px; width:20px; height:20px; border-radius:50%;
  background:var(--green-600); border:4px solid var(--green-100);
}
.timeline-step.is-future::before{ background:var(--ink-300); border-color:var(--ink-100); }
.timeline-step .tag{ font-size:.74rem; font-weight:700; color:var(--green-700); text-transform:uppercase; letter-spacing:.05em; }
.timeline-step.is-future .tag{ color:var(--ink-500); }

/* ---------- Legal ---------- */
.legal-layout{ display:grid; grid-template-columns:260px 1fr; gap:48px; align-items:start; }
@media (max-width:860px){ .legal-layout{ grid-template-columns:1fr; } }
.legal-nav{ position:sticky; top:96px; display:flex; flex-direction:column; gap:4px; }
.legal-nav a{ padding:9px 12px; border-radius:var(--radius-sm); font-size:.88rem; color:var(--ink-700); font-weight:600; }
.legal-nav a:hover, .legal-nav a.is-active{ background:var(--green-50); color:var(--green-700); }
.legal-body h2{ margin-top:46px; }
.legal-body h2:first-child{ margin-top:0; }
.legal-body h3{ margin-top:22px; font-size:1.05rem; }
.legal-body h4{ margin-top:18px; font-size:.92rem; color:var(--ink-700); text-transform:uppercase; letter-spacing:.03em; }
.legal-body p, .legal-body li{ color:var(--ink-700); font-size:.95rem; }
.legal-body ul{ padding-left:20px; margin-bottom:1em; }
.legal-body li{ list-style:disc; margin-bottom:6px; }
.legal-body strong{ color:var(--ink-900); }
.legal-body code{
  background:var(--ink-100); color:var(--ink-900); padding:2px 7px; border-radius:5px;
  font-family:'SFMono-Regular',Consolas,Menlo,monospace; font-size:.84em;
}
.legal-updated{ font-size:.84rem; color:var(--ink-500); margin-bottom:30px; }

.table-wrap{ overflow-x:auto; margin:18px 0 26px; border-radius:var(--radius-md); border:1px solid var(--ink-100); }
.legal-body table{ width:100%; border-collapse:collapse; font-size:.9rem; min-width:420px; }
.legal-body th{
  background:var(--green-600); color:var(--white); padding:12px 16px; text-align:left;
  font-weight:600; font-family:var(--font-display); font-size:.86rem;
}
.legal-body td{ padding:11px 16px; border-top:1px solid var(--ink-100); color:var(--ink-700); }
.legal-body tr:nth-child(even) td{ background:var(--green-50); }
.callout{
  background:var(--green-50); border:1px solid var(--green-100); border-radius:var(--radius-md);
  padding:18px 20px; font-size:.9rem; color:var(--green-900); margin:20px 0;
}
.callout.is-warning{ background:var(--orange-50); border-color:var(--orange-100); color:var(--orange-700); }

/* ---------- Badges / misc ---------- */
.badge-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.badge{
  display:inline-flex; align-items:center; gap:7px; font-size:.78rem; font-weight:700;
  background:var(--ink-100); color:var(--ink-700); padding:7px 13px; border-radius:var(--radius-pill);
}
.badge svg{ width:14px; height:14px; }
.badge-green{ background:var(--green-100); color:var(--green-700); }
.badge-orange{ background:var(--orange-100); color:var(--orange-700); }

.divider{ height:1px; background:var(--ink-100); margin:48px 0; }

.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--green-700); color:#fff; padding:10px 16px; z-index:100;
}
.skip-link:focus{ left:16px; top:16px; }

[data-i18n], [data-i18n-html]{ }
html:not([lang="en"]) [data-lang="en"]{ display:none; }
html[lang="en"] [data-lang="fr"]{ display:none; }
