/* styles.css — HoloBase shared styles, reduced to what Module 00 uses (preview of 4b86b29). */
:root {
  --ice: #eef5fa;
  --ice-light: #f7fbfd;
  --ice-mid: #dfeaf2;
  --white: #ffffff;
  --navy: #0b2942;
  --navy-deep: #081d30;
  --navy-soft: #16344f;
  --border: #c9d9e3;
  --border-soft: #e2ecf2;
  --accent: #2f6690;
  --accent-dark: #1c4e6e;
  --accent-light: #eaf3f9;
  --text: #16293b;
  --text-muted: #51677d;
  --text-faint: #7c90a3;
  --success: #2f8f6b;
  --success-light: #e4f3ee;
  --warning: #a9682c;
  --warning-light: #f8ecdf;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 41, 66, 0.07);
  --shadow-md: 0 6px 20px rgba(11, 41, 66, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 41, 66, 0.12);

  --font-heading: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --sidebar-width: 284px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ice);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent-dark);
}

a:hover {
  color: var(--navy);
}

code {
  font-family: var(--font-mono);
}

ul, ol {
  padding-left: 1.3em;
}

.progress-track {
  width: 100%;
  height: 7px;
  background: var(--ice-mid);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--success) 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-soft);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  border-color: var(--border);
  color: var(--navy);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn-small {
  padding: 0.3rem 0.65rem;
  font-size: 0.76rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
