/* Copinet styling: original layout, new blue/gray palette */
:root {
  --bg: #0b0f19;
  --card: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #2563eb; /* Copinet blue */
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 1200px at 10% 10%, #0f1629 0%, var(--bg) 40%);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 900px; margin: 0 auto; padding: 24px; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display:flex; align-items:center; font-weight:700; letter-spacing:0.3px; }
.brand img { height:40px; margin-right:10px; }
.menu a { margin-left: 16px; font-weight: 500; color: var(--text); opacity: .9; }
.hero { padding: 56px 0; display: grid; gap: 28px; }
.hero h1 { font-size: 40px; line-height: 1.1; margin: 0; }
.hero p { color: var(--muted); margin: 0; font-size: 18px; }
.cta { margin-top: 20px; display: inline-block; background: linear-gradient(135deg, var(--accent), #60a5fa); color: white; padding: 12px 18px; border-radius: 12px; font-weight: 600; }
.section { margin: 40px 0; padding: 24px; background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { padding: 18px; border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; background: rgba(255,255,255,0.02); }
.card h3 { margin: 0 0 8px 0; }
.footer { margin-top: 48px; padding: 24px 0; color: var(--muted); font-size: 14px; border-top: 1px solid rgba(255,255,255,0.06); text-align:center; }
.footer a { color: var(--muted); }
.main h1, .main h2, .main h3 { margin-top: 0; }
/* Ensure logo link inherits original brand color and stays centered */
.brand a {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.2em;
  color: var(--text);      /* Use the header text color instead of link blue */
  text-decoration: none;   /* Remove underline */
}

.brand a:hover {
  color: var(--text);      /* Prevent hover color change */
}

.brand img {
  height: 40px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
}

/* Center vertically in header */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
