/* maurisign.mr – one stylesheet for the French, Arabic (right to left) and English pages.
   Colours of the logo and of the Mauritanian flag: green, gold, red, with MauriSign blue. */
:root {
  --navy: #0f2a44;
  --navy-2: #163a5c;
  --blue: #2563a6;
  --blue-dark: #1b4f86;
  --blue-soft: #e8f0fa;
  --green: #1f8a6b;
  --green-soft: #e6f4ef;
  --gold: #e0a82e;
  --gold-dark: #b47e0e;
  --gold-soft: #fbf2dc;
  --red: #d01c1f;
  --red-dark: #a8141a;
  --red-soft: #fdecec;
  --ink: #13202e;
  --muted: #55657a;
  --line: #e2e8f0;
  --tint: #f5f8fc;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(15 42 68 / 6%), 0 8px 24px rgb(15 42 68 / 8%);
  --shadow-lg: 0 24px 60px rgb(15 42 68 / 18%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); }
[lang="ar"] body { font-family: "Segoe UI", "Noto Sans Arabic", "Noto Naskh Arabic", Tahoma, var(--font); line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
[lang="ar"] :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.45; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 30px; height: 30px; }
[dir="rtl"] .arrow { transform: scaleX(-1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgb(37 99 166 / 28%); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { color: var(--ink); background: rgb(255 255 255 / 75%); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-soft); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px rgb(224 168 46 / 30%); }
.btn-gold:hover { background: #ebb440; }
.btn-light-ghost { color: #fff; border-color: rgb(255 255 255 / 40%); }
.btn-light-ghost:hover { border-color: #fff; }

/* Header: the brand, the language, Contact, Se connecter and the main button. */
.topbar { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / 92%); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--red) 0 20%, var(--green) 20% 80%, var(--red) 80%); }
.topbar-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; }
.brand > span { direction: ltr; }
.brand-a { color: var(--red); }
.brand-b { color: var(--blue); }
.top-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.top-link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; padding: 8px 12px; border-radius: 999px; }
.top-link:hover, .top-link[aria-current] { color: var(--blue); background: var(--blue-soft); }
.hide-sm, .hide-xs { display: none; }

details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .92rem; }
.lang summary:hover { color: var(--blue); border-color: var(--blue); }
.lang-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 150px; display: grid; }
.lang-list a { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 550; }
.lang-list a:hover { background: var(--tint); }
.lang-list a[aria-current] { color: var(--blue); background: var(--blue-soft); }
.mobile-menu summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); }
.mobile-panel { position: absolute; inset-inline: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 16px 20px; display: grid; gap: 4px; }
.mobile-panel a:not(.btn) { display: flex; align-items: center; gap: 10px; padding: 14px 8px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-panel .btn { margin-top: 12px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 380px at 85% 10%, rgb(37 99 166 / 14%), transparent 70%),
    radial-gradient(520px 320px at 10% 90%, rgb(31 138 107 / 12%), transparent 70%),
    linear-gradient(180deg, #f7faff, #fff);
}
[dir="rtl"] .hero {
  background:
    radial-gradient(700px 380px at 15% 10%, rgb(37 99 166 / 14%), transparent 70%),
    radial-gradient(520px 320px at 90% 90%, rgb(31 138 107 / 12%), transparent 70%),
    linear-gradient(180deg, #f7faff, #fff);
}
.hero-inner { display: grid; gap: 48px; padding-block: 48px 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--red); }
.eyebrow-light { color: #8fd3bd; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 800; color: var(--navy); }
.hero h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 20px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: .97rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--green); }

/* Phone mock-up */
.mock { position: relative; justify-self: center; width: min(340px, 100%); padding-block: 20px; }
.phone { position: relative; width: 270px; margin-inline: auto; border-radius: 40px; background: var(--navy); padding: 12px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
[dir="rtl"] .phone { transform: rotate(2deg); }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 12px; background: var(--navy); z-index: 2; }
.phone-screen { background: #fff; border-radius: 30px; padding: 44px 18px 22px; min-height: 470px; display: flex; flex-direction: column; gap: 14px; }
.doc-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--navy); }
.doc { position: relative; flex: 1; border: 1px solid var(--line); border-radius: 14px; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, #fff, #fbfcfe); }
.line { display: block; height: 8px; border-radius: 4px; background: #e9eef5; }
.w90 { width: 90%; } .w85 { width: 85%; } .w80 { width: 80%; } .w75 { width: 75%; } .w60 { width: 60%; } .w40 { width: 40%; }
.sign-box { margin-top: auto; border: 2px dashed rgb(208 28 31 / 40%); border-radius: 12px; padding: 8px 10px 10px; background: var(--red-soft); }
.signature { width: 100%; height: 56px; }
.signature path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sign-name { display: block; font-size: .78rem; color: var(--muted); border-top: 1px solid rgb(208 28 31 / 25%); padding-top: 4px; }
.signed-pill { align-self: center; display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: #fff; font-weight: 700; font-size: .9rem; padding: 9px 18px; border-radius: 999px; }
/* The signature is drawn, then « Signé » appears; still pictures for people who turn animations off. */
@media (prefers-reduced-motion: no-preference) {
  .signature path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.4s .5s ease forwards; }
  .signed-pill { opacity: 0; animation: pop .5s 2.9s ease forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.mock-toast { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .85rem; font-weight: 650; color: var(--navy); white-space: nowrap; }
.mock-toast .icon { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.mock-toast-1 { top: 150px; inset-inline-start: -22px; }
.mock-toast-2 { bottom: 0; inset-inline-end: -14px; }
.mock-toast-2 .icon { background: var(--blue); }

/* Sections */
.section { padding-block: 72px; scroll-margin-top: 72px; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 800; color: var(--navy); }
.section-head > p:not(.eyebrow) { color: var(--muted); margin-top: 14px; font-size: 1.1rem; }
.section-head .eyebrow { justify-content: center; }
.sub-title { text-align: center; font-size: 1.3rem; color: var(--navy); margin: 56px 0 24px; }

/* The reality: what paper costs */
.pains { display: grid; gap: 16px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--red); }
.pain-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--red-soft); color: var(--red); margin-bottom: 16px; }
.pain h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.pain p { color: var(--muted); }

/* Why MauriSign */
.pillars { display: grid; gap: 18px; }
.pillar { position: relative; overflow: hidden; background: #fff; border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow); }
.pillar-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: #fff; margin-bottom: 20px; }
.pillar:nth-child(1) .pillar-icon { background: var(--gold); }
.pillar:nth-child(2) .pillar-icon { background: var(--green); }
.pillar:nth-child(3) .pillar-icon { background: var(--red); }
.pillar h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 10px; }
.pillar p { color: var(--muted); }
.cards { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); margin-bottom: 16px; flex: none; }
.card:nth-child(3n+2) .card-icon { background: var(--green-soft); color: var(--green); }
.card:nth-child(3n) .card-icon { background: var(--gold-soft); color: var(--gold-dark); }
.card h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); }

/* Security */
.section-dark { background: radial-gradient(900px 500px at 0% 0%, var(--navy-2), transparent 70%), var(--navy); color: #fff; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head > p:not(.eyebrow) { color: #b9c8da; }
.sec-grid { display: grid; gap: 24px; align-items: start; }
.flow-box, .compare-box, .dispute, .data-box { border-radius: 20px; background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 10%); padding: 26px; }
.flow-box > h3, .compare-box > h3, .data-box > h3 { font-size: 1.2rem; margin-bottom: 20px; }
.flow { display: grid; gap: 0; }
.flow-step { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before { content: ""; position: absolute; inset-inline-start: 22px; top: 48px; bottom: 4px; width: 2px; background: rgb(224 168 46 / 30%); }
.flow-step:last-child::before { display: none; }
.flow-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: rgb(224 168 46 / 16%); color: var(--gold); border: 1px solid rgb(224 168 46 / 40%); }
.flow-step h4 { font-size: 1.05rem; margin: 10px 0 4px; }
.flow-step p { color: #b9c8da; font-size: .97rem; }
.sec-side { display: grid; gap: 20px; }
.sec-side > .btn { justify-self: start; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare-table th, .compare-table td { padding: 11px 8px; border-bottom: 1px solid rgb(255 255 255 / 10%); text-align: start; }
.compare-table thead th { font-size: .82rem; font-weight: 650; color: #b9c8da; vertical-align: bottom; }
.compare-table thead .col-us { color: #fff; }
.compare-table tbody th { font-weight: 550; }
.compare-table td { text-align: center; width: 24%; }
.compare-table tr:last-child :is(th, td) { border-bottom: 0; }
.mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.mark-no { background: rgb(208 28 31 / 20%); color: #ff8a8c; }
.mark-yes { background: var(--green); color: #fff; }
.dispute { background: linear-gradient(135deg, rgb(208 28 31 / 22%), rgb(208 28 31 / 6%)); border-color: rgb(208 28 31 / 40%); }
.dispute h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 10px; }
.dispute h3 .icon { color: #ff8a8c; }
.dispute p { color: #dfe7f1; }
.data-box ul { display: grid; gap: 10px; }
.data-box li { display: flex; gap: 10px; align-items: flex-start; color: #dfe7f1; }
.data-box .icon { color: #8fd3bd; margin-top: 4px; }

/* How it works */
.steps { display: grid; gap: 18px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.step-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--blue); color: #fff; margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); }
.step-num { position: absolute; top: 18px; inset-inline-end: 22px; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--blue-soft); }

/* Who it is for */
.whos { display: grid; gap: 14px; }
.who { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.who-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green); }
.who:nth-child(even) .who-icon { background: var(--red-soft); color: var(--red); }
.who h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 4px; }
.who p { color: var(--muted); font-size: .97rem; }

/* Pricing */
.plans { display: grid; gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 24px 26px; }
.plan h3 { font-size: 1.25rem; color: var(--navy); }
.plan-tagline { color: var(--muted); margin-top: 4px; font-size: .97rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 22px 0; min-height: 52px; }
.amount { font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.02em; }
.amount-text { font-size: 1.8rem; }
.per { color: var(--muted); font-weight: 600; font-size: .95rem; }
.plan-list { display: grid; gap: 10px; margin-bottom: 26px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.plan-list .icon { color: var(--green); margin-top: 4px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan-featured { border: 2px solid var(--blue); box-shadow: 0 20px 50px rgb(37 99 166 / 18%); }
.badge { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--red); color: #fff; font-weight: 750; font-size: .8rem; padding: 5px 12px; border-radius: 999px; }
.price-note { text-align: center; color: var(--muted); margin-top: 26px; font-size: .97rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { position: relative; padding: 20px 0; padding-inline-end: 36px; font-weight: 650; font-size: 1.05rem; color: var(--navy); }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* Final call */
.final { background: linear-gradient(135deg, var(--blue-dark), var(--navy)); color: #fff; text-align: center; padding-block: 72px; }
.final h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.final p { color: #c5d4e6; margin-top: 12px; font-size: 1.12rem; }
.final .hero-cta { justify-content: center; }

/* Contact page */
.contact-hero { padding-block: 64px 24px; text-align: center; background: linear-gradient(180deg, #f7faff, #fff); }
.contact-hero .eyebrow { justify-content: center; }
.contact-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--navy); }
.contact-hero .lead { margin-inline: auto; }
.c-email { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 18px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); color: var(--muted); }
.c-email a { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.contact-body { padding-top: 32px; }
.c-cards { display: grid; gap: 18px; }
.c-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; box-shadow: var(--shadow); }
.c-card:nth-child(2) .card-icon { background: var(--green-soft); color: var(--green); }
.c-card:nth-child(3) .card-icon { background: var(--red-soft); color: var(--red); }
.c-card h2 { font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.c-card p { color: var(--muted); margin-bottom: 22px; }
.c-card .btn { margin-top: auto; }
.c-side { display: grid; gap: 16px; margin-top: 28px; }
.c-panel { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; background: var(--tint); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.c-panel .card-icon { margin: 0; }
.c-panel > div { flex: 1 1 200px; }
.c-panel .btn { margin-inline-start: auto; }
.c-panel h2 { font-size: 1.08rem; color: var(--navy); }
.c-panel p { color: var(--muted); font-size: .97rem; }
.c-back { text-align: center; margin-top: 36px; }

/* Footer */
.footer { background: #0b1f33; color: #b3c2d4; font-size: .97rem; }
.flag-line { height: 5px; background: linear-gradient(90deg, var(--red) 0 20%, var(--green) 20% 80%, var(--red) 80%); }
.footer-inner { display: grid; gap: 32px; padding-top: 52px; }
.footer .brand-a { color: #ff6b6e; }
.footer .brand-b { color: #6fa8e6; }
.footer-brand p { margin-top: 14px; max-width: 26em; }
.footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 14px; }
[lang="ar"] .footer h2 { letter-spacing: 0; font-size: .95rem; }
.footer ul { display: grid; gap: 8px; }
.footer a { color: #b3c2d4; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-langs { display: flex; gap: 14px; margin-top: 18px; }
.footer-langs a[aria-current] { color: #fff; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 10%); margin-top: 44px; padding-block: 22px; font-size: .9rem; }

/* Wider screens */
@media (min-width: 660px) {
  .hide-xs { display: inline-flex; }
}
@media (min-width: 640px) {
  .pains { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .whos { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .hide-sm { display: inline-flex; }
  .mobile-menu { display: none; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; padding-block: 80px 96px; }
  .pains { grid-template-columns: repeat(4, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .whos { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(4, 1fr); }
  .plan-tagline { min-height: 3.2em; }
  .c-cards { grid-template-columns: repeat(3, 1fr); }
  .c-side { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .section { padding-block: 96px; }
}
@media (max-width: 380px) {
  .phone { width: 240px; }
  .mock-toast { font-size: .78rem; padding: 8px 10px; }
  .lang summary span { display: none; }
  .compare-table { font-size: .88rem; }
}
