/* School360Pro product site. Brand colours match the app's default emerald/amber theme. */
:root {
    --brand: #0f6b3c;
    --brand-600: #0b5630;
    --brand-50: #eaf5ee;
    --brand-100: #d3eadb;
    --accent: #f5b400;
    --ink: #0b1324;
    --ink-2: #2b3648;
    --muted: #5b6678;
    --line: #e3e8ee;
    --bg: #ffffff;
    --bg-soft: #f5f8f6;
    --dark: #0b1f17;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(11, 19, 36, .05), 0 8px 24px rgba(11, 19, 36, .07);
    --shadow-lg: 0 24px 60px rgba(11, 19, 36, .16);
    --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--brand-50); color: var(--brand-600); padding: .1em .4em; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 820px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-family: var(--font-body); font-weight: 600; font-size: .95rem;
    padding: .7em 1.2em; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 1rem; padding: .85em 1.5em; }
.btn-sm { font-size: .88rem; padding: .5em 1em; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(15, 107, 60, .28); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-600); }
.btn-light:hover { background: var(--brand-50); color: var(--brand-600); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(11, 19, 36, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo strong { color: var(--brand); font-weight: 800; }
.logo-light, .logo-light:hover { color: #fff; }
.logo-light strong { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a:not(.btn) { color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.main-nav a:not(.btn):hover { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.8rem; color: var(--ink); cursor: pointer; padding: 4px; line-height: 1; }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        padding: 8px 16px 16px; display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
    .main-nav .nav-cta { margin-top: 12px; }
}

/* Shared bits */
.eyebrow {
    display: inline-flex; align-items: center; gap: .45em;
    font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--brand); margin-bottom: .9rem;
}
.section { padding: 88px 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.lead-sm { font-size: 1.05rem; color: var(--muted); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon-badge {
    width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
    background: var(--brand-50); color: var(--brand); font-size: 1.4rem; margin-bottom: 18px;
}

/* Hero */
.hero {
    padding: 72px 0 88px;
    background:
        radial-gradient(900px 420px at 85% 10%, rgba(245, 180, 0, .12), transparent 60%),
        radial-gradient(800px 500px at 10% 0%, rgba(15, 107, 60, .10), transparent 60%);
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hl { color: var(--brand); position: relative; z-index: 0; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--accent); opacity: .45; border-radius: 4px; z-index: -1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: .93rem; font-weight: 500; }
.hero-points i { color: var(--brand); margin-right: .35em; }

.hero-visual { position: relative; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f5f8; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d4d9e1; }
.mock-bar em { font-style: normal; font-size: .75rem; color: var(--muted); margin-left: 10px; background: #fff; padding: 2px 12px; border-radius: 6px; border: 1px solid var(--line); }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 320px; }
.mock-side { background: var(--dark); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.mock-side b { font-weight: 500; font-size: .76rem; color: rgba(255, 255, 255, .7); padding: 7px 10px; border-radius: 8px; display: flex; gap: 8px; align-items: center; }
.mock-side b.active { background: rgba(255, 255, 255, .1); color: #fff; }
.mock-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #fafbfc; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpis div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mock-kpis small, .mock-chart small { display: block; font-size: .68rem; color: var(--muted); }
.mock-kpis strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.mock-chart { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 86px; margin-top: 8px; }
.bars i { flex: 1; background: linear-gradient(180deg, var(--brand) 0%, #2f9461 100%); border-radius: 5px 5px 2px 2px; }
.bars i:nth-child(6) { background: linear-gradient(180deg, var(--accent), #f7c63d); }
.mock-list { display: flex; flex-direction: column; gap: 6px; }
.mock-list div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: .74rem; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.mock-list i { color: var(--brand); }

.float-card {
    position: absolute; display: flex; gap: 10px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
    box-shadow: var(--shadow-lg); font-size: .8rem;
}
.float-card i { font-size: 1.3rem; color: var(--brand); background: var(--brand-50); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.float-card b { display: block; color: var(--ink); }
.float-card small { color: var(--muted); }
.float-a { left: -28px; bottom: 34px; animation: float 6s ease-in-out infinite; }
.float-b { right: -18px; top: -18px; animation: float 6s ease-in-out infinite 1.5s; }
.float-b i { color: #a37800; background: #fff5d6; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 960px) {
    .hero { padding: 48px 0 64px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .float-a { left: 8px; bottom: -22px; }
    .float-b { right: 8px; top: -22px; }
}
@media (max-width: 560px) {
    .mock-body { grid-template-columns: 1fr; }
    .mock-side { display: none; }
    .mock-kpis strong { font-size: .92rem; }
    .float-b { display: none; }
    .hero-actions .btn { width: 100%; }
}

/* India strip */
.india-strip { background: var(--dark); color: rgba(255, 255, 255, .85); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding-top: 20px; padding-bottom: 20px; font-size: .92rem; font-weight: 500; }
.strip-inner i { color: var(--accent); margin-right: .45em; }

/* Features */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tab {
    font-family: var(--font-body); font-size: .92rem; font-weight: 600;
    padding: .6em 1.15em; border-radius: 999px; border: 1px solid var(--line);
    background: #fff; color: var(--ink-2); cursor: pointer; transition: all .15s;
}
.tab:hover { border-color: var(--brand); color: var(--brand); }
.tab.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.feature-grid[hidden] { display: none; }
.feature-grid.active { animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; transition: border-color .15s, box-shadow .15s; }
.feature:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.feature > i { font-size: 1.4rem; color: var(--brand); display: inline-block; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Flows */
.flows { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.flow { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.flow h3 { display: flex; align-items: center; gap: .5em; }
.flow h3 i { color: var(--brand); }
.flow ol { list-style: none; counter-reset: step; padding: 0; margin: 16px 0 0; }
.flow li { counter-increment: step; position: relative; padding: 0 0 18px 40px; color: var(--ink-2); font-size: .95rem; }
.flow li::before {
    content: counter(step); position: absolute; left: 0; top: -1px;
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: .8rem;
}
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 12.5px; top: 28px; bottom: 2px; width: 1.5px; background: var(--brand-100); }
.flow li:last-child { padding-bottom: 0; font-weight: 600; color: var(--ink); }
.flow li:last-child::before { background: var(--brand); color: #fff; }

/* Portals */
.section-dark { background: var(--dark); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
.portal { border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 28px; background: rgba(255, 255, 255, .03); transition: background .15s, border-color .15s; }
.portal:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }
.portal > i { font-size: 1.6rem; color: var(--accent); display: inline-block; margin-bottom: 14px; }
.portal p { margin: 0; font-size: .95rem; }

/* Website */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li > i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: .95rem; margin-top: 1px; }
.checks b { color: var(--ink); }
.browser { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.browser .mock-bar em i { color: var(--brand); font-size: .7rem; }
.site-hero { background: linear-gradient(135deg, #0f6b3c, #13844b 60%, #1d9a5a); color: #fff; padding: 16px 20px 40px; }
.site-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .74rem; flex-wrap: wrap; }
.site-nav b { font-family: var(--font-head); font-size: .9rem; }
.site-nav span { opacity: .8; }
.site-hero-text { margin-top: 36px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.site-hero-text strong { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.25; max-width: 280px; }
.site-hero-text small { opacity: .85; }
.site-hero-text em { font-style: normal; font-size: .76rem; font-weight: 600; background: var(--accent); color: var(--ink); padding: 6px 14px; border-radius: 999px; margin-top: 8px; }
.site-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.site-tiles i { height: 64px; border-radius: 8px; background: linear-gradient(135deg, var(--brand-50), #f1f4f2); }
.site-tiles i:nth-child(2) { background: linear-gradient(135deg, #fff5d6, #fbf3dc); }

/* Security */
.card.mini { padding: 24px; box-shadow: none; }
.card.mini > i { font-size: 1.35rem; color: var(--brand); display: inline-block; margin-bottom: 10px; }
.card.mini p { font-size: .94rem; }

/* Steps */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step { padding: 8px 4px; }
.step span {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
    background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 16px;
}
.step p { color: var(--muted); margin: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; gap: 32px; } }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.price-card .checks { margin: 0 0 26px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s; }
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow); }
.faq summary {
    list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink);
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\F4FE"; font-family: "bootstrap-icons"; color: var(--brand); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* CTA */
.cta { background: linear-gradient(135deg, var(--brand-600), var(--brand) 55%, #17824b); color: rgba(255, 255, 255, .88); padding: 72px 0; }
.cta h2 { color: #fff; }
.cta p { margin: 0; font-size: 1.08rem; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .cta-actions .btn { width: 100%; white-space: normal; } }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .65); padding: 56px 0 28px; font-size: .93rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-inner p { margin: 12px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: .86rem; }

/* 404 */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 16px; }
.not-found p { color: var(--muted); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-contact i { margin-right: .35em; }

/* ---------- Mobile app page ---------- */
.tag-new { display: inline-block; vertical-align: middle; font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--accent); color: var(--ink); padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.main-nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }

/* Phone mockups */
.phones { position: relative; height: 520px; }
.phone { position: absolute; width: 250px; height: 500px; border-radius: 36px; background: #0b1324; padding: 10px; box-shadow: var(--shadow-lg); }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; width: 70px; height: 7px; margin-left: -35px; border-radius: 99px; background: #1f2a3c; z-index: 2; }
.phone-screen { height: 100%; border-radius: 28px; overflow: hidden; background: #f4f7f5; display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; }
.phone-front { right: 40px; top: 10px; z-index: 1; }
.phone-back { left: 10px; top: 60px; transform: rotate(-6deg); }
.ps-head { background: linear-gradient(135deg, var(--brand-600), var(--brand) 60%, #1d9a5a); color: #fff; padding: 34px 16px 18px; }
.ps-head-dark { background: linear-gradient(135deg, #0b1f17, #154c30); }
.ps-head small { display: block; font-size: .68rem; opacity: .8; }
.ps-head b { font-family: var(--font-head); font-size: 1rem; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px; }
.ps-grid span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: .7rem; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.ps-grid i { color: var(--brand); font-size: 1.05rem; }
.ps-grid em { font-style: normal; font-weight: 700; color: var(--ink); font-size: .82rem; }
.ps-fee { margin: 0 12px; background: #fff7df; border: 1px solid #f6dc8d; border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; }
.ps-fee small { display: block; font-size: .66rem; color: #8a6400; }
.ps-fee b { font-family: var(--font-head); color: var(--ink); }
.ps-fee em { font-style: normal; font-size: .7rem; font-weight: 700; background: var(--brand); color: #fff; padding: 5px 12px; border-radius: 99px; }
.ps-note { margin: 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; gap: 8px; align-items: center; }
.ps-note > i { color: var(--brand); background: var(--brand-50); width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.ps-note p, .ps-list p { margin: 0; line-height: 1.3; }
.ps-note b, .ps-list b { display: block; font-size: .72rem; color: var(--ink); }
.ps-note small, .ps-list small { font-size: .64rem; color: var(--muted); }
.ps-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 12px; }
.ps-stats div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 4px; text-align: center; }
.ps-stats strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.ps-stats small { font-size: .6rem; color: var(--muted); }
.ps-list { margin: 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 10px; }
.ps-list div { display: flex; gap: 10px; align-items: center; padding: 7px 0; }
.ps-list div + div { border-top: 1px solid var(--line); }
.ps-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); flex: none; }
.ps-call { margin: auto 12px 0; background: #16a34a; color: #fff; text-align: center; border-radius: 99px; padding: 8px; font-size: .74rem; font-weight: 700; }
@media (max-width: 960px) { .phones { height: 500px; max-width: 460px; margin: 0 auto; width: 100%; } }
@media (max-width: 520px) {
    .phones { height: 470px; }
    .phone { width: 210px; height: 440px; }
    .phone-front { right: 0; }
    .phone-back { left: 0; }
}

/* Role cards */
.role-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.role-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.role-card ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.role-card li { position: relative; padding-left: 22px; font-size: .93rem; color: var(--muted); }
.role-card li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--brand); }
.role-card li b { color: var(--ink-2); font-weight: 600; }

/* Download */
.download-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding: 18px; border: 1px solid var(--brand-100); border-radius: var(--radius); background: var(--brand-50); }
.download-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.7rem; flex: none; }
.download-meta { flex: 1; min-width: 160px; }
.download-meta b { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }
.download-meta small { color: var(--muted); }
@media (max-width: 480px) { .download-card .btn { width: 100%; } }
.fine-print { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
.fine-print i { color: var(--brand); margin-right: .3em; }
.install-steps { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.install-steps h3 { display: flex; align-items: center; gap: .5em; }
.install-steps h3 i { color: var(--brand); }
.install-steps ol { list-style: none; counter-reset: step; padding: 0; margin: 16px 0 0; }
.install-steps li { counter-increment: step; position: relative; padding: 0 0 16px 40px; font-size: .95rem; }
.install-steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; font-size: .8rem; }
.install-steps b { color: var(--ink); }
.qr-box { display: flex; align-items: center; gap: 16px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.qr-box p { margin: 0; font-size: .88rem; color: var(--muted); }
.qr { width: 132px; height: 132px; flex: none; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.qr img, .qr canvas { width: 100% !important; height: 100% !important; }
@media (hover: none) and (max-width: 640px) { .qr-box { display: none; } }

/* Credentials */
.cred-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.cred { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.cred header { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.cred header > i { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 1.25rem; flex: none; }
.cred h3 { margin: 0; }
.cred header small { color: var(--muted); font-size: .85rem; }
.cred dl { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cred dl > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.cred dt { font-size: .8rem; font-weight: 600; color: var(--muted); }
.cred dd { margin: 0; display: flex; align-items: center; gap: 6px; }
.cred dd code { font-size: .95rem; font-weight: 600; background: #fff; border: 1px solid var(--line); }
.cred > p { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.copy { border: 0; background: none; color: var(--brand); cursor: pointer; padding: 4px 6px; border-radius: 6px; font-size: .95rem; line-height: 1; }
.copy:hover { background: var(--brand-50); }
.copy.done i::before { content: "\F26E"; }
.cred-note { margin: 26px auto 0; max-width: 720px; text-align: center; color: var(--muted); font-size: .93rem; }
.cred-note i { color: var(--brand); margin-right: .3em; }

/* White label */
.checks-dark li { color: rgba(255, 255, 255, .8); }
.checks-dark b { color: #fff; }
.checks-dark li > i { background: rgba(255, 255, 255, .1); color: var(--accent); }
.grid-2-mini { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .grid-2-mini { grid-template-columns: 1fr; } }
.grid-2-mini .portal { padding: 22px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Home page app teaser */
.app-teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .app-teaser { grid-template-columns: 1fr; gap: 32px; } }
.app-teaser .hero-actions { margin-bottom: 0; }
.app-roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.app-roles div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.app-roles i { font-size: 1.3rem; color: var(--brand); }
.app-roles b { display: block; color: var(--ink); margin: 6px 0 2px; font-family: var(--font-head); }
.app-roles small { color: var(--muted); font-size: .86rem; line-height: 1.45; display: block; }
@media (max-width: 420px) { .app-roles { grid-template-columns: 1fr; } }
