/* Jotbello marketing site
   Colours come from the app (packages/shared/src/theme.ts) so the site and the app look the same.
   Layout uses logical properties (inline-start / inline-end) so an Arabic page with dir="rtl"
   mirrors without extra CSS. */

@font-face { font-family: "Lexend Deca"; src: url("../fonts/LexendDeca_400Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lexend Deca"; src: url("../fonts/LexendDeca_500Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lexend Deca"; src: url("../fonts/LexendDeca_600SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lexend Deca"; src: url("../fonts/LexendDeca_700Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #F8F7FD;
  --surface: #FFFFFF;
  --surface-alt: #F1EEFC;
  --border: #ECEAF3;
  --text: #24252C;
  --muted: #625E70;
  --accent: #5F33E1;
  --accent-soft: #EEE9FF;
  --accent-line: #DCD2FB;
  --accent-deep: #3B1A8F;
  --on-accent-muted: #E9E2FB;
  --owes: #C62828;
  --owes-soft: #FFE9E9;
  --paid: #1B7A39;
  --paid-soft: #E3F6EA;
  --pending: #9A4A00;
  --pending-soft: #FFEEDC;
  --info: #005EB8;
  --info-soft: #E3F1FF;
  --gold: #F0B429;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(36, 37, 44, .05), 0 8px 24px rgba(36, 37, 44, .06);
  --shadow-lg: 0 2px 6px rgba(36, 37, 44, .06), 0 24px 60px rgba(59, 26, 143, .16);
  --wrap: 1160px;
  --gutter: 20px;

  --font: "Lexend Deca", "Noto Sans", "Noto Sans Devanagari", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
/* Hindi and Arabic marks need more room (same rule as the app). */
:lang(hi) body, :lang(ar) body, body:lang(hi), body:lang(ar) { line-height: 1.85; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-inline-start: 1.2em; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 247, 253, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
.brand img { width: 44px; height: auto; }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .97rem; padding: 10px 12px; border-radius: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--accent-soft); color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.nav .btn { margin-inline-start: 8px; }
.nav-toggle { display: none; margin-inline-start: auto; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--accent-soft); color: var(--accent); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; inset-inline: 0; top: 70px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 20px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(95, 51, 225, .28); }
.btn-primary:hover { color: #fff; background: #5229cf; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(95, 51, 225, .34); }
.btn-soft { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-line); }
.btn-soft:hover { background: #e4dcff; color: var(--accent-deep); }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { color: var(--accent-deep); transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.btn .arrow { display: inline-block; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 64px); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); }
.bg-white { background: var(--surface); }
.bg-soft { background: var(--surface-alt); }

/* Soft glows behind the hero, like the app background */
.glow { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.glow::before, .glow::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.glow::before { width: 520px; height: 520px; inset-inline-end: -120px; top: -140px; background: rgba(95, 51, 225, .16); }
.glow::after { width: 420px; height: 420px; inset-inline-start: -160px; bottom: -120px; background: rgba(240, 180, 41, .14); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { max-width: 560px; }
.hero .btn-row { margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.tick { width: 18px; height: 18px; flex: none; color: var(--paid); }
.hero-visual { position: relative; min-height: 420px; }
.hero-visual .browser { width: 100%; }
.hero-visual .browser { width: 94%; }
.hero-visual .phone { position: absolute; width: 34%; max-width: 210px; inset-inline-end: 0; bottom: -56px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding-bottom: 40px; margin-top: 8px; }
  .hero-visual .phone { width: 40%; bottom: 0; }
}

/* ---------- Device frames for real screenshots ---------- */
.phone {
  background: #1d1b24; padding: 9px; border-radius: 38px; box-shadow: var(--shadow-lg);
  position: relative;
}
.phone::before { /* speaker notch */
  content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 26%; height: 7px; border-radius: 6px; background: #1d1b24; z-index: 2; opacity: .9;
}
.phone img { border-radius: 30px; width: 100%; background: var(--bg); }
.browser { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F3F1FA; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9D5E8; display: block; }
.browser-bar .url { margin-inline-start: 10px; flex: 1; max-width: 300px; font-size: .75rem; color: var(--muted); background: #fff; border-radius: 8px; padding: 3px 10px; direction: ltr; text-align: start; }
.browser img { width: 100%; }
figure { margin: 0; }
figcaption { font-size: .88rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .muted { font-size: .97rem; }
.icon-tile {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; flex: none;
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.red { background: var(--owes-soft); color: var(--owes); }
.icon-tile.green { background: var(--paid-soft); color: var(--paid); }
.icon-tile.amber { background: var(--pending-soft); color: var(--pending); }
.icon-tile.blue { background: var(--info-soft); color: var(--info); }

/* Split section: text one side, real screen the other */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 112px); }
.split.reverse > :first-child { order: 2; }
.split .shot-phone { max-width: 320px; margin-inline: auto; }
.split .shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; max-width: 560px; margin-inline: auto; }
.split .shot-pair .phone:nth-child(2) { margin-top: 48px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split .shot-phone { max-width: 280px; }
}
@media (max-width: 460px) { .split .shot-pair { gap: 10px; } }

.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--paid-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B7A39' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Status pills, same colours and meaning as the app */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.red { background: var(--owes-soft); color: var(--owes); }
.pill.green { background: var(--paid-soft); color: var(--paid); }
.pill.amber { background: var(--pending-soft); color: var(--pending); }
.pill.purple { background: var(--accent-soft); color: var(--accent); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; inset-inline-start: 26px;
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 8px 18px rgba(95, 51, 225, .3);
}
.steps .card.step { padding-top: 84px; }
.steps .card.step::before { top: 26px; }

/* Two audiences */
.audience { display: flex; flex-direction: column; }
.audience .shot-phone { max-width: 250px; margin: 22px auto 0; }
.audience .btn { align-self: flex-start; margin-top: 8px; }

/* Purple band */
.band {
  background: var(--accent); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 56px);
  position: relative; overflow: hidden; isolation: isolate;
}
.band::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; border-radius: 50%; inset-inline-end: -120px; top: -160px; background: rgba(255, 255, 255, .12); }
.band h2, .band h3 { color: #fff; }
.band p { color: var(--on-accent-muted); }
.band .btn-row { margin-top: 24px; }
.band-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 760px) { .band-grid { grid-template-columns: 1fr; } }

/* Legal / record line, same text as under every wallet card in the app */
.record-line {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1px dashed var(--accent-line); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: .95rem; color: var(--muted);
}
.record-line svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; }
.fact b { display: block; font-size: 1.25rem; color: var(--accent); }
.fact span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* Countries */
.countries { display: flex; flex-wrap: wrap; gap: 10px; }
.country { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font-weight: 500; font-size: .95rem; }
.country small { color: var(--muted); font-weight: 400; }

/* Pricing */
.price-card { max-width: 760px; margin-inline: auto; padding: clamp(28px, 5vw, 48px); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 18px; }
.price b { font-size: clamp(2.6rem, 6vw, 3.6rem); color: var(--accent); line-height: 1; }
.price-list { columns: 2; column-gap: 32px; }
.price-list li { break-inside: avoid; }
@media (max-width: 620px) { .price-list { columns: 1; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq.center { margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px; min-height: 44px;
  font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 1.3rem; font-weight: 500;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.4rem; margin-bottom: 18px; }

/* Store badges (coming soon) */
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; min-height: 56px; border-radius: 14px; background: #1d1b24; color: #fff; text-decoration: none; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: .72rem; opacity: .75; line-height: 1.2; }
.store b { font-weight: 600; line-height: 1.2; }
.store[aria-disabled="true"] { opacity: .55; cursor: default; }

/* Page hero for inner pages */
.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(28px, 4vw, 48px); }
.page-hero .lead { max-width: 680px; }

/* Wide desktop screenshot */
.wide-shot { max-width: 1040px; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: #1d1b24; color: #C9C5D6; padding-block: 56px 32px; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #9F9AB3; margin-bottom: 14px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-grid li a { display: inline-flex; min-height: 36px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.25rem; margin-bottom: 12px; }
.footer-brand img { width: 40px; background: #fff; border-radius: 10px; padding: 4px; }
.footer-bottom { border-top: 1px solid #34313f; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; color: #9F9AB3; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Small screens */
@media (max-width: 520px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .card { padding: 22px; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .audience .btn { align-self: stretch; }
}

/* ---------- Hero: same screen from three shops (AED, SAR, KWD), cross-fading ---------- */
.rotator { display: grid; }
.rotator img { grid-area: 1 / 1; opacity: 0; animation: rot-fade 12s infinite; }
.rotator img:nth-child(1) { animation-delay: 0s; }
.rotator img:nth-child(2) { animation-delay: 4s; }
.rotator img:nth-child(3) { animation-delay: 8s; }
@keyframes rot-fade {
  0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; }
}
.phone .rotator img { border-radius: 30px; }
.currency-chips {
  list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 8px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.currency-chips li {
  font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: var(--surface); color: var(--muted); border: 1px solid var(--border);
  animation: chip-on 12s infinite; animation-delay: calc(var(--i) * 4s);
}
@keyframes chip-on {
  0%, 36% { background: var(--accent); color: #fff; border-color: var(--accent); }
  38%, 100% { background: var(--surface); color: var(--muted); border-color: var(--border); }
}
/* Reduced motion: show the first shop only, no fading. */
@media (prefers-reduced-motion: reduce) {
  .rotator img { animation: none; }
  .rotator img:first-child { opacity: 1; }
  .currency-chips li { animation: none; }
}

/* =================== SEO pages: breadcrumbs, link cards, tables, articles =================== */
.h3 { font-size: 1.2rem; }
.crumbs { padding-top: 14px; font-size: .88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-inline-end: 6px; color: #A9A4BA; }
[dir="rtl"] .crumbs li + li::before { content: "‹"; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs + main .page-hero, .crumbs + main .hero { padding-top: clamp(20px, 4vw, 48px); }

.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card-link:hover { color: inherit; transform: translateY(-2px); border-color: var(--accent-line); box-shadow: var(--shadow-lg); }
.card-link h3 { color: var(--text); }
.card-link .more { margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 600; font-size: .95rem; }
.card-link .pill { align-self: flex-start; margin-top: auto; }

.checks.on-purple { color: #fff; }
.steps-list { padding-inline-start: 1.2em; margin: 0 0 1em; display: grid; gap: 6px; }

.soon-banner {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 18px;
  background: var(--pending-soft); color: #5c2d00; border: 1px solid #F6D3AE;
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: .97rem;
}
.soon-banner svg { width: 22px; height: 22px; flex: none; color: var(--pending); margin-top: 2px; }
.soon-banner a { color: #5c2d00; font-weight: 600; }

.table-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); overflow-x: auto; }
.facts-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; margin: 8px 0 0; }
.facts-list div { border-top: 1px solid var(--border); padding-top: 12px; }
.facts-list dt { font-size: .82rem; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.facts-list dd { margin: 0; font-weight: 500; }
@media (max-width: 860px) { .facts-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts-list { grid-template-columns: 1fr; } }

.compare-table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 480px; }
.compare-table th, .compare-table td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table thead th { font-size: .85rem; color: var(--muted); font-weight: 600; background: var(--surface-alt); }
.compare-table tbody th { font-weight: 500; }
.compare-table td:last-child { color: var(--paid); font-weight: 500; }
.compare-table.three td:nth-child(2) { color: var(--muted); }

/* Articles (guides) */
.narrow { max-width: 860px; }
.answer-box { background: var(--surface); border: 1px solid var(--accent-line); border-inline-start: 5px solid var(--accent); border-radius: var(--radius-sm); padding: 16px 20px; margin: 18px 0 14px; font-size: 1.05rem; box-shadow: var(--shadow); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(40px, 6vw, 72px); }
.article-aside { position: sticky; top: 96px; }
.article-aside .shot-phone { max-width: 280px; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } .article-aside { position: static; } }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 1.6em; }
.prose section:first-of-type h2 { margin-top: .6em; }
.prose p, .prose li { color: #3a3846; }
.prose blockquote { margin: 1em 0; padding: 14px 18px; background: var(--paid-soft); border-radius: var(--radius-sm); border-inline-start: 4px solid var(--paid); color: #14522a; font-weight: 500; }
.toc { background: var(--surface-alt); border-radius: var(--radius-sm); padding: 16px 20px; margin: 8px 0 8px; font-size: .95rem; }
.toc ol { margin: 8px 0 0; padding-inline-start: 1.2em; display: grid; gap: 4px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Bigger footer */
.footer-top { display: grid; grid-template-columns: 1.1fr 3fr; gap: 40px; }
.footer-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-grid li a { min-height: 32px; font-size: .95rem; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Header: fit the menu on medium screens */
@media (min-width: 961px) and (max-width: 1180px) {
  .nav a { padding: 10px 8px; font-size: .92rem; }
  .brand span { font-size: 1.2rem; }
}
a.country { text-decoration: none; color: var(--text); }
a.country:hover { border-color: var(--accent-line); color: var(--accent); }
