.page{
  min-height:100%;
  padding:32px 20px 56px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.shell{
  width:min(1100px, 100%);
}

.topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}

.title{
  display:flex;
  gap:14px;
  align-items:center;
}

.logo{
  width:44px;
  height:44px;
  border-radius:14px;
  background:linear-gradient(135deg, var(--brand1), var(--brand2));
  box-shadow:0 12px 40px rgba(99,102,241,.25);
  display:grid;
  place-items:center;
  font-weight:800;
}

h1{
  margin:0;
  font-size:clamp(22px, 3.2vw, 34px);
  letter-spacing:-.02em;
}

.subtitle{
  margin:6px 0 0;
  color:var(--muted);
  font-size:clamp(12px, 1.6vw, 14px);
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(17,28,51,.55);
  color:var(--text);
  text-decoration:none;
  font-size:13px;
  transition:transform .2s ease, border-color .2s ease, background .2s ease;
}
.chip:hover{transform:translateY(-1px); border-color:rgba(99,102,241,.65); background:rgba(17,28,51,.75)}

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

.home-card{
  --shadow:0 20px 60px rgba(0,0,0,.45);
  --radius:18px;
  --cardA:#111c33cc;
  --cardB:#0b1429cc;

  position:relative;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:linear-gradient(180deg, var(--cardA), var(--cardB));
  box-shadow:var(--shadow);
  padding:18px 18px 16px;
  text-decoration:none;
  color:inherit;
  overflow:hidden;
  transition:transform .22s ease, border-color .22s ease;
}
.home-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(700px 220px at 20% 10%, rgba(99,102,241,.18), transparent 60%);
  opacity:.9;
  pointer-events:none;
}
.home-card:hover{
  transform:translateY(-4px);
  border-color:rgba(99,102,241,.65);
}

.card-head{
  display:flex;
  gap:12px;
  align-items:flex-start;
  position:relative;
  z-index:1;
}
.icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:22px;
  background:rgba(99,102,241,.14);
  border:1px solid rgba(99,102,241,.30);
}

.card-title{
  margin:0;
  font-weight:700;
  font-size:16px;
  line-height:1.2;
}
.card-desc{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.card-foot{
  margin-top:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  position:relative;
  z-index:1;
}

.meta{
  font-size:12px;
  color:var(--muted);
}

.cta{
  font-size:13px;
  font-weight:600;
  color:#fff;
  padding:8px 12px;
  border-radius:12px;
  background:linear-gradient(135deg, var(--brand1), var(--brand2));
  border:1px solid rgba(255,255,255,.12);
}

.footer{
  margin-top:16px;
  color:rgba(155,176,204,.85);
  font-size:12px;
  text-align:center;
}

@media (max-width: 980px){
  .grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
}

@media (max-width: 620px){
  .page{padding:22px 14px 44px}
  .topbar{flex-direction:column; align-items:stretch}
  .actions{justify-content:flex-start}
  .grid{grid-template-columns:1fr}
  .home-card{box-shadow:0 18px 45px rgba(0,0,0,.42)}
}

@media (prefers-reduced-motion: reduce){
  *{transition:none !important}
}

