/* Sol ana menü ve bağımsız içerik sayfaları */
@media (min-width: 761px) {
  .site-shell {
    padding-left: 238px;
  }

  .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: 238px;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 33px 18px;
    background: #0a1b23;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    box-shadow: 18px 0 60px rgba(0, 0, 0, .12);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
  }

  .site-header .brand {
    margin-left: 9px;
  }

  .site-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: 72px;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-left: 2px solid transparent;
    color: var(--muted);
    font-size: .92rem;
  }

  .site-nav a:hover,
  .site-nav a.active {
    border-left-color: var(--mint);
    background: rgba(164, 230, 196, .07);
  }

  .site-nav .nav-cta {
    width: calc(100% - 4px);
    margin: 18px 0 0 2px;
    padding: 12px 14px;
    text-align: left;
    border: 1px solid var(--mint);
  }

  .site-nav .nav-cta:hover,
  .site-nav .nav-cta.active {
    border: 1px solid var(--mint);
  }

  .section {
    scroll-margin-top: 34px;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .site-shell {
    padding-left: 208px;
  }

  .site-header {
    width: 208px;
    padding-inline: 13px;
  }

  .site-nav a {
    font-size: .84rem;
    padding: 11px 10px;
  }
}

.page-section {
  min-height: min(860px, calc(100vh - 160px));
}

.page-title {
  font-family: var(--heading);
  font-size: clamp(3.1rem, 5.4vw, 5.7rem);
  line-height: 1.03;
  letter-spacing: -.07em;
  font-weight: 600;
  margin: 0;
}

.page-title em {
  font-style: normal;
  color: var(--mint);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 5rem 0 1rem;
}

.info-grid article {
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.info-grid article > span {
  font: .7rem var(--mono);
  letter-spacing: .13em;
  color: var(--aqua);
}

.section .info-grid h2,
.section .feature-card h2,
.section .kernel-components h2,
.section .roadmap-content h2,
.section .docs-copy h2,
.section .source-list h2,
.section .plan-intro h2,
.section .plan-steps h2 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.section .info-grid h2 {
  font-size: 1.5rem;
  margin: 1.6rem 0 .8rem;
}

.info-grid p,
.callout p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.section .feature-card h2 {
  font-size: 1.32rem;
  margin: 3.4rem 0 .8rem;
}

.callout {
  margin-top: 4rem;
  padding: 2rem 2.4rem;
  border-left: 2px solid var(--mint);
  background: rgba(75, 157, 137, .08);
}

.callout strong {
  font: 600 1.3rem var(--heading);
}

.callout p {
  max-width: 820px;
  margin-top: .7rem;
}

.kernel-section {
  padding-top: 110px;
  padding-bottom: 120px;
}

.kernel-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 5%;
  margin-top: 55px;
}

.kernel-status {
  min-height: 405px;
  border: 1px solid rgba(182, 239, 202, .28);
  background: radial-gradient(circle at 70% 20%, rgba(79, 175, 153, .16), transparent 48%), #10262b;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.kernel-label,
.kernel-components article > span,
.kernel-components small {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--aqua);
}

.kernel-glyph {
  margin: auto 0 1.1rem;
  font-family: var(--mono);
  font-size: clamp(3.7rem, 5vw, 5rem);
  line-height: 1;
  color: var(--mint);
  letter-spacing: -.18em;
}

.kernel-status strong {
  font: 600 1.55rem/1.2 var(--heading);
  letter-spacing: -.04em;
}

.kernel-status p {
  max-width: 410px;
  margin: .9rem 0 .2rem;
  color: var(--muted);
  line-height: 1.7;
}

.kernel-components article {
  display: grid;
  grid-template-columns: 35px 1fr auto;
  align-items: start;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.kernel-components article:first-child {
  border-top: 1px solid var(--line);
}

.section .kernel-components h2 {
  margin: 0 0 .45rem;
  font-size: 1.18rem;
}

.kernel-components p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.kernel-components small {
  color: #77928e;
  white-space: nowrap;
}

.plan-intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 7%;
  align-items: start;
  margin-top: 100px;
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section .plan-intro h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0;
}

.plan-intro p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.plan-steps {
  margin-top: 76px;
  scroll-margin-top: 110px;
}

.plan-steps article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 2rem;
  padding: 2.1rem 0 2.4rem;
  border-bottom: 1px solid var(--line);
}

.plan-steps article:first-child {
  border-top: 1px solid var(--line);
}

.plan-number {
  font: 400 clamp(2.1rem, 3vw, 2.8rem)/1 var(--mono);
  color: var(--mint);
  letter-spacing: -.08em;
}

.plan-phase {
  display: block;
  font: .7rem var(--mono);
  letter-spacing: .13em;
  color: var(--aqua);
  margin-bottom: .8rem;
}

.section .plan-steps h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  margin: 0 0 1rem;
}

.plan-steps p {
  color: var(--muted);
  max-width: 900px;
  line-height: 1.75;
  margin: 0 0 .9rem;
}

.plan-steps .plan-done {
  color: #bfd7d0;
  margin-bottom: 0;
}

.plan-done strong {
  color: var(--mint);
}

.plan-steps code {
  color: var(--mint);
  font: .9em var(--mono);
}

.section .roadmap-content h2 {
  font-size: 1.2rem;
  margin: .5rem 0;
}

.roadmap-section.page-section {
  align-content: start;
}

.roadmap-section.page-section > .inline-link {
  grid-column: 2;
  justify-self: start;
}

.section .docs-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 1.2rem;
}

.source-list {
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  padding-top: 2.4rem;
}

.section .source-list h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin: 0 0 1.7rem;
}

.source-list a {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.source-list a:hover strong,
.source-list a:hover span {
  color: var(--mint);
}

.source-list a strong {
  font-weight: 600;
}

.source-list a span {
  color: var(--muted);
  text-align: right;
}

.download-section.page-section {
  padding-top: 110px;
}

.download-panel .inline-link {
  margin-top: 1.7rem;
}

@media (max-width: 1100px) {
  .kernel-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .kernel-status {
    min-height: 315px;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding-left: 0;
    padding-top: 76px;
  }

  .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    height: 76px;
    max-width: none;
    margin: 0;
    padding: 0 1rem;
    background: #0b1d25;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow: visible;
  }

  .site-nav {
    top: 76px;
    left: 0;
    right: auto;
    width: min(82vw, 320px);
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    padding: 1.2rem 1rem 2rem;
    overflow-y: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    align-items: stretch;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: .78rem .9rem;
    border-left: 2px solid transparent;
  }

  .site-nav a.active {
    border-left-color: var(--mint);
    background: rgba(164, 230, 196, .07);
  }

  .site-nav .nav-cta {
    width: 100%;
    margin: 1rem 0 0;
    padding: .8rem .9rem;
    text-align: left;
  }

  .section {
    scroll-margin-top: 94px;
  }

  .kernel-section {
    padding-top: 80px;
    padding-bottom: 85px;
  }

  .page-section {
    min-height: calc(100dvh - 76px);
  }

  .page-title {
    font-size: clamp(2.9rem, 11vw, 4.5rem);
  }

  .plan-intro {
    display: block;
    margin-top: 65px;
  }

  .plan-intro p {
    margin-top: 1.5rem;
  }

  .roadmap-section.page-section > .inline-link {
    margin-top: 2rem;
  }

  .source-list a {
    display: block;
  }

  .source-list a span {
    display: block;
    text-align: left;
    margin-top: .35rem;
  }
}

@media (max-width: 520px) {
  .kernel-status {
    min-height: 340px;
    padding: 1.5rem;
  }

  .kernel-components article {
    grid-template-columns: 28px 1fr;
    gap: .8rem;
  }

  .kernel-components small {
    grid-column: 2;
  }

  .info-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .plan-steps article {
    grid-template-columns: 1fr;
    gap: .9rem;
  }

  .callout {
    padding: 1.5rem;
  }
}

/* Kanıt odaklı menü grupları ve yeni içerik sayfaları */
.site-nav {
  gap: 0;
}

.nav-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  width: 100%;
}

.nav-group + .nav-group {
  margin-top: 17px;
}

.nav-group-title {
  display: block;
  padding: 0 12px 6px;
  font: .62rem var(--mono);
  letter-spacing: .12em;
  color: #6f9994;
}

.site-nav .nav-group a {
  padding: 8px 12px;
}

.site-nav .nav-cta {
  margin-top: 3px;
}

@media (min-width: 761px) {
  .site-nav {
    margin-top: 38px;
  }
}

.evidence-section {
  padding-top: 110px;
  padding-bottom: 120px;
  border-top: 1px solid var(--line);
}

.truth-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 55px;
  border: 1px solid rgba(182, 239, 202, .25);
  background: linear-gradient(120deg, #102930, #0b1c25);
}

.truth-strip > div {
  padding: 1.7rem;
}

.truth-strip > div + div {
  border-left: 1px solid var(--line);
}

.truth-strip span,
.evidence-note > span,
.operation-index,
.source-path {
  display: block;
  font: .7rem var(--mono);
  letter-spacing: .11em;
  color: var(--aqua);
}

.truth-strip strong {
  display: block;
  margin: .95rem 0 .55rem;
  font: 600 1.25rem/1.25 var(--heading);
}

.truth-strip p,
.thinking-block p,
.inventory-head p,
.inventory-list p,
.operation-log p,
.source-map p,
.code-panel p,
.source-disclaimer {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.thinking-block {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 9%;
  margin-top: 6rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section .thinking-block h2,
.section .inventory-head h2,
.section .operation-log h2,
.section .source-map h2,
.section .code-panel h2 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.section .thinking-block h2,
.section .inventory-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 0 0 1rem;
}

.thinking-block ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.thinking-block li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 1.2rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}

.thinking-block li:first-child {
  padding-top: 0;
}

.thinking-block li > span {
  color: var(--mint);
  font: .85rem var(--mono);
}

.thinking-block strong {
  display: block;
  margin-bottom: .35rem;
  font: 600 1.1rem var(--heading);
}

.evidence-note {
  display: flex;
  gap: 1.4rem;
  margin-top: 55px;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(243, 189, 137, .45);
  background: rgba(243, 189, 137, .07);
}

.evidence-note > span {
  color: var(--orange);
  flex: none;
  padding-top: .2rem;
}

.evidence-note p {
  color: #e5d4c4;
  line-height: 1.7;
  margin: 0;
}

.inventory-section {
  margin-top: 5.5rem;
}

.inventory-head {
  max-width: 740px;
  margin-bottom: 2rem;
}

.inventory-list article,
.operation-log article,
.source-map article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.7rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.inventory-list article:first-child,
.operation-log article:first-child,
.source-map article:first-child {
  border-top: 1px solid var(--line);
}

.inventory-list h3 {
  font: 600 1.2rem/1.3 var(--heading);
  margin: 0 0 .5rem;
}

.state {
  display: inline-block;
  border: 1px solid currentColor;
  padding: .4rem .55rem;
  font: .64rem var(--mono);
  letter-spacing: .06em;
  white-space: nowrap;
}

.state-ready { color: var(--mint); }
.state-next { color: var(--orange); }
.state-planned { color: var(--aqua); }
.state-later { color: #819996; }

.operation-log,
.source-map {
  margin-top: 4rem;
}

.operation-log article,
.source-map article {
  grid-template-columns: 115px 1fr auto;
}

.section .operation-log h2,
.section .source-map h2 {
  font-size: 1.3rem;
  margin: 0 0 .7rem;
}

.operation-log p + p {
  margin-top: .7rem;
}

.operation-log p strong {
  color: var(--text);
}

.source-path {
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.code-panel {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 3rem;
  align-items: center;
  margin-top: 5rem;
  padding: 2.4rem;
  background: #0b1d25;
  border: 1px solid var(--line);
}

.section .code-panel h2 {
  font-size: 1.9rem;
  margin: 0 0 .8rem;
}

.code-panel pre {
  overflow-x: auto;
  padding: 1.3rem;
  margin: 0;
  background: #07131b;
  border: 1px solid var(--line);
  color: var(--mint);
  font: .8rem/1.9 var(--mono);
}

.source-disclaimer {
  margin-top: 2rem;
}

@media (max-width: 760px) {
  .site-nav {
    gap: 0;
  }

  .site-nav .nav-group a {
    padding: .67rem .8rem;
  }

  .evidence-section {
    padding-top: 80px;
    padding-bottom: 85px;
  }

  .truth-strip {
    grid-template-columns: 1fr;
  }

  .truth-strip > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .thinking-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 4rem;
  }

  .code-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

@media (max-width: 520px) {
  .evidence-note {
    display: block;
  }

  .evidence-note p {
    margin-top: .7rem;
  }

  .inventory-list article,
  .operation-log article,
  .source-map article {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .state {
    justify-self: start;
  }
}
