/* Digital ID Application Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2f484b;
    background-color: #f6f5f1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #0e5f5a;
    color: white;
    padding: 0;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    gap: 1rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 1rem;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    max-width: 200px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-left: 0.75rem;
}

.logo:hover {
    opacity: 0.9;
}

.logo:hover .logo-img {
    opacity: 0.9;
}

.mobile-menu-toggle {
    display: none !important;
    visibility: hidden !important;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

.nav-links > a,
.nav-links > .nav-dropdown > .nav-dropdown-toggle {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    transition: all 0.2s;
    padding: 0.5rem 0.625rem;
    border-radius: 0;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links > a:hover,
.nav-links > .nav-dropdown > .nav-dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.nav-links > a.active,
.nav-links > .nav-dropdown > .nav-dropdown-toggle.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* Navigation Separator */
.nav-separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.25rem;
    user-select: none;
    font-weight: 300;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    user-select: none;
}

.nav-dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.nav-dropdown.active .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: white;
    min-width: 200px;
    box-shadow: none;
    z-index: 1000;
    margin-top: 0.25rem;
    border: 1px solid #dcd8cd;
    pointer-events: none;
}

.nav-dropdown.active .nav-dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
}

.nav-dropdown-menu a {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    color: #0d2b2e !important;
    padding: 0.75rem 1rem;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f6f5f1;
    white-space: nowrap;
    background-color: transparent !important;
    transform: none !important;
    font-weight: 500 !important;
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background-color: #f6f5f1;
    transform: none;
}

.nav-dropdown-menu a.active {
    background-color: #f4f6f5;
    color: #0e5f5a;
    font-weight: 600;
}

.nav-dropdown-menu a i {
    width: 1rem;
    text-align: center;
    color: #4a5a5c;
    font-size: 0.875rem;
}

.nav-dropdown-menu a.active i {
    color: #0e5f5a;
}

.nav-badge {
    background: #a3322b;
    color: white;
    border-radius: 0;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    margin-left: auto;
    font-weight: 600;
}

/* Mobile: Show dropdown menu as expanded list - MUST be before desktop media query */
@media (max-width: 968px) {
    .nav-dropdown {
        width: 100%;
    }
    
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-dropdown-menu {
        position: static !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        box-shadow: none;
        border: none !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
        margin-top: 0 !important;
        padding-left: 1rem !important;
        top: auto !important;
        left: auto !important;
    }
    
    .nav-dropdown-menu a {
        color: white !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        background-color: transparent !important;
    }
    
    .nav-dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }
    
    .nav-dropdown-menu a.active {
        background-color: rgba(255, 255, 255, 0.2) !important;
        color: white !important;
    }
    
    .nav-dropdown-menu a i {
        color: rgba(255, 255, 255, 0.8) !important;
    }
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Cards */
.card {
    background: white;
    border-radius: 0;
    padding: 2rem;
    box-shadow: none;
    margin-bottom: 2rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dcd8cd;
    border-radius: 0;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0e5f5a;
    box-shadow: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #0e5f5a;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #0e5f5a;
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-secondary {
    background-color: #0e5f5a;
    color: white;
}

.btn-secondary:hover {
    background-color: #0a4440;
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-danger {
    background-color: #a3322b;
    color: white;
}

.btn-danger:hover {
    background-color: #7d2520;
}

/* ID Card */
.id-card {
    background-color: #ffffff;
    color: #0d2b2e;
    border: 2px solid #dcd8cd;
    border-radius: 0;
    padding: 2rem;
    max-width: 400px;
    margin: 3rem auto 2rem;
    box-shadow: none;
}

.id-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.id-card-photo {
    width: 180px;
    height: 180px;
    border-radius: 0;
    border: 3px solid #dcd8cd;
    margin: 0 auto 1rem;
    object-fit: cover;
    display: block;
}

.id-card-details {
    background: #f6f5f1;
    border: 1px solid #dcd8cd;
    padding: 1.5rem;
    border-radius: 0;
    margin-bottom: 1.5rem;
}

.id-card-details p {
    margin: 0.5rem 0;
}

.id-card-qr {
    text-align: center;
    margin-top: 1.5rem;
}

.id-card-qr img {
    max-width: 200px;
    background: white;
    padding: 1rem;
    border-radius: 0;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 0;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #e6f1ef;
    color: #174f33;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background-color: #f8eceb;
    color: #7d2520;
    border: 1px solid #fca5a5;
}

.alert-info {
    background-color: #f4f6f5;
    color: #0e5f5a;
    border: 1px solid #67e8f9;
}

/* Footer */
footer {
    background-color: #0d2b2e;
    color: #dcd8cd;
    padding: 4rem 0 2rem;
    margin-top: 0;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo {
    height: 100px;
    width: auto;
    display: block;
    margin-bottom: 0.5rem;
    margin-top: 0;
    max-width: 250px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #dcd8cd;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2f484b;
    padding-top: 2rem;
    text-align: center;
    color: #4a5a5c;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: #2f484b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dcd8cd;
    transition: all 0.2s;
}

.footer-social a:hover {
    background-color: #0e5f5a;
    color: white;
}

/* Responsive */
@media (min-width: 969px) {
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
    }
    
    .nav-links {
        display: flex !important;
        visibility: visible !important;
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    /* Ensure dropdown menu is hidden by default on desktop - must override mobile styles */
    .nav-dropdown-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        pointer-events: none !important;
        box-shadow: none;
        border: 1px solid #dcd8cd !important;
        background-color: white !important;
        margin-top: 0.25rem !important;
        padding-left: 0 !important;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    /* Ensure dropdown menu items are styled correctly on desktop */
    .nav-dropdown-menu a {
        color: #0d2b2e !important;
        border-bottom: 1px solid #f6f5f1 !important;
        background-color: transparent !important;
    }
    
    .nav-dropdown-menu a:hover {
        background-color: #f6f5f1 !important;
    }
    
    .nav-dropdown-menu a.active {
        background-color: #f4f6f5 !important;
        color: #0e5f5a !important;
    }
}

@media (max-width: 1200px) and (min-width: 969px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block !important;
        visibility: visible !important;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0e5f5a;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
        box-shadow: none;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        text-align: left;
        border-radius: 0;
    }
    
    .nav-separator {
        display: none;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: none;
    }
    
    nav .container {
        position: relative;
    }
}

@media (max-width: 768px) {
    footer .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .id-card {
        padding: 1.5rem;
    }
}

/* Verification Page */
.verification-result {
    text-align: center;
    padding: 2rem;
}

.verification-success {
    color: #1f6b45;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.verification-failed {
    color: #a3322b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0d2b2e;
    color: white;
    padding: 1.5rem;
    box-shadow: none;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

#cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: white;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #dcd8cd;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: #0e5f5a;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #93c5fd;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: #0e5f5a;
    color: white;
}

.cookie-btn-primary:hover {
    background: #0a4440;
}

.cookie-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.cookie-btn-link {
    background: transparent;
    color: #0e5f5a;
    text-decoration: underline;
    padding: 0.75rem 0.5rem;
}

.cookie-btn-link:hover {
    color: #93c5fd;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

/* ── Design refresh: charcoal + teal ─────────────────────────────────────────
   Applied via cascade — overrides the base values above without touching them.
   ─────────────────────────────────────────────────────────────────────────── */
:root {
    --clr-nav:        #1c2b3a;
    --clr-primary:    #0d9488;
    --clr-primary-dk: #0f766e;
    --clr-secondary:  #2f484b;
    --clr-secondary-dk: #2f484b;
    --clr-bg:         #f4f6f5;
    --clr-text:       #0d2b2e;
    --clr-muted:      #475569;
    --clr-border:     #dcd8cd;
    --radius:         6px;
    --shadow-card:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
}

/* Colours */
body          { background-color: var(--clr-bg); color: var(--clr-text); }
header        { background-color: var(--clr-nav); }

.btn-primary              { background-color: var(--clr-primary); }
.btn-primary:hover        { background-color: var(--clr-primary-dk); }
.btn-secondary            { background-color: var(--clr-secondary); }
.btn-secondary:hover      { background-color: var(--clr-secondary-dk); }

/* Border-radius */
.card         { border-radius: var(--radius); box-shadow: none; }
.btn          { border-radius: var(--radius); }
.alert        { border-radius: var(--radius); }
.badge        { border-radius: var(--radius); }
.form-group input,
.form-group select,
.form-group textarea { border-radius: var(--radius); border-color: var(--clr-border); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--clr-primary);
    box-shadow: none;
}

/* Nav dropdown active state */
.nav-dropdown-menu a.active   { color: var(--clr-primary) !important; background-color: #f0fdf9 !important; }
.nav-dropdown-menu a.active i { color: var(--clr-primary) !important; }

/* Mobile nav */
@media (max-width: 968px) {
    .nav-links { background-color: var(--clr-nav); }
}

/* ── Staff list ─────────────────────────────────────────────────────────────── */

/* Avatar initials circle */
.staff-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: .02em;
}

/* Avatar colour palette — assigned by first letter */
.av-a,.av-b { background-color: #6366f1; }
.av-c,.av-d { background-color: #0e5f5a; }
.av-e,.av-f { background-color: #0d9488; }
.av-g,.av-h { background-color: #1f6b45; }
.av-i,.av-j { background-color: #8a5a00; }
.av-k,.av-l { background-color: #a3322b; }
.av-m,.av-n { background-color: #5b3a8c; }
.av-o,.av-p { background-color: #db2777; }
.av-q,.av-r { background-color: #0e5f5a; }
.av-s,.av-t { background-color: #0d9488; }
.av-u,.av-v { background-color: #5b3a8c; }
.av-w,.av-x { background-color: #2f484b; }
.av-y,.av-z { background-color: #1f6b45; }

/* Staff name + title stacked cell */
.staff-name-cell {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.staff-name-cell .staff-name {
    font-weight: 600;
    color: var(--clr-text);
    line-height: 1.25;
}
.staff-name-cell .staff-title {
    font-size: .75rem;
    color: var(--clr-muted);
    line-height: 1.3;
}

/* Cleaner table */
.table-wrap table { border-collapse: collapse; width: 100%; }
.table-wrap thead th {
    background: var(--clr-bg);
    color: var(--clr-muted);
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .625rem 1rem;
    border-bottom: 2px solid var(--clr-border);
    white-space: nowrap;
}
.table-wrap tbody tr {
    border-bottom: 1px solid var(--clr-border);
    transition: background .1s;
}
.table-wrap tbody tr:last-child { border-bottom: none; }
.table-wrap tbody tr:hover { background: #f4f6f5; }
.table-wrap tbody td { padding: .75rem 1rem; vertical-align: middle; }

/* Card header row */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--clr-border);
    margin: -2rem -2rem 0;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--clr-bg);
}
.card-header h2 {
    font-size: .9rem;
    font-weight: 600;
    color: var(--clr-text);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.card-header h2 i { color: var(--clr-muted); font-size: .85rem; }

/* Badge variants */
.badge        { display: inline-flex; align-items: center; padding: .2rem .55rem; font-size: .72rem; font-weight: 600; border-radius: var(--radius); }
.badge-green  { background: #e6f1ef; color: #174f33; }
.badge-grey   { background: #f4f6f5; color: var(--clr-muted); }
.badge-blue   { background: #f4f6f5; color: #0a4440; }
.badge-teal   { background: #ccfbf1; color: #115e59; }

/* Page header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.page-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--clr-text);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.page-header h1 i { color: var(--clr-muted); font-size: 1.1rem; }

/* btn-sm */
.btn-sm { padding: .4rem .75rem; font-size: .8rem; }

/* text helpers */
.text-light { color: var(--clr-muted); }
.text-small { font-size: .8125rem; }


/* Demo instance */
.demo-banner { background: var(--ink-soft, #2f484b); color: #fff; text-align: center; padding: 0.55rem 1rem; font-size: 0.9rem; line-height: 1.4; }
.demo-banner strong { text-transform: uppercase; letter-spacing: 0.08em; margin-right: 0.4rem; color: #e8cf86; }
.demo-banner a { color: #fff; text-decoration: underline; text-underline-offset: 0.18em; margin-left: 0.35rem; }
.demo-login-help { border: 1px solid #dcd8cd; background: #fff; color: #0d2b2e; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.demo-login-help h2 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.demo-login-help p, .demo-login-help ul { margin: 0 0 0.4rem; }
.demo-login-help ul { padding-left: 1.2rem; }
.demo-other-products { margin: 1rem 0 0; padding: 0 1rem; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.demo-other-products a { color: #fff; }

/* Public landing page */
.pl { max-width: 1160px; margin: 0 auto; padding: 0 1rem; }
.pl-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem); }
.pl-eyebrow { margin: 0 0 0.75rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand, #0e5f5a); }
.pl-hero h1 { margin: 0 0 1rem; font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.1; max-width: 20ch; }
.pl-lead { margin: 0 0 1.5rem; font-size: 1.15rem; line-height: 1.6; color: var(--ink-soft, #2f484b); max-width: 48ch; }
.pl-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.pl-actions .btn { display: inline-flex; align-items: center; text-decoration: none; padding: 0.8rem 1.4rem; font-weight: 600; }
.pl-hero__shot { margin: 0; }
.pl-hero__shot img { display: block; width: 100%; height: auto; border: 1px solid var(--rule, #dcd8cd); border-radius: 6px; background: #fff; }
.pl-section { padding: clamp(1.75rem, 4vw, 2.75rem) 0; border-top: 1px solid var(--rule, #dcd8cd); }
.pl-section > h2 { margin: 0 0 1.25rem; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.pl-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem); }
.pl-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pl-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pl-grid li { padding-top: 0.9rem; border-top: 2px solid var(--ink, #0d2b2e); }
.pl-grid h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.pl-grid p { margin: 0; color: var(--ink-soft, #2f484b); line-height: 1.6; max-width: 52ch; }
.pl-cta { background: var(--ink, #0d2b2e); color: #fff; padding: clamp(1.75rem, 4vw, 3rem); margin: clamp(1.5rem, 3vw, 2.5rem) 0; border-radius: 6px; }
.pl-cta h2 { color: #fff; margin: 0 0 0.75rem; font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
.pl-cta p { margin: 0 0 1rem; max-width: 60ch; line-height: 1.6; color: rgba(255,255,255,0.88); }
.pl-cta p:last-child { margin-bottom: 0; }
.btn-light { display: inline-flex; align-items: center; background: #fff; color: #0d2b2e; border: 1px solid #fff; padding: 0.8rem 1.4rem; font-weight: 600; text-decoration: none; border-radius: 6px; }
.btn-light:hover { background: #e6f1ef; color: #0d2b2e; }
@media (max-width: 820px) { .pl-hero { grid-template-columns: 1fr; } .pl-grid--3, .pl-grid--2 { grid-template-columns: 1fr; } }

/* Cookie notice: dark text on the light surface */
#cookie-banner, .cookie-banner-text p { color: #2f484b !important; }
.cookie-banner-text h4 { color: #0d2b2e !important; }
.cookie-banner-text a { color: #0e5f5a !important; }
.docs-title { margin: 0 0 1.25rem; font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
