* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  padding: 26px 18px;
  border-left: 6px solid var(--accent);
  border-right: 2px solid var(--border);
  background: #ffffff;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: left;
}

.brand a {
  color: var(--text);
  font-size: 18px;
  letter-spacing: 0.3px;
}

.brand .pill {
  margin-bottom: 0;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.links a:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(0, 179, 0, 0.08);
  text-decoration: none;
}

.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

.nav-section {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-title {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.content {
  flex: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 24px 0 32px;
}

header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

header .container {
  max-width: none;
  margin: 0;
  padding: 0 24px;
}

main {
  padding: 28px 0 40px;
}

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 24px 0 40px;
}

footer > div {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-bottom: 2px solid var(--border);
  }

  .links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav-section {
    width: 100%;
  }

  .nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 24px 0 32px;
}

  .col-4,
  .col-6 {
    grid-column: span 12;
  }
}


  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: var(--accent);
}

h1,
h2,
h3 {
  color: var(--accent);
  letter-spacing: 0.4px;
}

h1 {
  font-size: 28px;
  margin: 0 0 8px;
}

h2 {
  font-size: 20px;
  margin: 0 0 12px;
}

h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

main .container {
  padding: 0 24px;
}

.card {
  border: 2px solid #cbd5e1;
  background: var(--panel);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: #f8fafc;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
}

.muted {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 16px rgba(0, 179, 0, 0.12);
  text-decoration: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.col-4 {
  grid-column: span 4;
}

.col-6 {
  grid-column: span 6;
}

.job + .job {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.job-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.job-date {
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.job-role {
  color: var(--muted);
  margin-bottom: 8px;
}

.section {
  margin-top: 26px;
  position: relative;
}

.section:first-of-type {
  margin-top: 0;
}

.section + .section::before {
  content: "";
  display: block;
  height: 2px;
  background: rgba(0, 179, 0, 0.2);
  margin-bottom: 22px;
}

.visitor-pill {
  position: relative;
  border-color: rgba(0, 179, 0, 0.35);
  background: #f2fff2;
}

.visitor-pill::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 8px;
  width: auto;
  max-width: 900px;
  min-width: 520px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #0f172a;
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
  z-index: 5;
}

.visitor-pill:hover::after,
.visitor-pill:focus::after {
  opacity: 1;
  transform: translateY(0);
}











