/* Long-form pages — nexo.com/blog/<post> and nexo.com/terms: white page, 880px header column, 672px reading
   column (20/30 #3e464e body, 32/35 500 headings), dark gradient covers with the mark and the title */

/* Header */
.dc-hero{padding-top:160px}
.dc-w{max-width:928px;margin:0 auto;padding:0 24px}
.dc-meta{display:flex;flex-wrap:wrap;gap:6px 0;font-size:14px;line-height:20px;color:#555e67}
.dc-meta span + span::before{content:"·";margin:0 10px;color:#9aa5af}
.dc-meta span:first-child{color:#756859}
.dc-hero h1{margin-top:16px;font-size:30px;line-height:1.15;font-weight:500;letter-spacing:-.01em;color:#1e232a}
.dc-lead{margin-top:20px;max-width:720px;font-size:20px;line-height:1.5;color:#555e67}

/* Covers (nexo blog: dark gradient card with logo, title bottom-right) */
.dc-cover{position:relative;isolation:isolate;display:block;overflow:hidden;aspect-ratio:16 / 9;border-radius:12px;background:#0a0d11;color:#fff}
.dc-cbg{position:absolute;inset:0;z-index:-1;background:#0a0d0f url(/assets/pricing-hero-bg.jpg?v=1) 50% 50%/cover no-repeat}
.dc-cm{position:absolute;left:7%;top:9%;width:9%;min-width:28px;height:auto}
.dc-ct{position:absolute;right:7%;bottom:9%;max-width:62%;font-size:clamp(15px,2.2vw,22px);line-height:1.15;text-align:right;letter-spacing:-.01em}
.dc-cover-l{margin-top:40px;aspect-ratio:880 / 440}
.dc-cover-l .dc-ct{font-size:clamp(24px,3.6vw,48px)}
.dc-cover-l .dc-cm{width:64px}

/* Reading column */
.dc-body{margin-top:64px}
.dc-col{max-width:720px;margin:0 auto;padding:0 24px}
.dc-prose{font-size:20px;line-height:30px;color:#3e464e}
.dc-prose > * + *{margin-top:24px}
.dc-prose h2{margin-top:64px;font-size:32px;line-height:1.1;font-weight:500;letter-spacing:-.01em;color:#1e232a;scroll-margin-top:96px}
.dc-prose h3{margin-top:40px;font-size:24px;line-height:1.25;font-weight:500;color:#1e232a}
.dc-prose > h2:first-child,.dc-prose > p:first-child{margin-top:0}
.dc-prose h2 + *,.dc-prose h3 + *{margin-top:16px}
.dc-prose ul,.dc-prose ol{padding-left:24px}
.dc-prose ul li{list-style:disc}
.dc-prose ol li{list-style:decimal}
.dc-prose li + li{margin-top:12px}
.dc-prose li::marker{color:#9aa5af}
.dc-prose a{color:#007e7e;text-decoration:underline;text-underline-offset:3px}
.dc-prose b,.dc-prose strong{font-weight:600;color:#1e232a}
.dc-prose code{padding:2px 6px;border-radius:6px;background:#f2f5f7;font-family:'Geist Mono',ui-monospace,monospace;font-size:.82em;color:#1e232a}
.dc-prose pre{overflow-x:auto;padding:20px 24px;border-radius:12px;background:#0a0d11;color:#e5ecf2;font-size:14px;line-height:22px}
.dc-prose pre code{padding:0;background:none;color:inherit;font-size:inherit}
.dc-prose figure{margin:40px 0 0}
.dc-prose img{max-width:100%;height:auto;border-radius:12px}
.dc-prose figcaption{margin-top:8px;font-size:14px;color:#555e67}
.dc-note{padding:20px 24px;border-left:3px solid #3ecec6;border-radius:0 12px 12px 0;background:#f2f5f7;font-size:18px;line-height:28px;color:#1e232a}
.dc-warn{border-left-color:#756859;background:#f6f3ef}
.dc-tbl{overflow-x:auto;margin-top:32px;border:1px solid #e5ecf2;border-radius:12px}
.dc-tbl table{width:100%;min-width:480px;border-collapse:collapse;font-size:16px;line-height:24px}
.dc-tbl th{padding:14px 16px;background:#f2f5f7;font-weight:500;color:#1e232a;text-align:left;white-space:nowrap}
.dc-tbl td{padding:14px 16px;border-top:1px solid #e5ecf2;color:#3e464e;vertical-align:top}

/* Related */
.dc-rel > h2{font-size:48px;line-height:1.2;font-weight:400;letter-spacing:-.01em;color:#0a0d11}
.dc-rg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:48px;margin-top:64px}
.dc-rg a{position:relative;display:block;padding:0 72px 0 40px;border-left:1px solid #cdd7df;color:inherit}
.dc-ri{display:block;width:32px;height:32px;color:#0a0d11}
.dc-ri svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.dc-ra{position:absolute;right:24px;top:0;display:grid;place-items:center;width:32px;height:32px;border-radius:8px;box-shadow:inset 0 0 0 1px #cdd7df;transition:background-color .2s ease,color .2s ease}
.dc-ra .ic{width:14px;height:14px}
.dc-rg h3{margin-top:24px;font-size:18px;line-height:1.4;font-weight:400;color:#0a0d11;transition:color .2s ease}
.dc-rg p{margin-top:8px;font-size:15px;line-height:1.5;color:#555e67}
.dc-rg a:hover h3{color:#0b7f7a}
.dc-rg a:hover .dc-ra{background:#0a0d11;color:#fff;box-shadow:none}

/* Index pages: centred title (nexo blog) */
.dx-hero{padding-top:160px;text-align:center}
.dx-hero h1{font-size:48px;line-height:1.1;font-weight:500;letter-spacing:-.01em;color:#0a0d11}
.dx-hero p{max-width:640px;margin:20px auto 0;font-size:20px;line-height:1.5;color:#555e67}
.dx-posts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:48px 24px;margin-top:64px}
.dx-posts a{display:block;color:inherit}
.dx-posts .dc-cover{border-radius:8px;transition:transform .3s ease}
.dx-posts a:hover .dc-cover{transform:translateY(-4px)}
.dx-posts h3{margin-top:16px;font-size:18px;line-height:1.35;font-weight:500;color:#1e232a}
.dx-posts p{margin-top:8px;font-size:15px;line-height:1.5;color:#555e67}
.dx-posts small{display:block;margin-top:10px;font-size:13px;color:#756859}

@media (max-width:1023px){
  .dc-hero,.dx-hero{padding-top:128px}
  .dc-rg{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dx-posts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .dc-hero,.dx-hero{padding-top:104px}
  .dc-w,.dc-col{padding:0 16px}
  .dc-hero h1{font-size:26px}
  .dc-lead{font-size:18px}
  .dc-cover-l{margin-top:28px;aspect-ratio:16 / 10}
  .dc-cover-l .dc-cm{width:40px}
  .dc-body{margin-top:40px}
  .dc-prose{font-size:16px;line-height:26px}
  .dc-prose h2{margin-top:44px;font-size:22px}
  .dc-prose h3{font-size:20px}
  .dc-rel > h2{font-size:32px}
  .dc-rg{grid-template-columns:1fr;row-gap:32px;margin-top:40px}
  .dc-rg a{padding:0 56px 0 20px}
  .dc-ra{right:0}
  .dx-hero h1{font-size:36px}
  .dx-hero p{font-size:18px}
  .dx-posts{grid-template-columns:1fr;margin-top:40px}
}
@media (max-width:640px){.dc-tbl table{min-width:0;font-size:14px;line-height:20px}.dc-tbl th{white-space:normal}.dc-tbl th,.dc-tbl td{padding:10px 10px}}
