@font-face{font-family:Nebulica;src:url(fonts/Nebulica-Regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Nebulica;src:url(fonts/Nebulica-Bold.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:Poppins;src:url(fonts/Poppins-Regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url(fonts/Poppins-Medium.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:Poppins;src:url(fonts/Poppins-Bold.woff2) format("woff2");font-weight:700;font-display:swap}

:root{--navy:#003153;--light:#79a6c7;--bg:#f4f7fa;--ink:#000;--muted:#4a5a68;--line:#dbe4ec}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:Poppins,Arial,sans-serif;color:var(--ink);background:var(--bg);min-height:100vh;display:flex;flex-direction:column;line-height:1.55}
h1,h2{font-family:Nebulica,Poppins,Georgia,serif;color:var(--navy);font-weight:400;margin:0 0 .4em}
a{color:var(--navy)}

.top{background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:14px 24px;gap:16px}
.brand img{display:block;height:auto}
.who{display:flex;align-items:center;gap:10px;font-size:14px}
.avatar{width:32px;height:32px;border-radius:50%}
.logout{color:#fff;opacity:.8;font-size:13px;margin-left:6px}
.logout:hover{opacity:1}

.wrap{max-width:1080px;margin:0 auto;padding:40px 24px 56px;width:100%;flex:1}
.hero h1{font-size:clamp(28px,4vw,40px);line-height:1.15}
.hero p{color:var(--muted);max-width:620px;margin:0 0 32px}

.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.tile{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s,border-color .15s}
a.tile:hover,a.tile:focus-visible{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,49,83,.10);border-color:var(--light);outline:none}
.tile h2{font-size:22px}
.tile p{color:var(--muted);font-size:14px;margin:0 0 18px;flex:1}
.icon{width:36px;height:36px;fill:none;stroke:var(--navy);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:14px}
.tag{align-self:flex-start;font-size:13px;font-weight:500;padding:5px 12px;border-radius:999px;background:var(--navy);color:#fff}
.soon{opacity:.7}
.soon .icon{stroke:var(--light)}
.soon .tag{background:#e7eef4;color:var(--muted)}

.login{flex:1;display:flex;align-items:center;justify-content:center;padding:32px 16px}
.login-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:40px 32px;max-width:420px;width:100%;text-align:center}
.login-card img{margin-bottom:20px;max-width:100%;height:auto}
.login-card h1{font-size:34px}
.login-card p{color:var(--muted);margin:0 0 20px}
.g_id_signin{display:flex;justify-content:center;min-height:44px;margin-bottom:16px}
.error{background:#fdecec;color:#8a1c1c !important;border-radius:8px;padding:10px 12px;font-size:14px}
.small{font-size:13px}

.foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:18px 24px;font-size:12px;color:var(--muted);border-top:1px solid var(--line);background:#fff}

@media (max-width:600px){
  .top{padding:12px 16px}
  .brand img{width:120px}
  .who .name{display:none}
  .wrap{padding:28px 16px 40px}
  .foot{padding:16px}
}
