/* Nettsmed Quicklinks · styles.css */
:root{
  --bg: #ffffff;
  --panel: #ffffff;
  --muted: #475759;
  --ink: #1f3133;
  --brand: #2f5d62;
  --brand-dark: #1f3133;
  --accent: #2f5d62;
  --card: #ffffff;
  --card-hover: #f8f9fa;
  --pill: rgba(47,93,98,0.1);
  --shadow: 0 2px 8px rgba(0,0,0,.08);
  --header-bg: #ffffff;
  --border: #e5e7eb;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header{
  position: sticky;
  top: 0;
  background: var(--header-bg);
  z-index: 10;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 20px;
}

.brand img{ 
  display:block;
  height: 40px;
  width: auto;
}

.header-actions{
  display:flex; align-items:center; gap:12px;
  color: var(--muted);
  font-size: 13px;
}
.header-actions .badge{
  display:inline-block;
  padding:8px 14px;
  border-radius: 6px;
  background: #f3f4f6;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}
.header-actions .btn{
  display:inline-block;
  padding:10px 20px;
  border-radius: 6px;
  background: var(--brand);
  color: white;
  text-decoration:none;
  border:1px solid transparent;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}
.header-actions .btn:hover{ 
  background: var(--brand-dark);
  box-shadow: 0 2px 8px rgba(47,93,98,.25);
}

.intro{ 
  padding: 48px 4px 24px;
  text-align: left;
}
.intro h1{
  margin: 0 0 12px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.intro p{ 
  margin:0; 
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.grid{
  margin: 32px 0 64px;
  display:grid;
  grid-template-columns: repeat( auto-fit, minmax(280px, 1fr) );
  gap:20px;
}
.card{
  display:flex;
  gap:16px;
  padding:24px;
  border-radius: 8px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.card.muted{ opacity: .6; }
.card-icon{
  flex: 0 0 48px;
  width:48px; height:48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display:grid; place-items:center;
  color:white;
}
.card-icon svg{ width:28px; height:28px; fill: currentColor; }
.card-body h2{
  margin:0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height:1.3;
  color: var(--ink);
}
.card-body p{
  margin:0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.pill{
  display:inline-block;
  padding: 5px 12px;
  border-radius: 4px;
  background: #f3f4f6;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-footer{
  border-top:1px solid var(--border);
  margin-top: 48px;
  background: #f9fafb;
}
.site-footer .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 24px 20px;
  color: var(--muted);
  font-size: 14px;
}
.footer-links a{
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}
.footer-links a:hover{
  text-decoration: underline;
}
.compact .grid{ gap:16px; }
.compact .card{ padding:16px; }
