:root {
  color-scheme: dark;
  --ink: #f7f3fb;
  --muted: #b8afc5;
  --paper: #100d19;
  --panel: #191522;
  --line: rgba(255, 255, 255, .13);
  --violet: #9b7cff;
  --violet-deep: #7049ec;
  --lime: #d8ff72;
  --warm: #ffcab8;
  --max: 1180px;
  --reading: 780px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink);
  background:
    radial-gradient(820px 540px at 88% -8%, rgba(112, 73, 236, .25), transparent 66%),
    radial-gradient(680px 460px at -12% 30%, rgba(255, 202, 184, .08), transparent 68%),
    var(--paper);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px;
  border-radius: 10px; color: #17101f; background: var(--lime); font-weight: 750;
}
.skip:focus { top: 12px; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
body > header {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding-block: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 13px; }
.brand strong { display: block; font-size: 17px; letter-spacing: .02em; }
.brand small {
  display: block; color: var(--muted); font-size: 10px; letter-spacing: .17em;
  text-transform: uppercase;
}
body > header nav { display: flex; align-items: center; gap: 22px; }
body > header nav > a { color: var(--muted); font-size: 14px; text-decoration: none; }
body > header nav > a:hover { color: var(--ink); }
.button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
  padding: 10px 18px; border: 1px solid rgba(155, 124, 255, .48);
  border-radius: 999px; color: var(--ink); background: rgba(155, 124, 255, .13);
  font-weight: 780; text-decoration: none; transition: transform .2s ease,
  background .2s ease;
}
.button:hover { transform: translateY(-2px); background: rgba(155, 124, 255, .21); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; color: #d7caff;
  font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--violet); }
h1, h2, .card-title, blockquote { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.blog-hero { padding: clamp(76px, 11vw, 145px) 0 88px; }
.blog-hero h1 {
  max-width: 930px; margin: 22px 0; font-size: clamp(54px, 8.5vw, 104px);
  line-height: .92; letter-spacing: -.06em;
}
.blog-hero h1 em { color: var(--violet); font-style: normal; }
.blog-hero > p { max-width: 700px; margin: 0; color: var(--muted); font-size: 21px; }
.post-list { padding: 20px 0 110px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card {
  display: flex; min-height: 390px; flex-direction: column; padding: 29px;
  border: 1px solid var(--line); border-radius: 26px; background: #ffffff08;
  text-decoration: none; transition: transform .2s ease, border-color .2s ease,
  background .2s ease;
}
.post-card:hover {
  transform: translateY(-4px); border-color: rgba(155, 124, 255, .55);
  background: #ffffff0d;
}
.post-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  color: #a99fb6; font-size: 12px;
}
.post-label { color: #d7caff; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.card-title { margin: 68px 0 14px; font-size: 31px; line-height: 1.06; letter-spacing: -.03em; }
.post-card p { margin: 0; color: var(--muted); }
.read-more { margin-top: auto; padding-top: 30px; color: var(--lime); font-weight: 760; }
.principle {
  margin-bottom: 100px; padding: clamp(32px, 6vw, 70px); border: 1px solid var(--line);
  border-radius: 30px; background: linear-gradient(145deg, rgba(49, 38, 67, .9),
  rgba(23, 18, 32, .98));
}
.principle h2 { max-width: 820px; margin: 14px 0 18px; font-size: clamp(40px, 6vw, 72px); line-height: .98; letter-spacing: -.045em; }
.principle p { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; }
.article-shell { padding: 55px 0 115px; }
.breadcrumbs { margin-bottom: 45px; color: #9f96aa; font-size: 13px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.article-header {
  display: block; width: min(100%, 960px); margin: 0 auto 70px; padding: 0;
}
.article-header h1 {
  margin: 22px 0; font-size: clamp(48px, 7.5vw, 86px); line-height: .96;
  letter-spacing: -.052em;
}
.article-dek { max-width: 790px; margin: 0; color: var(--muted); font-size: clamp(19px, 2.4vw, 24px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; color: #9f96aa; font-size: 13px; }
.article-meta span + span::before { content: '·'; margin-right: 18px; }
.article-body { width: min(100%, var(--reading)); margin-inline: auto; }
.article-body h2 {
  margin: 62px 0 18px; font-size: clamp(31px, 4.4vw, 46px); line-height: 1.05;
  letter-spacing: -.035em;
}
.article-body h3 { margin: 38px 0 12px; font-size: 24px; line-height: 1.2; }
.article-body p, .article-body li { color: #d0c8db; font-size: 18px; }
.article-body p { margin: 0 0 22px; }
.article-body ul, .article-body ol { margin: 0 0 28px; padding-left: 26px; }
.article-body li + li { margin-top: 10px; }
.article-body strong { color: var(--ink); }
.article-body a { color: #c9b9ff; font-weight: 700; }
blockquote {
  margin: 50px 0; padding: 32px; border: 0; border-radius: 24px;
  color: #1a1422; background: linear-gradient(145deg, var(--warm), #b69cff);
  font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -.03em;
}
.note {
  margin: 38px 0; padding: 22px 24px; border-left: 2px solid var(--lime);
  color: #dcd4e6; background: #ffffff07;
}
.note p { margin: 0; font-size: 16px; }
.takeaways {
  margin-top: 58px; padding: 28px; border: 1px solid var(--line);
  border-radius: 24px; background: #ffffff08;
}
.takeaways h2 { margin-top: 0; font-size: 31px; }
.takeaways ul { margin-bottom: 0; }
.article-cta {
  margin-top: 70px; padding: 34px; border: 1px solid var(--line); border-radius: 26px;
  background: linear-gradient(145deg, rgba(49, 38, 67, .9), rgba(23, 18, 32, .98));
  text-align: center;
}
.article-cta h2 { margin: 0 0 12px; }
.article-cta p { margin: 0 auto 24px; font-size: 16px; }
.article-cta .button { color: #17101f; background: var(--lime); border-color: transparent; }
.related { padding: 85px 0 110px; border-top: 1px solid var(--line); }
.related-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.related-head h2 { margin: 0; font-size: clamp(38px, 5vw, 56px); letter-spacing: -.04em; }
.related-head a { color: #c9b9ff; font-weight: 700; text-decoration: none; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.related-card {
  padding: 26px; border: 1px solid var(--line); border-radius: 22px;
  background: #ffffff07; text-decoration: none;
}
.related-card span { color: #a99fb6; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.related-card h3 { margin: 18px 0 0; font-size: 23px; line-height: 1.18; }
footer { border-top: 1px solid var(--line); padding: 30px 0 46px; color: var(--muted); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer a { color: #d9d1e2; text-decoration: none; }
footer a:hover { color: var(--ink); }
@media (max-width: 900px) {
  body > header nav > a:not(.button) { display: none; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card { min-height: 300px; }
  .card-title { margin-top: 46px; }
}
@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  body > header { padding-block: 16px; }
  .brand small { display: none; }
  body > header nav .button { min-height: 42px; padding-inline: 14px; font-size: 13px; }
  .blog-hero { padding-top: 64px; }
  .article-shell { padding-top: 38px; }
  .article-header { margin-bottom: 50px; }
  .article-meta span + span::before { content: ''; margin: 0; }
  .article-meta { display: grid; gap: 5px; }
  .article-body p, .article-body li { font-size: 17px; }
  blockquote { padding: 25px; }
  .related-head { align-items: flex-start; flex-direction: column; }
  .related-grid { grid-template-columns: 1fr; }
  footer .wrap { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
