/* global.css — skeleton, resets, shared tokens */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
a { text-decoration: none; }

/* ── Page shell ── */
#page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  position: relative;
  z-index: 1;
}

/* ── Constrained content column ── */
/* themes set max-width, padding, gap */
.wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 100%;
}

/* ── Header ── */
#hdr {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-shrink: 0;
}
#brand     { display: flex; flex-direction: column; }
#hdr-right { display: flex; flex-direction: column; align-items: flex-end; }
#greeting  {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 16px;
}
#social { display: flex; gap: .75rem; }

/* ── Main ── */
#main  { flex: 1; display: grid; }
#hero  { display: flex; flex-direction: column; }
#dock  { display: flex; flex-direction: column; }
#nav   { display: flex; flex-direction: column; }
.dl    { display: flex; align-items: center; }

/* ── Footer ── */
#ftr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-shrink: 0;
}

/* ── Shared typography tokens ── */
#logo-sub,
#hero-eyebrow,
.dock-label   { font-size: 14px; text-transform: uppercase; }
#hero-hl      { white-space: pre; }
#ftr-r        { font-variant-numeric: tabular-nums; }

/* ── Theme switcher ── */
#switcher-panel[hidden] { display: none !important; }
#theme-switcher { position: relative; }
#switcher-panel {
  position: absolute;
  bottom: calc(100% + .5rem);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  z-index: 9999;
  min-width: 130px;
}
.sw-opt {
  display: block;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
