/*
 * Custom stylesheet for the Simulated Norms project page.
 *
 * This file copies the overall look and feel of the ReaLLM research page
 * (two‑tone hero section, clean typography and pill‑shaped buttons) while
 * keeping all styles self‑contained. Fonts are loaded via Google Fonts and
 * the layout is responsive down to mobile widths. Sections alternate
 * subtle background colours for visual separation.
 */

/* Font Imports */
@font-face {
  font-family: 'Castoro';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/castoro/v20/1q2GY5yMCld3-O4cLYFOzcQdjETZfw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Castoro';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/castoro/v20/1q2GY5yMCld3-O4cLY9OzcQdjEQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/googlesans/v67/4Ua_rENHsxJlGDuGo1OIlJfC6l_24rlCK1Yo_Iqcsih3SAyH6cAwhX9RFD48TE63OOYKtrwEIJlrpynAFyo4R4r0Mw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/googlesans/v67/4Ua_rENHsxJlGDuGo1OIlJfC6l_24rlCK1Yo_Iqcsih3SAyH6cAwhX9RFD48TE63OOYKtrwEIJllpynAFyo4R4o.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #222;
  line-height: 1.55;
  background-color: #fff;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section */
.hero {
  background-color: #f4f4f4;
  border-bottom: 1px solid #e0e0e0;
  padding: 5.25rem 0 3.25rem;
  text-align: center;
}

.hero .container {
  max-width: 980px;
}

.hero .hero-title {
  font-size: clamp(1.4rem, 3vw, 2.8rem);
  font-weight: 600;
  margin: 0 auto 2rem;
  color: #222;
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 960px;
}

.hero .authors {
  font-size: 1.44rem;
  color: #1a73e8;
  margin: 0 auto 0.65rem;
  line-height: 1.2;
}

.hero .authors a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.hero .authors a:hover {
  color: #1558b0;
  text-decoration: underline;
}

.hero .affiliation {
  font-size: 1.37rem;
  color: #3f3f3f;
  margin: 0 auto 1.8rem;
  line-height: 1.22;
  max-width: 900px;
}

.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.55rem;
  background-color: #253246;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover {
  background-color: #1f2b3d;
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 3rem 0;
}
.section.alt {
  background-color: #fafafa;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #111;
}
.section p,
.section li {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #444;
}
.section ul {
  list-style: disc;
  padding-left: 1.5rem;
}
#approach li strong {
  font-weight: 800;
  color: #222;
}

/* Button style reused in other pages */
.btn.pdf {
  background-color: #1a73e8;
}
.btn.pdf:hover {
  background-color: #1558b0;
}

/* Keywords block (abstract section) */
.keywords {
  display: block;
  margin-top: 1.4rem;
  font-family: inherit;
}
.keywords-label {
  display: block;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 400;
  color: #8a94a5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.section ul.keyword-list,
.keyword-list {
  list-style: none;
  padding-left: 0;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 400;
  color: #8a94a5;
  line-height: 1.6;
}
.section li.keyword,
.keyword-list li {
  display: inline;
  padding: 0;
  background: none;
  border: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  color: #8a94a5;
}
.keyword-list li::after {
  content: "  \00B7  ";
  color: #8a94a5;
  margin: 0 0.15rem;
  font-weight: 400;
}
.keyword-list li:last-child::after {
  content: "";
}

/* Additional styling for disclaimer page */
.disclaimer-section {
  padding: 4rem 0;
}
.disclaimer-section h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #222;
}
.disclaimer-section p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #444;
}
.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #1a73e8;
  text-decoration: none;
  border-bottom: 1px solid #1a73e8;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.back-link:hover {
  color: #1558b0;
  border-bottom-color: transparent;
}

@media (max-width: 900px) {
  .hero {
    padding: 3.5rem 0 2.75rem;
  }
  .hero .authors {
    font-size: 1.37rem;
  }
  .hero .affiliation {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 2.5rem 0;
  }
  .hero .hero-title {
    font-size: clamp(1.2rem, 4vw, 2.2rem);
  }
  .hero .affiliation {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2.5rem 0 2rem;
  }
  .hero .hero-title {
    font-size: clamp(1rem, 5vw, 1.8rem);
  }
  .hero .affiliation {
    font-size: 1.1rem;
  }
}