@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
}

h1 {
  font-family: Merriweather, serif;
  font-size: 46px;
}
:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --text-light: #666666;
  --accent: #f56e0f;
  --border: #e5e5e5;
  --surface: #f9f9f9;
  --font-sans: 'Roboto',-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

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

html {
  scroll-behavior:smooth ;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image: 
    linear-gradient(to right, grey 4px, transparent 1px),
    linear-gradient(to bottom, grey 4px, transparent 1px);
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ----- TYPOGRAPHY ----- */
h1{
  font-family: 'Roboto';
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}
h1 .accent {
  color: #f56e0f;
  font-size: inherit;
  font-weight: inherit;
  font-family: 'Rubik';
}


/* ----- LAYOUT ----- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----- NAVIGATION ----- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  text-decoration: none;
}

/* ----- SECTIONS ----- */
section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

/* ----- LABELS ----- */
.label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* ----- RULES ----- */
.rule {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.8;
}

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

}
.btn--outline:hover {
  background: #f56e0f;
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

/* ----- CARDS ----- */
.card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* ----- STATS ----- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-card {
  padding: 1rem;
  background: var(--surface);
  border-radius: 6px;
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ----- TABLES ----- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  font-weight: 500;
  color: var(--text-light);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.num-cell {
  font-family: var(--font-mono);
  text-align: right;
}

/* ----- HYPOTHESIS ROWS ----- */
.hyp-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.hyp-id {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--accent);
}

.hyp-text {
  color: var(--text);
}

.hyp-result {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
}

.result-sig {
  background: #dbeafe;
  color: #1d4ed8;
}

.result-ns {
  background: var(--surface);
  color: var(--text-light);
}

/* ----- CHARTS ----- */
.chart-container {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--surface);
  border-radius: 8px;
}

/* ----- INTERPRETATION BOX ----- */
.interpretation-box {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
}

.interpretation-box h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.interpretation-box p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* ----- OUTLIER CARDS ----- */
.outlier-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.outlier-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.outlier-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.outlier-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ----- SUMMARY CHIPS ----- */
.results-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.summary-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border-radius: 20px;
  font-size: 0.85rem;
}

.chip-num {
  font-weight: 600;
  color: var(--accent);
}

.chip-label {
  color: var(--text-light);
}

/* ----- DOWNLOAD ----- */
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.data-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1rem;
}

.data-note code {
  background: var(--surface);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* ----- FOOTER ----- */
footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-light);
}

footer strong {
  color: var(--text);
}

/* ----- PAGE WRAPPER ----- */
.page {
  padding-top: 4rem;
}

/* ----- HERO ----- */
.hero-nav {
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.author {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.supervisor {
  color: var(--text-light);
  margin-bottom: 0.25rem;
}


.abstract-lead h1{
  font-size: 8.1rem;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 700px;
}

/* ----- STATS (index.html version) ----- */
.stat-card .num {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-card .desc {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ----- SECTION CARDS ----- */
.section-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.section-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.section-card:hover {
  border-color: var(--border);
  box-shadow: 0 2px 8px rgba(255, 162, 0);
  text-decoration: none;
}

.section-num {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.section-card h3 {
  margin-bottom: 0.5rem;
}

.section-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ----- FOOTER LAYOUT ----- */
footer .container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-left,
.footer-right {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-left strong {
  color: var(--text);
}