:root {
  --ink: #17171d;
  --muted: #62626d;
  --purple: #8f73d6;
  --blue: #738cff;
  --line: rgba(23, 23, 29, .09);
  --paper: #f7f7fb;
  --dark: #0a0a0f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: relative;
  z-index: 10;
  color: white;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.72); font-size: 14px; font-weight: 550; }
.nav-links a:hover, .nav-links .active { color: white; }
.nav-cta {
  padding: 10px 15px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 8px 22px rgba(143,115,214,.22);
}
.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--dark);
}
.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  top: -340px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,115,214,.48), rgba(115,140,255,.12) 48%, transparent 70%);
  filter: blur(16px);
}
.hero-inner { position: relative; padding: 104px 0 96px; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #59c785; }
.hero h1 {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.hero p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255,255,255,.58);
  font-size: 18px;
  line-height: 1.65;
}
.blog-main { padding: 72px 0 96px; }
.section-heading { margin-bottom: 28px; }
.section-heading span { color: var(--purple); font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.section-heading h2 { margin: 8px 0 0; font-size: 30px; letter-spacing: -.03em; }
.article-list { display: grid; gap: 32px; }
.article-card {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 16px 50px rgba(27,22,45,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 24px 65px rgba(83,65,128,.13); }
.article-art {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #eee8df;
}
.article-art > img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.article-art--app {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,.9), transparent 25%),
    linear-gradient(145deg, #e8e0fa, #dce7ff 55%, #d9f1ea);
}
.article-art--app::before,
.article-art--app::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(112,86,179,.18);
  border-radius: 50%;
}
.article-art--app::before { width: 310px; height: 310px; }
.article-art--app::after { width: 410px; height: 410px; }
.app-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 15px;
}
.app-showcase img {
  width: 118px;
  height: 118px;
  border-radius: 28px;
  box-shadow: 0 25px 55px rgba(54,43,92,.25);
}
.app-showcase span {
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 999px;
  color: #5f4a9a;
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 750;
}
.article-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.meta { display: flex; flex-wrap: wrap; gap: 9px 18px; color: #858590; font-size: 13px; }
.meta .category { color: #7259b4; font-weight: 700; }
.article-copy h2 { margin: 20px 0 16px; font-size: clamp(30px, 4vw, 43px); line-height: 1.1; letter-spacing: -.04em; }
.article-copy p { margin: 0 0 26px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.read-more { display: inline-flex; align-items: center; gap: 9px; color: #7259b4; font-size: 14px; font-weight: 750; }
.read-more span { transition: transform .2s ease; }
.article-card:hover .read-more span { transform: translateX(4px); }
.site-footer { padding: 36px 0; color: #898993; background: #efeff5; border-top: 1px solid var(--line); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--ink); }

/* Article */
.article-hero .hero-inner { padding: 82px 0 76px; }
.article-hero h1 { max-width: 900px; font-size: clamp(38px, 6vw, 62px); }
.article-hero .article-deck { max-width: 720px; }
.article-meta { margin-top: 28px; display: flex; justify-content: center; gap: 10px 22px; flex-wrap: wrap; color: rgba(255,255,255,.48); font-size: 13px; }
.article-meta strong { color: rgba(255,255,255,.78); }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 240px;
  justify-content: center;
  gap: 72px;
  padding: 72px 0 100px;
}
.prose { font-family: Georgia, "Times New Roman", serif; color: #34343b; font-size: 18px; line-height: 1.83; }
.prose .lead { margin-top: 0; color: #292930; font-size: 22px; line-height: 1.65; }
.prose h2, .prose h3 { color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.03em; }
.prose h2 { margin: 56px 0 18px; font-size: 31px; line-height: 1.2; }
.prose h3 { margin: 34px 0 12px; font-size: 21px; }
.prose p { margin: 0 0 22px; }
.prose ul, .prose ol { padding-left: 25px; margin: 0 0 28px; }
.prose li { margin-bottom: 11px; padding-left: 4px; }
.prose strong { color: #24242a; }
.prose a { color: #6f56b3; text-decoration: underline; text-decoration-color: rgba(111,86,179,.35); text-underline-offset: 3px; }
.callout {
  margin: 36px 0;
  padding: 25px 28px;
  border: 1px solid rgba(143,115,214,.2);
  border-left: 4px solid var(--purple);
  border-radius: 4px 18px 18px 4px;
  background: #f2effb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
.callout strong { display: block; margin-bottom: 4px; }
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 34px;
}
.benefit {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.benefit .icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 11px; color: #7259b4; background: #eee9fb; font-weight: 800; }
.benefit h3 { margin: 0 0 7px; font-size: 17px; }
.benefit p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.article-aside { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.aside-inner { position: sticky; top: 28px; padding-left: 24px; border-left: 1px solid var(--line); }
.article-aside p { margin: 0 0 15px; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.article-aside a { display: block; margin: 0 0 12px; color: #74747e; font-size: 13px; line-height: 1.4; }
.article-aside a:hover { color: #7259b4; }
.sources { padding-top: 22px; border-top: 1px solid var(--line); color: #777780; font-size: 14px; }
.sources li { margin-bottom: 8px; }
.article-cta {
  margin-top: 54px;
  padding: 34px;
  border-radius: 22px;
  color: white;
  background: linear-gradient(135deg, #17141f, #29223e);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.article-cta h2 { margin: 0 0 10px; color: white; font-size: 25px; }
.article-cta p { margin: 0 0 21px; color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.6; }
.article-cta a { display: inline-block; padding: 12px 17px; border-radius: 12px; color: white; background: linear-gradient(135deg, var(--purple), var(--blue)); font-size: 14px; font-weight: 700; text-decoration: none; }

@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-inner { padding: 78px 0 72px; }
  .article-card { grid-template-columns: 1fr; }
  .article-art { min-height: 290px; }
  .article-copy { padding: 34px; }
  .article-layout { grid-template-columns: minmax(0, 720px); gap: 0; padding-top: 48px; }
  .article-aside { display: none; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav-cta { padding: 9px 12px; font-size: 13px; }
  .hero-inner { padding: 64px 0 60px; }
  .hero h1 { font-size: 39px; }
  .hero p { font-size: 16px; }
  .blog-main { padding: 48px 0 68px; }
  .article-art { min-height: 230px; }
  .article-art > img { min-height: 230px; }
  .app-showcase { transform: scale(.84); }
  .article-copy { padding: 27px 24px 30px; }
  .article-copy h2 { font-size: 30px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .article-hero .hero-inner { padding: 58px 0 54px; }
  .article-hero h1 { font-size: 37px; }
  .article-layout { padding: 38px 0 70px; }
  .prose { font-size: 17px; line-height: 1.76; }
  .prose .lead { font-size: 20px; }
  .prose h2 { margin-top: 46px; font-size: 27px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .callout, .article-cta { padding: 23px; }
}
