/* theme was created using AI*/
:root{
  --bg:#ffffff;
  --text:#0b1220;
  --muted:#5a6b85;
  --border:#e3eaf5;

  --blue:#0d48c6;
  --green:#2dd841;

  /* simpler 2-color gradient */
  --accent-gradient: linear-gradient(90deg, var(--blue), var(--green));
}

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height:1.8;
  color:var(--text);
  background: var(--bg);
}

/* Header */
.top{
  padding: 40px 22px 22px;
  background: var(--accent-gradient);
  color:white;
}

.top h1{
  margin:0 0 8px 0;
  font-size: clamp(2.3rem, 3.6vw, 3.2rem); /* bigger */
  letter-spacing:-0.04em;
  line-height:1.1;
}

.authors{
  margin:0 0 16px 0;
  opacity:0.92;
  font-weight:600;
}

.nav{
  display:flex;
  flex-wrap:wrap;
  gap: 12px 18px;
}

.nav a{
  color:white;
  text-decoration:none;
  font-weight:700;
  font-size:0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  transition: transform 120ms ease, background 120ms ease;
}

.nav a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.22);
}

/* Main */
.content{
  max-width: 900px;
  margin: 0 auto;
  padding: 44px 18px 90px;
}

/* Sections: simple, clean dividers */
section{
  margin-bottom: 64px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

section h2{
  margin: 0 0 12px 0;
  font-size: 1.9rem;
  letter-spacing:-0.02em;
}

section h3{
  margin-top: 22px;
  margin-bottom: 6px;
  font-size: 1.25rem;
  color: var(--blue);
}

section h4{
  margin-top: 16px;
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight:700;
}

p{ margin: 12px 0; }
ul{ padding-left: 22px; margin: 10px 0; }
li{ margin: 8px 0; }

.figure-small {
  max-width: 400px;
  margin: 20px auto;
  text-align: center;
}

.figure-small img {
  width: 100%;
  height: auto;
  display: block;
}


.figure-small figcaption {
  font-size: 0.9em;
  font-style: italic;
  color: #555;
  margin-top: 8px;
}


.figure-caption{
  margin-top: -8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.figure-large {
  width: 600px;
  margin: 24px auto;
  text-align: center;
}

.figure-large img {
  width: 100%;
  height: auto;
  display: block;
}

.figure-large figcaption {
  font-size: 0.9em;
  font-style: italic;
  color: #555;
  margin-top: 8px;
}

.code-block {
  background: #efeff2;
  color: #000408;
  padding: 8px 8px;
  border-radius: 12px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
  line-height: 1;
  border: 1px solid rgba(255,255,255,0.08);
}

.code-block code {
  white-space: pre; /* preserve formatting */
}

pre{
  background:#0b1220;
  color:#e6edf3;
  border-radius: 12px;
  padding: 16px;
  overflow-x:auto;
}

.figure-wide {
  margin: 2rem auto;
  max-width: 900px;
  text-align: center;
}

.figure-wide .image-row {
    width: 60%;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
   margin: 0 auto;
}

.figure-wide img {
  width: 60%;

  height: auto;
  border-radius: 6px;
}
