
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--navy);
}

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--bone);
  min-height: 100vh;
  /* dot-grid texture across the whole app */
  background-image:
    radial-gradient(circle at 12% 0%, rgba(61, 219, 168, 0.06) 0%, transparent 38%),
    radial-gradient(circle, rgba(244, 242, 236, 0.04) 1px, transparent 1px);
  background-size: auto, 26px 26px;
  background-position: 0 0, 0 0;
  background-attachment: fixed;
}

/* ============================================================
   LAYOUT SHELL
   ============================================================ */

.app { display: flex; flex-direction: column; min-height: 100vh; }

/* ---- TOP NAV ---- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(11, 26, 58, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bone-line);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 36px;
  gap: 0;
}

.topnav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 44px;
  flex-shrink: 0;
}
.topnav-logo-mark {
  width: 30px;
  height: 30px;
  background: var(--mint);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(61,219,168,0.2), 0 8px 24px rgba(61,219,168,0.18);
}
.topnav-logo-mark svg { width: 16px; height: 16px; fill: var(--navy); }
.topnav-logo-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone);
}

.topnav-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.tab-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  color: var(--bone-soft);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
}
.tab-btn:hover { background: rgba(244,242,236,0.06); color: var(--bone); }
.tab-btn.active {
  background: rgba(61, 219, 168, 0.10);
  color: var(--mint);
}
.tab-label {
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-sans);
  letter-spacing: 0.005em;
}
.tab-sub {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  opacity: 0.55;
  text-transform: uppercase;
}
.tab-btn.active .tab-sub { opacity: 0.75; }

.topnav-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.topnav-user-name {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-mute);
}
.topnav-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy-3);
  border: 1.5px solid var(--bone-line-2);
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ---- MOCK BANNER ---- */
.mock-banner {
  background: rgba(255, 107, 92, 0.08);
  border-bottom: 1px solid rgba(255, 107, 92, 0.18);
  padding: 8px 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
}
.mock-banner .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

/* ---- PAGE SECTIONS ---- */
.page-section { display: none; flex: 1; }
.page-section.active { display: block; }

/* ============================================================
   SHARED — page headers
   ============================================================ */

.section-page {
  padding: 56px 48px 64px;
  max-width: 1180px;
  margin: 0 auto;
}

.page-header { margin-bottom: 36px; }
.page-header-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-header-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--mint);
}
.page-title {
  font-size: clamp(32px, 3.4vw, 40px);
  font-weight: 300;
  letter-spacing: -0.022em;
  color: var(--bone);
  line-height: 1.05;
  margin-bottom: 12px;
}
.page-title strong { font-weight: 700; color: var(--mint); }
.page-lead {
  font-size: 14px;
  color: var(--bone-mute);
  max-width: 720px;
  line-height: 1.55;
}

