* {
    box-sizing: border-box;
}

:root {
    --navy: #0a2f44;
    --blue: #0b5b9e;
    --ink: #1e2b3a;
    --muted: #3d5a73;
    --surface: #ffffff;
    --soft: #f8faff;
    --line: #e0e9f2;
    --accent: #dce8f5;
}

body {
    background: #ffffff !important;
    color: var(--ink) !important;
    max-width: 1200px !important;
    margin: 24px auto !important;
    padding: 32px 36px 48px !important;
    border-radius: 18px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.06);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    line-height: 1.7 !important;
}

body > p:first-of-type {
    background: #eef4fa;
    border-radius: 10px;
    padding: 10px 18px;
    text-align: center;
    font-weight: 600;
}

body > p:first-of-type a {
    display: inline-block;
    background: #dce8f5;
    color: var(--navy) !important;
    padding: 5px 14px;
    border-radius: 20px;
    margin: 2px 4px;
}

body > p:first-of-type a:hover {
    background: #b8d0e0;
    text-decoration: none;
}

nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 0 20px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 30px;
}

nav a,
.button {
  background: var(--accent);
  color: var(--navy);
  padding: 7px 16px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
}
h1, h2, h3, h4 {
    color: var(--navy) !important;
}

h1 {
    border-bottom: 3px solid var(--navy) !important;
    padding-bottom: 0.6rem !important;
}

h2, h3, h4 {
    border-bottom-color: #d0dcec !important;
}

a {
    color: var(--blue) !important;
}

table {
    width: 100%;
}

th {
    background: #e9eef5;
}

blockquote, .note {
    border-left-color: #f59e0b !important;
    background: #fff9e6;
    border-radius: 4px;
}

pre:not(.hljs), pre.hljs code > div, .code-block {
    border-radius: 8px !important;
}

#tutorial-navigation {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    body {
        margin: 0 !important;
        padding: 20px 18px 30px !important;
        border-radius: 0;
    }
}
