/* The long-read pages of the 2026 site: one blog post and the nine
   technical interview guides. The chrome (nav, menus, footer) is the
   built pages' own markup and /site-2026.css; this is only the reading
   column, set the way design/site-2026/Nebryx.dc.html sets an article:
   Geist on #ffffff, 17px body at 1.65, mono eyebrows, the spectrum rule. */

.ed-mono, .ed-eyebrow {
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: #66666f;
}
.ed-eyebrow { letter-spacing: .1em; }
.ed-rule { height: 4px; border-radius: 2px; background: linear-gradient(90deg,#7022ff, #b65898 50%, #fd8f32); }
.ed-btn {
  display: inline-block; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; padding: 10px 14px; border: 1px solid #cbcbd1; border-radius: 3px;
  background: transparent; color: #010102; cursor: pointer;
}
.ed-btn:hover { border-color: #010102; opacity: 1; }
.ed-btn-dark { background: #010102; color: #ffffff; border-color: #010102; }
.ed-btn-dark:hover { color: #ffffff; opacity: .85; }

/* ── the page grid: a mono label column and a reading column ─────── */
.ed-sec {
  padding: 96px 24px 120px; display: grid; gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  border-bottom: 1px solid #dcdce1; color: #010102;
}
.ed-side { min-width: 0; }
.ed-side-in { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.ed-main { min-width: 0; max-width: 760px; }
@media (max-width: 900px) {
  .ed-sec { grid-template-columns: minmax(0, 1fr); padding: 56px 16px 80px; gap: 28px; }
  .ed-side-in { position: static; }
}

/* ── contents rail (guides) ──────────────────────────────────────── */
.ed-toc ol { list-style: none; margin: 0; padding: 0 0 0 14px; display: flex; flex-direction: column; gap: 2px; position: relative; }
.ed-toc ol::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: #dcdce1; border-radius: 1px; }
.ed-toc ol::after {
  content: ''; position: absolute; left: 0; top: var(--ty, 0px); height: var(--th, 0px); width: 2px;
  background: #010102; border-radius: 1px; transition: top .08s linear;
}
.ed-toc li a { display: block; padding: 6px 0; font-size: 15px; line-height: 1.35; letter-spacing: -0.01em; color: #66666f; }
.ed-toc li.on a, .ed-toc li a.on { color: #010102; }
.ed-toc li a:hover { color: #010102; opacity: 1; }
@media (max-width: 900px) {
  .ed-toc { border: 1px solid #dcdce1; border-radius: 6px; padding: 18px; }
  .ed-toc ol::after { display: none; }
}

/* ── the prose ───────────────────────────────────────────────────── */
.ed-prose { font-size: 17px; line-height: 1.65; color: #010102; text-wrap: pretty; overflow-wrap: break-word; }
.ed-prose > :first-child { margin-top: 0; }
.ed-prose p { margin: 0 0 20px; }
.ed-prose h2 {
  margin: 56px 0 20px; padding-top: 24px; border-top: 1px solid #dcdce1;
  font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; letter-spacing: -0.035em;
  text-wrap: balance; scroll-margin-top: 24px;
}
.ed-prose > h2:first-child { padding-top: 0; border-top: 0; }
.ed-prose h3 { margin: 32px 0 12px; font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; }
.ed-prose h4 { margin: 24px 0 10px; font-weight: 500; font-size: 17px; }
.ed-prose ul, .ed-prose ol { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ed-prose ul > li, .ed-prose ol > li { position: relative; padding-left: 28px; }
.ed-prose ul > li::before { content: ''; position: absolute; left: 4px; top: .78em; width: 10px; height: 1px; background: #010102; }
.ed-prose ol { counter-reset: ed; }
.ed-prose ol > li { counter-increment: ed; }
.ed-prose ol > li::before {
  content: counter(ed, decimal-leading-zero); position: absolute; left: 0; top: .3em;
  font-family: 'Geist Mono', monospace; font-size: 11px; color: #66666f;
}
.ed-prose strong, .ed-prose b { font-weight: 500; }
.ed-prose a { color: #7022ff; }
.ed-prose a:hover { color: #7022ff; opacity: 1; text-decoration: underline; }
.ed-prose blockquote {
  margin: 28px 0; padding: 4px 0 4px 20px; border-left: 2px solid #010102;
  font-size: 19px; line-height: 1.5; color: #34343b;
}
.ed-prose hr { margin: 32px 0; border: 0; border-top: 1px solid #dcdce1; }
.ed-prose code { font-family: 'Geist Mono', monospace; font-size: .86em; padding: 1px 5px; border-radius: 3px; background: #e7e7eb; }
.ed-prose pre {
  margin: 0 0 24px; padding: 18px 20px; border-radius: 6px; background: #010102; color: #ffffff;
  overflow-x: auto; font-size: 14px; line-height: 1.55;
}
.ed-prose pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.ed-prose img { max-width: 100%; height: auto; border-radius: 6px; }
.ed-prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.ed-prose th, .ed-prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #dcdce1; }

/* A sample question: the one dark card in the column, so the eye finds
   the thing to rehearse. */
.ed-prose .gq {
  margin: 8px 0 28px; padding: 24px 26px; border-radius: 6px; background: #010102; color: #ffffff;
  display: flex; flex-direction: column; gap: 12px;
}
.ed-prose .gq > b {
  font-family: 'Geist Mono', monospace; font-size: 11px; font-weight: 400; letter-spacing: .08em;
  text-transform: uppercase; color: #8b8b94;
}
.ed-prose .gq p { margin: 0; font-size: 20px; line-height: 1.4; letter-spacing: -0.02em; }

/* What to focus on at each level: the index's card, three across. */
.ed-prose .gbands { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; margin: 8px 0 28px; }
.ed-prose .gband { border: 1px solid #dcdce1; border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ed-prose .gband h4 {
  margin: 0; font-family: 'Geist Mono', monospace; font-size: 11px; font-weight: 400; letter-spacing: .08em;
  text-transform: uppercase; color: #66666f;
}
.ed-prose .gband p { margin: 0; font-size: 15px; line-height: 1.5; color: #34343b; }

/* Open roles, read live. */
.ed-prose .glive { display: flex; flex-direction: column; border-top: 1px solid #010102; margin: 0 0 24px; }
.ed-prose .glive:empty::before { content: '…'; display: block; padding: 14px 0; color: #66666f; }
.ed-prose .glive-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid #dcdce1; color: #010102;
}
.ed-prose .glive-row:hover { color: #010102; opacity: 1; background: #eaeaee; }
.ed-prose .glive-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ed-prose .glive-t b { font-weight: 500; font-size: 17px; }
.ed-prose .glive-t span { font-size: 14px; color: #66666f; }
.ed-prose .glive-go { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ed-prose .gnone { padding: 16px 18px; border: 1px solid #dcdce1; border-radius: 6px; font-size: 15px; color: #34343b; }

/* FAQ: the site's own pattern — a rule, the question, a +/− sign. */
.ed-prose .gfaq { border-top: 1px solid #010102; margin: 0 0 24px; }
.ed-prose .gfaq details { border-bottom: 1px solid #dcdce1; }
.ed-prose .gfaq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 20px 0; font-size: 19px; line-height: 1.35; letter-spacing: -0.02em;
}
.ed-prose .gfaq summary::-webkit-details-marker { display: none; }
.ed-prose .gfaq summary::after { content: '+'; font-family: 'Geist Mono', monospace; font-size: 18px; line-height: 1.2; flex: none; }
.ed-prose .gfaq details[open] summary::after { content: '−'; }
.ed-prose .gfaq details p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: #34343b; max-width: 680px; }

/* ── the blog post ───────────────────────────────────────────────── */
.ed-post-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.ed-post-head h1 {
  margin: 0; font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1.02; letter-spacing: -0.04em; text-wrap: pretty;
}
.ed-post-lead { margin: 0 0 12px; font-size: 19px; line-height: 1.5; color: #34343b; text-wrap: pretty; }
.ed-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ed-tag {
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 12px; border: 1px solid #dcdce1; border-radius: 3px; color: #010102;
}
.ed-crumbs { display: flex; flex-direction: column; gap: 10px; }
.ed-crumbs a { font-size: 15px; letter-spacing: -0.01em; }
.ed-empty { border: 1px solid #dcdce1; border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ed-empty h2 { margin: 0; font-weight: 400; font-size: 28px; letter-spacing: -0.03em; }
.ed-empty p { margin: 0; font-size: 16px; line-height: 1.5; color: #34343b; }
.ed-loading { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #66666f; }
/* api.js's loadFailed card, in this page's type. */
.ed-main .dempty h2 { margin: 0 0 10px; font-weight: 400; font-size: 28px; letter-spacing: -0.03em; }
.ed-main .dempty p { margin: 0 0 14px; color: #34343b; }
.ed-main .dempty .btn { display: inline-block; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border-radius: 3px; background: #010102; color: #ffffff; }

/* More from the blog: the design's article card. */
.ed-more { padding: 96px 24px 120px; border-bottom: 1px solid #dcdce1; display: flex; flex-direction: column; gap: 28px; }
.ed-more h2 { margin: 0; font-weight: 400; font-size: clamp(30px, 3.8vw, 56px); line-height: 1.04; letter-spacing: -0.04em; }
.ed-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.ed-card {
  display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid #dcdce1; border-radius: 6px;
  min-height: 240px; color: #010102;
}
.ed-card:hover { border-color: #010102; opacity: 1; }
.ed-card-top, .ed-card-foot { display: flex; justify-content: space-between; gap: 12px; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ed-card-top { color: #66666f; }
.ed-card-t { font-size: 24px; line-height: 1.1; letter-spacing: -0.03em; text-wrap: pretty; }
.ed-card-d { font-size: 15px; line-height: 1.5; color: #34343b; flex: 1; text-wrap: pretty; }
.ed-card-foot span:last-child { color: #66666f; }
@media (max-width: 900px) { .ed-more { padding: 56px 16px 80px; } }

/* Phone width: the hero's own side padding and the guide hero's
   breadcrumbs wrap rather than push the page sideways. */
.ed-crumb-line { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 600px) {
  .ed-prose .gq { padding: 20px; }
  .ed-prose .gq p { font-size: 18px; }
}
