/* MoSIP Mobile Dialer: premium light theme (white + soft neutrals, navy and slate accents).
   System font stack only (no web-font requests), mobile-first, WCAG AA contrast. Works on top of Bootstrap 5.3 grid/forms/tables. */
:root {
  --sf-navy: #0b1f3a;
  --sf-navy-2: #12305a;
  --sf-primary: #17407a;
  --sf-primary-dark: #0f2f5c;
  --sf-accent: #2164a8;
  --sf-gold: #b7791f;
  --sf-bg: #f6f8fb;
  --sf-surface: #ffffff;
  --sf-line: #e2e8f0;
  --sf-line-strong: #cbd5e1;
  --sf-heading: #0b1f3a;
  --sf-text: #334155;
  --sf-muted: #5b6b80;
  --sf-link: #1a5496;
  --sf-radius: 14px;
  --sf-shadow: 0 1px 2px rgba(11, 31, 58, .05), 0 8px 24px -12px rgba(11, 31, 58, .18);
  --sf-shadow-lg: 0 2px 4px rgba(11, 31, 58, .06), 0 20px 40px -18px rgba(11, 31, 58, .28);
  --sf-ring: rgba(42, 111, 219, .35);
  --sf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Roboto, Arial, "Noto Sans", sans-serif;
  --sf-font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --bs-body-font-family: var(--sf-font);
  --bs-link-color: var(--sf-link);
}
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body.sf { background: var(--sf-bg); color: var(--sf-text); font-family: var(--sf-font); line-height: 1.65; -webkit-font-smoothing: antialiased; font-size: 1rem; }
h1, h2, h3, .sf-h2 { color: var(--sf-heading); font-family: var(--sf-font-head); letter-spacing: -.01em; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); margin-bottom: .75rem; }
.sf-h2, h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
.h4, .h5, .h6 { font-family: var(--sf-font); font-weight: 700; color: var(--sf-heading); }
a { color: var(--sf-link); text-underline-offset: 3px; }
a:hover { color: var(--sf-accent); }
:focus-visible { outline: 3px solid var(--sf-ring); outline-offset: 2px; border-radius: 6px; }
.text-muted, .form-text { color: var(--sf-muted) !important; }
img { max-width: 100%; height: auto; }
.sf-skip { position: absolute; left: -999px; top: 8px; background: var(--sf-navy); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.sf-skip:focus { left: 8px; color: #fff; }

/* Top bar */
.sf-topbar { background: var(--sf-navy); color: #cfd9e8; font-size: .82rem; padding: .4rem 0; }
.sf-topbar a { color: #fff; text-decoration: none; }
.sf-topbar a:hover { text-decoration: underline; color: #fff; }

/* Header and navigation */
.sf-header { background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--sf-line); position: sticky; top: 0; z-index: 50; -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
.sf-header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; flex-wrap: wrap; }
.sf-brand { display: inline-flex; align-items: center; }
.sf-logo { height: 38px; width: auto; max-width: 100%; }
.sf-nav { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }
.sf-nav a { text-decoration: none; color: var(--sf-text); font-size: .93rem; font-weight: 600; padding: .5rem .7rem; border-radius: 8px; transition: background .15s, color .15s; }
.sf-nav a:hover { background: #eef2f8; color: var(--sf-navy); }
.sf-nav a[aria-current="page"] { color: var(--sf-navy); background: #e8eef8; }
.sf-nav a.sf-nav-cta { background: var(--sf-navy); color: #fff; margin-left: .4rem; padding: .5rem 1rem; }
.sf-nav a.sf-nav-cta:hover { background: var(--sf-primary); color: #fff; }
.sf-menu-btn { display: none; min-height: 44px; border: 1px solid var(--sf-line-strong); background: #fff; color: var(--sf-navy); border-radius: 10px; padding: .4rem 1rem; font-weight: 700; }
@media (max-width: 991.98px) {
  .sf-menu-btn { display: inline-flex; align-items: center; }
  .sf-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: .15rem; padding: .6rem 0 .3rem; border-top: 1px solid var(--sf-line); }
  .sf-nav.is-open { display: flex; }
  .sf-nav a { padding: .8rem .75rem; font-size: 1rem; }
  .sf-nav a.sf-nav-cta { margin: .4rem 0 0; text-align: center; }
}

/* Buttons */
.btn { border-radius: 10px; font-weight: 700; padding: .6rem 1.15rem; }
.btn-lg { padding: .8rem 1.5rem; font-size: 1.05rem; }
.sf-btn { background: var(--sf-navy); border: 1px solid var(--sf-navy); color: #fff; box-shadow: 0 6px 16px -8px rgba(11, 31, 58, .6); transition: transform .15s, background .15s, box-shadow .15s; }
.sf-btn:hover, .sf-btn:focus { background: var(--sf-primary); border-color: var(--sf-primary); color: #fff; transform: translateY(-1px); }
.sf-btn:disabled { opacity: .65; transform: none; }
.sf-btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.sf-btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline-secondary { --bs-btn-color: var(--sf-navy); --bs-btn-border-color: var(--sf-line-strong); --bs-btn-hover-bg: #eef2f8; --bs-btn-hover-color: var(--sf-navy); --bs-btn-hover-border-color: var(--sf-line-strong); }
.btn-success { --bs-btn-bg: #157347; --bs-btn-border-color: #157347; --bs-btn-hover-bg: #0f5c38; --bs-btn-hover-border-color: #0f5c38; }
.btn-outline-success { --bs-btn-color: #0f5c38; --bs-btn-border-color: #157347; --bs-btn-hover-bg: #157347; --bs-btn-hover-border-color: #157347; }

/* Page structure */
.sf-page { padding-top: 2.25rem; padding-bottom: 3rem; }
.sf-narrow { max-width: 680px; }
.sf-section { padding-top: 3rem; padding-bottom: 1rem; }
.sf-band { background: #fff; border-top: 1px solid var(--sf-line); border-bottom: 1px solid var(--sf-line); padding: 3rem 0; margin-top: 2rem; }
.sf-prose { max-width: 760px; }
.sf-prose h2 { margin-top: 2rem; }
.sf-prose p, .sf-prose li { font-size: 1.05rem; }
.sf-prose li { margin-bottom: .35rem; }
.lead { font-size: 1.15rem; color: var(--sf-text); }
nav[aria-label="breadcrumb"] { color: var(--sf-muted); }
nav[aria-label="breadcrumb"] a { color: var(--sf-muted); }

/* Hero */
.sf-hero { padding: 2rem 0 .5rem; }
.sf-hero-panel { background: linear-gradient(135deg, var(--sf-navy) 0%, var(--sf-navy-2) 100%); border-radius: 22px; padding: clamp(1.5rem, 5vw, 3.25rem); color: #dbe5f3; box-shadow: var(--sf-shadow-lg); position: relative; overflow: hidden; }
.sf-hero-panel::after { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(42, 111, 219, .45), transparent 65%); pointer-events: none; }
.sf-hero-panel h1 { color: #fff; font-size: clamp(1.9rem, 5vw, 3rem); }
.sf-hero-panel .lead { color: #c9d6e8; }
.sf-hero-panel .btn-success { --bs-btn-bg: transparent; --bs-btn-border-color: rgba(255, 255, 255, .45); --bs-btn-hover-bg: rgba(255, 255, 255, .12); --bs-btn-hover-border-color: #fff; }
.sf-hero-panel .sf-btn { background: #fff; color: var(--sf-navy); border-color: #fff; }
.sf-hero-panel .sf-btn:hover { background: #e8eef8; color: var(--sf-navy); }
.sf-pill { display: inline-block; background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: .25rem .85rem; font-size: .82rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 1rem; }
.sf-mosip-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 1.25rem; position: relative; z-index: 1; }
.sf-mosip-card h2, .sf-mosip-card .h5 { color: #fff; font-family: var(--sf-font); font-size: 1.1rem; }
.sf-mosip-label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #9fb4d3; font-weight: 700; margin-bottom: .35rem; }
.sf-trust-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.sf-trust-pills span { background: rgba(255, 255, 255, .12); color: #fff; border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; font-weight: 600; }

/* Cards */
.sf-card { background: var(--sf-surface); border: 1px solid var(--sf-line); border-radius: var(--sf-radius); padding: 1.35rem; box-shadow: var(--sf-shadow); }
.sf-card h2 a, .sf-card h3 a { text-decoration: none; }
.sf-card a:not(.btn) { font-weight: 600; }
.sf-service { background: var(--sf-bg); border: 1px solid var(--sf-line); border-radius: var(--sf-radius); padding: 1.25rem; height: 100%; }
.sf-service-i { display: inline-flex; gap: 3px; align-items: flex-end; height: 22px; margin-bottom: .6rem; }
.sf-service-i i { width: 5px; border-radius: 3px; background: var(--sf-navy); display: block; }
.sf-service-i i:nth-child(1) { height: 9px; } .sf-service-i i:nth-child(2) { height: 15px; } .sf-service-i i:nth-child(3) { height: 22px; background: var(--sf-accent); }

/* Plan cards */
.sf-plan { background: #fff; border: 1px solid var(--sf-line); border-radius: 18px; padding: 1.6rem; box-shadow: var(--sf-shadow); position: relative; height: 100%; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; margin-bottom: 1rem; }
.sf-plan:hover { transform: translateY(-3px); box-shadow: var(--sf-shadow-lg); }
.sf-plan.is-featured { border-color: var(--sf-navy); box-shadow: 0 0 0 1px var(--sf-navy), var(--sf-shadow-lg); }
.sf-plan-tag { position: absolute; top: -12px; left: 1.4rem; background: var(--sf-navy); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; letter-spacing: .03em; }
.sf-plan-name { font-family: var(--sf-font); font-size: 1.1rem; margin-bottom: .25rem; }
.sf-plan-price { font-family: var(--sf-font-head); font-size: 2rem; color: var(--sf-navy); font-weight: 700; line-height: 1.2; }
.sf-price { font-weight: 800; color: var(--sf-navy); font-size: 1.25rem; }
.sf-plan-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin: .6rem 0 .8rem; }
.sf-plan-meta span { background: #eaf0f9; color: var(--sf-navy); border-radius: 999px; padding: .15rem .7rem; font-size: .85rem; font-weight: 700; }
.sf-plan-desc { color: var(--sf-muted); font-size: .95rem; }
.sf-features { list-style: none; padding: 0; margin: .5rem 0 1rem; flex-grow: 1; }
.sf-features li { padding-left: 1.6rem; position: relative; margin-bottom: .4rem; font-size: .95rem; }
.sf-features li::before { content: ""; position: absolute; left: .15rem; top: .45rem; width: 7px; height: 12px; border: solid var(--sf-accent); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.sf-plan .btn { margin-top: auto; }
.sf-sticky-cta { display: none; }
@media (max-width: 767.98px) {
  .sf-sticky-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--sf-line); padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px)); z-index: 40; box-shadow: 0 -8px 24px -12px rgba(11, 31, 58, .25); }
  body.sf { padding-bottom: 4.5rem; }
}

/* Steps, FAQ, timeline */
.sf-steps { list-style: none; padding: 0; margin: 0 0 1.25rem; counter-reset: s; }
.sf-steps li { display: flex; gap: .9rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px dashed var(--sf-line-strong); }
.sf-steps li:last-child { border-bottom: 0; }
.sf-step-n { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--sf-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; }
.sf-flow { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--sf-line); margin-bottom: 1rem; }
.sf-faqs { display: grid; gap: .6rem; }
.sf-faq { background: #fff; border: 1px solid var(--sf-line); border-radius: 12px; padding: .15rem 1rem; }
.sf-faq[open] { border-color: var(--sf-line-strong); box-shadow: var(--sf-shadow); }
.sf-faq summary { cursor: pointer; font-weight: 700; color: var(--sf-heading); padding: .8rem 0; list-style-position: outside; }
.sf-faq p { margin: 0 0 .9rem; color: var(--sf-text); }
.sf-timeline { list-style: none; margin: 0; padding: 0 0 0 1.1rem; border-left: 2px solid var(--sf-line-strong); }
.sf-timeline li { position: relative; padding: 0 0 1rem .9rem; }
.sf-timeline li::before { content: ""; position: absolute; left: -1.62rem; top: .35rem; width: 11px; height: 11px; border-radius: 50%; background: var(--sf-navy); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--sf-navy); }
.sf-method { background: var(--sf-bg); border: 1px solid var(--sf-line); border-radius: 12px; padding: .8rem 1rem; margin-bottom: .6rem; }
.sf-msg { border-radius: 12px; padding: .8rem 1rem; margin-bottom: .6rem; border: 1px solid var(--sf-line); }
.sf-msg-you { background: #eaf0f9; margin-left: 1.5rem; }
.sf-msg-team { background: #fff; margin-right: 1.5rem; }
.sf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sf-next { background: linear-gradient(135deg, #eef3fb, #fff); border: 1px solid var(--sf-line-strong); border-radius: var(--sf-radius); padding: 1.35rem; margin-top: 2rem; }
.sf-next h2 { margin-top: 0; font-size: 1.25rem; }
.sf-cta-band { background: var(--sf-navy); color: #dbe5f3; border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); text-align: center; }
.sf-cta-band h2 { color: #fff; }
.sf-cta-band .sf-btn { background: #fff; color: var(--sf-navy); border-color: #fff; }

/* Forms */
.form-control, .form-select { border-radius: 10px; border-color: var(--sf-line-strong); padding: .65rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--sf-accent); box-shadow: 0 0 0 .2rem var(--sf-ring); }
.form-label { font-weight: 700; color: var(--sf-heading); font-size: .93rem; }
.alert { border-radius: 12px; }
.table { --bs-table-bg: transparent; }

/* Footer */
.sf-footer { background: var(--sf-navy); color: #b8c6dc; margin-top: 4rem; padding: 3rem 0 1.5rem; font-size: .95rem; }
.sf-footer a { color: #e3ebf7; text-decoration: none; }
.sf-footer a:hover { color: #fff; text-decoration: underline; }
.sf-footer-brand { color: #fff; font-family: var(--sf-font-head); font-size: 1.35rem; font-weight: 700; margin-bottom: .5rem; }
.sf-footer-h { color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .7rem; }
.sf-footer-links { display: flex; flex-direction: column; gap: .4rem; }
.sf-footer-info { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; }
.sf-disclaimer { color: #93a5c0; max-width: 62rem; }
.sf-copy { color: #93a5c0; margin-top: .5rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .sf-header, .sf-topbar, .sf-footer, .sf-sticky-cta { display: none; } body.sf { background: #fff; } }

/* Hero phone illustration (decorative) */
.sf-phone-wrap { display: flex; flex-direction: column; align-items: center; gap: .6rem; position: relative; z-index: 1; }
.sf-phone { width: 210px; border-radius: 34px; padding: 10px; background: linear-gradient(160deg, #f4f7fb, #aebbd0); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .55); transform: rotate(3deg); }
.sf-phone-screen { background: #fff; border-radius: 26px; padding: 1.6rem 1.1rem 1.3rem; text-align: center; min-height: 360px; display: flex; flex-direction: column; align-items: center; gap: .55rem; position: relative; }
.sf-phone-screen::before { content: ""; position: absolute; top: 9px; width: 54px; height: 6px; border-radius: 6px; background: #d5dde9; }
.sf-phone-screen img { width: 64px; height: 64px; margin-top: .8rem; filter: drop-shadow(0 6px 10px rgba(33, 100, 168, .35)); }
.sf-phone-title { font-weight: 800; color: var(--sf-navy); font-size: .95rem; }
.sf-phone-label { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sf-muted); margin-top: .8rem; font-weight: 700; }
.sf-pin { display: flex; gap: .45rem; }
.sf-pin i { width: 26px; height: 32px; border-radius: 8px; border: 1.5px solid var(--sf-line-strong); background: #f6f8fb; display: block; }
.sf-pin i:nth-child(-n+3) { background: var(--sf-navy); border-color: var(--sf-navy); }
.sf-phone-btn { margin-top: auto; width: 100%; background: var(--sf-accent); color: #fff; border-radius: 12px; padding: .6rem; font-weight: 700; font-size: .9rem; }
.sf-phone-cap { font-size: .75rem; color: #9fb4d3; margin: 0; }
@media (max-width: 991.98px) { .sf-phone-wrap { display: none; } }
/* Plans helper */
.sf-helper { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; background: #fff; border: 1px solid var(--sf-line); border-left: 4px solid var(--sf-accent); border-radius: var(--sf-radius); padding: 1rem 1.25rem; margin: 1rem 0 1.5rem; box-shadow: var(--sf-shadow); }
.sf-mini-steps { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; counter-reset: ms; }
.sf-mini-steps li { counter-increment: ms; display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 700; color: var(--sf-navy); background: #eaf0f9; border-radius: 999px; padding: .3rem .85rem .3rem .35rem; }
.sf-mini-steps li::before { content: counter(ms); width: 22px; height: 22px; border-radius: 50%; background: var(--sf-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; }
.sf-footer-logo { width: 36px; height: 36px; vertical-align: middle; margin-right: .5rem; }

.sf-price-from { color: #dbe5f3; margin: 0 0 1rem; font-size: 1.05rem; }
.sf-price-from strong { color: #fff; font-size: 1.25rem; }
.sf-quick { background: #fff; border: 1px solid var(--sf-line); border-radius: var(--sf-radius); padding: 1.2rem 1.25rem; height: 100%; box-shadow: var(--sf-shadow); position: relative; }
.sf-quick-n { position: absolute; top: -12px; left: 1.1rem; background: var(--sf-accent); color: #fff; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; }
.sf-quick h2 { font-family: var(--sf-font); font-size: 1rem; margin: .3rem 0 .35rem; }
.sf-quick p { font-size: .95rem; }

.sf-pay-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.sf-paychip { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--sf-line-strong); border-radius: 999px; padding: .2rem .9rem .2rem .4rem; font-weight: 800; color: var(--sf-navy); font-size: .9rem; }
.sf-paychip img, .sf-paylogo { width: 44px; height: 35px; object-fit: contain; vertical-align: middle; }
.sf-verify { background: #fff7e6; border: 1px solid #f1d28a; border-left: 4px solid var(--sf-gold); border-radius: 12px; padding: .8rem 1rem; color: #4a3508; font-size: .95rem; }

.sf-country { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 64px; background: #fff; border: 1px solid var(--sf-line); border-radius: var(--sf-radius); padding: .9rem 1rem; text-decoration: none; color: var(--sf-navy); font-weight: 700; box-shadow: var(--sf-shadow); transition: transform .15s, border-color .15s; height: 100%; }
.sf-country:hover { transform: translateY(-2px); border-color: var(--sf-accent); color: var(--sf-navy); }
.sf-country-go { color: var(--sf-accent); font-size: 1.2rem; }
/* Mobile polish */
.btn, .form-control, .form-select { min-height: 44px; }
.sf-nav a, .sf-footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.sf-footer-links a { min-height: 36px; }
table { max-width: 100%; }
.sf-prose img, .sf-card img { max-width: 100%; height: auto; }
pre, code { white-space: pre-wrap; word-break: break-word; }
@media (max-width: 575.98px) {
  .sf-topbar { font-size: .76rem; }
  .sf-topbar .container > span:first-child { display: none; }
  .sf-logo { height: 32px; }
  .sf-page { padding-top: 1.5rem; }
  .sf-hero { padding-top: 1rem; }
  .sf-hero-panel { border-radius: 18px; }
  .sf-hero-panel .btn { width: 100%; text-align: center; }
  .sf-section { padding-top: 2rem; }
  .sf-band { padding: 2rem 0; }
  .sf-plan { padding: 1.25rem; }
  .sf-plan-price { font-size: 1.75rem; }
  .sf-prose p, .sf-prose li { font-size: 1rem; }
  .sf-helper .btn { flex: 1 1 auto; }
  .sf-msg-you { margin-left: .5rem; } .sf-msg-team { margin-right: .5rem; }
}
@media (max-width: 359.98px) { .sf-logo { height: 28px; } h1 { font-size: 1.55rem; } }
