/* fff-covers — stylesheet
   Figtree (body) + JetBrains Mono (code)
   Dark navy palette */
   

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

/* ----------------------------------------
   Reset & base
---------------------------------------- */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Figtree', sans-serif;
  background: #151c2e;
  color: #dde2f0;
  line-height: 1.7;
  min-height: 100vh;
}

/* ----------------------------------------
   Layout
---------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 52px;
  background: #111827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
}

.topbar-title {
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.topbar-title:hover {
  color: #7EC6F6;
}

.topbar-sub {
  font-size: 13px;
  color: #6289a3;
}

.site-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 52px);
}

/* ----------------------------------------
   Sidebar navigation
---------------------------------------- */

.sidebar {
  background: #111827;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  position: sticky;
  top: 52px;
  height: calc(100vh - 52px);
  overflow-y: auto;
}

.nav-section {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #56758f;
  padding: 0 20px;
  margin: 24px 0 8px;
}

.nav-section:first-child {
  margin-top: 0;
}

.nav-link {
  display: block;
  padding: 6px 20px;
  font-size: 14px;
  color: #8b93b0;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: #dde2f0;
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: #ffffff;
  border-left-color: #7EC6F6;
  background: rgba(126, 184, 247, 0.08);
}

/* ----------------------------------------
   Main content
---------------------------------------- */

.content {
  padding: 48px 64px;
  max-width: 860px;
}

/* ----------------------------------------
   Typography
---------------------------------------- */

h1 {
  font-size: 40px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 8px;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

h3 {
  font-size: 24px;
  font-weight: 600;
  color: #dde2f0;
  margin-top: 32px;
  margin-bottom: 12px;
}
h4{
  font-size: 20px;
  font-weight: 600;
  margin: 16px 0 8px 0;
}
h6{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

h1 + h2,
h1 + p + h2 {
  margin-top: 32px;
  padding-top: 32px;
}

.page-subtitle {
  color: #7d87a6;
  margin-bottom: 36px;
  margin-top: 0;
}

p {

  color: #cad1e6;
  margin-bottom: 16px;
}

a {
  color: #7ec6f7;
  text-decoration: none;
  
}

a:hover {
  text-decoration: underline;
}
a.btn{
  display: inline-block;
  background-color: #7EC6F6;
  color:#111827 ;
  padding: 1em 3em;
  font-weight: 700;
  
}
a.btn:hover{
  background-color: #6db6e6;
}

strong {
  font-weight: 600;
  color: #dde2f0;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 16px;
}

li {
  font-size: 15px;
  color: #b0b9d4;
  margin-bottom: 6px;
}

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 40px 0;
}

/* ----------------------------------------
   Code
---------------------------------------- */

code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  overflow-x: auto;
  max-width: 100%;
}

p code, li code {
  background: #1a2340;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 1px 6px;
  color: #a8d0f0;
}

pre {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 20px 0;
  overflow-x: auto;
  line-height: 1.6;
  max-width:100%;
}

pre code {
  color: #a8d0f0;
  font-size: 14px;
  background: none;
  border: none;
  padding: 0;
}

/* Rouge syntax highlighting */
.highlight .c, .highlight .cm, .highlight .c1 { color: #4a5e6e; }  /* comments */
.highlight .s, .highlight .s1, .highlight .s2 { color: #a8d870; }  /* strings */
.highlight .k, .highlight .kd { color: #c792ea; }                   /* keywords */
.highlight .n, .highlight .na { color: #7EC6F6; }                   /* names */
.highlight .o { color: #89ddff; }                                    /* operators */
.highlight .m, .highlight .mi { color: #f78c6c; }                   /* numbers */

/* ----------------------------------------
   Callout blocks
---------------------------------------- */

.callout {
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
  border: 1px solid;
}



.callout p {
  margin-bottom: 0;
}

.callout.note {
  background: #131d33;
  border-color: rgba(126, 184, 247, 0.25);
}

.callout.note .callout-title { color: #7EC6F6; }
.callout.note p { color: #8b93b0; }

.callout.warning {
  background: #1e1a10;
  border-color: rgba(239, 159, 39, 0.25);
}

.callout.warning .callout-title { color: #ef9f27; }
.callout.warning p { color: #8b93b0; }

/* ----------------------------------------
   Step cards (index page)
---------------------------------------- */

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.step-card {
  background: #1a2340;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 18px 22px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  display: block;
}

.step-card:hover {
  border-color: rgba(126, 184, 247, 0.3);
  background: #1e284a;
  text-decoration: none;
}

.step-num {
  color: #6289a3;
  margin-bottom: 6px;
}

.step-title {
  color: #dde2f0;
  margin: 4px 0;
}

.step-desc {
  line-height: 1.5;
}

/* ----------------------------------------
   Prerequisites block
---------------------------------------- */

.prereqs {
  background: #1a2340;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0;
}

.prereqs-title {
  color: #6289a3;
  margin-bottom: 12px;
}

.prereq-items {
  color: #8b93b0;
  padding: 4px 0;
  margin:0;
}
.prereq-items li{
  margin:0;
  padding: 4px 0;
  list-style: none;
}

.prereq-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7EC6F6;
  flex-shrink: 0;
  display:inline-block;
  vertical-align: middle;
  margin-right:4px;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */
img{width:80%;
  margin:.5em;
  border-radius:12px;
}
img.small{
  width: 60%;
}
@media (max-width: 768px) {
  img.small{
    width: 80%;
  }
  
  .site-wrap {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "content"
      "sidebar";
  }
  
  .content {
    grid-area: content;
  }
  
  .sidebar {
    grid-area: sidebar;
  }
  body {
    overflow-x: hidden;
  }
  
  .content {
    padding: 24px 16px;
    min-width: 0;
  }
  
  pre {
    font-size: 12px;
  }
}
.next-step {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.next-step a {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: #1a2340;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 16px 22px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.next-step a:hover {
  border-color: rgba(126, 184, 247, 0.3);
  background: #1e284a;
}

.next-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6289a3;
}

.next-title {
  font-size: 15px;
  font-weight: 600;
  color: #dde2f0;
}
/* ----------------------------------------
   Tables
---------------------------------------- */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

thead tr {
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

th {
  text-align: left;
  padding: 10px 16px 10px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6289a3;
}

td {
  padding: 12px 16px 12px 0;
  color: #b0b9d4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
}

td:first-child, th:first-child {
  color: #dde2f0;
  font-weight: 500;
}

td code {
  font-size: 12px;
}

tr:last-child td {
  border-bottom: none;
}