/* ============================================================
   Tripi public pages — legal documents + system status.
   Standalone, on-brand with the sign-in screen.
   ============================================================ */
@font-face{font-family:'Schibsted Grotesk';src:url('../fonts/SchibstedGrotesk.ttf') format('truetype');font-weight:400 900;font-style:normal;font-display:swap}

*{box-sizing:border-box}
html,body{margin:0}
body.lp{
  font-family:'Schibsted Grotesk',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:#1f2b46;background:#f3f7fc;line-height:1.6;
  display:flex;flex-direction:column;min-height:100vh;-webkit-font-smoothing:antialiased;
}

/* ---- top bar ---- */
.lp-top{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:18px 26px;background:#fff;border-bottom:1px solid #e6edf5;position:sticky;top:0;z-index:5;
}
.lp-brand{display:inline-flex}
.lp-brand img{height:34px;width:auto;display:block}
.lp-back{display:inline-flex;align-items:center;gap:7px;color:#3a4660;text-decoration:none;font-weight:600;font-size:14.5px}
.lp-back svg{width:16px;height:16px}
.lp-back:hover{color:#1f50d8}

/* ---- document ---- */
.lp-doc{width:100%;max-width:840px;margin:0 auto;padding:30px 26px 48px;flex:1}
.lp-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
.lp-tabs a{
  font-size:13.5px;font-weight:600;color:#52607a;text-decoration:none;
  padding:7px 14px;border-radius:999px;background:#e9f0f8;border:1px solid transparent;
}
.lp-tabs a:hover{background:#dfe9f5}
.lp-tabs a.on{background:#0f2f6b;color:#fff}
.lp-doc h1{font-size:32px;font-weight:800;letter-spacing:-.02em;margin:0 0 6px;color:#101f3d}
.lp-updated{margin:0 0 22px;color:#6a7890;font-size:14px;font-weight:500}
.lp-note{
  display:flex;gap:11px;align-items:flex-start;background:#fff7e8;border:1px solid #f4e2bd;
  border-radius:13px;padding:13px 15px;margin:0 0 26px;color:#7a5a16;font-size:13.5px;line-height:1.5;
}
.lp-note svg{width:19px;height:19px;flex:none;margin-top:1px;color:#c0871a}
.lp-lead{font-size:17px;color:#34415c;margin:0 0 30px;line-height:1.65}

.lp-section{margin:0 0 26px}
.lp-section h2{font-size:18.5px;font-weight:700;color:#15233f;margin:0 0 10px;letter-spacing:-.01em}
.lp-section h3{font-size:15.5px;font-weight:700;color:#26344f;margin:16px 0 6px}
.lp-section p{margin:0 0 12px;color:#3c4a64;font-size:15.5px}
.lp-section ul{margin:0 0 14px;padding-left:20px}
.lp-section li{margin:0 0 8px;color:#3c4a64;font-size:15.5px}
.lp-section a{color:#1f50d8;text-decoration:none}
.lp-section a:hover{text-decoration:underline}

/* ---- footer ---- */
.lp-foot{background:#0a1f3d;color:#aeb8cc;padding:24px 26px;text-align:center}
.lp-foot-links{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:center;margin-bottom:12px}
.lp-foot-links a{color:#b9c4dc;text-decoration:none;font-size:14px;font-weight:600}
.lp-foot-links a:hover{color:#fff}
.lp-foot p{margin:0;font-size:13px;color:#7e8aa6}

/* ============================================================
   System status page
   ============================================================ */
.lp-doc.stpage{max-width:760px}
.st-banner{
  display:flex;align-items:center;gap:14px;border-radius:16px;padding:18px 20px;margin:0 0 22px;
  border:1px solid #c7ecdf;background:linear-gradient(180deg,#effbf6,#e3f6ee);
}
.st-banner-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.st-banner-t strong{font-size:19px;font-weight:800;color:#0d3b34;letter-spacing:-.01em}
.st-updated{font-size:13px;color:#5b7a72}
.st-badge{font-size:12.5px;font-weight:700;color:#0f7a64;background:#cdeee2;padding:5px 12px;border-radius:999px}
.st-pulse{width:13px;height:13px;border-radius:50%;background:#13a695;flex:none;position:relative;box-shadow:0 0 0 5px rgba(19,166,149,.16)}
.st-pulse::after{content:"";position:absolute;inset:0;border-radius:50%;background:#13a695;animation:stp 1.8s ease-out infinite}
@keyframes stp{0%{transform:scale(1);opacity:.6}100%{transform:scale(2.8);opacity:0}}
/* overall states */
.st-banner[data-overall="warn"]{border-color:#f3e0b5;background:linear-gradient(180deg,#fff8ea,#fdf0d6)}
.st-banner[data-overall="warn"] .st-banner-t strong{color:#7a5610}
.st-banner[data-overall="warn"] .st-updated{color:#8a7330}
.st-banner[data-overall="warn"] .st-badge{color:#9a6a12;background:#f6e6c0}
.st-banner[data-overall="warn"] .st-pulse,.st-banner[data-overall="warn"] .st-pulse::after{background:#e0a226;box-shadow:0 0 0 5px rgba(224,162,38,.18)}
.st-banner[data-overall="down"]{border-color:#f3c9bf;background:linear-gradient(180deg,#fdeeea,#fbe0d9)}
.st-banner[data-overall="down"] .st-banner-t strong{color:#8a2a16}
.st-banner[data-overall="down"] .st-updated{color:#9a5345}
.st-banner[data-overall="down"] .st-badge{color:#b03a22;background:#f7d2c8}
.st-banner[data-overall="down"] .st-pulse,.st-banner[data-overall="down"] .st-pulse::after{background:#e5533c;box-shadow:0 0 0 5px rgba(229,83,60,.18)}

.st-list{background:#fff;border:1px solid #e6edf5;border-radius:16px;overflow:hidden}
.st-row{display:flex;align-items:flex-start;gap:14px;justify-content:space-between;padding:17px 20px;border-bottom:1px solid #eef2f7}
.st-row:last-child{border-bottom:0}
.st-row-main{display:flex;align-items:flex-start;gap:13px;min-width:0}
.st-dot{width:11px;height:11px;border-radius:50%;flex:none;margin-top:5px;background:#13a695}
.st-dot.warn{background:#e0a226}.st-dot.down{background:#e5533c}.st-dot.info{background:#7c93b5}
.st-row-t{min-width:0}
.st-row-t h3{font-size:15.5px;font-weight:700;color:#1b2948;margin:0 0 3px}
.st-row-t p{margin:0;font-size:13.5px;color:#697892;line-height:1.5}
.st-remedy{margin-top:6px !important;font-size:13px !important;color:#9a6a12 !important;background:#fbf1da;border-radius:8px;padding:7px 10px;display:inline-block}

.st-remedy[hidden]{display:none}
.st-pill{flex:none;font-size:12.5px;font-weight:700;padding:5px 12px;border-radius:999px;color:#0f7a64;background:#d8f0e8;white-space:nowrap}
.st-pill.warn{color:#9a6a12;background:#f6e6c0}
.st-pill.down{color:#b03a22;background:#f7d2c8}
.st-pill.info{color:#41557a;background:#e4ebf5}
.st-note{margin:18px 2px 0;font-size:13px;color:#8090a8}

/* keep wide reading column comfortable on small screens (centered, fluid) */
@media (max-width:560px){
  .lp-doc h1{font-size:26px}
  .st-row{flex-direction:column;gap:10px}
  .st-pill{align-self:flex-start}
}

/* ---- live status header + embed fill ---- */
.lp-doc.embed{max-width:none;margin:0;padding:0}
.st-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.st-head h1{margin-bottom:4px}
.st-live{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:#0f7a64;background:#e1f4ee;padding:6px 12px;border-radius:999px;flex:none;margin-top:4px}
.st-live-dot{width:8px;height:8px;border-radius:50%;background:#13a695;position:relative;flex:none}
.st-live-dot::after{content:"";position:absolute;inset:0;border-radius:50%;background:#13a695;animation:stp 1.8s ease-out infinite}
.st-sub{font-size:13px;color:#5b7a72}
.st-banner[data-overall="warn"] .st-sub{color:#8a7330}
.st-banner[data-overall="down"] .st-sub{color:#9a5345}
.st-checking .st-live{opacity:.5}
