/* Public editorial pages: existing Plum Aurora marketing palette. */
:root {
  color-scheme: dark;
  --canvas: #0e0720;
  --canvas-deep: #0b0518;
  --plum: #2d1b4e;
  --lilac: #b47aed;
  --pink: #e8a4e0;
  --ink: #f5f0fa;
  --muted: #c9bfd6;
  --line: #ffffff24;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
}
a {
  color: var(--pink);
  text-underline-offset: 0.22em;
}
a:hover {
  color: white;
}
a:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 5px;
  border-radius: 2px;
}
.shell {
  width: min(100% - 3rem, 76rem);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  background: white;
  color: var(--canvas);
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
  color: var(--canvas);
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--canvas-deep);
}
.header-inner,
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.3rem;
}
.brand {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  display: block;
  width: auto;
  object-fit: contain;
  object-position: left;
}
.brand span {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  margin-top: 0.2rem;
}
.site-header nav,
.site-footer nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.site-header [aria-current] {
  color: var(--pink);
}
.breadcrumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  font-size: 0.85rem;
}
.article-header {
  padding-block: 3rem 3.5rem;
  max-width: 60rem;
}
.eyebrow {
  color: var(--pink);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 650;
}
h1,
h2 {
  text-wrap: balance;
}
h1 {
  margin: 1rem 0 1.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.035em;
}
.byline,
.lede {
  color: var(--muted);
}
.lede {
  max-width: 40rem;
  font-size: 1.15rem;
}
.article-layout {
  display: grid;
  grid-template-columns: 16rem minmax(0, 48rem);
  gap: 4rem;
  padding-block: 1rem 5rem;
  border-top: 1px solid var(--line);
}
.contents {
  align-self: start;
  position: sticky;
  top: 2rem;
  padding-top: 1rem;
}
.contents ol {
  list-style: none;
  padding: 0;
}
.contents li {
  margin-block: 0.85rem;
  line-height: 1.6;
}
.contents a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}
.contents a:hover {
  color: var(--pink);
}
.article-body {
  min-width: 0;
  font-size: 1.08rem;
}
.article-body > p:first-child {
  font-size: 1.25rem;
  color: white;
}
.article-body p,
.article-body li {
  color: #ddd5e7;
}
.article-body h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.3;
  margin: 3rem 0 1rem;
}
.checklist {
  padding-left: 1.4rem;
}
.checklist li {
  padding-left: 0.4rem;
  margin-block: 0.6rem;
}
.checklist li::marker {
  color: var(--pink);
}
.example {
  background: var(--plum);
  border: 1px solid #b47aed66;
  border-radius: 1.2rem;
  padding: 1.5rem;
  margin-block: 1.5rem;
}
.example .example-label {
  font-size: 0.85rem;
  color: var(--pink);
}
.balance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.balance dt {
  color: var(--muted);
  font-size: 0.75rem;
}
.balance dd {
  margin: 0.3rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
}
.balance div:last-child dd {
  color: var(--pink);
}
.video-player {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--canvas-deep);
}
.video-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  font-size: 0.9rem;
}
.demo-cta {
  background: linear-gradient(135deg, var(--plum), #39275a);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-top: 3rem;
}
.demo-cta h2 {
  margin-top: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(100deg, #fff, var(--pink));
  border-radius: 2rem;
  color: #1a0f33;
  font-weight: 650;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  line-height: 1.5;
}
.button:hover {
  color: #1a0f33;
  background: white;
}
.related {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}
.related h2 {
  font-size: 1.35rem;
}
.site-footer {
  background: var(--canvas-deep);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-block: 1.5rem;
}
.site-footer p {
  font-size: 0.9rem;
}
.blog-index {
  padding-bottom: 6rem;
  min-height: 70vh;
}
.article-card {
  max-width: 54rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--plum), var(--canvas));
}
.article-card h2 {
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.25;
  margin-block: 1rem;
}
.article-card h2 a {
  color: var(--ink);
  text-decoration: none;
}
.article-card p {
  color: var(--muted);
  max-width: 44rem;
}
.read-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contents {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
  }
  .contents ol {
    columns: 2;
    gap: 2rem;
  }
  .contents li {
    break-inside: avoid;
  }
}
@media (max-width: 540px) {
  .shell {
    width: min(100% - 2rem, 76rem);
  }
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .site-header nav,
  .site-footer nav {
    gap: 1.2rem;
  }
  .article-header {
    padding-block: 2rem;
  }
  .contents ol {
    columns: 1;
  }
  .balance {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .balance > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
  }
  .example,
  .demo-cta {
    padding: 1.2rem;
  }
  .button {
    width: 100%;
    text-align: center;
  }
}
@media print {
  :root {
    color-scheme: light;
  }
  body,
  .example,
  .demo-cta {
    background: white;
    color: black;
  }
  .site-header,
  .site-footer,
  .contents,
  .breadcrumbs,
  .video-player,
  .skip-link {
    display: none;
  }
  .article-layout {
    display: block;
  }
  .article-body > p:first-child,
  .article-body p,
  .article-body li,
  .eyebrow,
  .lede,
  .byline,
  .balance dt,
  .balance div:last-child dd,
  .example .example-label {
    color: black;
  }
  a {
    color: black;
  }
  .shell {
    width: 100%;
  }
}
