/* EduSmart360 Frontend Rebuild — Trust / Support / Security / Status composition.
   Canonical EDL supplies all colors and primitives. This layer composes one public
   service experience; it contains no alternate theme and no cascade forcing. */

:root{color-scheme:light;--ink:var(--edl-ink);--muted:var(--edl-muted);--line:var(--edl-line);--brand:var(--edl-ocean);--surface:var(--edl-surface);--soft:var(--edl-surface-2);--warn:var(--edl-warning)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:var(--edl-canvas);color:var(--ink);font-family:var(--edl-body)}
a{color:var(--edl-ocean-2);text-underline-offset:3px}
a:focus-visible,button:focus-visible{outline:3px solid color-mix(in srgb,var(--edl-focus) 38%,transparent);outline-offset:2px}

.trust-shell{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.trust-header{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:saturate(120%) blur(12px)}
.trust-header-inner{display:flex;min-height:72px;align-items:center;justify-content:space-between;gap:28px}
.trust-brand{display:inline-flex;align-items:baseline;color:var(--edl-ink);font-family:var(--edl-title);font-size:20px;font-weight:780;letter-spacing:-.04em;text-decoration:none}
.trust-brand span{color:var(--edl-jade)}
.trust-mark,.trust-brand::before{display:none}
.trust-nav{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}
.trust-nav a{padding:9px 11px;border-radius:9px;color:var(--edl-ink-2);font-size:12px;font-weight:700;text-decoration:none}
.trust-nav a:hover{background:var(--soft);color:var(--edl-ink)}

.trust-main{padding:56px 0 80px}
.trust-hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr);gap:20px;align-items:stretch}
.trust-panel,.trust-card{border:1px solid var(--edl-line-strong);background:var(--surface);box-shadow:var(--edl-shadow-1)}
.trust-panel{border-radius:20px;padding:38px}
.trust-hero-copy{min-width:0}
.trust-kicker{margin:0 0 12px;color:var(--brand);font-size:10px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.trust-hero-copy h1{max-width:18ch;margin:0;color:var(--edl-ink);font-family:var(--edl-title);font-size:clamp(38px,4.4vw,58px);font-weight:735;line-height:1.02;letter-spacing:-.052em}
.trust-lead{max-width:72ch;margin:20px 0 0;color:var(--muted);font-size:14px;line-height:1.72}
.trust-summary{display:flex;min-width:0;flex-direction:column;justify-content:center;background:linear-gradient(155deg,#eef7f4,var(--surface))}
.trust-summary strong{font-family:var(--edl-title);font-size:32px;line-height:1.06;letter-spacing:-.04em}
.trust-summary p{margin:14px 0 0;color:var(--muted);line-height:1.65}
.trust-summary a{display:inline-flex;width:max-content;margin-top:20px;font-weight:740}

.trust-badges{display:flex;flex-wrap:wrap;gap:9px;margin-top:25px}
.trust-badge{display:inline-flex;min-height:31px;align-items:center;padding:5px 10px;border:1px solid #cfe6df;border-radius:999px;background:#eef8f5;color:var(--edl-success);font-size:10.5px;font-weight:800}

.trust-section{margin-top:58px}
.trust-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:34px;margin-bottom:20px}
.trust-section-head>div{min-width:0}
.trust-section-head h2{margin:0;color:var(--edl-ink);font-family:var(--edl-title);font-size:clamp(25px,2.4vw,34px);font-weight:720;line-height:1.08;letter-spacing:-.035em}
.trust-section-head p{max-width:60ch;margin:0;color:var(--muted);line-height:1.65}
.trust-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.trust-card{min-width:0;min-height:172px;border-radius:16px;padding:22px}
.trust-card h3{margin:0;color:var(--edl-ink);font-size:14px;font-weight:760;letter-spacing:-.01em}
.trust-card p{margin:10px 0 0;color:var(--muted);font-size:12.5px;line-height:1.68}
.trust-card a{display:inline-flex;margin-top:14px;font-size:12px;font-weight:740}

.trust-contact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
.contact-row{min-width:0;padding:17px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--edl-shadow-1)}
.contact-row span{display:block;color:var(--muted);font-size:9.5px;font-weight:820;letter-spacing:.07em;text-transform:uppercase}
.contact-row a,.contact-row strong{display:inline-block;max-width:100%;margin-top:6px;font-weight:760;overflow-wrap:anywhere}
.contact-row [aria-disabled="true"]{color:var(--edl-muted-2);text-decoration:none;cursor:default}

.trust-note{margin-top:20px;padding:16px 18px;border:1px solid #ead8b8;border-radius:13px;background:#fff9ef;color:var(--warn);font-size:12.5px;line-height:1.6}
.status-orb{display:inline-block;width:9px;height:9px;margin-right:8px;border-radius:999px;background:var(--edl-muted-2)}
.status-orb.ok{background:var(--edl-success)}.status-orb.warn{background:var(--edl-warning)}.status-orb.err{background:var(--edl-danger)}

.trust-footer{border-top:1px solid var(--line);background:var(--surface)}
.trust-footer-inner{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:11.5px}

/* Support/security pages use the same readable measure even when they have fewer cards. */
.trust-main>h1{max-width:24ch;margin:18px 0 18px;font-family:var(--edl-title);font-size:clamp(34px,3.6vw,50px);line-height:1.04;letter-spacing:-.045em}
.trust-main>p{max-width:82ch;color:var(--muted);font-size:14px;line-height:1.72}
.trust-main>h2,.trust-main>h3{margin-top:34px;color:var(--edl-ink);font-family:var(--edl-title)}
.trust-main>h2{font-size:24px}.trust-main>h3{font-size:16px}
.trust-main>section:not(.trust-hero):not(.trust-section){margin-top:32px}

@media(max-width:900px){
  .trust-shell{width:min(100% - 36px,1180px)}
  .trust-hero{grid-template-columns:1fr}.trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .trust-section-head{align-items:flex-start;flex-direction:column;gap:8px}
}
@media(max-width:640px){
  .trust-shell{width:min(calc(100% - 28px),1180px)}
  .trust-header-inner{min-height:62px}.trust-nav{display:none}
  .trust-main{padding:32px 0 52px}
  .trust-panel{padding:24px 21px;border-radius:17px}
  .trust-hero-copy h1{font-size:36px}
  .trust-grid,.trust-contact{grid-template-columns:1fr}
  .trust-card{min-height:0}.trust-section{margin-top:38px}
  .trust-footer-inner{min-height:66px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
