/* Teleport guides: cover system components. Tokens match the homepage (styles.css). */
@font-face { font-family: "Inter"; font-weight: 400; src: url("/fonts/inter-400.ttf"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 500; src: url("/fonts/inter-500.ttf"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 600; src: url("/fonts/inter-600.ttf"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 700; src: url("/fonts/inter-700.ttf"); font-display: swap; }

:root {
  --c-space: #000c22; --c-sky: #001637; --c-sky-glow: #0b2d63;
  --c-light-blue: #6eaaf5; --c-blue: #1b6bc9; --c-white: #fff;
  --c-text-dim: rgba(255,255,255,.72); --c-text-faint: rgba(255,255,255,.55);
  --c-line: rgba(255,255,255,.10);
  /* cluster tints */
  --t-job-search-tools: #6eaaf5; --t-cv-and-resume: #a99cff; --t-ats: #5fd4e8;
  --t-interviews: #e6a3ee; --t-applying: #8fc1ff; --t-company-types: #62d6c0;
  --t-ai-agents: #9d8cff; --t-job-market: #7fe3a6; --t-remote-and-visa: #84d8ff;
  --font: "Inter", system-ui, sans-serif;
  --gutter: clamp(20px, 4.4vw, 64px); --max: 1360px;
  --r-art: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: #fff; background: var(--c-space); -webkit-font-smoothing: antialiased; letter-spacing: -.005em; }
a { color: inherit; text-decoration: none; }
.wrap { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* nav, same as the homepage */
.nav { display: flex; align-items: center; gap: 28px; height: 84px; position: relative; z-index: 2; }
.nav__logo svg { display: block; height: 26px; width: auto; }
.nav__links { display: flex; gap: 24px; list-style: none; margin-left: 24px; font-size: 15px; font-weight: 500; }
.nav__links a { color: var(--c-text-dim); } .nav__links a[aria-current] { color: #fff; }
.nav__go { margin-left: auto; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.nav__go-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--c-sky); }

/* topic label: tint dot + sentence-case name. Never uppercase. */
.topic { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--tint); }
.topic::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--tint); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tint) 20%, transparent), 0 0 16px var(--tint); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--c-text-faint); font-size: 14px; font-variant-numeric: tabular-nums; }
.meta > * + *::before { content: "·"; margin-right: 10px; color: rgba(255,255,255,.35); }
.meta strong { color: rgba(255,255,255,.88); font-weight: 500; }

/* ---------- in-article header ---------- */
.post-head { position: relative; isolation: isolate; overflow: hidden; min-height: 660px; }
.post-head__art { position: absolute; inset: 0; z-index: -2; }
.post-head__art img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; display: block; }
.post-head::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,12,34,.94) 0%, rgba(0,12,34,.72) 38%, rgba(0,12,34,0) 64%),
              linear-gradient(0deg, var(--c-space) 0%, rgba(0,12,34,0) 26%); }
.post-head__body { max-width: 780px; padding: 70px 0 84px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--c-text-faint); margin-bottom: 34px; }
.crumbs a:hover { color: #fff; } .crumbs span[aria-hidden] { opacity: .5; }
.post-head h1 { margin-top: 22px; font-size: clamp(40px, 5.2vw, 76px); line-height: 1.0; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; text-shadow: 0 0 60px rgba(110,170,245,.25); }
.post-head .dek { margin-top: 26px; font-size: 20px; line-height: 1.5; color: var(--c-text-dim); max-width: 640px; }
.post-head .meta { margin-top: 34px; font-size: 15px; }

/* article body start, for context only */
.post-body { max-width: 760px; padding: 8px 0 90px; }
.answer { font-size: 23px; line-height: 1.5; font-weight: 500; padding-left: 26px; border-left: 3px solid var(--tint); }
.post-body h2 { font-size: 30px; letter-spacing: -.025em; margin: 56px 0 18px; }
.post-body li { font-size: 18px; line-height: 1.6; color: var(--c-text-dim); margin: 0 0 10px 20px; }

/* ---------- blog index ---------- */
.index-hero { position: relative; isolation: isolate; overflow: hidden; }
.index-hero__art { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.index-hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.index-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--c-space) 4%, rgba(0,12,34,.2) 60%, rgba(0,12,34,.5)); }
.index-hero h1 { font-size: clamp(76px, 11vw, 168px); line-height: .9; letter-spacing: -.065em; font-weight: 700; padding-top: 70px; text-shadow: 0 0 80px rgba(110,170,245,.35); }
.index-hero p { margin-top: 22px; font-size: 21px; color: var(--c-text-dim); max-width: 560px; line-height: 1.45; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 46px 0 34px; font-size: 15px; font-weight: 500; }
.filters a { display: inline-flex; align-items: center; gap: 9px; color: var(--c-text-dim); padding-bottom: 3px; border-bottom: 1px solid transparent; }
.filters a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tint, #fff); }
.filters a[aria-current] { color: #fff; border-color: rgba(255,255,255,.5); }
.filters a:hover { color: #fff; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; padding-bottom: 110px; }
.card { display: flex; flex-direction: column; gap: 0; position: relative; }
.card__art { position: relative; border-radius: var(--r-art); overflow: hidden; aspect-ratio: 16 / 10;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tint) 22%, transparent), 0 24px 70px -30px var(--tint); transition: transform .35s ease, box-shadow .35s ease; }
.card__art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.card:hover .card__art { box-shadow: 0 0 0 1px color-mix(in srgb, var(--tint) 55%, transparent), 0 30px 90px -24px var(--tint); }
.card:hover .card__art img { transform: scale(1.06); }
.card .topic { margin-top: 22px; font-size: 14px; }
.card h2 { margin-top: 12px; font-size: 23px; line-height: 1.18; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
.card:hover h2 { color: color-mix(in srgb, var(--tint) 45%, #fff); }
.card .meta { margin-top: 14px; font-size: 13.5px; }
.sample { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.85); padding: 5px 10px; border-radius: 999px; background: rgba(0,12,34,.6); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); }

.card--feature { grid-column: span 2; grid-row: span 2; }
.card--feature .card__art { aspect-ratio: auto; flex: 1; min-height: 420px; }
.card--feature .card__art img { object-position: 50% 50%; }
.card--feature h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.04; letter-spacing: -.04em; max-width: 760px; }
.card--feature .topic { font-size: 15px; margin-top: 26px; }
.card--feature .meta { font-size: 14.5px; }

.footer { color: rgba(255,255,255,.45); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 72px; border-top: 1px solid rgba(255,255,255,.08); }
.footer ul { display: flex; gap: 24px; list-style: none; }

@media (max-width: 1099px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card--feature { grid-column: span 2; grid-row: auto; }
  .card--feature .card__art { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 767px) {
  .nav { height: 64px; } .nav__logo svg { height: 22px; } .nav__links { display: none; }
  .nav__go { font-size: 14px; gap: 8px; } .nav__go-icon { width: 30px; height: 30px; }
  .post-head { min-height: 0; }
  .post-head__art { inset: 0 0 auto 0; height: 360px; }
  .post-head__art img { object-position: 80% 50%; }
  .post-head::before { background: linear-gradient(180deg, rgba(0,12,34,.35) 0, rgba(0,12,34,0) 90px, rgba(0,12,34,0) 210px, var(--c-space) 350px); }
  .post-head__body { padding: 196px 0 48px; }
  .crumbs { margin-bottom: 20px; font-size: 13px; }
  .post-head h1 { font-size: 38px; line-height: 1.04; letter-spacing: -.04em; margin-top: 16px; }
  .post-head .dek { font-size: 17px; margin-top: 18px; }
  .post-head .meta { font-size: 13.5px; margin-top: 24px; flex-direction: column; gap: 4px; }
  .post-head .meta > * + *::before { content: none; }
  .answer { font-size: 19px; padding-left: 18px; }
  .post-body h2 { font-size: 24px; }
  .post-body li { font-size: 16px; }
  .index-hero h1 { padding-top: 56px; }
  .index-hero p { font-size: 17px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; gap: 22px; padding: 30px 0 26px; font-size: 14px; scrollbar-width: none; }
  .filters li { flex: none; }
  .grid { grid-template-columns: 1fr; gap: 44px; }
  .card--feature { grid-column: auto; }
  .card--feature .card__art { aspect-ratio: 16 / 10; }
  .card--feature h2 { font-size: 30px; }
  .card h2 { font-size: 22px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px var(--gutter) 28px; }
}

/* ---------- author ---------- */
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #cfe3ff 0%, var(--c-light-blue) 55%, #a99cff 100%); color: var(--c-sky);
  font-weight: 700; font-size: 16px; letter-spacing: .02em; box-shadow: 0 0 0 3px rgba(0,12,34,.6), 0 0 0 4px rgba(110,170,245,.45), 0 0 30px rgba(110,170,245,.35); object-fit: cover; }
.avatar--lg { width: 76px; height: 76px; font-size: 24px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.byline__name { display: block; font-weight: 600; font-size: 16px; }
.byline__role { display: block; font-size: 14px; color: var(--c-text-faint); margin-top: 2px; }
.post-head .byline + .meta { margin-top: 18px; }

/* ---------- article layout ---------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 720px) 260px; justify-content: space-between; gap: 64px; padding: 8px 0 40px; }
.post-layout .post-body { max-width: none; padding: 0; }
.toc { position: sticky; top: 32px; align-self: start; font-size: 14px; }
.toc__title { font-size: 13px; font-weight: 600; color: var(--c-text-faint); margin-bottom: 14px; }
.toc ol { list-style: none; border-left: 1px solid var(--c-line); }
.toc li a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--c-text-dim); line-height: 1.35; }
.toc li a:hover, .toc li a[aria-current] { color: #fff; border-left-color: var(--tint); }
.toc--inline { display: none; }

.takeaways { position: relative; margin: 44px 0 8px; padding: 30px 32px 22px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--tint) 22%, transparent) 0%, rgba(11,45,99,.55) 45%, rgba(0,22,55,.7) 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 30%, transparent); }
.takeaways::after { content: ""; position: absolute; z-index: -1; right: -40px; top: -40px; width: 220px; height: 220px;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--tint) 40%, transparent) 0 1.2deg, transparent 1.2deg 9deg);
  -webkit-mask: radial-gradient(circle, transparent 28%, #000 30%, transparent 70%); mask: radial-gradient(circle, transparent 28%, #000 30%, transparent 70%); opacity: .55; }
.takeaways h2 { margin: 0 0 16px !important; font-size: 20px !important; display: flex; align-items: center; gap: 10px; }
.takeaways h2 svg { width: 26px; height: 26px; }
.takeaways ul { list-style: none; }
.takeaways li { position: relative; margin: 0 0 12px !important; padding-left: 28px; color: rgba(255,255,255,.88) !important; font-size: 17px !important; }
.takeaways li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; border-radius: 2px; background: var(--tint); box-shadow: 0 0 10px var(--tint); }

/* article content from article.html */
.post-body section { scroll-margin-top: 24px; }
.post-body p { font-size: 18px; line-height: 1.7; color: var(--c-text-dim); margin: 0 0 18px; }
.post-body p a, .post-body dd a, .post-body li a { color: #fff; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--tint) 70%, transparent); text-underline-offset: 3px; }
.post-body .intro { margin-top: 36px; }
.post-body h2 .num { color: var(--tint); margin-right: 4px; }
.post-body h3 { font-size: 19px; margin: 0; display: inline; }
.post-body dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 20px; margin: 6px 0 20px; padding: 18px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); font-size: 15.5px; }
.post-body dt { color: var(--c-text-faint); font-weight: 500; }
.post-body dd { color: rgba(255,255,255,.85); line-height: 1.5; }
.post-body .also { font-size: 16px; }
.post-body ol.steps { margin: 0 0 18px 20px; } .post-body ol.steps li { margin-bottom: 10px; }
.table-wrap { overflow-x: auto; margin: 0 0 12px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--c-line); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.post-body th, .post-body td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--c-line); }
.post-body thead th { color: var(--c-text-faint); font-weight: 500; font-size: 13.5px; background: rgba(255,255,255,.03); }
.post-body tbody th { color: var(--tint); font-weight: 600; }
.post-body tbody tr:last-child > * { border-bottom: 0; }
.post-body details { border-bottom: 1px solid var(--c-line); padding: 18px 0 4px; }
.post-body summary { cursor: pointer; list-style: none; margin-bottom: 10px; }
.post-body summary::-webkit-details-marker { display: none; }
.post-body .sources { font-size: 14px; color: var(--c-text-faint); margin-top: 28px; }

/* bio */
.bio { display: grid; grid-template-columns: auto 1fr; gap: 22px; margin: 56px 0 0; padding: 30px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(11,45,99,.6), rgba(0,22,55,.5)); box-shadow: inset 0 0 0 1px rgba(110,170,245,.22); }
.bio__eyebrow { font-size: 13px; color: var(--c-text-faint); font-weight: 500; }
.bio__name { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }
.bio__role { font-size: 15px; color: var(--c-light-blue); font-weight: 500; margin-top: 2px; }
.bio p { font-size: 16.5px !important; line-height: 1.6 !important; color: var(--c-text-dim); margin: 14px 0 0 !important; }
.bio__draft { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 500; color: #ffd28a; padding: 2px 8px; border-radius: 999px; border: 1px dashed rgba(255,210,138,.6); vertical-align: 2px; }
.bio__links { display: flex; gap: 10px; margin-top: 18px; }
.bio__links a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); text-decoration: none !important; }
.bio__links a:hover { background: rgba(255,255,255,.14); }
.bio__links svg { width: 15px; height: 15px; fill: currentColor; }

/* related */
.related { padding: 70px 0 100px; border-top: 1px solid var(--c-line); margin-top: 60px; }
.related h2 { font-size: 30px; letter-spacing: -.03em; margin-bottom: 30px; }
.related .grid { padding-bottom: 0; }

@media (max-width: 1099px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .toc--side { display: none; }
  .toc--inline { display: block; position: static; margin: 36px 0 0; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--c-line); }
  .toc--inline summary { font-weight: 600; font-size: 15px; cursor: pointer; }
  .toc--inline ol { margin-top: 12px; }
  .related .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .byline { margin-top: 26px; }
  .avatar { width: 42px; height: 42px; font-size: 14px; }
  .avatar--lg { width: 60px; height: 60px; font-size: 20px; }
  .takeaways { padding: 24px 20px 14px; }
  .takeaways li { font-size: 16px !important; }
  .post-body p { font-size: 16.5px; }
  .post-body dl { grid-template-columns: 1fr; gap: 2px; font-size: 15px; }
  .post-body dd { margin-bottom: 10px; }
  .post-body table { font-size: 14px; } .post-body th, .post-body td { padding: 11px 12px; }
  .bio { grid-template-columns: 1fr; padding: 24px 20px; gap: 14px; }
  .bio__links { flex-wrap: wrap; }
  .related { padding: 50px 0 70px; }
  .related h2 { font-size: 24px; }
  .related .grid { grid-template-columns: 1fr; }
}
.post-body .toc--inline { padding: 16px 20px; border-bottom: 0; }
.post-body .toc--inline summary { display: flex; justify-content: space-between; align-items: center; margin: 0; }
.post-body .toc--inline summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--tint); border-bottom: 2px solid var(--tint); transform: rotate(45deg) translateY(-3px); }
.post-body .toc--inline[open] summary::after { transform: rotate(-135deg); }
@media (max-width: 767px) { .related { margin-top: 40px; } }
/* avatar with photo; initials sit underneath as the fallback */
.avatar { position: relative; overflow: hidden; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; border-radius: 50%; display: block; }

/* the site footer (src/web/site_footer.py, OPS-609) */
.site-foot{--sf-bg:transparent;--sf-text:#fff;--sf-dim:rgba(255,255,255,.70);--sf-faint:rgba(255,255,255,.55);
--sf-ghost:rgba(255,255,255,.50);--sf-line:rgba(255,255,255,.10);--sf-accent:#6eaaf5;
--sf-glow:0 0 64px rgba(110,170,245,.35);
display:block;box-sizing:border-box;width:100%;max-width:none;margin:0;padding:64px 0 0;flex:none;align-self:stretch;
background:var(--sf-bg);color:var(--sf-dim);border-top:1px solid var(--sf-line);font-size:15px;line-height:1.5;
text-align:left;-webkit-font-smoothing:antialiased}
.site-foot--light{--sf-bg:#fff;--sf-text:#001637;--sf-dim:#3a4a63;--sf-faint:#4e5d73;--sf-ghost:#56657a;
--sf-line:rgba(0,22,55,.12);--sf-accent:#1557a8;--sf-glow:0 0 40px rgba(27,107,201,.12)}
.site-foot *{box-sizing:border-box;margin:0;padding:0}
.site-foot a{color:inherit;text-decoration:none}
.site-foot a:hover{color:var(--sf-accent)}
.site-foot a:focus-visible,.site-foot summary:focus-visible{outline:2px solid var(--sf-accent);outline-offset:2px}
.site-foot .foot__in{max-width:1360px;margin:0 auto;padding:0 clamp(20px,4.4vw,64px)}
.site-foot .foot__grid{display:grid;grid-template-columns:minmax(280px,1.4fr) repeat(4,minmax(0,1fr));gap:40px 36px;
padding-bottom:56px}
.site-foot .foot__brand{min-width:0}
.site-foot .foot__tag{font-size:clamp(36px,5vw,64px);font-weight:700;line-height:.92;letter-spacing:-.06em;
color:var(--sf-text);text-shadow:var(--sf-glow)}
.site-foot .foot__tag em{font-style:normal;color:var(--sf-accent)}
.site-foot .foot__tag-lead{white-space:nowrap}
.site-foot .foot__about{margin-top:18px;font-size:16px;line-height:1.45;color:var(--sf-dim);max-width:36ch}
.site-foot .foot__col{min-width:0}
.site-foot .foot__col details{display:block}
.site-foot .foot__col summary{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;
list-style:none;font-size:15px;font-weight:600;letter-spacing:-.01em;color:var(--sf-text);cursor:pointer}
.site-foot .foot__col summary::-webkit-details-marker{display:none}
.site-foot .foot__col summary::marker{content:""}
.site-foot .foot__col ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.site-foot .foot__col li{display:block}
.site-foot .foot__col a{color:var(--sf-dim);font-size:15px;font-weight:400}
.site-foot .foot__col a:hover{color:var(--sf-accent)}
.site-foot .foot__bar{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;justify-content:space-between;
padding:20px 0 28px;border-top:1px solid var(--sf-line);color:var(--sf-ghost);font-size:13px}
@media (min-width:768px){
.site-foot .foot__col summary{pointer-events:none;cursor:default}
.site-foot .foot__col details>ul{display:flex!important}}
@media (min-width:768px) and (max-width:1099px){
.site-foot .foot__grid{grid-template-columns:1fr 1fr}
.site-foot .foot__brand{grid-column:1/-1}}
@media (max-width:767px){
.site-foot{padding-top:36px}
.site-foot .foot__grid{grid-template-columns:1fr;gap:28px;padding-bottom:28px}
.site-foot .foot__col{border-top:1px solid var(--sf-line);padding-top:4px}
.site-foot .foot__col summary{margin:0;min-height:48px}
.site-foot .foot__col summary::after{content:"+";font-weight:400;color:var(--sf-ghost);font-size:20px;line-height:1}
.site-foot .foot__col details[open]>summary::after{content:"\2212"}
.site-foot .foot__col ul{padding-bottom:14px}
.site-foot .foot__bar{padding-bottom:26px}
.site-foot--light .foot__bar{padding-bottom:96px}}
