/* FlowDento website. Static, no build step. Logical properties (inline/block) so the
   Urdu page mirrors itself under dir="rtl". Fonts are served from /assets/fonts
   (SIL Open Font License, see OFL.txt): no third-party font requests. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/fraunces-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 500; font-display: swap; src: url('/assets/fonts/fraunces-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/fraunces-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Noto Nastaliq Urdu'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/noto-nastaliq-urdu-arabic-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Noto Nastaliq Urdu'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/noto-nastaliq-urdu-arabic-700-normal.woff2') format('woff2'); }

:root {
    --ink: #0f1f2a;
    --ink-soft: #33424d;
    --muted: #5b6670;
    --paper: #ffffff;
    --ivory: #f8f6f1;
    --sand: #efebe2;
    --line: #e4dfd4;
    --teal-950: #052e2b;
    --teal-900: #073f3a;
    --teal-700: #0b6b63;
    --teal-600: #0b7a6f; /* the app's primary colour */
    --teal-100: #d9eeea;
    --teal-50: #eef7f5;
    --gold: #a8844c;
    --planned: #d64545;
    --today: #2f6fd6;
    --earlier: #2f9e6b;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(15, 31, 42, 0.06), 0 12px 32px -12px rgba(15, 31, 42, 0.18);
    --shadow-lg: 0 2px 4px rgba(15, 31, 42, 0.05), 0 32px 64px -24px rgba(7, 63, 58, 0.35);
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --urdu: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Inter', system-ui, sans-serif;
    color-scheme: light;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font: 400 17px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.12;
}

p {
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 24px;
}

.skip {
    position: absolute;
    inset-inline-start: 16px;
    top: -60px;
    background: var(--ink);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    z-index: 100;
}

.skip:focus {
    top: 12px;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 246, 241, 0.86);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.site-header.scrolled {
    border-bottom-color: var(--line);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 650;
    font-size: 19px;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--teal-600), var(--teal-900));
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-mark svg {
    width: 21px;
    height: 21px;
}

.nav-links {
    display: flex;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-inline-start: 12px;
}

.nav-links a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
}

.nav-links a:hover {
    color: var(--teal-700);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-inline-start: auto;
}

.lang {
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: var(--ink-soft);
    padding: 8px 10px;
}

.lang[lang='ur'] {
    font-family: var(--urdu);
    font-size: 15px;
    line-height: 1;
}

.lang[lang='en'] {
    font-family: var(--sans);
}

.menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
}

.menu-btn svg {
    margin: auto;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: 600 15px/1.2 var(--sans);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--teal-700);
    color: #fff;
    box-shadow: 0 8px 20px -10px rgba(11, 107, 99, 0.8);
}

.btn-primary:hover {
    background: var(--teal-900);
}

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.btn-ghost:hover {
    background: var(--paper);
    border-color: #cfc8ba;
}

.btn-light {
    background: #fff;
    color: var(--teal-900);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-lg {
    min-height: 52px;
    padding: 14px 26px;
    font-size: 16px;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex: none;
}

[dir='rtl'] .btn svg.arrow {
    transform: scaleX(-1);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding-block: 72px 96px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto auto;
    width: 760px;
    height: 760px;
    background: radial-gradient(closest-side, rgba(11, 122, 111, 0.13), transparent 70%);
    pointer-events: none;
}

[dir='rtl'] .hero::before {
    inset: -20% auto auto -10%;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-700);
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--gold);
}

.hero h1 {
    margin-top: 18px;
    font-size: clamp(40px, 5.2vw, 64px);
}

.hero h1 em {
    font-style: italic;
    color: var(--teal-700);
}

.lede {
    margin-top: 22px;
    max-width: 560px;
    font-size: 19px;
    color: var(--ink-soft);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14.5px;
    color: var(--muted);
}

.hero-notes li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-notes svg {
    width: 16px;
    height: 16px;
    color: var(--teal-600);
}

/* Product illustration (not a screenshot) */

.mock {
    position: relative;
    direction: ltr;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1.4;
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    background: #f6f4ef;
    border-bottom: 1px solid var(--line);
}

.mock-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #dcd6ca;
}

.mock-bar span {
    margin-inline-start: 10px;
    padding: 3px 12px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}

.mock-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

.avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--teal-100);
    color: var(--teal-900);
    font-weight: 700;
}

.mock-head b {
    display: block;
    font-size: 13.5px;
}

.mock-head small {
    color: var(--muted);
}

.mock-head .bal {
    margin-inline-start: auto;
    text-align: end;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
    background: #fffaf8;
}

.chip {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: #fde8e8;
    color: #a42a2a;
}

.chip.amber {
    background: #fdf1dc;
    color: #8a5a10;
}

.mock-body {
    display: grid;
    grid-template-columns: 1fr 150px;
}

.chart {
    padding: 16px;
    border-inline-end: 1px solid var(--line);
}

.chart-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.teeth {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    gap: 3px;
}

.teeth + .teeth {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
}

.t {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 0.72;
    border: 1.5px solid #cfd6d9;
    border-radius: 7px 7px 9px 9px;
    font-size: 8.5px;
    font-weight: 600;
    color: #7a868d;
    background: #fff;
}

.t.p {
    border-color: var(--planned);
    color: var(--planned);
    background: #fdf0f0;
}

.t.d {
    border-color: var(--today);
    color: #fff;
    background: var(--today);
}

.t.e {
    border-color: var(--earlier);
    color: var(--earlier);
    background: #edf8f2;
}

.t.m {
    color: #b3bcc1;
    border-style: dashed;
}

.t.m::after {
    content: '';
    position: absolute;
    inset: 22% 18%;
    background: linear-gradient(45deg, transparent 46%, #47535a 46%, #47535a 54%, transparent 54%),
        linear-gradient(-45deg, transparent 46%, #47535a 46%, #47535a 54%, transparent 54%);
}

.t.sel {
    box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.22);
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 10.5px;
}

.legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.legend i {
    width: 9px;
    height: 9px;
    border-radius: 3px;
}

.panel {
    padding: 14px 12px;
    background: #fbfaf7;
}

.panel h4 {
    margin: 0 0 8px;
    font-size: 12px;
}

.panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.panel li {
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 11px;
}

.panel li small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
}

.tabs span {
    padding: 2px 7px;
    border-radius: 5px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 10px;
    color: var(--muted);
}

.tabs span.on {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: #fff;
}

.drawer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--teal-950);
    color: #d6ebe7;
    font-size: 11.5px;
}

.drawer b {
    color: #fff;
    font-size: 13px;
}

.drawer .pay {
    margin-inline-start: auto;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--teal-900);
    font-weight: 700;
}

.mock-caption {
    margin-top: 12px;
    text-align: center;
    font-size: 12.5px;
    color: var(--muted);
}

.float-card {
    position: absolute;
    inset-inline-start: -28px;
    bottom: 64px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-size: 12.5px;
    direction: ltr;
}

.float-card .dot {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--teal-50);
    color: var(--teal-700);
}

.float-card b {
    display: block;
    font-size: 13px;
}

.float-card small {
    color: var(--muted);
}

.mock-wrap {
    position: relative;
}

/* ---------- Sections ---------- */

section {
    scroll-margin-top: 80px;
}

.section {
    padding-block: 104px;
}

.section-head {
    max-width: 720px;
    margin-bottom: 56px;
}

.section-head.flush {
    margin-bottom: 0;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head.center .eyebrow {
    justify-content: center;
}

.section-head h2 {
    margin-top: 14px;
    font-size: clamp(32px, 3.6vw, 46px);
}

.section-head p {
    margin-top: 18px;
    font-size: 18px;
    color: var(--ink-soft);
}

.band {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

/* Value strip */

.strip {
    padding-block: 28px;
    border-block: 1px solid var(--line);
    background: var(--paper);
}

.strip ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.strip li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-soft);
}

.strip svg {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--teal-600);
}

/* Workflow */

.flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.flow li {
    position: relative;
    padding: 0 18px;
    counter-increment: step;
}

.flow li::before {
    content: counter(step, decimal-leading-zero);
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    font: 500 18px/1 var(--serif);
    color: var(--teal-700);
    position: relative;
    z-index: 1;
}

.flow li::after {
    content: '';
    position: absolute;
    top: 26px;
    inset-inline-start: 70px;
    inset-inline-end: -18px;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px);
}

.flow li:last-child::after {
    display: none;
}

.flow h3 {
    font-size: 21px;
}

.flow p {
    margin-top: 8px;
    font-size: 15.5px;
    color: var(--muted);
}

.flow-note {
    margin-top: 48px;
    padding: 20px 24px;
    border-radius: var(--radius);
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    color: var(--teal-900);
    font-size: 16px;
    text-align: center;
}

/* Features */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.feature:hover {
    border-color: #cfe3df;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--teal-50);
    color: var(--teal-700);
}

.icon svg {
    width: 23px;
    height: 23px;
}

.feature h3 {
    margin-top: 20px;
    font-size: 21px;
}

.feature p {
    margin-top: 10px;
    font-size: 15.5px;
    color: var(--muted);
}

.more {
    margin-top: 28px;
    padding: 24px 28px;
    border-radius: var(--radius);
    border: 1px dashed #d3ccbd;
    color: var(--ink-soft);
    font-size: 15.5px;
}

.more b {
    color: var(--ink);
}

/* Split sections (compliance, security) */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ticks {
    display: grid;
    gap: 16px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.ticks li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 14px;
    font-size: 16px;
    color: var(--ink-soft);
}

.ticks li b {
    color: var(--ink);
}

.ticks svg {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: var(--teal-600);
}

.provinces {
    padding: 32px;
    border-radius: 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.provinces h3 {
    font-size: 22px;
}

.provinces > p {
    margin-top: 8px;
    font-size: 15px;
    color: var(--muted);
}

.prov-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.prov-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--ivory);
    border: 1px solid var(--line);
    font-weight: 500;
}

.badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    background: var(--sand);
    color: var(--muted);
}

.badge.first {
    background: var(--teal-100);
    color: var(--teal-900);
}

.rules {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rules span {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    background: var(--teal-50);
    color: var(--teal-900);
}

/* Security (dark band) */

.dark {
    position: relative;
    background: var(--teal-950);
    color: #d4e6e2;
    overflow: hidden;
}

.dark::before {
    content: '';
    position: absolute;
    inset: auto auto -40% -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(closest-side, rgba(47, 158, 140, 0.25), transparent 70%);
    pointer-events: none;
}

.dark .eyebrow {
    color: #8fd3c7;
}

.dark h2,
.dark h3 {
    color: #fff;
}

.dark .section-head p {
    color: #b9d3ce;
}

.sec-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.sec {
    padding: 30px;
    background: var(--teal-950);
}

.sec .icon {
    background: rgba(143, 211, 199, 0.12);
    color: #8fd3c7;
}

.sec h3 {
    margin-top: 18px;
    font-size: 20px;
}

.sec p {
    margin-top: 8px;
    font-size: 15px;
    color: #a9c6c0;
}

/* Plans */

.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.plan {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border-radius: 20px;
    background: var(--paper);
    border: 1px solid var(--line);
}

.plan.featured {
    position: relative;
    border-color: var(--teal-700);
    box-shadow: var(--shadow-lg);
}

.plan .tag {
    position: absolute;
    top: -13px;
    inset-inline-start: 32px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--teal-700);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.plan h3 {
    font-size: 26px;
}

.plan .for {
    margin-top: 6px;
    font-size: 15px;
    color: var(--muted);
}

.plan .limits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.plan .limits span {
    padding: 5px 11px;
    border-radius: 8px;
    background: var(--ivory);
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 500;
}

.plan ul {
    display: grid;
    gap: 11px;
    margin: 24px 0 28px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
    font-size: 15px;
    color: var(--ink-soft);
}

.plan li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
}

.plan li svg {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    color: var(--teal-600);
}

.plan li.plus {
    font-weight: 600;
    color: var(--ink);
}

.plan .btn {
    margin-top: auto;
}

.plans-note {
    margin-top: 28px;
    text-align: center;
    font-size: 15.5px;
    color: var(--muted);
}

/* Steps */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    padding: 30px;
    border-radius: var(--radius);
    background: var(--ivory);
    border: 1px solid var(--line);
}

.steps .num {
    font: 500 40px/1 var(--serif);
    color: var(--gold);
}

.steps h3 {
    margin-top: 16px;
    font-size: 21px;
}

.steps p {
    margin-top: 8px;
    font-size: 15.5px;
    color: var(--muted);
}

/* FAQ */

.faq {
    max-width: 820px;
    margin-inline: auto;
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 4px;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 600;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '';
    flex: none;
    width: 12px;
    height: 12px;
    border-inline-end: 2px solid var(--teal-700);
    border-bottom: 2px solid var(--teal-700);
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.2s;
}

.faq details[open] summary::after {
    transform: rotate(-135deg) translateY(-3px);
}

.faq details p {
    padding: 0 4px 24px;
    color: var(--ink-soft);
    max-width: 720px;
}

/* Final call to action */

.cta {
    padding-block: 0 104px;
}

.cta-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 56px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--teal-900), var(--teal-950));
    color: #cfe5e0;
    overflow: hidden;
}

.cta-card::after {
    content: '';
    position: absolute;
    inset: -30% -10% auto auto;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.025), 0 0 0 120px rgba(255, 255, 255, 0.02);
}

.cta-card h2 {
    color: #fff;
    font-size: clamp(30px, 3.4vw, 42px);
}

.cta-card p {
    margin-top: 14px;
    font-size: 17px;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.cta-actions small {
    text-align: center;
    color: #a9c6c0;
    font-size: 13.5px;
}

.cta-actions small a {
    color: #fff;
}

/* Footer */

.site-footer {
    padding-block: 56px 40px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    font-size: 15px;
    color: var(--muted);
}

.foot {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
}

.foot p {
    margin-top: 14px;
    max-width: 340px;
}

.foot h4 {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}

.foot ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.foot a {
    text-decoration: none;
}

.foot a:hover {
    color: var(--teal-700);
}

.copy {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 14px;
}

/* ---------- Urdu ---------- */

html[lang='ur'] body {
    font-family: var(--urdu);
    font-size: 16.5px;
    line-height: 2.15;
}

html[lang='ur'] h1,
html[lang='ur'] h2,
html[lang='ur'] h3,
html[lang='ur'] h4 {
    font-family: var(--urdu);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.85;
}

html[lang='ur'] .hero h1 {
    font-size: clamp(32px, 4.2vw, 50px);
    line-height: 1.75;
}

html[lang='ur'] .section-head h2 {
    font-size: clamp(26px, 3vw, 38px);
}

html[lang='ur'] .eyebrow,
html[lang='ur'] .foot h4,
html[lang='ur'] .chart-label {
    letter-spacing: 0;
    text-transform: none;
}

html[lang='ur'] .btn {
    font-family: var(--urdu);
    font-weight: 700;
    line-height: 1.9;
    padding-block: 6px;
}

html[lang='ur'] .faq summary {
    font-size: 17px;
}

html[lang='ur'] .flow li::before,
html[lang='ur'] .steps .num {
    font-family: var(--serif);
}

html[lang='ur'] .flow li::after {
    background: repeating-linear-gradient(270deg, var(--line) 0 6px, transparent 6px 11px);
}

html[lang='ur'] .brand,
html[lang='ur'] .mock,
html[lang='ur'] .float-card {
    font-family: var(--sans);
}

.ltr {
    direction: ltr;
    unicode-bidi: isolate;
    font-family: var(--sans);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
    .nav-links {
        gap: 18px;
    }

    .strip ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .float-card {
        display: none;
    }
}

@media (max-width: 960px) {
    .nav-links,
    .nav-actions .hide-sm {
        display: none;
    }

    .menu-btn {
        display: grid;
    }

    .nav-links.open {
        position: absolute;
        top: 72px;
        inset-inline: 0;
        display: grid;
        gap: 0;
        margin: 0;
        padding: 8px 24px 20px;
        background: var(--ivory);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 30px -20px rgba(15, 31, 42, 0.25);
    }

    .nav-links.open a {
        display: block;
        padding: 14px 0;
        font-size: 17px;
        border-bottom: 1px solid var(--line);
    }

    .nav-links .only-sm {
        display: block;
    }

    .hero-grid,
    .split,
    .cta-card {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-block: 48px 72px;
    }

    .features,
    .sec-grid,
    .plans,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .flow {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .flow li {
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 20px;
        padding: 0;
    }

    .flow li::before {
        grid-row: span 2;
        margin: 0;
    }

    .flow li::after {
        top: 56px;
        bottom: -28px;
        inset-inline-start: 26px;
        inset-inline-end: auto;
        width: 1px;
        height: auto;
        background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 11px);
    }

    html[lang='ur'] .flow li::after {
        background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 11px);
    }

    .flow p {
        margin-top: 4px;
    }

    .foot {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding-block: 80px;
    }

    .cta-card {
        padding: 40px 32px;
    }
}

@media (min-width: 961px) {
    .nav-links .only-sm {
        display: none;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .container {
        padding-inline: 16px;
    }

    .nav {
        gap: 12px;
        height: 64px;
    }

    .nav-links.open {
        top: 64px;
        padding-inline: 16px;
    }

    .nav-actions .btn {
        padding: 8px 14px;
        min-height: 40px;
        font-size: 14px;
    }

    .lede {
        font-size: 17px;
    }

    .hero-cta .btn {
        flex: 1 1 100%;
    }

    .strip ul,
    .features,
    .sec-grid,
    .plans,
    .steps,
    .foot {
        grid-template-columns: 1fr;
    }

    .mock-body {
        grid-template-columns: 1fr;
    }

    .panel {
        display: none;
    }

    .chart {
        border-inline-end: 0;
    }

    .teeth {
        gap: 2px;
    }

    .t {
        font-size: 7px;
        border-radius: 5px 5px 6px 6px;
    }

    .section {
        padding-block: 64px;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .feature,
    .plan,
    .provinces,
    .sec {
        padding: 24px;
    }

    .cta-card {
        padding: 32px 22px;
        border-radius: 22px;
    }

    .cta {
        padding-block: 0 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

/* Fixes after the first visual check */
.strip ul.container {
    margin-inline: auto;
    padding-inline: 24px;
}

.float-card {
    bottom: 108px;
}

@media (max-width: 640px) {
    .strip ul.container {
        padding-inline: 16px;
    }

    .nav-actions {
        gap: 4px;
    }

    .lang {
        padding: 8px 6px;
    }

    .brand {
        font-size: 18px;
    }
}

html[lang='ur'] .hero h1 em {
    font-style: normal;
}

html[lang='ur'] .flow h3,
html[lang='ur'] .feature h3,
html[lang='ur'] .steps h3,
html[lang='ur'] .sec h3 {
    font-size: 19px;
}

html[lang='ur'] .eyebrow {
    font-size: 14px;
    line-height: 2.4;
}

html[lang='ur'] .section-head h2 {
    margin-top: 6px;
}

/* ---------- Logo (A1 mark + serif name + tagline, chosen 2026-11-10) ---------- */
.brand {
    gap: 11px;
    font-family: var(--sans);
}

.brand-logo {
    flex: none;
    width: 40px;
    height: 40px;
}

.brand-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 23px;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.brand-name span {
    color: var(--teal-700);
}

.brand-tag {
    margin-top: 4px;
    font: 500 9.5px/1.3 var(--sans);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

.site-footer .brand-logo {
    width: 46px;
    height: 46px;
}

.site-footer .brand-name {
    font-size: 26px;
}

.site-footer .brand-tag {
    font-size: 10.5px;
}

html[lang='ur'] .brand-name {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.05;
}

html[lang='ur'] .brand-tag {
    font-family: var(--sans);
    letter-spacing: 0.15em;
}

@media (max-width: 1080px) {
    .site-header .brand-tag {
        display: none;
    }
}

@media (max-width: 640px) {
    .site-header .brand-logo {
        width: 34px;
        height: 34px;
    }

    .site-header .brand-name {
        font-size: 21px;
    }
}

/* Small phones: keep logo, language link, demo button and menu on one line. */
@media (max-width: 420px) {
    .nav {
        gap: 8px;
    }

    .site-header .brand {
        gap: 8px;
    }

    .site-header .brand-logo {
        width: 30px;
        height: 30px;
    }

    .site-header .brand-name {
        font-size: 19px;
    }

    .nav-actions .btn-primary {
        padding: 8px 12px;
        font-size: 13.5px;
    }

    .menu-btn {
        width: 40px;
        height: 40px;
    }

    .lang {
        padding: 8px 4px;
        font-size: 14px;
    }
}

@media (max-width: 370px) {
    .site-header .brand-name {
        font-size: 17px;
    }

    .nav-actions .btn-primary {
        padding: 7px 10px;
        font-size: 12.5px;
    }
}
