  * { margin: 0; box-sizing: border-box; }
  body {
    font-family: system-ui, sans-serif; color: #f5f1e8;
    background: #06060a; overflow-x: hidden;
  }
  .grain {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    opacity: .06; mix-blend-mode: overlay;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2"/></filter><rect width="180" height="180" filter="url(%23n)"/></svg>');
  }
  .glow {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(60% 40% at 50% 0%, rgba(94,23,235,.16), transparent 70%);
  }
  nav {
    position: relative; z-index: 2;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  }
  nav .logo img {
    height: 5rem; width: auto; display: block; margin: -.5rem 0;
    filter: drop-shadow(0 0 16px rgba(122,80,255,.6));
  }
  nav a.home {
    color: #f5f1e8; text-decoration: none; font-size: .72rem;
    letter-spacing: .28em; text-transform: uppercase; font-weight: 700;
    padding: .7rem 1.8rem; border: 1px solid rgba(168,139,255,.6);
    border-radius: 999px; background: rgba(122,80,255,.12);
    transition: background .3s, border-color .3s, box-shadow .3s;
  }
  nav a.home:hover {
    background: rgba(122,80,255,.3); border-color: #a88bff;
    box-shadow: 0 0 30px rgba(122,80,255,.35);
  }
  main {
    position: relative; z-index: 1;
    max-width: 820px; margin: 1rem auto 3.5rem;
    padding: clamp(1.8rem, 4vw, 3rem);
    background: rgba(8,8,14,.42);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(185,162,255,.18); border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
  }
  @media (max-width: 860px) { main { margin: .5rem 1rem 2.5rem; } }
  .eyebrow {
    font-size: .7rem; letter-spacing: .5em; text-transform: uppercase;
    color: #b9a2ff; font-weight: 700; margin-bottom: 1rem;
  }
  h1 {
    font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
    font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 700;
    letter-spacing: .03em; line-height: 1.1; margin-bottom: 2.2rem;
  }
  h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #7a50ff 0%, #d3c6ff 40%, #8b62ff 65%, #6a3df5 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  h2 {
    font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
    font-size: 1.35rem; font-weight: 700; letter-spacing: .03em;
    color: #d3c6ff; margin: 2.6rem 0 .9rem;
    padding-top: 1.6rem; border-top: 1px solid rgba(185,162,255,.16);
  }
  h3 {
    font-size: .74rem; font-weight: 700; letter-spacing: .2em;
    text-transform: uppercase; color: #b9a2ff; margin: 1.6rem 0 .5rem;
  }
  p { font-size: .92rem; line-height: 1.75; opacity: .72; margin: 0 0 .8rem; }
  a { color: #b9a2ff; }
  footer {
    position: relative; z-index: 1; text-align: center;
    padding: 2rem 1rem 1.8rem; border-top: 1px solid rgba(185,162,255,.14);
    font-size: .68rem; letter-spacing: .22em; opacity: .5;
  }
  footer a { color: #f5f1e8; text-decoration: none; }
  footer a:hover { color: #a88bff; }
  footer .legal { margin-top: .55rem; font-size: .62rem; }
  .float-btn {
    position: fixed; bottom: 1.4rem; z-index: 5;
    padding: .55rem 1.2rem; border-radius: 999px;
    border: 1px solid rgba(168,139,255,.45); background: rgba(6,6,10,.6);
    color: #f5f1e8; font: 700 .62rem/1 system-ui, sans-serif;
    letter-spacing: .28em; text-transform: uppercase;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: border-color .3s, box-shadow .3s, opacity .4s;
  }
  .float-btn:hover { border-color: #a88bff; box-shadow: 0 0 20px rgba(122,80,255,.35); }
  #backBtn { left: 1.6rem; }
  #topBtn { right: 1.6rem; opacity: 0; pointer-events: none; }
  #topBtn.show { opacity: 1; pointer-events: auto; }
  @media (max-width: 768px) { #backBtn { left: 1rem; bottom: 1rem; } #topBtn { right: 1rem; bottom: 1rem; } }

  .post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: .5rem; }
  @media (max-width: 720px) { .post-grid { grid-template-columns: 1fr; } }
  .post {
    display: block; text-decoration: none; color: inherit;
    border: 1px solid rgba(185,162,255,.22); border-radius: 6px; overflow: hidden;
    background: rgba(12,10,22,.35);
    transition: border-color .3s, box-shadow .3s, transform .3s;
  }
  .post:hover {
    border-color: #a88bff; box-shadow: 0 0 30px rgba(122,80,255,.3);
    transform: translateY(-3px);
  }
  .post img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
  .post .body { padding: 1.1rem 1.2rem 1.3rem; }
  .post .date {
    font-size: .6rem; font-weight: 700; letter-spacing: .26em;
    text-transform: uppercase; color: #b9a2ff;
  }
  .post h2 {
    border: 0; padding: 0; margin: .5rem 0 .4rem;
    font-size: 1.15rem; line-height: 1.25;
  }
  .post p { font-size: .8rem; margin: 0; }

  /* ---- Soro embed: match the Breightly dark theme ---- */
  #soro-blog { color: #f5f1e8; }
  #soro-blog h1, #soro-blog h2, #soro-blog h3, #soro-blog h4,
  #soro-blog .soro-blog-card-title, #soro-blog .soro-blog-post-title {
    font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
    color: #f2eeff !important; letter-spacing: .02em;
  }
  #soro-blog p, #soro-blog li, #soro-blog span,
  #soro-blog .soro-blog-card-excerpt, #soro-blog .soro-blog-post-content {
    color: rgba(245, 241, 232, .75) !important;
  }
  #soro-blog time, #soro-blog .soro-blog-card-date, #soro-blog .soro-blog-post-date, #soro-blog small {
    color: #b9a2ff !important; font-size: .68rem; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase;
  }
  #soro-blog a, #soro-blog .soro-blog-back { color: #b9a2ff !important; }
  #soro-blog .soro-blog-card {
    background: rgba(12, 10, 22, .35) !important;
    border: 1px solid rgba(185, 162, 255, .22) !important;
    border-radius: 6px !important; overflow: hidden;
    box-shadow: none !important;
    transition: border-color .3s, box-shadow .3s, transform .3s;
  }
  #soro-blog .soro-blog-card:hover {
    border-color: #a88bff !important;
    box-shadow: 0 0 30px rgba(122, 80, 255, .3) !important;
    transform: translateY(-3px);
  }
  #soro-blog .soro-blog-card .soro-blog-card-title { color: #d3c6ff !important; }
  #soro-blog img { border-radius: 6px 6px 0 0; }
  #soro-blog hr { border-color: rgba(185, 162, 255, .16) !important; }
  #soro-blog blockquote {
    border-left: 2px solid rgba(185, 162, 255, .45) !important;
    color: rgba(245, 241, 232, .7) !important;
  }
  #soro-blog code, #soro-blog pre {
    background: rgba(12, 10, 22, .6) !important; color: #d3c6ff !important;
    border-radius: 4px;
  }

  /* static post pages */
  .eyebrow a { color: inherit; text-decoration: none; }
  .post-hero { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; margin: 0 0 2rem; display: block; }
  .post-body p { font-size: 1rem; line-height: 1.75; margin: 0 0 1.1rem; }
  .post-body h2 { font-size: 1.5rem; }
  .post-body h3 { font-size: .9rem; letter-spacing: .12em; }
  .more-title { margin-top: 3rem; }

  /* service page */
  .lede { font-size: 1.1rem; line-height: 1.7; margin: 0 0 1.5rem; color: #e9e2ff; }
  main ol { padding-left: 1.3rem; line-height: 1.7; } main ol li { margin: 0 0 .6rem; }
  main blockquote { margin: 0 0 1.2rem; padding: 1rem 1.2rem; border-left: 2px solid #7a50ff; background: rgba(12,10,22,.35); border-radius: 0 6px 6px 0; }
  main blockquote p { margin: 0 0 .5rem; font-style: italic; } main blockquote footer { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #b9a2ff; padding: 0; opacity: 1; }
  .cta-link { display: inline-block; margin: .4rem 0; padding: .7rem 1.3rem; border: 1px solid #7a50ff; border-radius: 999px; text-decoration: none; color: #f5f1e8; }

  /* smooth anchor scrolling on the article and legal pages */
  html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
