:root{
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #1f2328;
  --muted: #5b6572;
  --border: #e6e8eb;
  --brand: #044A7A;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --content-max: 1120px;
}

html { scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrapper{
  width: auto;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 48px 22px;
}

@media (min-width: 961px){
  .wrapper{
    display: flex;
    align-items: flex-start;
    gap: 36px;
  }

  header{
    float: none;
    width: 320px;
    position: sticky;
    top: 24px;
  }

  section{
    float: none;
    width: auto;
    flex: 1;
    min-width: 0;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 30px;
  }

  footer{
    float: none;
    width: 320px;
    position: static; 
    margin-top: 18px;
  }
}

@media (max-width: 960px){
  .wrapper{ padding: 28px 18px; }
}

h1{
  font-size: clamp(28px, 2.2vw, 38px);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
header p{
  color: var(--muted);
  margin-top: 0;
}

header h3{ margin: 10px 0; }
header p.view{ margin: 0; font-size: 14px; }

header p.view a{
  display: inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
}
header p.view a:hover{
  background: rgba(4, 74, 122, 0.08);
  color: var(--brand);
  text-decoration: none;
}

header p.view .active{
  display: inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(4, 74, 122, 0.10);
  color: var(--brand);
  border: 1px solid rgba(4, 74, 122, 0.18);
}

header img{
  display: block;
  margin-top: 16px;
  width: 200px;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.10);
}

section{ max-width: 78ch; }
section p{
  font-size: 16px;
  line-height: 1.65;
}

pre{
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  overflow: auto;
}
code{
  border-radius: 6px;
  padding: 2px 6px;
}
