/*
 * orkio.si help center (help.html, tr/help.html), pen.dev "orkio.si/tr — Yardım". Loads after
 * blog.css, which brings the nav, the paper sheet and the closing footer.
 */
:root {
  --accent: #2f5bff;
  --step-line: #cfcdc6;
  --well: #edebe6;
}

/* ---------- hero: title, search, popular ---------- */
.h-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 168px var(--gutter) 72px;
  text-align: center;
}
.h-glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -240px;
  width: 800px;
  height: 700px;
  margin-left: -400px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(110, 134, 255, 0.14), rgba(110, 134, 255, 0));
}
.h-eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--dim);
}
.h-eyebrow::before,
.h-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--dim);
}
.h-title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.26em;
  font-size: clamp(48px, 5.84vw, 84px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.036em;
}
/* background-clip: text paints only inside the box; the extra bottom keeps descenders painted. */
.h-title span:first-child {
  background: linear-gradient(90deg, #7e8197, #b9bccb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.h-lead {
  margin: 20px 0 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--dim);
}
.h-search {
  width: min(760px, 100%);
  height: 64px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 10px 0 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 14, 26, 0.9);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: border-color 0.15s;
}
.h-search:focus-within {
  border-color: rgba(159, 180, 255, 0.6);
}
.h-search-i {
  font-size: 20px;
  color: var(--nav-text);
}
.h-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 17px;
  outline: none;
}
.h-search input::placeholder {
  color: #7e8197;
}
.h-search input::-webkit-search-cancel-button {
  filter: invert(1) opacity(0.5);
}
.h-keys {
  display: flex;
  gap: 4px;
}
.h-keys kbd {
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--nav-text);
}
.h-status {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--dim);
  text-transform: uppercase;
}
.h-status:empty {
  display: none;
}
.h-popular {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.h-popular > span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.6px;
  color: #6f7287;
}
.h-pop {
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  color: var(--nav-text);
  transition:
    background 0.15s,
    color 0.15s;
}
.h-pop:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

/* ---------- three topic groups ---------- */
.h-topics {
  max-width: calc(1240px + 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 24px var(--gutter) 96px;
}
.h-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.h-group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--white);
}
.h-group-head em {
  margin-right: 6px;
  font-style: normal;
  color: var(--glow);
}
.h-group-head small {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  color: #6f7287;
}
.h-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.h-group a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  transition: background 0.15s;
}
.h-group a:hover,
.h-group a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
}
.h-group .h-ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 11px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  font-size: 18px;
  color: var(--nav-text);
}
.h-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.h-t b {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}
.h-t small {
  font-size: 13px;
  line-height: 1.4;
  color: var(--dim);
}
.h-chev {
  font-size: 16px;
  color: #6f7287;
  transition: transform 0.15s;
}
.h-group a:hover .h-chev {
  transform: translateX(2px);
}

/* ---------- the sheet: rail and guides ---------- */
.h-sheet {
  padding-top: 80px;
}
.h-layout {
  display: flex;
  align-items: flex-start;
  gap: 96px;
}
.h-rail {
  position: sticky;
  top: 100px;
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
}
.h-rail-k {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--text-2);
}
.h-rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.h-rail ol li[hidden] {
  display: none;
}
.h-rail ol a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0 9px 14px;
  border-left: 1px solid var(--rule);
  font-size: 15px;
  color: var(--text-2);
  transition: color 0.15s;
}
.h-rail ol a span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  color: #a3a4ab;
}
.h-rail ol a:hover {
  color: var(--text);
}
.h-rail ol a.on {
  padding-left: 13px;
  border-left: 2px solid var(--text);
  color: var(--text);
  font-weight: 500;
}
.h-rail ol a.on span {
  color: var(--text);
}
.h-help {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 14px;
  background: var(--well);
}
.h-help b {
  font-size: 15px;
  font-weight: 500;
}
.h-help a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--accent);
}
.h-help a .i {
  font-size: 14px;
}
.h-guides {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 88px;
}
.h-guides [hidden] {
  display: none;
}
.h-none {
  margin: 0;
  padding: 18px;
  border-radius: 14px;
  background: var(--well);
  font-size: 15px;
  line-height: 1.6;
}
.h-guide {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.h-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.h-k {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--accent);
}
.h-head h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.6px;
}
.h-guides .h-head h2 a {
  color: inherit;
  text-decoration: none;
}
.h-intro {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
}
.h-guides a:not([class]) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.h-guides strong {
  font-weight: 600;
  color: var(--text);
}
.h-guides :not(pre) > code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--chip);
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--text);
  overflow-wrap: anywhere;
}
.h-p,
.h-small {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}
.h-small {
  font-size: 15px;
}
.h-p + .h-term {
  margin-top: -22px;
}

/* Steps: a numbered disc on a rail, like the design's timeline. */
.h-steps {
  margin: 0;
  padding: 0 0 0 15px;
  list-style: none;
  counter-reset: step;
}
.h-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 0 0 28px 40px;
  border-left: 1px solid var(--step-line);
  counter-increment: step;
}
.h-steps li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.h-steps li::before {
  content: counter(step);
  position: absolute;
  left: -15px;
  top: -4px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 4px var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  color: #fff;
}
.h-steps b {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.2px;
}
.h-steps p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}
.h-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--well);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2px;
  color: var(--text);
  transition: background 0.15s;
}
.h-chip:hover {
  background: #e3e0d9;
}
.h-chip .i {
  font-size: 13px;
}
.h-callout {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--well);
  color: var(--text);
}
.h-callout > .i {
  font-size: 18px;
  margin-top: 3px;
}
.h-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.h-callout b {
  font-weight: 600;
}
.h-callout.warn {
  border-color: rgba(245, 158, 11, 0.33);
  background: rgba(245, 158, 11, 0.1);
  color: #7c4a03;
}
.h-callout.warn > .i {
  color: #b45309;
}
.h-guides .h-callout.warn strong {
  color: #7c4a03;
}

/* Terminal: a window with a title bar and Copy. */
.h-term {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #0c0e1a;
}
.h-term figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--dim);
}
.h-dots {
  display: flex;
  gap: 7px;
}
.h-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 95, 87, 0.8);
}
.h-dots i:nth-child(2) {
  background: rgba(254, 188, 46, 0.8);
}
.h-dots i:nth-child(3) {
  background: rgba(40, 200, 64, 0.8);
}
.h-term button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.6px;
  cursor: pointer;
  transition: color 0.15s;
}
.h-term button:hover {
  color: var(--white);
}
.h-term button .i {
  font-size: 13px;
}
.h-term pre {
  margin: 0;
  padding: 22px 20px;
  overflow-x: auto;
}
.h-term code {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--white);
  white-space: pre;
}
.h-prompt {
  margin-right: 12px;
  color: var(--glow);
  user-select: none;
}

/* Kits: a two-column grid of cards. */
.h-kits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.h-kit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--card-line);
  background: #fff;
}
.h-kit-top {
  align-self: stretch;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.h-guides .h-ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 10px;
  background: var(--well);
  font-size: 17px;
  color: var(--text);
}
.h-badge {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(124, 58, 237, 0.08);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #7c3aed;
}
.h-kit b {
  font-size: 17px;
  font-weight: 600;
}
.h-kit p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}
.h-guides .h-kit > code {
  padding: 0;
  background: none;
  font-size: 12px;
  letter-spacing: 0.2px;
  color: var(--accent);
}

/* Facts: icon rows divided by rules. */
.h-facts {
  margin: 0;
  padding: 0;
  list-style: none;
}
.h-facts li {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.h-facts li > div {
  flex: 1;
  min-width: 0;
}
.h-facts b {
  font-size: 16px;
  font-weight: 600;
}
.h-facts p {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

/* Feedback row at the end. */
.h-feedback {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.h-ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
}
.h-ask button {
  padding: 7px 14px;
  border-radius: 9px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.h-ask button:hover {
  border-color: #c9c7c0;
}
.h-ask button[aria-pressed="true"] {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}
.h-fb-msg {
  font-size: 14px;
  color: var(--text-2);
}
.h-fb-msg a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.h-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.h-next small {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.6px;
  color: #a3a4ab;
}
.h-next .i {
  font-size: 15px;
}

/* ---------- narrower screens ---------- */
@media (max-width: 1180px) {
  .h-layout {
    gap: 56px;
  }
  .h-rail {
    flex-basis: 210px;
  }
}
@media (max-width: 900px) {
  .h-topics {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 72px;
  }
  .h-rail {
    display: none;
  }
  .h-sheet {
    padding-top: 56px;
  }
  .h-guides {
    max-width: none;
  }
}
@media (max-width: 640px) {
  .h-hero {
    padding: 120px 20px 44px;
  }
  .h-eyebrow {
    margin-bottom: 16px;
    font-size: 10.5px;
    letter-spacing: 1.2px;
  }
  .h-eyebrow::before,
  .h-eyebrow::after {
    width: 16px;
  }
  .h-title {
    font-size: 46px;
    letter-spacing: -1.8px;
  }
  .h-lead {
    font-size: 16px;
  }
  .h-search {
    height: 56px;
    margin-top: 28px;
    padding-left: 18px;
    gap: 12px;
  }
  .h-search input {
    font-size: 16px;
  }
  .h-keys {
    display: none;
  }
  .h-popular {
    margin-top: 24px;
    gap: 8px;
  }
  .h-popular > span {
    flex-basis: 100%;
  }
  .h-topics {
    padding: 8px 20px 56px;
  }
  .h-group-head small {
    display: none;
  }
  .h-sheet {
    padding-top: 36px;
  }
  .h-guides {
    gap: 64px;
    padding: 0 4px;
  }
  .h-guide {
    gap: 28px;
  }
  .h-head h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .h-intro {
    font-size: 16px;
  }
  .h-p + .h-term {
    margin-top: -14px;
  }
  .h-steps li {
    padding-left: 32px;
  }
  .h-term code {
    font-size: 14px;
  }
  .h-kits {
    grid-template-columns: minmax(0, 1fr);
  }
  .h-feedback {
    flex-direction: column;
    align-items: flex-start;
  }
}
