:root{
    --navy:#071b2f;
    --navy-2:#0b3558;
    --blue:#1778c8;
    --blue-dark:#0f5f9f;
    --sky:#dff1ff;
    --surface:#ffffff;
    --background:#f4f8fc;
    --text:#172033;
    --muted:#66778a;
    --border:#dce7f0;
    --green:#2fc77a;
    --shadow:0 22px 60px rgba(17,55,88,.12);
    --shadow-soft:0 14px 34px rgba(17,55,88,.08);
    --radius:24px;
    --container:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    color:var(--text);
    background:var(--background);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    line-height:1.65;
}
body.menu-open{overflow:hidden}
img{display:block;max-width:100%}
a{color:inherit}
.container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}

/* Header */
.site-header{
    position:fixed;
    inset:0 0 auto;
    z-index:1000;
    padding:0px 0;
    transition:background .22s ease,box-shadow .22s ease,padding .22s ease;
}
/* ==========================================================
   HEADER
   ========================================================== */

.site-header{
    position:sticky;
    top:0;
    z-index:1000;

    background:#fff;

    box-shadow:0 4px 18px rgba(0,0,0,.08);

    padding:0;
}

.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;

    min-height:160px;

    padding:0;
}

.brand{
    display:flex;
    align-items:center;

    margin:0;
    padding:0;
}

.site-logo{
    display:block;

    height:150px;
    width:auto;

    max-width:none;

    object-fit:contain;

    margin:0;
    padding:0;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:28px;

    margin:0;
    padding:0;
}

.nav-links a{
    color:#18324a;
    font-weight:700;
    text-decoration:none;
}

.login-button{
    background:#1778c8;
    color:#fff !important;

    padding:10px 24px;

    border-radius:999px;
}
.site-header.is-scrolled .login-button{background:var(--blue);color:#fff!important}
.menu-button{display:none;width:46px;height:46px;border:1px solid rgba(255,255,255,.3);border-radius:12px;background:rgba(255,255,255,.12);color:#fff;font-size:1.2rem}
.site-header.is-scrolled .menu-button{border-color:var(--border);background:#fff;color:var(--text)}

/* Hero */
.hero{
    position:relative;
    overflow:hidden;
    padding:170px 0 105px;
    color:#fff;
    background:
        radial-gradient(circle at 82% 16%,rgba(80,171,239,.34),transparent 30%),
        radial-gradient(circle at 10% 80%,rgba(57,149,221,.25),transparent 30%),
        linear-gradient(145deg,var(--navy),var(--navy-2) 55%,var(--blue-dark));
}
.hero::before{
    content:"";
    position:absolute;
    width:520px;height:520px;
    right:-220px;bottom:-220px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.09);
    box-shadow:0 0 0 80px rgba(255,255,255,.025),0 0 0 160px rgba(255,255,255,.018);
}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr .95fr;gap:72px;align-items:center}
.eyebrow,.kicker{
    display:inline-flex;
    font-size:.78rem;
    font-weight:850;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.eyebrow{padding:8px 14px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.08);color:#b9e2ff}
.kicker{color:var(--blue)}
.hero h1{margin:22px 0 0;font-size:clamp(3rem,6.2vw,5.75rem);line-height:.98;letter-spacing:-.055em}
.hero h1 span{color:#8ed1ff}
.hero-copy>p{max-width:700px;margin:26px 0 0;color:rgba(255,255,255,.82);font-size:1.16rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:11px 22px;border-radius:999px;text-decoration:none;font-weight:850;transition:transform .18s ease,box-shadow .18s ease}
.button:hover{transform:translateY(-2px)}
.button-primary{background:#fff;color:var(--blue-dark);box-shadow:0 14px 34px rgba(0,0,0,.16)}
.button-secondary{border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);color:#fff}
.hero-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.hero-badges span{padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.78);font-size:.78rem;font-weight:750}

.product-stage{position:relative;min-height:500px}
.product-glow{position:absolute;inset:12% 8%;border-radius:50%;background:rgba(53,165,241,.28);filter:blur(80px)}
.dashboard-window{
    position:relative;
    z-index:2;
    overflow:hidden;
    margin-top:24px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:26px;
    background:#fff;
    box-shadow:0 38px 90px rgba(0,0,0,.35);
    transform:perspective(1100px) rotateY(-7deg) rotateX(2deg);
}
.dashboard-topbar{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;background:#f7fbff;border-bottom:1px solid #e0eaf2;color:#5d7184;font-size:.8rem}
.dashboard-dots{display:flex;gap:7px}
.dashboard-dots span{width:10px;height:10px;border-radius:50%;background:#c4d4e2}
.dashboard-body{padding:24px;color:var(--text)}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.dashboard-heading span{color:var(--muted);font-size:.78rem}
.dashboard-heading h2{margin:3px 0 0;font-size:1.4rem}
.dashboard-pill{padding:7px 10px;border-radius:999px;background:#e8f8ef;color:#168456!important;font-weight:800}
.dashboard-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}
.dashboard-stats article{padding:16px;border-radius:15px;background:#eef6fc}
.dashboard-stats strong,.dashboard-stats span{display:block}
.dashboard-stats strong{color:var(--blue-dark);font-size:1.32rem}
.dashboard-list{display:grid;gap:10px;margin-top:20px}
.dashboard-list article{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:14px;border:1px solid var(--border);border-radius:13px}
.dashboard-list strong,.dashboard-list span{display:block}
.dashboard-list span{color:var(--muted);font-size:.76rem}
.dashboard-list b{padding:7px 9px;border-radius:999px;background:#e9f8f1;color:#168456;font-size:.72rem}
.floating-card{position:absolute;z-index:3;padding:14px 16px;border:1px solid rgba(255,255,255,.22);border-radius:16px;background:rgba(255,255,255,.94);box-shadow:var(--shadow);color:var(--text)}
.floating-card span,.floating-card strong{display:block}
.floating-card span{color:var(--muted);font-size:.73rem}
.floating-card strong{font-size:.9rem}
.floating-card-left{left:-28px;bottom:72px}
.floating-card-right{right:-26px;top:5px}

/* Common sections */
.section{padding:92px 0}
.section-heading{max-width:760px;margin:0 auto 48px;text-align:center}
.section-heading h2,.platform-copy h2,.security-copy h2{margin:10px 0 14px;font-size:clamp(2.1rem,4.4vw,3.55rem);line-height:1.08;letter-spacing:-.035em}
.section-heading p,.platform-copy p,.security-copy p{margin:0;color:var(--muted);font-size:1.04rem}
.trust-bar{background:#fff;border-bottom:1px solid var(--border)}
.trust-bar-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.trust-bar-grid>div{padding:24px 20px;border-right:1px solid var(--border)}
.trust-bar-grid>div:last-child{border-right:0}
.trust-bar strong,.trust-bar span{display:block}
.trust-bar strong{color:var(--blue-dark)}
.trust-bar span{color:var(--muted);font-size:.9rem}

/* Features */
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feature-card{padding:26px;border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:var(--shadow-soft)}
.feature-card-large{grid-row:span 2}
.feature-card-wide{grid-column:span 2}
.feature-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:20px;border-radius:14px;background:#e8f4fd;color:var(--blue-dark);font-weight:900}
.feature-card h3{margin:0 0 10px;font-size:1.18rem}
.feature-card p{margin:0;color:var(--muted)}
.feature-card a{display:inline-block;margin-top:16px;color:var(--blue-dark);font-weight:800;text-decoration:none}
.mini-ui{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:28px;padding:14px;border:1px solid var(--border);border-radius:14px;background:#f8fbfd}
.mini-ui b{padding:7px 10px;border-radius:999px;background:var(--blue);color:#fff;font-size:.74rem}

/* Platforms */
.platform-section{background:#fff}
.platform-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}
.check-list{display:grid;gap:13px;margin:24px 0 0;padding:0;list-style:none}
.check-list li{display:flex;gap:12px;font-weight:750}
.check-list li::before{content:"✓";display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#e7f8ef;color:#168456}
.device-showcase{position:relative;min-height:420px}
.device{position:absolute;overflow:hidden;border:1px solid var(--border);background:#fff;box-shadow:var(--shadow)}
.device-desktop{inset:20px 70px 40px 0;border-radius:22px}
.device-phone{right:0;bottom:0;width:190px;height:360px;border:8px solid #132b40;border-radius:34px}
.device-bar{height:30px;background:#eef4f8;border-bottom:1px solid var(--border)}
.phone-notch{width:80px;height:20px;margin:0 auto;border-radius:0 0 14px 14px;background:#132b40}
.device-screen{display:flex;flex-direction:column;justify-content:center;height:100%;padding:28px;background:linear-gradient(145deg,#eef7fd,#fff)}
.device-screen span{color:var(--muted);font-size:.8rem}
.device-screen strong{margin-top:8px;color:var(--blue-dark);font-size:1.45rem}
.device-screen small{margin-top:6px;color:var(--muted)}

/* Security */
.security-section{background:linear-gradient(145deg,#071b2f,#0d416a);color:#fff}
.security-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:center}
.security-copy .kicker{color:#8dd0ff}
.security-copy p{color:rgba(255,255,255,.72)}
.security-cta{margin-top:26px;background:#fff;color:var(--blue-dark)}
.security-panel{display:grid;gap:14px}
.security-panel article{display:flex;gap:14px;align-items:flex-start;padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.07)}
.security-panel strong,.security-panel p{display:block}
.security-panel p{margin:4px 0 0;color:rgba(255,255,255,.66);font-size:.9rem}
.status-dot{flex:0 0 12px;width:12px;height:12px;margin-top:6px;border-radius:50%;background:var(--green);box-shadow:0 0 0 6px rgba(47,199,122,.12)}

/* Roles and CTA */
.role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.role-grid article{padding:26px;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:var(--shadow-soft)}
.role-grid article>span{display:inline-block;margin-bottom:16px;color:var(--blue);font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.1em}
.role-grid h3{margin:0 0 10px}
.role-grid p{margin:0;color:var(--muted)}
.cta-section{padding:20px 0 90px}
.cta-card{display:flex;justify-content:space-between;gap:40px;align-items:center;padding:48px;border-radius:28px;background:linear-gradient(135deg,#0b3558,#1778c8);color:#fff;box-shadow:var(--shadow)}
.cta-card .kicker{color:#a7dbff}
.cta-card h2{margin:8px 0 10px;font-size:clamp(2rem,4vw,3.3rem);line-height:1.08}
.cta-card p{margin:0;color:rgba(255,255,255,.75)}
.cta-actions{display:flex;flex-wrap:wrap;gap:12px;flex:0 0 auto}

/* Footer */
.site-footer{padding:60px 0 30px;background:#111b2d;color:rgba(255,255,255,.8)}
.footer-grid-expanded{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:38px}
.footer-brand{color:#fff;font-size:1.25rem;font-weight:900}
.footer-intro{max-width:360px;color:rgba(255,255,255,.58)}
.footer-column h3{margin:0 0 15px;color:#fff;font-size:.92rem}
.footer-column a{display:block;margin:9px 0;color:rgba(255,255,255,.64);text-decoration:none}
.footer-column a:hover{color:#fff}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:42px;padding-top:22px;border-top:1px solid rgba(255,255,255,.11);color:rgba(255,255,255,.5);font-size:.88rem}

/* Trust Centre header alignment */
.trust-page .site-header,
.trust-document-page .site-header{
    position:relative;
    padding:0;
    background:#fff;
    box-shadow:0 8px 28px rgba(17,55,88,.08);
}
.trust-page .navbar,
.trust-document-page .navbar{min-height:82px}
.trust-page .site-logo,
.trust-document-page .site-logo{height:72px;max-width:300px}
.trust-page .nav-links a,
.trust-document-page .nav-links a{color:#1b334b}
.trust-page .login-button,
.trust-document-page .login-button{background:var(--blue);color:#fff!important}

/* Responsive */
@media(max-width:1080px){
    .nav-links{gap:16px}
    .footer-grid-expanded{grid-template-columns:repeat(3,1fr)}
    .footer-about{grid-column:1/-1}
}
@media(max-width:980px){
    .hero-grid,.platform-layout,.security-grid{grid-template-columns:1fr}
    .hero-copy{text-align:center}
    .hero-copy>p{margin-inline:auto}
    .hero-actions,.hero-badges{justify-content:center}
    .product-stage{max-width:720px;margin-inline:auto;width:100%}
    .feature-grid{grid-template-columns:repeat(2,1fr)}
    .feature-card-large{grid-row:auto}
    .feature-card-wide{grid-column:auto}
    .trust-bar-grid{grid-template-columns:repeat(2,1fr)}
    .trust-bar-grid>div:nth-child(2){border-right:0}
    .trust-bar-grid>div:nth-child(-n+2){border-bottom:1px solid var(--border)}
}
@media(max-width:760px){
    .container{width:min(var(--container),calc(100% - 24px))}
    .site-header{padding:4px 0}
    .navbar{min-height:68px}
    .site-logo{height:58px;max-width:220px}
    .menu-button{display:grid;place-items:center}
    .nav-links{
        position:fixed;
        top:0;
        right:-100%;
        width:min(330px,86vw);
        height:100vh;
        padding:92px 26px 30px;
        flex-direction:column;
        align-items:stretch;
        gap:10px;
        background:#fff;
        box-shadow:-20px 0 50px rgba(0,0,0,.2);
        transition:right .25s ease;
    }
    .nav-links.open{right:0}
    .nav-links a{padding:12px;color:var(--text)!important}
    .login-button{background:var(--blue)!important;color:#fff!important}
    .hero{padding:135px 0 78px}
    .hero h1{font-size:clamp(2.7rem,13vw,4.4rem)}
    .product-stage{min-height:420px}
    .dashboard-window{transform:none}
    .floating-card{display:none}
    .feature-grid,.role-grid,.trust-bar-grid{grid-template-columns:1fr}
    .trust-bar-grid>div{border-right:0;border-bottom:1px solid var(--border)}
    .trust-bar-grid>div:last-child{border-bottom:0}
    .device-showcase{min-height:360px}
    .device-desktop{right:35px}
    .device-phone{width:150px;height:300px}
    .cta-card{align-items:flex-start;flex-direction:column}
    .footer-grid-expanded{grid-template-columns:1fr}
    .footer-about{grid-column:auto}
    .footer-bottom{flex-direction:column}
}
@media(max-width:520px){
    .hero-actions .button,.cta-actions .button{width:100%}
    .dashboard-stats{grid-template-columns:1fr}
    .section{padding:72px 0}
}

/* ClassControl Trust Centre */

.trust-hero {
    padding: 84px 0 64px;
    background:
        radial-gradient(circle at top right, rgba(39, 127, 213, 0.22), transparent 34%),
        linear-gradient(145deg, #071b2f, #0b3558 55%, #0f5f9f);
    color: #fff;
}

.trust-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 48px;
    align-items: center;
}

.trust-hero .eyebrow,
.trust-main .eyebrow,
.trust-contact-card .eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.trust-hero .eyebrow {
    color: #9fd3ff;
}

.trust-hero h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.trust-hero-copy > p {
    max-width: 700px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.15rem;
    line-height: 1.75;
}

.trust-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.trust-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.trust-button:hover {
    transform: translateY(-2px);
}

.trust-button-primary {
    background: #fff;
    color: #0b4f84;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.trust-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.trust-status-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
}

.trust-status-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-status-kicker {
    display: block;
    margin-bottom: 6px;
    color: #a7d6ff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.trust-status-top h2 {
    margin: 0;
    font-size: 1.55rem;
}

.trust-status-dot {
    width: 14px;
    height: 14px;
    margin-top: 5px;
    border-radius: 999px;
    background: #42dc8c;
    box-shadow: 0 0 0 7px rgba(66, 220, 140, 0.13);
}

.trust-status-list {
    display: grid;
    gap: 14px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.trust-status-list li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.82);
}

.trust-status-list strong {
    color: #82efaf;
    font-size: 0.9rem;
}

.trust-strip {
    border-bottom: 1px solid #dbe7f2;
    background: #fff;
}

.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-strip-grid > div {
    padding: 24px 20px;
    border-right: 1px solid #e2ebf3;
}

.trust-strip-grid > div:last-child {
    border-right: 0;
}

.trust-strip-grid strong,
.trust-strip-grid span {
    display: block;
}

.trust-strip-grid strong {
    margin-bottom: 5px;
    color: #0f5f9f;
}

.trust-strip-grid span {
    color: #62758a;
    font-size: 0.92rem;
}

.trust-main {
    padding: 76px 0 88px;
    background: #f4f8fc;
}

.trust-main-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    gap: 40px;
    align-items: end;
    margin-bottom: 46px;
}

.trust-main .eyebrow,
.trust-contact-card .eyebrow {
    color: #0f5f9f;
}

.trust-main-heading h2,
.trust-contact-card h2 {
    margin: 0;
    color: #15293f;
    font-size: clamp(2rem, 4vw, 3.3rem);
    letter-spacing: -0.035em;
}

.trust-main-heading p,
.trust-contact-card p {
    max-width: 760px;
    margin: 14px 0 0;
    color: #63768b;
    line-height: 1.7;
}

.trust-search-wrap label {
    display: block;
    margin-bottom: 8px;
    color: #253b52;
    font-weight: 800;
}

.trust-search {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #cbd9e6;
    border-radius: 12px;
    background: #fff;
    color: #172033;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 8px 24px rgba(35, 67, 99, 0.05);
}

.trust-search:focus {
    border-color: #0f6fb8;
    box-shadow: 0 0 0 4px rgba(15, 111, 184, 0.12);
}

.trust-resource-group + .trust-resource-group {
    margin-top: 52px;
}

.trust-group-heading {
    margin-bottom: 18px;
}

.trust-group-heading h3 {
    margin: 0;
    color: #20364d;
    font-size: 1.25rem;
}

.trust-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.trust-resource-card {
    display: flex;
    gap: 16px;
    min-height: 190px;
    padding: 22px;
    border: 1px solid #dce6ef;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37, 66, 95, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.trust-resource-card:hover {
    transform: translateY(-4px);
    border-color: #afd1ec;
    box-shadow: 0 20px 44px rgba(37, 66, 95, 0.11);
}

.trust-resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eaf4fd;
    font-size: 1.35rem;
}

.trust-resource-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.trust-resource-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.trust-resource-topline h4 {
    margin: 0;
    color: #1d3349;
    font-size: 1.05rem;
}

.trust-resource-arrow {
    color: #0f6fb8;
    font-weight: 900;
}

.trust-resource-card p {
    margin: 10px 0 18px;
    color: #6b7e90;
    line-height: 1.55;
    font-size: 0.93rem;
}

.trust-resource-status {
    margin-top: auto;
    color: #0f6fb8;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.trust-no-results {
    padding: 50px 20px;
    text-align: center;
    border: 1px dashed #c8d7e4;
    border-radius: 16px;
    background: #fff;
}

.trust-contact-section {
    padding: 0 0 90px;
    background: #f4f8fc;
}

.trust-contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 38px;
    border: 1px solid #dce7f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(35, 64, 92, 0.08);
}

.trust-contact-card .trust-button-primary {
    flex: 0 0 auto;
    background: #0f5f9f;
    color: #fff;
}

[hidden] {
    display: none !important;
}

@media (max-width: 980px) {
    .trust-hero-grid,
    .trust-main-heading {
        grid-template-columns: 1fr;
    }

    .trust-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .trust-strip-grid > div:nth-child(2) {
        border-right: 0;
    }

    .trust-strip-grid > div:nth-child(-n+2) {
        border-bottom: 1px solid #e2ebf3;
    }
}

@media (max-width: 680px) {
    .trust-hero {
        padding: 58px 0 46px;
    }

    .trust-hero h1 {
        font-size: clamp(2.35rem, 12vw, 4rem);
    }

    .trust-card-grid,
    .trust-strip-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip-grid > div {
        border-right: 0;
        border-bottom: 1px solid #e2ebf3;
    }

    .trust-strip-grid > div:last-child {
        border-bottom: 0;
    }

    .trust-resource-card {
        min-height: 0;
    }

    .trust-contact-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .trust-contact-card .trust-button-primary {
        width: 100%;
    }
}


/* Trust document pages */
.trust-document-hero {
    padding: 62px 0 46px;
    background: linear-gradient(145deg, #071b2f, #0c416c 60%, #0f5f9f);
    color: #fff;
}
.trust-breadcrumbs {display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px;font-size:.9rem;color:rgba(255,255,255,.7)}
.trust-breadcrumbs a{color:#b8deff;text-decoration:none}
.trust-document-hero .eyebrow{color:#a8d8ff}
.trust-document-hero h1{max-width:900px;margin:8px 0 14px;font-size:clamp(2.3rem,5vw,4.2rem);letter-spacing:-.04em}
.trust-document-hero> .container>p{max-width:820px;color:rgba(255,255,255,.82);font-size:1.08rem;line-height:1.7}
.trust-document-meta{display:flex;flex-wrap:wrap;gap:18px;margin-top:28px;color:rgba(255,255,255,.72);font-size:.9rem}
.trust-document-section{padding:58px 0 90px;background:#f4f8fc}
.trust-document-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:30px;align-items:start}
.trust-document-sidebar{position:sticky;top:24px;padding:22px;border:1px solid #dbe6ef;border-radius:16px;background:#fff}
.trust-back-link{display:inline-block;margin-bottom:20px;color:#0f5f9f;font-weight:800;text-decoration:none}
.trust-document-sidebar h2{margin:0 0 12px;font-size:1rem}
.trust-document-sidebar ol{display:grid;gap:8px;margin:0;padding-left:20px}
.trust-document-sidebar a{color:#536b82;text-decoration:none;font-size:.9rem}
.trust-document-sidebar a:hover{color:#0f5f9f}
.trust-document-card{padding:clamp(24px,5vw,54px);border:1px solid #dbe6ef;border-radius:22px;background:#fff;box-shadow:0 18px 44px rgba(32,60,88,.07)}
.trust-document-card section+section{margin-top:44px;padding-top:36px;border-top:1px solid #e4ebf1}
.trust-document-card h2{margin:0 0 16px;color:#1b334b;font-size:1.55rem}
.trust-document-card p,.trust-document-card li{color:#526a80;line-height:1.75}
.trust-document-card a{color:#0f5f9f}
.trust-document-card ul{padding-left:22px}
.trust-legal-note{margin-top:46px;padding:18px;border:1px solid #ead99c;border-radius:12px;background:#fff9df;color:#68591e;line-height:1.6}
.trust-code-diagram{margin:20px 0;padding:24px;border-radius:14px;background:#102b45;color:#d8efff;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;text-align:center;line-height:1.9}
.trust-table-wrap{overflow-x:auto}
.trust-table{width:100%;border-collapse:collapse}
.trust-table th,.trust-table td{padding:13px;border:1px solid #dce6ef;text-align:left;vertical-align:top}
.trust-table th{background:#edf5fb;color:#203a53}
.trust-status-board{display:grid;gap:12px}
.trust-status-board>div{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:15px;border:1px solid #dce6ef;border-radius:12px}
.trust-live-dot{width:11px;height:11px;border-radius:50%;background:#2bc678;box-shadow:0 0 0 5px rgba(43,198,120,.12)}
.trust-status-board>div>span:last-child{color:#178d56;font-weight:800}
.trust-small-note{font-size:.88rem}
@media(max-width:820px){
 .trust-document-layout{grid-template-columns:1fr}
 .trust-document-sidebar{position:static}
}



/* ==========================================================
   UNIFIED PUBLIC HEADER
   ========================================================== */

.site-header,
.site-header.is-scrolled,
.trust-page .site-header,
.trust-document-page .site-header {
    position: sticky;
    inset: auto;
    top: 0;
    z-index: 1000;
    padding: 0;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    backdrop-filter: none;
}

.navbar,
.trust-page .navbar,
.trust-document-page .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 154px;
    padding: 0;
}

.brand,
.trust-page .brand,
.trust-document-page .brand {
    display: flex;
    align-items: center;
    min-height: 154px;
    margin: 0;
    padding: 0;
}

.site-logo,
.trust-page .site-logo,
.trust-document-page .site-logo {
    display: block;
    width: auto;
    height: 150px;
    max-width: none;
    margin: -2px 0;
    padding: 0;
    object-fit: contain;
}

.nav-links,
.trust-page .nav-links,
.trust-document-page .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-links a,
.site-header.is-scrolled .nav-links a,
.trust-page .nav-links a,
.trust-document-page .nav-links a {
    color: #18324a;
    font-weight: 700;
    text-decoration: none;
}

.login-button,
.site-header.is-scrolled .login-button,
.trust-page .login-button,
.trust-document-page .login-button {
    background: #1778c8;
    color: #ffffff !important;
    box-shadow: none;
}

.menu-button,
.site-header.is-scrolled .menu-button {
    border-color: #dce7f0;
    background: #ffffff;
    color: #172033;
}

/* Shared content pages */
.public-page-hero {
    padding: 68px 0 56px;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(39, 127, 213, 0.22), transparent 34%),
        linear-gradient(145deg, #071b2f, #0b3558 55%, #0f5f9f);
}

.public-page-heading {
    max-width: 820px;
}

.public-page-heading h1 {
    margin: 8px 0 14px;
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.public-page-heading p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.public-content-section {
    padding: 64px 0 90px;
    background: #f4f8fc;
}

.public-content-card {
    padding: clamp(24px, 5vw, 52px);
    border: 1px solid #dce7f0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(32, 60, 88, 0.07);
}

.content-section + .content-section {
    margin-top: 42px;
    padding-top: 34px;
    border-top: 1px solid #e4ebf1;
}

.content-section h2,
.policy-content h2 {
    color: #1b334b;
}

.content-section p,
.content-section li,
.policy-content p,
.policy-content li {
    color: #526a80;
    line-height: 1.75;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 28px;
    color: #61778c;
}

.contents-box,
.notice-panel,
.contact-panel {
    margin: 24px 0;
    padding: 22px;
    border: 1px solid #dce7f0;
    border-radius: 16px;
    background: #f5f9fc;
}

.contents-box ol {
    columns: 2;
    gap: 36px;
}

.contents-box a,
.public-content-card a {
    color: #0f5f9f;
}

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

.public-content-page .feature-card {
    padding: 26px;
    border: 1px solid #dce7f0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 55, 88, 0.08);
}

.public-content-page .contact-panel .button-secondary {
    border-color: #bfd6e8;
    background: #ffffff;
    color: #0f5f9f;
}

@media (max-width: 900px) {
    .navbar,
    .brand,
    .trust-page .navbar,
    .trust-page .brand,
    .trust-document-page .navbar,
    .trust-document-page .brand {
        min-height: 112px;
    }

    .site-logo,
    .trust-page .site-logo,
    .trust-document-page .site-logo {
        height: 108px;
    }

    .contents-box ol {
        columns: 1;
    }
}

@media (max-width: 760px) {
    .navbar,
    .brand,
    .trust-page .navbar,
    .trust-page .brand,
    .trust-document-page .navbar,
    .trust-document-page .brand {
        min-height: 80px;
    }

    .site-logo,
    .trust-page .site-logo,
    .trust-document-page .site-logo {
        height: 76px;
        max-width: 245px;
        margin: 0;
    }

    .nav-links {
        margin: 0;
    }

    .public-content-page .features-grid {
        grid-template-columns: 1fr;
    }
}
